Sound Output Write VI
- Updated2025-07-30
- 2 minute(s) read
Writes data to a sound output device. You must use the Sound Output Configure VI to configure the device if you are writing continuously. You must manually select the polymorphic instance you want to use.
(Windows) You must have DirectX 8.0 or later to use this VI. (Linux) You must have the Open Sound System (OSS) driver to use this VI.
Note If the buffer you set using the number of samples/ch input of the Sound File Read VI is full when the application executes, LabVIEW automatically implements a wait on the Sound Output Write VI even if you set timeout to 0. This may cause the data flow to hang and return unexpected results.

Examples
Refer to the following example files included with LabVIEW.
- labview\examples\Graphics and Sound\Sound\Sound File to Sound Output.vi
- labview\examples\Graphics and Sound\Sound\Generate Sound.vi
- labview\examples\Graphics and Sound\Sound\Simultaneous Sound Input Output.vi