Owning Palette: Sound Input VIs
Requires: Base Development System
Reads data from a sound input device. You must use the Sound Input Configure VI to configure the device. You must manually select the polymorphic instance you want to use.
(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.
Use the pull-down menu to select an instance of this VI.
Add to the block diagram | Find on the palette |
number of samples/ch specifies the number of samples per channel to read from the buffer. | |||||||
task ID is the sound operation from the configured device you want to manipulate or input. You generate task ID with the Sound Input 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. | |||||||
data reads any sound data from the internal buffers. For multi-channel sound data, data is an array of waveforms where each element of the array is a single channel.
| |||||||
error out contains error information. This output provides standard error out functionality. |
number of samples/ch specifies the number of samples per channel to read from the buffer. | |||||||
task ID is the sound operation from the configured device you want to manipulate or input. You generate task ID with the Sound Input 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. | |||||||
data reads any sound data from the internal buffers. For multi-channel sound data, data is an array of waveforms where each element of the array is a single channel.
| |||||||
error out contains error information. This output provides standard error out functionality. |
number of samples/ch specifies the number of samples per channel to read from the buffer. | |||||||
task ID is the sound operation from the configured device you want to manipulate or input. You generate task ID with the Sound Input 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. | |||||||
data reads any sound data from the internal buffers. For multi-channel sound data, data is an array of waveforms where each element of the array is a single channel.
| |||||||
error out contains error information. This output provides standard error out functionality. |
number of samples/ch specifies the number of samples per channel to read from the buffer. | |||||||
task ID is the sound operation from the configured device you want to manipulate or input. You generate task ID with the Sound Input 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. | |||||||
data reads any sound data from the internal buffers. For multi-channel sound data, data is an array of waveforms where each element of the array is a single channel.
| |||||||
error out contains error information. This output provides standard error out functionality. |
number of samples/ch specifies the number of samples per channel to read from the buffer. | |||||||
task ID is the sound operation from the configured device you want to manipulate or input. You generate task ID with the Sound Input 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. | |||||||
data reads any sound data from the internal buffers. For multi-channel sound data, data is an array of waveforms where each element of the array is a single channel.
| |||||||
error out contains error information. This output provides standard error out functionality. |
Refer to the following VIs for examples of using the Sound Input Read VI: