01-04-2010 02:31 PM
I'm reading from a .dat file that is constantly (not controllable) updated by another program.
Every once in a while the error window pops up, displaying error 7.
I guess that is when the other program is updating the file. My problem is that everytime the error message pops up the program stops until i hit continue. The read from spreadsheet function doesn't have a error output so i can't wire a clearerror.vi to it. I already disabled the automatic error handling for the vi and the block diagram but the error still pops up.
How can i ignore an error like that?
Solved! Go to Solution.
01-04-2010 02:38 PM
Hello,
I used to get the same error, but in my case the VI "Open File +.vi" was missing and hence it was throwing out the error,
Are you running any executable of your own to collect the data?
01-04-2010 02:43 PM
01-04-2010 02:59 PM
Thank you that would be a very elegant way to do it.
I figured out a shady way. I used the "check if file or folder exists.vi" and wired the True/False output to a select block. So if the file exists it selects the path of my file if it doesn't exists it selects a path to an empty textfile that is always available.
Your solution is way better though. Thank you.