NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

range check of LabVIEW controls

In LabVIEW, one can specify that a control have a valid range of entries (i.e. min/max/increment).  If you run this VI from LabVIEW, everything works great.  However, when that VI is invoked from TestStand, values outside the range are allowed to be passed in.  Is there a good/easy way to apply the same constraints on the TestStand side, or do we have to perform range checking on all user-supplied inputs?
0 Kudos
Message 1 of 4
(3,456 Views)
By 'user supplied inputs' do you mean a message popup in Teststand occurs where a user inputs a value? Or do you mean somebody actually manually entering the input value right in the sequence file settings?
0 Kudos
Message 2 of 4
(3,438 Views)
When you're creating your sequence file (in the seq editor), you list your step name, step type, etc, then you specify module and point to the VI you want this step to call.  At that point in the seq editor, you specify any parameter defaults you'd like to over write. 
0 Kudos
Message 3 of 4
(3,433 Views)
As far as I know you cannot limit the range of input values entered at that point.
 
You'll probably have to create come kind of preconditioning sub VI that verifies input.
0 Kudos
Message 4 of 4
(3,422 Views)