07-18-2021 12:09 PM
I would like to run our main sequence continuously on a single part, in order to look for random errors/failures in the test sequence (or maybe the part too).
That is, I'd like to just have the entire sequence run through, produce a report, and then start again. Obviously we would need to disable the SN and any other dialogs.
I considered creating a "Test loop the sequence" sequence, but wouldn't that only produce one report?
07-19-2021 06:58 AM
in your report setting select this option:
then it will produce a report file for every iteration.
Roman
07-19-2021 10:26 AM
Thanks Roman, but I think I wasn't clear. I want to *test the test*, so I want to run the entire test !100X, and have it produce a report each time.
We have some instabilities, and we want to see how often they will occur. I'd rather not have to sit there and enter the SN every 6 minutes, so I was hoping there was some way to loop the entire test process.
07-19-2021 10:33 AM - edited 07-19-2021 10:56 AM
TestStand and User Interfaces can be called from the command prompt and thus you could set up a "batch" script to call the sequence over and over again.
In your sequence add a PreUUT callback and bypass the prompt and also hardcode the UUT SerialNumber and PartNumber
Here's an example(this assumes that seqedit is on the path):
start /wait seqedit.exe /quit /runEntryPoint "Single Pass" "C:\pathtomysequence\mytest.seq" /outputToStdIO & call echo %^errorlevel%
/quit will close the Sequence Editor each time. If you don't want that then use /useExisting
start /wait seqedit.exe /useExisting /runEntryPoint "Single Pass" "C:\pathtomysequence\mytest.seq" /outputToStdIO & call echo %^errorlevel%
"& call echo %^errorlevel%" will echo the Test Status "Exit Code" result to the standard output and if useful you can redirect that to a log file.
See: https://zone.ni.com/reference/en-XX/help/370052AA-01/tsuiref/reftopics/applicationmgr_exitcode_p/
Edited: added /wait argument forgot /runEntryPoint in second example
07-19-2021 10:39 AM
Awesome, I will give that a shot!
07-19-2021 10:46 AM
Jed,
here i attached a client sequence that makes your Sequential model run UUT loop FileGlobals.NumRuns times without dialogs.
I hope this helps.
Roman
07-19-2021 10:59 AM
Note: I updated my post above with some corrections, hope it helps