08-26-2011 08:51 AM
Hi!
I have operator interface in Labview and use TS API to run tests.
I would like to eliminate RTE dialog and to show error messages directly in front panel control.
I have created callback for TS Application Manager BreakOnRTE event.
It works good and I can lock dialog apearance.
But if I try to get ErrorObject from event parameter (execution) is is empty (has no error information).
But this parameter is real execution which contains step with RTE.
When I allow the dialog appearance in this callback, it contains RTE information.
Where can I get error information from this callback or get it any another way?
Thanks in advance for any assistance.
Solved! Go to Solution.
08-29-2011 03:33 AM
I have found the way to get RTE from callback BreakOnRunTimeError of ApplicationMgr.
This way is:
Execution->GetThread[0]->GetSequenceContext[0]->GetRuntimeErrorMessageEx().
It was not clear for me: all Error fields in step and Sequence are not filled yet on callback time.
Only the context method can return error message.
The question is closed.