NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

RunState.Root.RunState.InitialSelection.SelectedSteps[0]) gives error

HI,

I use the following precondition for running SinglePass (one or few steps selected).  However, in Run UUTs (full test mode) I get an error (pre condition can be evaluated...)  since the value of this field is empty.

 

RunState.Root.RunState.InitialSelection.SelectedSteps[0]) != "DATA Test"

 

Any suggestions how to make the Run UUTs ignore this precondition?

 

Thanks

Rafi

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

Hi,

Try using GetNumElements(RunState......) if the value returned is 0 then the array is empty.

Regards

Ray

Regards
Ray Farmer
0 Kudos
Message 2 of 2
(2,964 Views)