LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 8 occurred at Open File (will not accept a path constant)

I am trying to have my vi automatically create files with out having a dialog box pop up to ask if it is okay to save the file, but get this error when I wire a constant to the path. I have tried all the suggestions posted. If I leave the File Path unwired the file is written (after the prompt).

I have permission to write files
The advisory dialogue input is wired False on the open/create/replace file.vi
LabView 7.1.1 (fully recompiled)
0 Kudos
Message 1 of 5
(3,267 Views)
You should take a look at the knowledge base document for this answer and if that does not suffice then you will have to post your code so that we may see how you are using the file i/o.



Joe.
"NOTHING IS EVER EASY"
0 Kudos
Message 2 of 5
(3,259 Views)
Here is a simplified file
0 Kudos
Message 3 of 5
(3,257 Views)
In your file path control, you don't have a file name. Creating a file name and wiring it to the default name input is incorrect. The default name input (to quote the on-line help) "is the name you want to appear as the initial file or directory name in the dialog box. The default is an empty string."
0 Kudos
Message 4 of 5
(3,254 Views)
Thank You.
0 Kudos
Message 5 of 5
(3,250 Views)