Sound Output Clear VI
- Updated2025-07-30
- 2 minute(s) read
Stops the device from playing sound, clears the buffer, returns the task to the default state, and clears the resources associated with the task. The task becomes invalid.
(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.

Inputs/Outputs
task ID
—
task ID is the sound operation from the configured device you want to manipulate or input. You generate task ID with the Sound Output Configure VI.
error in (no error)
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
error out
—
error out contains error information. This output provides standard error out functionality. |
Examples
Refer to the following example files included with LabVIEW.
- labview\examples\Graphics and Sound\Sound\Sound Player.vi
- labview\examples\Graphics and Sound\Sound\Generate Sound.vi
- labview\examples\Graphics and Sound\Sound\Simultaneous Sound Input Output.vi
task ID
—
error in (no error)
—
error out
—