LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DBL to binary indicator/array?

Hi, I have a DBL data type value that is 2^48 & I need to convert it to bits (form of; a binary array?)& display "LED" indicators on the front panel. All LabVIEW array/conversion tools only allow 32 bits @ the most. The ideal display form would be 6, 1 byte lines with the 1st byte being the MSbyte & the last byte being the LSbyte. Can you help?
0 Kudos
Message 1 of 2
(2,983 Views)
I have attached an example that illustrates how you can accomplish this task. I just threw it together so you may want to clean it up a bit. I should also warn you that floating point numbers are inherently not exact. So although you enter 2^48 as a double, it isn't stored precisely as this number.

Matt Kisler
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,983 Views)