NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Warning at UI closing: The Engine.ReleaseSequenceFile(Ex) method was not called

I got a TestStand test system. The tests can be performed from TestStand or usung external UI written in LabVIEW. When the UI is used the tests are executed as expected. However, an attempt to close the UI results in a long warning message started from

 

The Engine.ReleaseSequenceFile(Ex) method was not called for the following files:

    C:\Program Files (x86)\National Instruments\TestStand 2013\Components\Callbacks\Station\StationCallbacks.Seq

    C:\Users\Public\Documents\National Instruments\TestStand 2013\Components\Callbacks\FrontEnd\FrontEndCallbacks.Seq

    C:\Users\Public\Documents\National Instruments\TestStand 2013\Components\Callbacks\Station\StationCallbacks.Seq

 

Then LabVIEW is crushed as a rule.

 

For testing I saved the default test sequence (that appears when TestStand is opened) and tried to execute it using the same external UI. The warning appears in the same way as with real test sequence. I conclude that the UI generates the problem.

 

Internet search resulted in one information-containing hit (http://forums.ni.com/t5/NI-TestStand/The-Engine-ReleaseSequenceFile-Ex-method-was-not-called-for-the...). However, described there problem was related to opening sequence files with Engine.GetSequenceFileEx without releasing with Engine.ReleaseSequenceFileEx. I searched through the code and did not find any invocation of GetSequenceFileEx,

 

Please advice: How can I find where sequences are loaded? How can I release them?

 

Thank you!

 

PS: TestStand 213 f1 5.1.0.240; Model: BatchModel.seq; LabVIEW 2013 SP1

_____________________________________
www.azinterface.net - Interface-based multiple inheritance for LabVIEW OOP
0 Kudos
Message 1 of 5
(5,284 Views)

Hi _Y_

 

Are you using one of the shipping OIs that are installed with TestStand? If not, could you try, and see how it works.

 

You will find the here: C:\Program Files (x86)\National Instruments\TestStand 2013\UserInterfaces

Regards,
Eirikur Runarsson
0 Kudos
Message 2 of 5
(5,211 Views)

Hi Eirikur,

 

Thank you for the answer. Of course, the UI is not one shipped with TS. As a fact I already solved the problem introducing delays after two commands to Application Manager: "Shutdown" and "CloseAllSequenceFiles".

 

However, there is a feeling of "quick and dirty" solution because I do not understand what caused the error. 

 

_____________________________________
www.azinterface.net - Interface-based multiple inheritance for LabVIEW OOP
0 Kudos
Message 3 of 5
(5,207 Views)

Hi _Y_,

 

The shipping OIs are a great resource of information on how to do things in case you want to implement a less 'quick & dirty' solution.

Regards,
Eirikur Runarsson
0 Kudos
Message 4 of 5
(5,138 Views)

Thank you, I try.

 

Unfortunately, I am not good when working with exemples. My preference is understanding of background ideas.

_____________________________________
www.azinterface.net - Interface-based multiple inheritance for LabVIEW OOP
0 Kudos
Message 5 of 5
(5,136 Views)