09-22-2015 12:52 PM
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...
09-22-2015 01:29 PM
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.
09-22-2015 02:28 PM
So are you saying that there is not a way to do this in testand itself? I do not comprehend
09-22-2015 02:45 PM
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,