LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

file/directory info behaviour

Hi,
 
I'm having an issue with the file/directory info VI (and more file I/O VI's) in labview 7.1.1.
 
They produce a popup error message by themselves which I need to suppress for my own error handling.
 
Any solution for this ?
 
Regards,
Marcel Janssen
 
0 Kudos
Message 1 of 3
(2,584 Views)

The automatic error pop-up is not specific to those VIs, but is a general LV behaviour. Basically, each node that has an error and doesn't have its error terminal wired into something causes these pop-up to appear. This can be disabled in the options menu.

However, I would strongly advise against that - error handling is very important. To avoid the pop-ups all you need to do is wire the error cluster and handle the error. In this case, check the error number. If it is an error you want to ignore, pass an empty error cluster on. If you don't want to ignore it, pass the original error cluster.

To sum it up - always use the error wires to pass the error data and handle the errors properly. It will allow you to know where the error is in case you have it. Leave auto-error-handling on just in case you forgot to wire an error cluster somewhere.


___________________
Try to take over the world!
Message 2 of 3
(2,575 Views)
Thanks for the reply, I didn't notice I had the error out not wired (which I normally always do).
 
So, my mistake after all.
0 Kudos
Message 3 of 3
(2,573 Views)