LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How the Single(4 byte) is saved

I tried to read and convert some Hex byte(xx xx xx xx) into Single data type.

 

Some was correct, while others not.

 

May I know how it is really defined in xx xx xx xx, thanks.

 

 

 

0 Kudos
Message 1 of 2
(2,437 Views)
Your question is not clear. What do you mean by how it's saved? The SGL datatype is a 32-bit float. IEEE 754 is used to store numbers in memory. This has nothing to do with LabVIEW. What are you using to convert the hex values to SGL? Are you perhaps running into an endian issue?
0 Kudos
Message 2 of 2
(2,427 Views)