From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, 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: 

How to transform a hexadecimal string to an array of string

Hi,

 

I explain my problem:

I have a string which, when it is displayed in the "normal display", gives : "wuIÂ".

When this string is displayed in the "hexadecimal display", it gives: "7775 49C2"

 

My probem is that I need to transform this string to an array of string which would have IN THE NORMAL DISPLAY the values:

 

7

7

7

5

4

9

C

2

 

 I have tried numerous things but it never worked,

Thank you for your help

 

Vlanico

0 Kudos
Message 1 of 5
(2,703 Views)
- James

Using LV 2012 on Windows 7 64 bit
0 Kudos
Message 2 of 5
(2,694 Views)

Let's assume the string is a eight characters and corresponds to 4 bytes, here would be a simple solution. Modify as needed.

 

Of course if you want them on a single line, you would use if the output of the formatting operation and discard the rest of the code. 
Message Edited by altenbach on 05-13-2009 11:51 AM
Message 3 of 5
(2,680 Views)
thank you very much
0 Kudos
Message 4 of 5
(2,670 Views)
I missed my edit window but here is the vi
- James

Using LV 2012 on Windows 7 64 bit
0 Kudos
Message 5 of 5
(2,661 Views)