LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Writing to a file

I have a file which works with a PCI-6024E card. The file is a loop that
reads the readings from a channel. Outside the loop there are 2 file
writes - 1 is a spreadshit file write with the data, and the other one is
also a spreadshit file with "header" - 3 numbers. The problem is that I have
a specified path to both of the files, but it keeps bringing me the file
save dialog, and totally ignores the path I specified. It pretty much
botheres me. Does anyone knows why it happens?

I have to mention that the data reading is OK, and after I save the files, I
get exactly what I wanted to get
0 Kudos
Message 1 of 3
(2,665 Views)
The dialog box appears in two cases:
1. path is empty (and probably this isn't your case)
2. path value is Not A Path - In this case:
- check your path to be sure that everything is OK
- compare the path with Not A Path constant
- if you have a control to set the path, don't forget to Make Current Value As Default after setting a default value
good luck
0 Kudos
Message 2 of 3
(2,665 Views)
All I can think of is to check that the name of the file is also included in the file path, and that the file path is full and correctly written.

It will be helpful if you can submit a copy (or just a sample of that section) of your vi.

Enrique
www.vartortech.com
0 Kudos
Message 3 of 3
(2,665 Views)