LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Disable prompt when writing to text file

Is there a way to disable the prompt to select the directory when writing to text file or spreadsheet file?  I am using the File dialog express VI with a default name and directory and have used and not used the open/create/replace file vi to try to find an option to disable this, no luck.  I just want to overwrite the existing file everytime without being prompted.

 

thanks.

0 Kudos
Message 1 of 5
(3,729 Views)

Just wire the path input to a control or constant set to the file you want.

=====================
LabVIEW 2012


0 Kudos
Message 2 of 5
(3,727 Views)

I am wiring a constant with the directory\file name to the start path on the file dialog and I put a default name as well and passing the selected path onto the write to text file vi.  However it still opens the "choose or enter path of file" every time I call this up.

0 Kudos
Message 3 of 5
(3,722 Views)

The file dialog express VI will always prompt because it is a dialog. I was refering to the open file vi.

=====================
LabVIEW 2012


0 Kudos
Message 4 of 5
(3,718 Views)

This will do what you want.

-----------------------------------------------------------------------------------------
Reese, (former CLAD, future CLD)

Some people call me the Space Cowboy!
Some call me the gangster of love.
Some people call me MoReese!
...I'm right here baby, right here, right here, right here at home
0 Kudos
Message 5 of 5
(3,696 Views)