Hello, henkel
Yes. there is an easy solution to your problem.
1. Modify NI record wav file vi to write only .wav header ( no data at all). Wav file is a standard and, usually, it has a 44 bytes header.
2. write the header using modified vi, just to make room for the real header.
3. write the samples (if 16 bits check for endian) using append and write I16 vi and keep count of bytes.
4 once finished, use the modified vi to create and wite the real header.
OK,try it by yourself. Should you have any probems,post questions here and I will send you the NI modified vis.
cheers
Alipio.
---------------------------------------------------------
"Qod natura non dat, Salmantica non praestat"
---------------------------------------------------------