LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how do you convert non readable ascii to hex ?

Solved!
Go to solution

I have an incoming string form a VISA port that looks like the image below:

non-readable-string.JPG

 

 

I want to convert this to hex and write it to a file. 

 

How do I convert it to hex?

 

I tried using this example: http://forums.ni.com/t5/LabVIEW/convers-ascii-string-to-hex-string/td-p/569834

 

However, I got an error message thats ays "Error 85 occurred at Scan From String".  The reason why this error message was occuring was because the data shown above is not formatted as "%02".  How do I fix this problem or is there another way to simply dump a hexidecimal version of the above string?

0 Kudos
Message 1 of 3
(2,567 Views)
Solution
Accepted by topic author invasion2121
I don't understand. It's already hex. Right click on the indicator and select hex display.
0 Kudos
Message 2 of 3
(2,562 Views)

is it ascii hex?

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 3 of 3
(2,543 Views)