ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Save data to file and always want to replace the existing file.

I use the Write character to file.vi to save my data in the same path and same file (default.txt), but each time LV ask : "replace existing file ?". The answer is always Yes, so is it possible to force LV to replace this file every time and don't display the question window ? Thank's in advance.
0 Kudos
Message 1 of 3
(2,941 Views)
Open "Write characters to file.vi" and see that "Open Create Replace.vi" has an input called "Show advisory dialog?". Wire false to this and LabVIEW won't ask you to replace.
Hope this helps
Message 2 of 3
(2,941 Views)
Thank you thank you. I was wondering where that bugger was hiding!
Richard






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