10-02-2009 11:56 AM
I am getting an inexplicable Time Limit Exceeded message box popping up.
In my UI I have a testing form containing the AppManager and ExecutionViewManager controls. In the FormClosing event handler, I make the following VB.NET 2008 calls:
AppMgr.GetEngine.TerminateAll()
AppMgr.GetEngine.UnloadAllModules()
AppMgr.CloseAllSequenceFiles()
AppMgr.CloseAllExecutions()
AppMgr.Shutdown()
While ExecViewMgr.RunState <> ExecutionRunStates.ExecRunState_Stopped
System.Windows.Forms.Application.DoEvents()
End While
After this, I get the Time Limit Exceeded message box appearing. It references my process model file SequenceFileLoad callback but there is nothing in it. I am at a loss as to what is causing this. Is there something else I need to call to truly close things out.
Solved! Go to Solution.
10-05-2009 06:51 PM
Hi Skeptical,
1. Are you using any multithreading in the interface? It can happen that one thread is still running or is hung while all the rest of the threads are done
2. Can you run the same process model and sequence file in the TestStand Sequence Editor or one of the default operator interfaces that ships with TestStand?
3. What customizations have you done to the OI and process model?
10-13-2009 09:03 AM