Sound Output Wait VI

Owning Palette: Sound Output VIs

Requires: Base Development System

Waits until all of the sound is played by the output device.

(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.

Example

 Add to the block diagram  Find on the palette
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 describes error conditions that occur before this node runs. This input provides standard error in functionality.
timeout (sec) specifies the time, in seconds, that the VI waits for the sound operation to complete. This VI returns an error if the time elapses. The default is 10. If you set timeout (sec) to -1, the VI waits indefinitely.
task ID out is the manipulated sound operation originally passed to the task ID parameter.
error out contains error information. This output provides standard error out functionality.

Example

Refer to the Sound File to Sound Output VI in the labview\examples\Graphics and Sound\Sound directory for an example of using the Sound Output Wait VI.

 Open example  Find related examples