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: 

Is there an easy way to change 323 (string) to "43 01" (hex string) or 3249 (string) to "B1 0C" (hex string)?

Solved!
Go to solution

Is there an easy way to change 323 (string) to "43 01" (hex string)    or  3249 (string) to "B1 0C" (hex string)?

 

Thank you.

0 Kudos
Message 1 of 3
(2,215 Views)
Solution
Accepted by topic author chuck72352

Like this?

 

 

It kind of depends on exactly what you want in the end.  Do you want a string that shows 4 characters that are the hex number for the number you input.  Or do you want a string that is only 2 characters (1 for each byte), but the indicator is formatted to show those in hex display?

Message Edited by Ravens Fan on 04-09-2010 12:30 PM
Message 2 of 3
(2,199 Views)

I'm trying to get a string that shows four characters that are hex numbers for the input.

 

Thank you for your solution.

0 Kudos
Message 3 of 3
(2,191 Views)