Sets the volume of the sound output device.
You specify the volume with a 16-bit unsigned integer in left channel and right channel, where 0 indicates minimum and 65535 indicates maximum.

![]() |
task ID in is the sound operation from the configured device you want to manipulate or input. Use the SO Config VI to generate the value for task ID in. | ||||||
![]() |
left channel controls the volume for the left channel. You can enter a range of 0 to 65535. | ||||||
![]() |
right channel controls the volume for the right channel. You can enter a range of 0 to 65535. | ||||||
![]() |
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 is the same value as task ID in. | ||||||
![]() |
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.
|