LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Character array converted to array.

How can a character string of say FFFFFFFFFFFFFFFFFFFFF be coverted to a 1 dimensional array of "FF"(1 byte wide).
Thanks
0 Kudos
Message 1 of 2
(2,449 Views)
Since you don't have a delimiter between the bytes, I think you will have to go over the string in a while loop, and extract 2 characters each time until there are no more left. In each iteration, wire the 2 chars into a String to Hex number VI and auto index the result out of the loop. You have your numeric array. Just click one of the elements and select Visible Items>>Radix and change it to hex.

___________________
Try to take over the world!
0 Kudos
Message 2 of 2
(2,437 Views)