NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use a constant for a numerical variable value

I'm new to TestStand and I'm updating existing sequence files for a change to a test run variable.  The sequence file loops through multiple runs passing run information via a local array variable.  In that array there is a Number type field that can be one of two values.  Instead of hardcoding the value in each of the 15 runs I've created two constants in FileGlobals and would like to assign one of the constants to each run variable.  The editor will not let me assign a constant as a value.  The idea is that if that variable value changes in the future I only have to change the value in one place instead of multiple.  How can this be done, if at all, in TestStand?

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

Without much more context than what you've given it seems that you need to use Parameters.

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