Reads data from the sound input device. If data has arrived to the sound input device, the device returns that data after buffering. Otherwise, the device waits until data arrives.
If for some reason the unbuffered data is overwritten, no data is returned and you receive an overwrite error.

![]() |
task ID in is the sound operation from the configured device you want to manipulate or input. Use the SI Config VI to generate the value for task ID in. | ||||||
![]() |
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.
| ||||||
![]() |
mono 8-bit includes sound data if sound format specifies monaural 8-bit data. Otherwise, it is an empty array. | ||||||
![]() |
mono 16-bit includes sound data if sound format specifies monaural 16-bit data. Otherwise, it is an empty array. | ||||||
![]() |
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.
| ||||||
![]() |
stereo 16-bit contains sound data if sound format specifies stereo 16-bit data. Otherwise, it returns an empty array. | ||||||
![]() |
stereo 8-bit contains sound data if sound format specifies stereo 8-bit data. Otherwise, it returns an empty array. |