06-04-2007 12:33 AM
06-04-2007 12:56 AM
06-04-2007 02:40 AM - edited 06-04-2007 02:40 AM
Hello Ray,
Thanks for responding.
I have version 3.5 (pardon me for not specifying it in the post).
I see the behaviour in both seq. editor and default OI, and also when I attach the CVI DLL project to TS for debugging and run it from CVI.
Nothing is custom.
I do not have custom callback, custom step types, etc. I have code written in CVI and compiled as DLL.
I tried the following: break at the first step of the Setup group of the MainSequence, terminate execution, close TestStand. So no step is executed at all. Only my DLL is loaded.
In this case when I click close, I see the DLL unloading (its UI panel get discarded) but the TS window stay as it is. If I click 'X' on the sequence window (not TS) I get the attached message. If I try to close the TS again the panel I attached in the first post appears.
The behavior is really depends on if I use the TS window close button, sequence windows close button or right-click the toolbar button and click Close. In the latter case, for SeqEdit, another message says: System Level Exception -17502
In all these cases (also for the ones mentioned in the first post) TestStand does not close normally.
I have to use End Task from Task Manager.
The 'Incomplete Execution' panel does not dissappear if I use "Terminate all" or "Abort all" on the panel.
note 1: Excuse me for erasing the name of my sequence file from the picture.
note 2: I tried an example sequence from tutorial and nothing went wrong. TS closes normally.
Message Edited by ebalci on 06-04-2007 10:42 AM
Message Edited by ebalci on 06-04-2007 10:54 AM
06-05-2007 07:29 AM
Hi,
Sorry for the delayed response.
[I tried the following: break at the first step of the Setup group of the MainSequence, terminate execution, close TestStand. So no step is executed at all. Only my DLL is loaded.
In this case when I click close, I see the DLL unloading (its UI panel get discarded) but the TS window stay as it is. If I click 'X' on the sequence window (not TS) I get the attached message. If I try to close the TS again the panel I attached in the first post appears.]
I'm trying to get a picture from your statement above of what's happening. These different windows is painting a confused picture. I'm not sure whether you are in the SeqEditor or the Operator Interface.
When you say close TestStand, why is your DLL still loaded?
Sequence window, does this refer to the Operator Interface?
What does TS refer too?
[In all these cases (also for the ones mentioned in the first post) TestStand does not close normally.
I have to use End Task from Task Manager.
The 'Incomplete Execution' panel does not dissappear if I use "Terminate all" or "Abort all" on the panel.]
This seems to suggest that in your DLL you are starting a new execution, which you are not closing properly or are not releasing the references to the new executions unless you use Terminate All or Abort All.
Can you say what you DLL is doing?
Regards
Ray Farmer
06-07-2007 09:21 AM - edited 06-07-2007 09:21 AM
Message Edited by ebalci on 06-07-2007 05:22 PM
06-11-2007 09:14 AM
06-11-2007 11:59 PM
06-13-2007 11:10 AM
06-14-2007 02:52 AM - edited 06-14-2007 02:52 AM
Message Edited by ebalci on 06-14-2007 10:52 AM
06-15-2007 01:13 PM