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.
| Dialog Box Options |
| Block Diagram Inputs |
| Block Diagram Outputs |
Dialog Box Options
| Parameter | Description |
|---|---|
| Node name | Specifies 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. |
| Channel | Specifies the audio output channel to which to write the value. |
| Custom channel name | Specifies a custom name for the audio output channel that you select. |
| Delete Channel | Deletes the audio output channel that you select. |
| Add channel | Adds a new audio out channel to the channel list. You can add up to two analog output channels. |
| Sample rate | Specifies 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.
|
| 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. |
| Latency | Displays the latency between two adjacent signal generation iterations. Refer to the Details section of this topic for more information about latency. |
| View Code | Displays the underlying code of this Express VI. |
| Connection Diagram | Shows the I/O connector pinouts on the myRIO or the roboRIO. The highlighted pinouts represent the channels that you configure. |
Block Diagram Inputs
| Parameter | Description |
|---|---|
| error in (no error) | Describes error conditions that occur before this node runs. |
Block Diagram Outputs
| Parameter | Description |
|---|---|
| channel name | Returns 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 out | Contains 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