NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I determine if record results is checked

I need to be able to determine if the "Record Result" box has been checked from inside of the SequenceFilePostStep callback after each step has been run. Is there a boolean variable that stores this information. If not, is there any other way to find this out?
0 Kudos
Message 1 of 5
(3,426 Views)
Hi Steve,

The property is Step.TS.NoResult
So it 'd be something like RunState.Caller.Step.TS.NoResult

Ignacio
0 Kudos
Message 2 of 5
(3,425 Views)
The TS parameter under step does not appear to exist in the SequenceFilePostStep callback.
0 Kudos
Message 3 of 5
(3,420 Views)
Looks like it does exist. It just wasn't showing up under any of the variable windows.
0 Kudos
Message 4 of 5
(3,417 Views)
You probably do not have Hidden Properties visible (Configure » Station Options » Preferences).  You can access the step through the
Parameters.Step field.  In general, I wouldn't recommend counting on Hidden Properties for locating these variables- it is much safer in case we change implementation to use the API.  You can use the Parameters.Step object, and call the Step.RecordResult API method (in 4.0 through an expression, or in previous versions in an ActiveX step).

Allen P.
NI
0 Kudos
Message 5 of 5
(3,416 Views)