LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

lab view problem

LabVIEW: File not found. The file might have been moved or deleted, or the file path might be incorrectly formatted for the operating system. For example, use \ as path separators on Windows, : on Mac OS X, and / on Linux. Verify that the path is correct using the command prompt or file explorer.

0 Kudos
Message 1 of 11
(4,537 Views)

Code?  It is impossible to tell you what your problem is without it.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 2 of 11
(4,530 Views)

 

Error 7 occurred at Open File+.vi:Open File

 

LabVIEW: File not found. The file might have been moved or deleted, or the file path might be incorrectly formatted for the operating system. For example, use \ as path separators on Windows, : on Mac OS X, and / on Linux. Verify that the path is correct using the command prompt or file explorer.
=========================
NI-488: Nonexistent GPIB interface.

0 Kudos
Message 3 of 11
(4,525 Views)

dear sir 

 

it's path did not find please tell me ...

 

thanks

0 Kudos
Message 4 of 11
(4,518 Views)

An Excel file with a image of the front panel of your program embedded into it, is not your code.

You need to show your code.

Attach your vi file so we can see all of your code to be able to help you.

Message 5 of 11
(4,508 Views)

You may need to put the VI into a zip file first in order to post it.  The forums like to block VIs for some reason.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 6 of 11
(4,490 Views)

Manoj,

 

Put an indicator on your file path input to Open File+.vi. Is this the correct path to your file or even a valid path?

 

If that looks good, run Open File+.vi by itself using that same file path as an input and debug that VI.

 

Error 7 is a generic error but almost always means that there is a file path somewhere that doesn't point to a file.

Matt J | National Instruments | CLA
0 Kudos
Message 7 of 11
(4,463 Views)

I looked at your other post.  You'll get an error 7 if you write to a file and then read it before it's done writing.  Could this be the case?

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 8 of 11
(4,424 Views)

Is this a VI running in development mode or did you create an executable?  If you build an EXE you must remember that the application will be added to the filepath.  See this:  http://digital.ni.com/public.nsf/allkb/EEE8A5650DAC28558625762F0070A384

 

If you're in the development system then follow the other poster's advice and make absolutely sure there is really a file at the path you are telling it to look.  Smiley Wink

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
0 Kudos
Message 9 of 11
(4,407 Views)

FYI In the other thread the OP mentioned it was intermittent.  (THIS is why you shouldn't create duplicate threads.)

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 10 of 11
(4,396 Views)