08-15-2012 04:00 AM
I have created a custom error file using the 'Error Code Editor', I want to disable the warning dialog that appears when my error codes are detected. How can I do this?
<?xml version="1.0" encoding="ISO-8859-1"?> <nidocument> <nicomment> </nicomment> <nierror code="5000"> SUCCESS </nierror> <nierror code="5012"> INVALID HANDLE </nierror> </nidocument>
I want to stop this from appearing ->
08-16-2012 05:58 AM
Hi eamo2020,
Are you passing your error cluster through to a Simple Error Handler VI (the last function to execute on your block diagram?)
When your custom error is flagged, is it prompting the dialog box each time?
If this is the case, you can set the 'type of dialog' input, as a constant. You set this constant as 'no dialog', from the five options available.
The next time you run your code, the pop up dialog won't appear and you will be able to handle your errors programmatically, instead of through the dialog box.
I hope this helps!