Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

automatic overwrite

How do i get labview to not ask me if i want to replace an existing file i'm trying to write over? i have the write to spreadsheet file wired to overwrite, but LabView still pauses my program and prompts me to select whether or not I want to replace the existing file! please help!

- Jon
0 Kudos
Message 1 of 2
(2,629 Views)

You don't really have to it set to overwrite because that's not an option. As shipped, the only option is append or new file. When you select new file, you get an advisory dialog. You can turn this off by modifying the VI. Inside this VI, it calls the subVI Open/Create/Replace File function. This VI has an input for the advisory dialog. You can wire a constant to it or a control that you can wire to the connector pane. In eaither case, save the modified VI to a new location and as a different name.

p.s. You posted to the instrument board. Questions like this belong in the general LabVIEW forum.

0 Kudos
Message 2 of 2
(2,627 Views)