NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Reapeated call to TestStand Sequence

Hi,

 

Is there any possibility to call a testand sequence at equal intervals, like the timer callbacks which gets called in Labwindows/CVI?

 

Regards,

Ramjee V

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

There isn't such function like in CVI, but you could generate your own by running a sequence in a new execution which is launched in your main sequence which can run a sequence in a timed loop.

 

regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 2 of 4
(3,239 Views)

Hi Ray Farmer,

 

Could you please elaborate "could generate your own by running a sequence in a new execution which is launched in your main sequence which can run a sequence in a timed loop".

 

Regards,

Ramjee V

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

Hi,

 

Create a Sequence (i'll call it SequenceCB) which has a loop which will call another Sequence (I'll call it Task) (The one which will do your expected callback task). Use a delay or something suitable to provide the timed delay before making the call to the Sequence - Task again.

 

In your MainSequence of your top level SequenceFile call SequenceCB but you need to perform the additional function of setting the SequenceCall step to run as in NewExecution.

 

The only other thing you need to do is in the Cleanup of the MainSequence add a step that will close/terminate the NewExecution 'SequenceCB' before finishing MainSequence. Otherwise you will be left with SequenceCB still running when your MainSequence has stopped running and having problems when you shut TestStand down.

 

There maybe an example in TestStand\examples of a NewExecution.

 

Regards

Ray Farmer 

Regards
Ray Farmer
0 Kudos
Message 4 of 4
(3,222 Views)