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.

Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

how do I convert a hex string to a hex code

I simply want to take a hexadecimal string (for instance '03') and make it so LabView recognizes it as a hexadecimal code, ie '\03'
Do I have to type cast it? If so to what type?
0 Kudos
Message 1 of 2
(2,864 Views)
Hello,

Using the "Hexadecimal String to Number VI" should allow you to do this. It's in the All Functions >> String Functions >> String/Number Conversions pallette.

Hope this helps.

Scott B.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,864 Views)