11-25-2008 04:22 PM
11-26-2008 02:08 PM
Hi Jason.
This is known bug in TestStand and it is currently being addressed CAR ID #125874. Basically when the NISE session is closed, TestStand doesn't actually dispose of the session but rather hangs on to it until the execution window is closed.
There is a workaround:
Create a statement step after you close the NISE session, and call the following.
RunState.Execution.TSIviStepTypes_AnchorName_For_NISE Virtual Device = nothing
where NISE Virtual Device is the name of the NISE device that you want to end the session to.
Chris