Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 69005

Data read from serial is raw data, How can i convert to HEX for parsing?

$
0
0

 

 

Hi,

 

I read from a serial com port, and the data is Ascii form of HEX i think. The data i recieve is very similar to this:

 

Zî ”¢>î ™¢Tî ™¢Kî ¢Mî ¢iî ’¢Gî ’¢"î ‚¢0î ‚¢hî €¢            (Im not sure this has copied pasted correctly)

 

Yet when i change my output display to Hex display i see this:

 

5AEE 0302 0620 94A2 3EEE 0302 0620 99A2 54EE 0302 0620 99A2 4BEE 0302 0620 8FA2 4DEE 0302 0620 8DA2 69EE 0302 0620 92A2 47EE 0302 0620 92A2 22EE 0302 0620 82A2 30EE 0302 0620 82A2 68EE 0302 0620 80A2 

 

How can I convert the string to hex output as above for parsing?

 

Many thanks

 

Alex

 

 


Viewing all articles
Browse latest Browse all 69005

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>