10-13-2011 09:45 AM
Hi all,
I have build my own TestStand userInterface in C# this way :
The aim of this architecture is to be abble to launch multiple sequences in parallel, one on each tabPage.
On each tabPage i have to run a different sequence, and i force the main sequence parameters before launching them.
My application works sometimes well, but sometimes it hangs completely !
When i launch the sequences in a sequential way, there is no problem. (Sequence 1 executes on tabpage1, after completion i launch the sequence 2 on tabpage2 ... and so on ... )
I have tryed to "Mutex" (using a lock on a static object) the AxObjects access (Calls, events ... )
=> But it still hangs !!!!
Does parallel userInterfaces examples exists somewhere ? (In C# or VB.net)
I have read in the online help that using "UIEvents" in C# must be followed by an acknoledge call !! This made my application hangs directly !
I have also put a timer on my main form, in order to call the garbage collector every 500ms.
I also force all Teststand object references to NULL after each use.
Have you some ideas ?
10-14-2011 07:13 AM