NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

SeqEdit does not close the sequence

Hi,
 
I have encounter some strange behavious while working with the SeqEdit.  I'm not sure if it was like that from the beginning.
 
When I close my sequence (File-->close, or CTR+W), the sequence disappear from the SeqEdit screen but it is not unloaded.  I know that because I put a breakpoin in my SequenceUnload sequence and it doesn't go there.  Also, when I open the same sequence again, it appears immediately without going through the SequencLoad sequence.
 
If I do the same thing with the Operator interface..is behaves differently.  The sequence went through the SequenceUnload and closed properly.
 
Why is that?  Is it a matter of some option to set?
 
Thanks
Rafi
0 Kudos
Message 1 of 5
(3,358 Views)

Hi Rafi,

Just a few questions:

a) Does it occur after you have executed a sequence, ie open sequence file, run sequence (with or without process model) and close sequence file.

b) Does it occur after you just open and close sequence file.

c) Do you have any parallel executions running?

d) Do you store any references to executions or sequence files either in StationGlobals or code modules.

e) Are you using the default operator interface?

f) What are you doing in the SequenceFileLoad?

What version of TestStand are you using.

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 2 of 5
(3,360 Views)

Hi Ray and thanks for answering

 

Here are the answers to your questions:

 

a) Does it occur after you have executed a sequence, ie open sequence file, run sequence (with or without process model) and close sequence file.

     YES.  But in only happens after the first CVI step I'm running.

b) Does it occur after you just open and close sequence file.

        NO.  I do run CVI steps in the FileSequenceLoad but the functions are in a different dll than the one I use int he main sequence.

c) Do you have any parallel executions running?

      NO

d) Do you store any references to executions or sequence files either in StationGlobals or code modules.

        I don't know exactly what you mean.   I open a panel in the SequenceFileLoad and store its handle in the stationGlobas.  I also open GPIB instruments and store their handles.  Later, I use them in the MainSequence

e) Are you using the default operator interface?

           It only happens with the sequenceEditor.  It does not happen with the operator interface.

f) What are you doing in the SequenceFileLoad?

    Initialize GPIB instruments, start a panel

What version of TestStand are you using.

     3.5

 

 

Thanks

Rafi

0 Kudos
Message 3 of 5
(3,325 Views)

Hi,

Do you actually perform the QuitUserInterface() when you exit the panel?

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 4 of 5
(3,320 Views)

Hi Ray and thanks for helping,

 

I was able to solve the problem.

I found out that I did not clear objects used for Termination Monitoring.  Once I added the clear resources, everything works fine.

How is that relates to my problem?

 

Thanks

Rafi

0 Kudos
Message 5 of 5
(3,302 Views)