NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

testand scheduling events at absolute times

Is there a way to put a teststand sequence in a loop and when the time of day is at 8:30 PM the sequence executes? I am looking to do daily scheduled maintenance activities for my system using the tool...

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

If I were you I would just do it as a windows event.  You can pass the sequence file as a command line argument to the UI and have it execute.

 

Just a thought.

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 2 of 4
(3,653 Views)

So are you saying that there is not a way to do this in testand itself?  I do not comprehend

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

There is a way in TestStand but not a native way.  You would have to code it up.  Basically make a little loop that looks at the time and when it hits 8:30 or whatever then continue.  That's easy enough but then you always have to be executing.  That sucks.

 

I mis-spoke.  I meant to say "Windows Task."  In windows you can schedule a task to execute at a certain time every day or once or whatever you like.  It is similar to a cron job on linux.  One type of task is to set up a command to execute.  This command can call the UI with a sequence file passed to start the entry point.

 

Here are some helpful links:

http://windows.microsoft.com/en-US/windows/schedule-task#1TC=windows-7

 

UI and seq editor startup options:

http://zone.ni.com/reference/en-XX/help/370052K-01/tsfundamentals/infotopics/startup_opt/

 

 

Hope this helps,

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 4 of 4
(3,643 Views)