08-31-2011 10:49 AM
I'm sure I'm just missing something here. Our LabVIEW GUI has a registered event Callback for ReportError. In TestStand I handle errors with SequenceFilePostStepRuntimeError and ProcessModelPostStepRuntimeError callbacks. I used the error handling example and modified to basically just show a popup with the error message. My problem is how to generate the ReportError event so our GUI can take the appropriate action.
I don't see it listed under the given UIMessage event codes. I can't find it anywhere. So the questions is where do I generate the ReportError event within TestStand?
Thanks.
08-31-2011 10:58 AM
Are you setting CancelStepCallbacks or ErrorReported properties in either of your callbacks? I wrote a toolkit that allowed for the ReportError event to be registered for, but I can't recall offhand if I ever actually used/caught one.
08-31-2011 11:01 AM
CancelStepCallback is used. I took this from the error handling example. It says it handles the error and suppresses any other error callbacks for that step.
09-06-2011 03:49 PM
Hi Sir Mutt,
If my understanding is correct, you are using LabVIEW as your operator interface to start the Teststand Application and you want to do Teststand Error Handling in LabVIEW. The most common way that this is achieved is through ActiveX Invoke and Property nodes as well as ReportError events. I have attached two screenshot examples of this. Does this sufficiently address your question or did I misinterpret your question?
Regards,
Jackie
09-09-2011 07:49 AM
Jackie, this isn't quite what I need. I need to generate the ReportError event in TestStand. LabVIEW is alreayd setup to handle it. I just need to know how to generate the event from the PostError callbacks I'm using in TestStand.
09-12-2011 11:38 AM
Hi Sir Mutt,
To eliminate any confusion, please attach a series of screenshots indicating your starting point and what you would like to do using PostError callbacks.
Regards,
Jackie