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: 

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
(10,135 Views)
Solution
Accepted by topic author mazhar.ali
Message 2 of 6
(10,131 Views)

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

 

Message 3 of 6
(10,122 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
(10,113 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
(10,100 Views)

It is really great...

0 Kudos
Message 6 of 6
(10,074 Views)