From: engineer2450 on
I have a DAQ and sometimes I increase or decrease the amount of "signal"  the program crashes and has this error...  ERROR-200279. I simply press continue whenever that error happens.  What can I do to the program so when that error comes up, I don't have to press the continue button to keep the program going?


error message for DC's program.JPG:
http://forums.ni.com/attachments/ni/170/265740/1/error message for DC's program.JPG


updated!.vi:
http://forums.ni.com/attachments/ni/170/265740/2/updated!.vi
From: Jarrod S. on
This is called Automatic Error Handling. It's a feature in LabVIEW that you can either turn off, or disable in your block diagram code itself.To turn off automatic error handling for a specific VI (your main DAQ VI):- Go to File >> VI Properties (Ctrl-I) for your specific VI.
- Navigate to the Execution category
- Uncheck the Automatic Error Handling checkbox.
That turns off the automatic error handling for that specific VI, but others may have it set as well. Repeat the process above for all VIs that are throwing errors. To globally turn off automatic error handling for newly created VIs (this won't affect existing VIs), go to the Tools &gt;&gt; Options menu in LabVIEW. Search through the categories for the Automatic Error Handling option and uncheck it. I can't remember what category it's in in this dialog.You can also get around automatic error handling in your code itself. The dialog only pops up if a node such as a subVI produces an error as an output, but that error value isn't wired anywhere. You can see in your code that the DAQ Assistant's Error Out terminal isn't wired anywhere. If you wire this error to anything at all, even just to the border of your loop, then automatic error handling won't throw a dialog when you run your VI and encounter an error. Since you are wiring that error value somewhere, LabVIEW sees the error as being handled by you and doesn't do anything.<img src="http://forums.ni.com/attachments/ni/170/265750/1/error.PNG"> Message Edited by Jarrod S. on 08-15-2007 05:16 PM


error.PNG:
http://forums.ni.com/attachments/ni/170/265750/1/error.PNG