LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Release Sequence File prgrammaticaly in labview

Hello,
 
I am using a labview operator interface to run a sequence file. However, when I exit the operator interface then rerun it, I get the error saying " a sequence file has not been released the last time your teststand engine was destroyed". I closed the sequence file but that did not do the trick. How do I release a sequence file in labview programmaticaly ? If there is an answer to this, Do I still close the file before releasing it from the cache ?
 
Any help on this is appreciated.
 
Regards,
Ayman
0 Kudos
Message 1 of 4
(3,008 Views)
Ayman,
 
Are you using Manager controls in your operator interface?  Specifically the Application Manager?  Because if you are, it should handle unloading all of your sequences from memory automatically.
 
If you are not using the manager controls, you can use the ReleaseSequenceFileEx method of the TestStand Engine to release a sequence file that you've loaded.
 
Also, have you built your operator interface based on one of the examples that ships with TestStand?  What versions of LabVIEW and TestStand are you running?
 
Josh W.
National Instruments
Applications Engineer
Josh W.
Certified TestStand Architect
Formerly blue
0 Kudos
Message 2 of 4
(2,986 Views)

Josh,

I am not sure what manager controls means. I am using the controls from the teststand palette. Yes I built the operator interface based on the example provided by NI. I am using Labview 7.1.1 and Teststand 3.1. I also tried using the ReleaseSequenceEX, but i got an error saying, cannor release sequence file because the sequence was not loaded using teststand engine.

Regards,

Ayman

0 Kudos
Message 3 of 4
(2,978 Views)
Ayman,
 
Try the steps in this thread, and let me know what you find out.
 
Josh W.
National Instruments
Applications Engineer

Message Edited by Mist on 10-05-2006 12:36 PM

Josh W.
Certified TestStand Architect
Formerly blue
0 Kudos
Message 4 of 4
(2,970 Views)