From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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
(2,643 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
(2,623 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
(2,617 Views)