This is a common problem with using some of the simple VIs that do not
present all of the common/usefull functions.
If you "Save As..." the Write Characters to File.vi to another name like "My
Write Characters to File.vi" and add a boolean control
to the front panel or boolean constant to the diagram and connect it to the
"Advisory Dialog? (display:T)" boolean input of the Open/Create/Replace
File.vi, with a False, it will suppress the dialog box.
Stu
Horacio Castilleja
wrote in message
news:3A6C8F89.3F110E9B@hotmail.com...
> Hi everyone,
>
> I am working on a VI that has to write some characters into an existing
> file.
> I have used: Open File--> Write to File--> Close File but once it
> writes the desired data to that file it also w
rites some kind of bug
> which cannot be read once that File is read.
> Therefore I used the Wirte Characters to File SubVI which works ok.
> When the new data comes in it has to replace the old one, this means
> that the APPEND TO FILE option of the subVI is set to FALSE. The problem
> is that everytime my VI runs and generates the new data that will
> replace the old one, it asks me if I want to replace the existing file,
> which is what I want to do.
> My question is, if there is any way to override the prompt window that
> asks if the existing file will be replaced and perform the "replacement"
> automatically?
>
> Appreciate any help,
>
>
> Horacio Castilleja
> abuelazo@hotmail.com
>
>
>