04-20-2017 03:44 PM
Last year ~jiggawax~ gave me a method for removing sequence call from the results file, while leaving the results in those sequences in the results file.
https://forums.ni.com/t5/NI-TestStand/Sequence-step-results-in-Simple-Text-Report/m-p/3344148#M52553
This has worked fine, but now I find a problem.
Some of my sequence calls are dependent on preconditions, and if the sequence is not called I get an error in the "Move sub Results to Super Results" step in my sequential model.
"Unknown variable or Property name 'Parameters.Results.TS.SequenceCall'"
I think all I need to do is add to the precondition for that "Move sub Results to Super Results" step to detect if the sequence concerned has actual run.
What is the best way to detect this?
Solved! Go to Solution.
04-24-2017 04:10 AM
Hi David,
You can apply this as a precondition for your code in the ProcessModelPostResultListEntry callback:
RunState.Caller.Step.Result.Status!="Skipped"
It checks the status of the step that just finished (of which the sub sequence calls count) and the code will only run if the step wasn't skipped.
Nic
04-24-2017 12:54 PM
Thanks, that is exactly what I was looking for.
David