LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

.Wav files saving question

I know how to save to .wav format but how to do this over an existing
file
without promting to overwrite?

thanks

Tom
0 Kudos
Message 1 of 2
(2,666 Views)
Hi,
I think you use "Snd Write Wave File.vi" from "Functions -> Graphics & Sound -> Sound -> Sound File" palette.
This vi uses "Write characters to file.vi" to save data to file. And this vi uses "Open/Create/Replace File.vi" to open the filestream in which you want to save data.
Your problem is in fact that "Open/Create/Replace File.vi" has a boolean parameter "advisory dialog" which corresponds to producing of dialog windows each time when you want to replace existing file. By default this parameter is equal to true.
All you need is to go deep in these vis and wire "False" constant to this parameter.

BTW "Write characters to file.vi" and "Open/Create/Replace File.vi" are located in "Functions -> File I/O" palette so you can get an easy access to them.

Good l
uck.

Oleg Chutko.
0 Kudos
Message 2 of 2
(2,666 Views)