NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Variable Guidelines for Cleanup in TestStand

Some of my sequences can be very large and complex. One aspect which I struggle with involves opening relays and closing out of DAQme server. Depending on where a test fails, accounting for relays and handles can be challenging. I want to use FileGlobals (Boolean variable) for this purpose but our software architect discourages us from using them. What sequence guidelines should a TestStand user write to? Would that philosophy change for multiple threads?  

.

Tony

0 Kudos
Message 1 of 2
(1,924 Views)

You can use engine callbacks to check for conditions then execute actions after test failure. You can learn about engine callbacks here. There's also this forum post where a user goes over the different engine callback types.

0 Kudos
Message 2 of 2
(1,898 Views)