Jump to content

Closing error window programatically


patufet_99

Recommended Posts

Hello,

In an application I show the eventual errors via the standard LabVIEW General Error Handler. I would like to be able to close the error window not necessarily with the OK or Continue button but with a digital input signal. How could I do that? Change the OK and Continue values to TRUE via a VI reference does not work as the change is not signaled to the Event Loop of the "Details Display Dialog" vi. The "abort" VI method does not seem to work neither.

Any ideas?

Thanks for your help.

I am using LabVIEW 8.5.1

Link to comment

Don't use the built-in dialog boxes in the General Error Handler. Feed the Code, Source, and Error outputs from the General Error Handler into your own dialog box that exposes methods to close it. We have a timed dialog box that displays the error for a certain amount of time before automatically closing. This gives an operator time to respond to the error without blocking the testing if no operator is present.

Link to comment

Don't use the built-in dialog boxes in the General Error Handler. Feed the Code, Source, and Error outputs from the General Error Handler into your own dialog box that exposes methods to close it. We have a timed dialog box that displays the error for a certain amount of time before automatically closing. This gives an operator time to respond to the error without blocking the testing if no operator is present.

Thank you for your reply. I thought about writing my own Error Handler, but I imagined that there were more straightforward solutions.

Regards.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.