LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Number convert to hex string and write to port

Hi shubhlaxm…,
please bear in mind, that if you use the "to U8" function that you can get only one byte and the maximum is U32.
You don´t tell us why you need it. Which information is in your globals?
Mike

Message Edited by MikeS81 on 06-06-2008 08:14 PM
0 Kudos
Message 11 of 14
(667 Views)
hi,
    ya i got it.means if i want more bytes then every time make new array and concatenate all arrays.
0 Kudos
Message 12 of 14
(663 Views)
My globle variable contain data only 0 or 1.i am passing that globle varible to port throught array logic.i am doing serial communication with Hex protocol.for that hex protocol i want 8 globle variable as 1 byte.i have 600 variable to pass to serial communication
       i have hardware which contain 8 leds.when all 8 varible contain 1 number then all 8 leds will glow.
0 Kudos
Message 13 of 14
(662 Views)


MikeS81 wrote:
... and the maximum is U32.

Recent versions also support e.g. U64. 🙂
0 Kudos
Message 14 of 14
(649 Views)