03-08-2011 11:31 AM
Hi All!!!
Please help me, I get Message with NI USB 8473, but I get the message in Hexadecimal number and I need convert the value to Decimal, how Can I do?
Thanks
Best regards
03-08-2011
11:42 AM
- last edited on
03-08-2011
12:57 PM
by
Laura F.
String conversion palatte, String conversions, Hex string to number
03-08-2011 11:48 AM
Sorry Jeff is convert Hexa to float number, for example: I get the message value C9 1D and I should have a close value 233.24
03-08-2011 02:02 PM
Hi Kaliman,
I'm no expert 😉 , but as far as I know C91Dx is the same as 51485d
Don't know how you get the decimal value.
03-08-2011 02:07 PM
Hi Kaliman,
if you do some further testing, and you split the string in 2 parts : "C9" and "1D" and convert them seperate then you will get a value like 201,29
I think that is the only way to do it. 😉 (but you will still need the VI "number to hexadecimal string" or visa versa.
03-08-2011 02:52 PM
@ABCPrograms wrote:
Hi Kaliman,
if you do some further testing, and you split the string in 2 parts : "C9" and "1D" and convert them seperate then you will get a value like 201,29
I think that is the only way to do it. 😉 (but you will still need the VI "number to hexadecimal string" or visa versa.
@unless the scale is @ 220 counts / unit. What are units measured? what is the scale?