02-21-2014 05:29 AM
I have a sequence that run in parallel model.I have disabled the dialog.So every time when I want to exit TestStand I have to press "Terminate All",this means that some steps that contains releasing handle or references won't excute.This is bad.
Is there any way to exit TestStand without "Terminate",or is there any step that will excute before TestStand really terminate.
02-25-2014 12:59 AM
Which TestStand are you using?Assuming its TS 12 or above.
Try the Processcleanup callback ( I tried in TS 12 ).
Its called even after terminate all.
Add "Processcleanup"callback to your test sequence.(edit-->sequence file callbacks-->add ProcessCleanup)
Put your handle closing code in this sequence.
Hope this helps.