10-01-2009 01:19 AM
Hi all,
I am using Labview to communicate with accelerometer. I need to convert ASCII to decimal value. However, my application samples for labview is only capable to convert ASCII to HEX value which is pretty much useless as raw data.
How to i convert HEX into a string of decimal using type cast or is there any better way to do it? What does the 'type' indicate?
Kane
10-01-2009 01:23 AM
10-01-2009 01:25 AM
10-01-2009 01:31 AM
Hi Use ''Hexadecimal String To Number'' to convert Hex Value into Integer number\
I think this will work. If not use 'Number To Decimal String" after converting Hex into number.
10-01-2009 01:49 AM
hito88 wrote:
What does the 'type' indicate?
Straight from LV Help...
"type is the data type to which you want to convert the data. Wire any constant or control to type to set the data type to which you want to convert the data. LabVIEW ignores any data in the constant or control you wire to type."