NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Step.GetExecutionFlowString

So Im trying to get a description of my steps in a sequence, I run the method Step.GetExecutionFlowString and get the following string... (I replaced the original values with xxx)
 
Batch Synchronization: xxx Lock: xxx Precondition: xxx Run Mode: xxx Pre Expression: xxx Status Expression: xxx Post Action: xxx
I am trying to separate the attributes of this string in order to make a detailed report, i.e. a table with one row per property (Batch Sync, Lock,Pre expression, Post Action, etc) instead of the raw string above. I tried to add as many modifiers as possible to my example step but I am afraid I may be missing something. Does anybody know where can I find documentation about ALL the categories that Step.GetExecutionFlowString may return...
 
Thanx
0 Kudos
Message 1 of 2
(3,088 Views)
Hi << - N - >>,

I noticed the TestStand Help was a little vague on the possible returns of this method.  For the best list of execution flow settings that I can find, go to the TestStand Help Index tab, and type in "Step Group tabs" and open the topic with that name.  The third section in the list, Execution Flow, is what can be included in the Step.GetExecutionFlowString return string. 
Here's the list I'm talking about:
  • Execution Flow—Indicates whether the properties of the step are set to control the flow of execution in the sequence. The following values can appear in this column:
    • Precondition—Indicates that the step has a precondition.
    • Post Action—Indicates that the step has a post action.
    • Loop—Indicates that step has been configured to loop.
    • Skip—Indicates that the run mode of the step has been set to SKIP.
    • Force Pass—Indicates that the run mode of the step has been set to PASS.
    • Force Fail—Indicates that the run mode of the step has been set to FAIL.
    • Lock—Indicates that the step acquires a lock that prevents the step from executing concurrently with other steps that acquire the same lock.
    • Batch—Indicates that the step specifies an explicit batch synchronization setting that synchronizes the execution of the step on the set of system test sockets when the step runs in a batch execution.
    • New Thread/New Execution—Indicates that the step is a sequence call that launches a subsequence in a new thread or a new execution.
    • Switching—Indicates that the step performs switching operations when executing the step.
    • Pre-/Post-/Status Expression—Displays the expressions that the step defines.
    • Breakpoint—Indicates that the step has a breakpoint set.
I hope that helps!

Gavin Fox
Systems Software
National Instruments
0 Kudos
Message 2 of 2
(3,068 Views)