05-01-2013 02:19 PM
05-01-2013 02:20 PM
05-01-2013 02:24 PM
@shrouk'13 wrote:
I made constant at one end of the type cast block and wrote 'A' then at the other ending I wired a numeric indicator and it displayed on the frontpanel a number from 8 digits !
This is insufficient information to describe the problem. typecast has two inputs and one output. Please attach a small VI.
05-01-2013 02:42 PM
here it's
05-01-2013 02:48 PM - edited 05-01-2013 02:50 PM
There are many things wrong with this. You try to typecast a single character (8bits) to a I32 numeric (32 bits). This makes absolutely no sense!
(For efficiency, typecast has no error output, so it cannot tell you when it receives garbage).
05-01-2013 04:07 PM
i coverted the represntation to U8 instead of I 32 and it didnot work !
05-01-2013 04:11 PM - edited 05-01-2013 04:12 PM
You didn't convert the data to a U8. You typecast it to an I32 then coerced it into the U8 indicator.
You need to right click the constant wired into the top of the typecast function and change the representation U8.
That is what Apok showed you in message #2. You already marked his message as the solution, so I don't understand why you are still struggling with this.