NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

When Does Test Time Get Populated?

Hi everyone, I am using the Sequential Model and my entry point is Test UUTs.  I know I can access the Test Time through Parameters.MainSequenceResults.TS.TotalTime parameter.  In which call back withing the Test UUTs does this Parameter actually get populated?  When is the test actually considered to be done?

 

Thanks so much!

0 Kudos
Message 1 of 3
(4,159 Views)

Hey testdesign,

 

After doing some tests using Message pop-up Step Types, I was able to answer your questions.

 

In which call back withing the Test UUTs does this Parameter actually get populated?

- The MainSequence Callback

 

When is the test actually considered to be done?

- Setting the time begins when entering the setup of the MainSequence.

- The time ends when exiting the cleanup of the MainSequence

 

You can see this yourself by adding an expression to watch and putting a breakpoint just before the MainSequence Callback.  When the program stops you can Step Into the next part of the code and watch the expression Locals.ResultList[0].TS.TotalTime.   

Taylor
Message 2 of 3
(4,118 Views)

That's great info.  Thanks Taylor! Smiley Happy

0 Kudos
Message 3 of 3
(4,112 Views)