Author Topic: Retype Array to S32  (Read 7049 times)

Offline Ghostwalker50

  • PLUS+1 Novice
  • *
  • Posts: 1
  • Karma: +0/-0
Retype Array to S32
« on: July 07, 2023, 06:36:18 PM »
Trying to retype an Array (U8) signal to S32 so it can be used as an input for a gauge on a display. However, when I try and route this to the display input bus, I get compilation error 98, "Invalid Mix of Input and Output types for Component." Any suggestions on how to fix this would be greatly appreciated.

Offline acmall

  • PLUS+1 Guru
  • *****
  • Posts: 201
  • Karma: +37/-1
Re: Retype Array to S32
« Reply #1 on: July 10, 2023, 08:28:12 AM »
You can't retype Array[]U8 to S32. You would need to retype the individual elements of the array.

If you can give some more details on why you need to do the conversion you will likely get some suggestions on how to approach it.