LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Normal string to HexaDecimal String

Solved!
Go to solution

Dear NI

 

I have a problem with string conversions my problem is that i have a normal string e.g "ff002d" with size 6 bytes now i have to convert this into hexa string like this "FF00 2D" (this is anohter string whose hexa display is like this "FF00 2D" and normal display is like this "ÿ -" ) of size with 3 bytes. Thanks in advance for your time and intrest...

 

regards

 

 

 

0 Kudos
Message 1 of 6
(9,266 Views)
Solution
Accepted by mazhar.ali
Message 2 of 6
(9,262 Views)

If it is always exactly 6 bytes of hex formatted number, you can also do the following.

 

Message 3 of 6
(9,253 Views)

thanx a lot sir it works perfectly and no my string is of varriable size. so first post is my required solution.

0 Kudos
Message 4 of 6
(9,244 Views)
Isn't it great if you get a solution in less time (<3minutes) than it probably took you to compose and submit the question? 😄
Message 5 of 6
(9,231 Views)

It is really great...

0 Kudos
Message 6 of 6
(9,205 Views)