LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Write characters to file problems

Hello everyone,

The attached image shows how I have connected the 'Write Characters to File.vi'.

My problem is that each time the vi runs, LV creates a dialog box asking me if I want to replace the existing file. I need to replace the existing data, not append onto the existing data.

I've checked the file properties, and it isn't hidden or read-only.

How can I stop this dialog box appearing?

Many thanks,

Cooky
0 Kudos
Message 1 of 3
(2,909 Views)
Double click the "Write characters to file.vi" to edit it. Now wire a "False" boolean diagram constant to the "advisory dialog? (display:T)" input of the "Open/Create/Replace File.vi" on the right.

Now save the edited Write Characters to File.VI under a new name (e.g. "Rambo Write Characters to file.VI" ;)) and possibly place it in your user.lib folder. I would also color the icon differently to keep it unique.

(Rambo does not ask questions, he just does what needs to be done!) 🙂
Message 2 of 3
(2,891 Views)
Thank you!!

It worked perfectly.

Cooky
0 Kudos
Message 3 of 3
(2,881 Views)