LabVIEW myRIO Toolkit

Table of Contents

Audio Output Express VI

  • Updated2023-02-21
  • 2 minute(s) read

Owning Palette: High Throughput FPGA Personality VIs

Requires: myRIO Toolkit

Writes values to one or more audio output channels on the myRIO. Use this Express VI to write multiple samples for each channel at one time.

Details  

Dialog Box Options
Block Diagram Inputs
Block Diagram Outputs

Dialog Box Options

ParameterDescription
Node nameSpecifies the name of this Express VI. You can also double-click the name of this Express VI on the expandable node to edit the name.
ChannelSpecifies the audio output channel to which to write the value.
Custom channel nameSpecifies a custom name for the audio output channel that you select.
Delete ChannelDeletes the audio output channel that you select.
Add channelAdds a new audio out channel to the channel list. You can add up to two analog output channels.
Sample rateSpecifies the sampling frequency in hertz of the output signal. Valid values are between 1 kHz and 80 kHz. If you specify a frequency that is invalid, this Express VI coerces the specified value to the nearest valid value when you click the OK button on the Express VI.
  • Frequency value—Specifies the value of the sampling frequency. The default is 1,000.
  • Frequency unit—Specifies the unit of the sampling frequency.
  • Validate—Validates whether this Express VI can generate the sampling frequency that you specify. If the specified sampling frequency is invalid, this Express VI coerces the specified value to the nearest valid value.
Wait until done?Specifies whether this Express VI waits until the write operation completes. If the Wait until done? checkbox contains a checkmark, this Express VI waits until the write operation completes. By default, this checkbox does not contain a checkmark.
LatencyDisplays the latency between two adjacent signal generation iterations. Refer to the Details section of this topic for more information about latency.
View CodeDisplays the underlying code of this Express VI.
Connection DiagramShows the I/O connector pinouts on the myRIO or the roboRIO. The highlighted pinouts represent the channels that you configure.

Block Diagram Inputs

ParameterDescription
error in (no error)Describes error conditions that occur before this node runs.

Block Diagram Outputs

ParameterDescription
channel nameReturns the value that this Express VI writes to the audio output channel that you select, where channel name is the name of the audio output channel.
error outContains error information. This output provides standard error out functionality.

Audio Output Details

The following figure demonstrates the latency when you use the Audio Output Express VI to perform n samples write operations.

In the previous figure, the x-axis represents time and the y-axis represents amplitude. The time interval between two adjacent signal generation iterations is latency. In other words, the myRIO does not export signals when latency occurs.

Related Information

Generating FPGA Clocks

Latency in N Samples Read and Write Operations

Log in to get a better experience