LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Write to Spreadsheet .vi append file

hi,
 
I have a "write to spreadsheet.vi" inside a time loop. I have an array that is updated every second and i save it to a file using the write to spreadsheet.vi. I do not want to append the file but since its a short time loop, labview always gives me a prompt to let me confirm the replacing of the file.
Is there any way to stop the prompt and just let me replace the file?
 
Thanks a lot,
 
Tai
0 Kudos
Message 1 of 3
(2,618 Views)
Hi BestPker,

If you open the "writetospreadsheet.vi" you will see the "Open,Create and Replace File.vi" one of this vi's inputs is a Boolean labeled "Advisory Dialog". You could wire a constant "False" into that input if you don't want see the advisory dialog you are seeing. You might consider wiring a control into the  input and adding that control to your connector pane for future use. In either case I would recommend renaming this vi to something else like "mywritetosreadsheetfile.vi". Hope this helps.

Cheers,

--Russ

Message 2 of 3
(2,614 Views)

Thanks Russ, this is what i was looking for.

 

Tai

0 Kudos
Message 3 of 3
(2,610 Views)