NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

callback for specific step group

Hi,
 
I have a sequence, Main sequence. In this sequence, there is Setup, Main and Cleanup step group. Setup is to initialise my devices, Main is to perform the tests on my UUTs, Cleanup is to stop and clear task for my devices. I would like to have a TS sequence in such a way that it runs Setup and Cleanup once and continue to loop Main. With this setting, I would still want to have the UUT Information window popup.
 
I have tried using SequenceLoadFile callback and put my vis for initialising my deivces (found in Setup) in this callback. It works when I first open my sequence file. However, I would like to know if I can do it in such a way that everytime I click Run (F5), it will run my initialise vis (found in Setup) once and keep looping Main with popup of UUT Information window for each UUT and run Cleanup with I click Stop on the UUT Information window.
 
Could anyone give me some advise on how I can do so??
 
Thank you & Regards
Lee
0 Kudos
Message 1 of 2
(2,988 Views)
Process Setup Callback and Process Cleanup Callback.  They are model callbacks that you can add to your client sequence and put your initialize and cleanup code in.  You add them the same way that you added the Sequence File Load callback (which, by the way, is an engine callback). 
 
The Purple sequences are engine callbacks.  The Green sequences are Model callbacks.
 
It doesn't matter if you override engine callbacks like you are doing.  It just matters what kind of behavior you want.  In your case you need the two model callbacks I mentioned at the first.
 
Hope that helps,
jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
Message 2 of 2
(2,980 Views)