LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

suppressing error 8 occurred at open file dialog box

Hello,

I am getting randomly occurring "error 8 occurred at open file" dialog boxes every couple of days. This is stopping all of the data collection on all of the vi's on the pc. In order to continue all that is needed to hit continue. Is there a way to suppress this dialog box?
0 Kudos
Message 1 of 6
(3,220 Views)
Hello,

Try to figure out which VI of your application is producing this error... maybe you can upload a part of your code ?


We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

0 Kudos
Message 2 of 6
(3,217 Views)
Thanks,

No real time to spend diagnosing the problem; we are in the middle of a scientific experiment and I've been trying for a couple of weeks. The error is random and I have 4 main vi's running with dozens of sub vi's. The vi's run perfectly except for this error that occurs every 3 to 7 days. I remember reading somewhere several years ago on how to suppress dialog boxes. This is all I need at this time.
0 Kudos
Message 3 of 6
(3,214 Views)
There's a vi called Clear Error, in the Dialog and User Interface section of the palette.  If you wire the error out of the offending vi to the error in of the clear error, your problem should be solved.

Technically I think you can wire the error out to just about anything that ends (as in, to the side of a case structure or loop or something, so long as nothing is connected to it further).  I think as long as LV thinks that you've handled the error (i.e. wired anything out of the error out), the dialog box does not come up.


Message Edited by Novatron on 07-07-2006 11:02 AM

0 Kudos
Message 4 of 6
(3,212 Views)
Sorry, I was having some trouble with the forums (pages not loading properly?)

Anyways, here's the image.


This does not cause an error, at least on my machine.  And I have no path called "1"
0 Kudos
Message 5 of 6
(3,202 Views)
I think what you need to do it to go to Tools >> Options >> Block Diagram Options >> uncheck the 2 options "enable automatic error handling ..."

I think these option are activated by default, and that's wh some LabVIEW VIs will prompt when they generate an error.

Let me know if this solves your problem.

We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

0 Kudos
Message 6 of 6
(3,194 Views)