06-10-2010 05:40 AM
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
06-10-2010 05:56 AM
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
06-10-2010 06:00 AM
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
06-10-2010 07:35 AM
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