LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I stop the error message coming up when I press cancel on file dialog

I am using the file dialog and if I press cancel an error box pops up with error 43 operation cancelld by user. Can we get rid of this, as it is bloody enoying, any ideas
 
cheers
0 Kudos
Message 1 of 7
(5,245 Views)
Turn off automatic error handling.
0 Kudos
Message 2 of 7
(5,231 Views)

Hi,

looks you have connected simple/general error handler .vi to report  error messages

Remove this from ur VI and this pop up will not appear

If you are using easy file i/o VI's( found in the first row of file I/O functions palette) like read/write to spread sheet file, they will have this error handler VI's inbuilt.

If this is the case,  build a simple file read Vi using intermediate File i/O vi's. Here, do not include the error handler VI's

regards

 

 

 

Message 3 of 7
(5,228 Views)
take a look at this vi.
it should be self explanatory
0 Kudos
Message 4 of 7
(5,205 Views)

Contrary to the rest of the nice folk here, I say do NOT turn off automatic error handling!

You will regret it if a day comes where you forgot to handle an error properly and you have a hard time determining its source.

If you truly want to ignore the error in this mode, you can wire the error out terminal into anything (even a wall). Once an error out terminal is wired, the error will not pop up automatically. This does not mean you should use this as a standard course of action. You should normally handle your errors properly.


___________________
Try to take over the world!
Message 5 of 7
(5,196 Views)

Mr Nice

i agree with 'tst' on his stance of not turning off automatic error handling.

as he explains, its always a pleasant practice to read your errors and handle them programatically.

regards

Dev

 

0 Kudos
Message 6 of 7
(5,191 Views)
if you turn on auto error handling, and you are using a program that needs to do something every x milliseconds you will have a problem on your hands.
if on the other hand you do not have auto error handling turned on then just have your program stop on errors and report them then
Message 7 of 7
(5,174 Views)