NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Step looping time interval

Solved!
Go to solution

Hi Guys,

 

I'd like to loop on a step (using the looping configuration),

but futhermore, configuring a wait time betweed each iteration...

 

I haven't found a wait function in the expressions browser, or another way to do that.

 

Does anyone have an idea to do this?

 

Thanks for your replies !

0 Kudos
Message 1 of 3
(3,724 Views)
Solution
Accepted by topic author LMartin

Hi LMartin,

 

There isn't a wait function by default for standard steps. But there are a couple of ways to do what you want - The easiest being to place the operations you want to loop on inside of a sequence, add a Wait step to that sequence, and then loop on the Sequence Call step to that sequence. I'm assuming that you're wanting to loop on something more than a Statement step, otherwise you could just loop on the Wait step and put your operations in the Pre- or Post-Expression. The more complicated way would be to create a custom step that combines the Step Type you are using with the Wait step. Refer to Chapter 13, Custom Step Types, of the NI TestStand Reference Manual for details on custom step creation.

 

Hope this helps.

 

-Jack

Message 2 of 3
(3,706 Views)

Thanks Captain_Jack

 

I've choosen the first option (a wait step inside a called sequence).

The second option is more complete since I can use it to call any sequence I'd like.

 

But for the moment, I'm using it once. and I'll greatly consider the second option if I got to use it several times.

 

It helps...Thanks

 

Cheers !

 

0 Kudos
Message 3 of 3
(3,643 Views)