Thanks. Your example uses a signal less than +- 1.00, while mine apparently was greater than +- 1.00. When I look at the error out of the WAV Write VI, I do see the warning. However, it is stripped by the WAV Read and hence was not reported later in my code.
FYI, I found that if you go into ...\vi.lib\sound\lvsound.llb
there are "Snd Read Wave File.vi" and "Snd Write Wave File.vi". It looks like NI update the sound libraries at some point (as there is a ...\vi.lib\sound2, also, which are in the LV8 pallet), but has kept the older ones in vi.lib as well. These VIs allow you to write the I16 data directly to the file so you can handle your own scaling. As a bonus, all the subVIs are unlocked so you can see exactly what is going on.
Note that the "Stereo" inputs and outputs of these VIs need their array rotated to conform to "normal" LV array conventions.
Message Edited by Joe Gerhardstein on 08-01-2007 09:32 AM
Message Edited by Joe Gerhardstein on 08-01-2007 09:33 AM
Message Edited by Joe Gerhardstein on 08-01-2007 09:34 AM
Joe Gerhardstein
Viasat
Certified LabVIEW Architect
Certified TestStand Developer
Certified Professional Instructor
http://www.viasat.com