Play Waveform 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 Output VIs

Requires: Base Development System

Plays data from the sound output device using finite sampling. This Express VI automatically configures an output task and clears the task after the output 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

Dialog Box Options

ParameterDescription
DeviceLists the sound devices you have connected.
Device capabilitiesContains the following options:
  • Min sample rate (Hz)—Returns the minimum output sample rate the selected device supports.
  • Max sample rate (Hz)—Returns the maximum output sample rate the selected device supports.
  • Resolution (bits)—Specifies the quality of each sample in bits. The default is 16 bits.
  • #Channels—Specifies the number of channels. 1 is Mono, and 2 is Stereo.
Test DeviceTests the selected sound device by playing a 500 Hz tone for approximately 1/4 second.

Block Diagram Inputs

ParameterDescription
DataSpecifies the data this Express VI plays. You can wire a waveform, an array of waveforms (one waveform per channel), or the Data output of the Acquire Sound Express VI to this input. The Play Waveform Express VI uses the timing information the waveform data type specifies to play back sound.
DeviceLists the sound devices you have connected.

WAS THIS ARTICLE HELPFUL?

Not Helpful