LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 1 occurred at Open File

I get this error when I run my program.
This program had run on the computer several times before.
What can be the reason for that?
0 Kudos
Message 1 of 5
(3,488 Views)
The error could be due to an invalid path or file name. How are you providing the path to the function? Is it a constant or are you using the File Dialog function first to allow for path selection?
0 Kudos
Message 2 of 5
(3,488 Views)
all the paths in the program are constannts.

by function you mean my program?
0 Kudos
Message 3 of 5
(3,488 Views)
By function I mean a LabVIEW function or VI. If the paths are constants, I'd check to make sure that the path is still valid. You could also replace the constant with the File Dialog function on the File I/O>Advanced File Options palette or use a front panel path control with the browse button visible. You can click the Browse button to select a file as well. If you select a file with a known good path and don't get the error, then you'll know something is wrong with the constant.
0 Kudos
Message 4 of 5
(3,488 Views)
thanks I will try that
0 Kudos
Message 5 of 5
(3,488 Views)