Configures a sound output device and creates a sound output task ID.
You can use the SO Write and SO Start VIs to play the application data.

![]() |
device is the device you access for a sound operation. Use the default value of 0 if you have one audio input to the host computer, which is common. The value ranges from 0 to n–1, where n is the number of input or output devices on the computer. | ||||||||
![]() |
sound format specifies if the sound operation is mono or stereo, sets its playing rate (speed), and sets the sound as 8- or 16-bit sound.
| ||||||||
![]() |
error in describes error conditions that occur before this VI or function runs.
The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. This VI or function runs normally only if no error occurred before this VI or function runs. If an error occurs while this VI or function runs, it runs normally and sets its own error status in error out. Use the PDA Error Handler VI to display the description of the error code. Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.
| ||||||||
![]() |
task ID out returns an identification number associated with the configuration on the device you specify in the device input. You can wire task ID out to other sound output operation VIs. | ||||||||
![]() |
error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces.
|