Error 8 When Writing to or Reading from a File

Updated Aug 31, 2018

Reported In

Software

  • LabVIEW

Issue Details

When I run a LabVIEW program that uses File I/O commands I get a pop up message showing Error 8 Occurred at Open/Create/Replace File as shown below:
 

I've checked the permissions on all of my files and I'm not using any hardware. How do I resolve this error?

Solution

To fix this error:
  • Check any other open applications - make sure that they close the file before LabVIEW opens it.
  • If you have manually opened the file - make sure you close it before you run your program.
  • If you have made changes to your file structure - ensure you are setting the right directory for your file I/O VI.
  • Ensure that the Windows account has permission to edit the file. If you are editing another account's file, you may not have permission to do so.
  • If you are creating an executable, the source files included that the application is trying to access may be in the wrong directory for the target you are running it on (double check where your Source Files will be placed)

Additional Information



 

WAS THIS ARTICLE HELPFUL?

Not Helpful