10-14-2009 06:12 AM
Hi there.
We have build a test system that is running TestStand 4.2 and the code modules are created with LabVIEW 9.0. The SW is running on a PC with Windows XP.
We are currently using TestStand Simple Operator Interface (LabVIEW version) to run the tests, and it is with the Operator Interface that we are having a problem.
If we use the TestExec.exe file that came with the TestStand installation everything works fine. But we need to make some modifications to OI and if we open the project file and recompile the OI, then the OI will not close properly. It seems to shutdown the testengine and stop execution of the VI, but the window does not disappear until we move the mouse.
When I open the project file LabVIEW informs me that the project was last saved in version 7.1.1 and we are now running 9.0.
Can anyone tell me what is holding the window on the screen until there is activity on the mouse?
Solved! Go to Solution.
10-14-2009 06:18 AM
Hi,
Have you made sure that all the TestStand folders with labVIEW VI's/Ctl's in them have been mass compiled with LabVIEW 9?
Have you tried rebuilding the default version with labVIEW 9 and seeing if you get the same problems.
Regards
Ray Farmer
10-14-2009 06:58 AM
As far as I can tell all VI's used by the OI have been converted to LabVIEW 9.0 but I will check again.
And regarding your other point - yes I have tried to open the default project rebuild without making any changes, and that gives me the same problem.
10-14-2009 07:15 AM
I was able to take a screenshot of the OI window.
That is what it looks like until there is some activity either with the mouse or on the keyboard.
10-14-2009 08:02 AM
Hi,
That doesn't look right, are all the buttons populated correctly when its running?
regards
Ray Farmer
10-14-2009 08:17 AM
Everything looks fine and works until I try to exit the OI.
The sequence showing in the execution view is not my sequence. It is somekind of default sequence.
All sequence files was closed and the sequence view was empty when I closed the OI.
10-15-2009 02:31 AM
I have found a solution.
But I am still a little frustrated because I have no idea why it works...
Anyway, if I open vi properties for the Simple OI, go to Execution and change the Preferred Execution System from User Interface to Standard, then the problem goes away.
10-15-2009 11:35 PM
Winther
Thank you for reporting the bug and posting the workaround.
We are currently investigating this issue and will post a response once we have completed our investigation.
Regards
Anand Jain
National Instruments
10-16-2009 01:13 AM
10-28-2009 03:00 AM
I was looking through TestStand 4.2 known issues, and I found this:
LabVIEW User Interface might hang when using LabVIEW events
A LabVIEW User Interface that registers ActiveX callbacks and uses an event structure might hang when the user interacts with a LabVIEW control or indicator. The hang is rare, but when it occurs, TestStand User Interface (UI) Controls remain responsive, but all LabVIEW User Interface elements appear frozen.
Workaround: Activate another application and reactive the LabVIEW User Interface.
Not exactly the same as I am experiencing but sounds similar - Does anyone know more about this issue?