06-28-2007 07:35 AM
06-28-2007 07:49 AM
06-28-2007 08:08 AM
06-28-2007 08:19 AM
@JB wrote:
Don't forget to disable the automatic error handling of the VI that calls this VI
No, no, no.
In my opinion, there are two things you can do with an error output:
In general, you should never get to #2 - always wire your errors and leave the AEH on just as a safety measure.
Darren, on the other hand, thinks that there are cases where he wouldn't mind ignoring the errors and he trusts himself to always wire the error out terminal.
I don't trust myself, so I look at it as a safety net.
06-28-2007 08:40 AM
06-28-2007 08:56 AM
Why? If you're feeding the error wire coming out of the VI into a case structure, it makes no difference whether the AEH is on or off, so why are you turning it off?
@JB wrote:
...and then wire its output to an "error/no error" case to handle the remaining errors. Therefore, I would disable the AEH.
06-28-2007 09:15 AM
@becktho wrote:
If you want to redefine an system code, you can do what I showed in case 3. For instance you could manipulate the error code - so system code 3 is detected, add 5500 which gives code 5503 which could be defined by you.
see my attachment now please. I did what you said and it works on your vi example. I use "general error handler" to clear the error number 3, to set up another error code and display the new error code description (provided by my new array of definitions). But
06-28-2007 09:23 AM
06-29-2007 12:56 AM
06-29-2007 01:56 AM
@Slyfer wrote:
Activate/deactivate AEH is OFF topic
True.
the original problem was another
Equally true.
avoid flames (like many post in the first page).
There was no flaming. The first page had reasonable off topic discussion which is simply how the regulars sometimes communicate. Since the original problem was solved and doesn't create too much noise, I don't see that as a problem. This board gets roughly 200-300 posts every day and this sometimes happens with certain threads.
This is a very well behaved place, and I rarely recall seeing any heated arguments around here. Even when there were, they were usually caused by one side (not a regular) not understanding.
As for the AEH, while it was off topic, it was not a flaming war. It was simply informing. I think this is an important issue and when someone makes a statement like "turn AEH off", I prefer to explain the implications. That's also fine. Not all threads here are required to be exclusively on a single topic.
I suggest you browse the forums regularly (as well the LAVA forums and Info LabVIEW, if you have time). It's a great community and a lot of stuff can be learned from it.