NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to convert numerical values to signed 16 Bit integer representation.

Hi Team,

I have these two values:

  • Min value: 0xEECB
  • Max Value: 0xF1EC

When I create them as variables in TestStand they are interpreted as 61131 and 61932 respectively, but their true nature is that of signed 16 bit integers, and should be interpreted as -4,405 and -3,604.

 

How do I make it so my two variables (Locals.minValue and Locals.maxValue) are interpreted correctly? 

 

0 Kudos
Message 1 of 2
(2,754 Views)

You can right click on the Local variable and change the representation to 64-bit signed.  Unfortunately there isn't a 16 bit signed in TestStand that I'm aware of.

 

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 2 of 2
(2,735 Views)