Owning Palette: Sound Input VIs
Requires: Base Development System
Acquires data from a sound device. This Express VI automatically configures an input task, acquires the data, and clears the task after the acquisition completes.
(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.
Dialog Box Options |
Block Diagram Inputs |
Block Diagram Outputs |
Add to the block diagram | Find on the palette |
Parameter | Description |
---|---|
Device | Lists the sound devices you have connected. |
#Channels | Specifies the number of channels. 1 is Mono, and 2 is Stereo. |
Resolution (bits) | Specifies the quality of each sample in bits. The default is 16 bits. |
Duration (s) | Sets the number of seconds for which you want to acquire sound. |
Sample rate (Hz) | Specifies the sample rate in hertz. |
Preview | Displays a preview of the sound operation in the graph. |
Graph Preview | Displays a preview of the sound operation. |
Parameter | Description |
---|---|
Device | Lists the sound devices you have connected. |
Duration (s) | Sets the number of seconds for which you want to acquire sound. |
Sample rate (Hz) | Specifies the sample rate in hertz. |
#Channels | Specifies the number of channels. 1 is Mono, and 2 is Stereo. |
Resolution (bits) | Specifies the quality of each sample in bits. The default is 16 bits. |
error in | Describes error conditions that occur before this node runs. |
Parameter | Description |
---|---|
Data | Returns the data this Express VI acquires from the selected device using the settings you specify in the configuration dialog box. You can convert this output to a waveform or one-dimensional array of waveforms (one per channel) by using the Convert from Dynamic Data function. |
error out | Contains error information. This output provides standard error out functionality. |