I am trying out TestStand 4.0 with a LabView 8.5 UI based on a modified NI Simple GUI.
I tried a simple poll of SequenceContext.StepIndex using the appropriate Property Nodes in a 1 second while loop to asynchronously check the progress of the sequence execution - but this fails to get the SequenceContext Property with an error:
-17500 Exception occured in
TSUI.IExecutionViewMgr:
Execution is not paused in
UI Main.viThe error suggests that if the program was paused I could access the test step index but this seems to be contradictory to the expected functionality as described in the TestStand Help:
"StepIndex Property
Returns the zero-based index of the currently executing step. The index indicates the position of the step in the step group identified by the StepGroup property. If execution is suspended between steps, this property returns -1"
I can however successfully extract other ExecutionView Manager properties during execution such as Execution.SecondsExecuting.
How can I get get SequenceContext.StepIndex (or something equivalent) to return the test step successfully during execution?