NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How To Convert A Decimal Number To It's 2 Byte Hex Number IN Teststand Using Teststand's Built In Functions

Solved!
Go to solution

Hello,

 

I'm trying to convert a decimal number ranging from 0 - 65535 to its 2 Byte HEX value (number or string doesn't matter) using Teststand's built in functions. How would I do this?

 

Example:

Decimal Value                         HEX Value

1                           -->               0001

255                       -->               00FF

65535                   -->               FFFF

 

Any help is greatly appreciated, THANKS

0 Kudos
Message 1 of 3
(4,425 Views)

Thanks for you support.

 

The second part of that post works. I just had to manually change the number of digits.

 

THANKS A LOT!!!!!

0 Kudos
Message 3 of 3
(4,372 Views)