Quantcast
Channel: NI TestStand topics
Viewing all articles
Browse latest Browse all 6730

How to get terminate status and number of all steps executed in Teststand

$
0
0

Hi ! Could someone teach me,pls?

 

1. Query:

    How can i get the sequence status of Terminated?

 

    Aim:

    I want to Terminate  sequence execution while something wrong happened, then i want to aquire the Terminated Staus.

 

    My action:

    i add a ActiveX API step into a callbacks file called SequenceFilePostStepFailure , but i can't get the value well 

 

2. Query:

    How can i get the number of all steps executed in Cleanup of one sequence?

 

    Aim:

    I  want  to get the number of all steps executed include Setup, Main and Cleanup, after i terminating the sequence

 

    My action:

    call a variable from RunState.NumStepsExecuted . but it only the number of steps executed from Setup or Main or Cleanup , not all.

 

 

Thank you in advance!


Viewing all articles
Browse latest Browse all 6730

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>