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.


icon

Dialog Box Options

Option Description
Device

Lists the sound devices you have connected.

Device capabilities Contains 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 Device

Tests the selected sound device by playing a 500 Hz tone for approximately 1/4 second.

Inputs/Outputs

  • cu32.png Device

    Lists the sound devices you have connected.

  • cerrcodeclst.png error in

    The error in cluster can accept error information wired from VIs previously called. Use this information to decide if any functionality should be bypassed in the event of errors from other VIs. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

  • cexpdynwdt.png Data

    Specifies 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.

  • ierrcodeclst.png error out

    The error out cluster passes error or warning information out of a VI to be used by other VIs. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.