Hi All,
We have developed a customized OI in LV 7.0. We have registered few callback events to get the UI message from TestStand 3.0 and display it in the OI.
We are facing one issue- that is, Randomly the LV 7.0 OI doesnt capture the TestStand UI message, "UIMsg_StartInteractiveExecution- Event 13". Most of the time, the OI runs fine. But randomly it couldntt get the event 13. After that, all the following events (like DisplaySequenceFile, EndExecution) are not captured. Because of this, the OI is hanging and we have to kill the process.
We came to know about the event 13 not getting captured by logging the UI message events for both proper and improper running conditions.
We are sure that the TestStand is sending the message, but then LV only could not capture it. When we run the source code of the OI, we can terminate the hanging OI by Pressing "Abort execution". Now, if we re-run the OI again, we can see the test reports getting displayed without starting the test. Those test reports were from the tests which were initiated during the previous run of the OI). We suppose, due to some reason the OI could not get any of the messages from TestStand, but then TestStand is running the test sequence in a separate thread and keeps on sending the messages.
Let me give the flow of execution:
1. Scan for the module
2. Find appropriate Test Sequence and display the test steps
3. Select the necessary steps for execution
4. Run the Selected Steps
The OI hangs after pressing Run Selected Steps Button. The OI hanging is occurring mostly the first time after the application is started. If the first time the OI runs fine, then all the consecutive execution also runs fine (most of the time).
I could not send the code as it is quite. Any help is really appreciated as this is one of the crucial bugs, which the customer is very particular about.Sorry for the big message
Thank you,
Sasi