Acquire Sound Express VI

LabVIEW 2018 Help


Edition Date: March 2018
Part Number: 371361R-01
View Product Info

DOWNLOAD (Windows Only)


LabVIEW 2016 Help
LabVIEW 2017 Help
LabVIEW 2018 Help
LabVIEW 2019 Help
LabVIEW 2020 Help

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

Dialog Box Options

ParameterDescription
DeviceLists the sound devices you have connected.
#ChannelsSpecifies 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.
PreviewDisplays a preview of the sound operation in the graph.
Graph PreviewDisplays a preview of the sound operation.

Block Diagram Inputs

ParameterDescription
DeviceLists 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.
#ChannelsSpecifies 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 inDescribes error conditions that occur before this node runs.

Block Diagram Outputs

ParameterDescription
DataReturns 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 outContains error information. This output provides standard error out functionality.

WAS THIS ARTICLE HELPFUL?

Not Helpful