Atko
2007-08-31 16:40:16 UTC
Has anyone ever experienced something similar?
Tools:
Win XP
TestStand 3.5 runtime only (for test deployment)
C# Operator Interface (VS 2005)
Symptoms:
After the operator interface exits, it won't restart, the exe is just sitting in there but doing nothing. I believe it has problems with some property objects with unreleased references, but I can't find a way to figure out.
If the OI runs on a PC with development system installed on it, TS is supposed to pop up the debug warning window with the list of unreleased references and other issues on exit as the "Report Object Leaks" in the Debug options is turned on. It actually can be seen for a "fraction of a second" but it seems impossible to make it stay on the screen after the OI exited, so it appears that the application has nothing to complain about. Also, on the dev PC the OI restarts with no problem, probably because the development system gets rid of the references without letting me know about it
To make it a little more complicated I played a little with the the NI out-the-box C# OIs on the runtime-only PC and loading simple sequences with no Ax refs at all in them, or even without opening any seq files, the OI will not restart after exiting. So it seems it may not be me not properly releasing refs. The GC timer is ticking anyway and triggers the forced GC, so It should not be an issue... Plus: the original NI LV OI behaves the same...
Experience, ideas to share? Anyone?
Thanks,
Atko
Tools:
Win XP
TestStand 3.5 runtime only (for test deployment)
C# Operator Interface (VS 2005)
Symptoms:
After the operator interface exits, it won't restart, the exe is just sitting in there but doing nothing. I believe it has problems with some property objects with unreleased references, but I can't find a way to figure out.
If the OI runs on a PC with development system installed on it, TS is supposed to pop up the debug warning window with the list of unreleased references and other issues on exit as the "Report Object Leaks" in the Debug options is turned on. It actually can be seen for a "fraction of a second" but it seems impossible to make it stay on the screen after the OI exited, so it appears that the application has nothing to complain about. Also, on the dev PC the OI restarts with no problem, probably because the development system gets rid of the references without letting me know about it
To make it a little more complicated I played a little with the the NI out-the-box C# OIs on the runtime-only PC and loading simple sequences with no Ax refs at all in them, or even without opening any seq files, the OI will not restart after exiting. So it seems it may not be me not properly releasing refs. The GC timer is ticking anyway and triggers the forced GC, so It should not be an issue... Plus: the original NI LV OI behaves the same...
Experience, ideas to share? Anyone?
Thanks,
Atko