Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Is is possible to automatically replace a file?

Every time I run my program I store data into a file that already exists. I want to know if LabView has an option where it will automatically write over the existing file instead of having to click "replace" everytime the alert window pops up. Thanks.

- John
0 Kudos
Message 1 of 2
(2,844 Views)
Yes but some of the higher level functions don't have this option accessible. For example, if you use Write to Spreadsheet, the subVI being used is Open/Create/Replace File and that has an input called Advisory Dialog that will turn off that alert window. You can modify it by either adding a constant, wiring a control that you add to the front panel of the high level VI, or changing the default of the subVI to be false. Just make sure that any modifications you make that you save to a new name and to a new location.
Message 2 of 2
(2,844 Views)