NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Determining TestStand engine shutdown

How determine from within SequenceFileUnload callback whether TestStand is shutting down?

SequenceFileUnload callback is called by TestStand when sequence file is beeing released.

There are several possible causes of this:

-sequence file is closed manually

-"Unload All Modules" command is invoked

-TestStand is shutting down

-etc?

Generally it would be nice to know what is the reason of SequenceFileUnload call.

 

Thanks,

Misha,

TestStand 4.0

0 Kudos
Message 1 of 2
(3,015 Views)

Hello Misha,

 

There is not an Engine property for "shuttingdown" or anything that I can find, however if you look under the TestStand help for "Engine, Shutting Down" it describes what happens when the engine shuts down. You can get a UIMessage, however that will actually be sent after the SequenceFileUnload Callbacks.

 

I was wondering, what is the overall goal of this method? The only instances where the SequenceFileUnload Callback will be invoked is when the Sequence File is Unloaded, which as you mentioned can be manually or automatically when the engine shuts down. This callback will not be fired on "Unload All Modules" or for any other reason I can think of.

 

So essentially we have closing it manually or when the engine closes. I guess overall what I am trying to find out is what functionaliy you are trying to implement that I might be able to assist with rather than using this method.

With warm regards,

David D.
0 Kudos
Message 2 of 2
(3,001 Views)