LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Why does Error 8 pop up during routine datalogging

During routine datalogging of temperature, an Error 8 dialog box suddenly pops up (sometimes after several hours of successful logging) and causes the logging to stop, as well as freezing up the real-time temp graph. I have not been able to correlate the error with anything in particular. Can you help me troubleshot this problem?
0 Kudos
Message 1 of 5
(2,832 Views)
Error 8 is a File permission error or a DMA hardware error. Maybe the file that you are logging to becomes unavailable? If you or someone else have the file open with another application when LabVIEW tries to write to it then it will probably give you this error.

Hope this helps point you in the right direction.

Brian
0 Kudos
Message 2 of 5
(2,832 Views)
Is by any chance you are running FastFind (or FindFast) ? It is a beast that comes with MSOffice.

Disable it. It tries periodically to open text files to index their content in order to speedup searchs within documents and slow down every other application. It opens the files to read them while you are using it and DENYING you further write access until it is finished.

An antivirus scan might the same effect.

When you open a file with LabVIEW, the default is to allow other processes to open it simultaneously for read and write. This is seldom required and causes this Error 8 when one process deny writes to other. Thus when you open a file, use the deny mode and set it to "deny read/write"(0). That will prevent other apps to use your file while
you write on them.


LabVIEW, C'est LabVIEW

Message 3 of 5
(2,832 Views)
Error 8 is not caused by LabVIEW but by a "bug" called Find Fast that comes with MS Office. Several times I had problems with this "bug" while running tests in the lab, which made the computer stop the VI and a window came up with "Error 8" message. Just disable the Find Fast and make sure to choose the "Stop and Close" option on the File menu.
0 Kudos
Message 4 of 5
(2,832 Views)
Yes but it is still safer to deny read/write when using the file with LabVIEW because antivirus scans and backup applications can also cause Error 8 when attempting to access your file.


LabVIEW, C'est LabVIEW

0 Kudos
Message 5 of 5
(2,832 Views)