ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Convert hex string to character string

I have an hex string like "323030354A554E453134" which I would like to convert to ASCII char to obtain "2005JUNE14".
Is there an easy way to do it with Labview ? Thanks

Martin
0 Kudos
Message 1 of 3
(3,311 Views)

@martin pelletier wrote:
I have an hex string like "323030354A554E453134" which I would like to convert to ASCII char to obtain "2005JUNE14".
Is there an easy way to do it with Labview ?


Yes. Choice depends on whether your "hex string" of "323030354A554E453134" is 10 bytes or 20 bytes in length. The attached is rather LabVIEW v2'ish.
=====================================================
Fading out. " ... J. Arthur Rank on gong."
0 Kudos
Message 2 of 3
(3,291 Views)
Looks like Donald beat me to the punch, but here's some code I made off the cuff to do this. Enjoy!

Ross C
0 Kudos
Message 3 of 3
(3,285 Views)