12-18-2006 05:49 PM
12-18-2006 05:59 PM
A numbers base representation is really just a visual thing in LabVIEW.
If you're looking at a number on the front panel and it's displayed in hex, you can easily change it to display it in decimal, octal or binary. The number itself has the same value regardless of it's representation. The math functions will work.
To change how it is displayed, right click on the control/indicator and select 'Visible>Radix'. This will display the numbers base on the front panel. You can now use the operating tool (the little hand) to click and select the different bases for display.
If this isn't what you're trying to do, can you provide a few more details like converting a hex string to a number maybe?
Ed
12-18-2006 06:14 PM
12-18-2006 06:32 PM - edited 12-18-2006 06:32 PM
Message Edited by Ed Dickens on 12-18-2006 06:33 PM
12-19-2006 10:25 AM
12-19-2006 10:53 AM - edited 12-19-2006 10:53 AM
Well, simply using a type cast on the 32bit value gives 1601.6007
Is that sufficiently accurate?
Rod.
Message Edited by Rod on 12-19-2006 04:55 PM
12-19-2006 11:13 AM
Addendum to my previous post....
I just went to the web site you showed, and entered 44c83339 into the Hexadecimal Representation box, and clicked compute. To 4 d.p. it gave 1601.6007, [same as LabVIEW gave] so I'm not sure where your .11 came from.
BTW the page is a very useful means of seeing how floats are represented in binary.
Rod.
12-19-2006 11:21 AM
12-19-2006 11:40 AM