LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Conversion Decimal Number to 32 bit floating point

In order to write to a register in a digital camera, I need to do a conversion from a decimal number to the IEEE-754 single precision 32-bit representation of this number (and also the other way around).

Does there exist a vi, which does that? Or maybe a Matlab routine?
0 Kudos
Message 1 of 6
(3,325 Views)
Yes, Mantissa & Exponent vi.
0 Kudos
Message 2 of 6
(3,311 Views)
That is not what I'm looking for. I do not need to know how the number is written in binary notation (which is what mantiss and exponent basically does) but how it is written as a 32-bit floating point number.
0 Kudos
Message 3 of 6
(3,304 Views)
"Decimal String To Number" vi
or
"To Single Precision Float" vi ?
0 Kudos
Message 4 of 6
(3,301 Views)
This should do it...

Randy
Message 5 of 6
(3,286 Views)
Yes!
This works, if you set "Type" to "09" for single and for the output you select a number in I32 binary reprensentation.

Thanks a lot.

Dominik
0 Kudos
Message 6 of 6
(3,270 Views)