LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Help... Help

3500.0  store  in the  chip cup is  0x45,0x5A,0xC0,0x00
that  chip cup send  0x45,0x5A,0xC0,0x00 to computer with  NI-CAN
how can i change the  0x45,0x5A,0xC0,0x00 to 3500.0 in the  labview?
how can i change the  3500.0 to 0x45,0x5A,0xC0,0x00 in the  labview?
0 Kudos
Message 1 of 2
(2,374 Views)
Hi 4521,

you can use the typecast function to cast from your 4-byte hex string to a SGL number and vice-versa...

Message Edited by GerdW on 08-14-2006 03:45 PM

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 2
(2,366 Views)