Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

how do I convert a DBL into 8 individual bytes, and vice versa?

Using Labview, I need to convert a DBL number into 8 bytes to serially send to a Motorola HC11, and receive back the 8 bytes and convert it into a DBL number.
0 Kudos
Message 1 of 2
(2,902 Views)
Have you tried using the Flatten to string and Unflatten from string functions? You'll find them in the Advanced >> Data manipulation palette.
For a discussion of the data storage and of the flattened format, you'll find useful the Application Note 154, found in the LabVIEW help (search in the help for the Flatten to string function for example).
Roberto


Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
Message 2 of 2
(2,902 Views)