Showing results for 
Search instead for 
Did you mean: 

Change data format (from devices mess to dec?)

Go to solution

Hi all!


Problem: I get data from device (serial) and it looks like this in string-display ¿Ww¿a¹¢¿fÚñ¿‡ò¶¿ but when i am changing displays mode to HEX it looks fine and data is correct. Now i have a problem how to change that HEX data to decimals automaticly when get it on the device. How to change ¿Ww¿a¹¢¿fÚñ¿‡ò¶¿ data to HEX somewhere else than on display (modes)? And handle it in HEX format? not in Ww¿a¹¢¿fÚñ¿‡ò¶¿ format.


Thank You! 


0 Kudos
Message 1 of 5
Accepted by topic author Alias A

Its here.....cheers Smiley Happy


Conversion_Block diagram.JPG


Message Edited by JK1 on 05-27-2009 03:57 AM
With regards,
(Certified LabVIEW Developer)
Give Kudos for Good Answers, and Mark it a solution if your problem is solved.
Download All
0 Kudos
Message 2 of 5

Use the "String to Byte Array" function located in String/Array/Path Conversion menu to convert to decimal.



0 Kudos
Message 3 of 5

I often use the type cast function. It is useful if the "string" received is say an array of I16 integers.


Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
0 Kudos
Message 4 of 5
Works fine.. thanks alot 🙂
0 Kudos
Message 5 of 5