LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

converting fractions to binary

Hi

Can anybody help me convert fractions (i.e. 0.006283, -0.00045841, 125.2, -15.2) to binary?


0 Kudos
Message 1 of 3
(3,058 Views)
New to this aren't you? Smiley Very Happy
 
See the attached VI (LV v7.1.1)
0 Kudos
Message 2 of 3
(3,051 Views)
I've got a routine in Visual Basic that will convert positive numbers here:

http://www.geocities.com/oosterwal/computer/dec2bin.html

I'll try to get something written in LabVIEW for you in the next day or so if no one else beats me to it.  In the mean time the VB routine should help you out a bit.
0 Kudos
Message 3 of 3
(3,050 Views)