Analog Output Express VI

LabVIEW 2016 ELVIS RIO Control Toolkit Help

Edition Date: June 2016

Part Number: 376300A-01

»View Product Info
Download Help (Windows Only)

Requires: myRIO Toolkit, roboRIO Toolkit, or NI ELVIS RIO Control Toolkit

Writes values to one or more analog output channels.

This Express VI writes one sample each time with the default FPGA personality. This Express VI writes one sample or multiple samples each time with the high-throughput FPGA personality. Visit ni.com/info and enter the Info Code ex6g5a to learn about the myRIO high-throughput FPGA personality. Visit ni.com/info and enter the Info Code exqmja to learn about the NI ELVIS RIO CM high-throughput FPGA personality.

This Express VI writes one sample each time with the default FPGA personality on the roboRIO.

Details  

Dialog Box Options
Block Diagram Inputs
Block Diagram Outputs

Dialog Box Options

ParameterDescription
I/O mode(myRIO Toolkit, ELVIS RIO Control Toolkit) Specifies to write one sample or multiple samples. The default is Analog output (1 sample). This option is available only when you use the high-throughput FPGA personality.
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 analog output channel to which to write a value.
Custom channel nameSpecifies a custom name for the analog output channel that you select.
Delete ChannelDeletes the analog output channel that you select. (myRIO Toolkit, ELVIS RIO Control Toolkit) If you use the high-throughput FPGA personality, this option is available only when you specify Analog output (1 sample) for I/O mode.
Add ChannelAdds a new analog output channel to the channel list. You can add up to eight analog output channels for the myRIO. You can add up to two analog output channels for the roboRIO.You can add up to four analog output channels for the NI ELVIS RIO CM.(myRIO Toolkit, ELVIS RIO Control Toolkit) If you use the high-throughput FPGA personality, this option is available only when you specify Analog output (1 sample) for I/O mode.
Sample rate(myRIO Toolkit, ELVIS RIO Control Toolkit) Specifies the sampling frequency 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 Validate button. This option is available only when you use the high-throughput FPGA personality and specify Analog output (n samples) for I/O mode.
  • Frequency value—Specifies the value of the sampling frequency. The default is 1
  • Frequency unit—Shows the unit of the sampling frequency. The value is kHz.
  • Validate—Validates whether this Express VI can generate the sampling frequency that you specify. If the specified sampling frequency is not valid, this Express VI coerces the specified value to the nearest valid value.
Wait until done?(myRIO Toolkit, ELVIS RIO Control Toolkit) 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. This option is available only when you use the high-throughput FPGA personality and specify Analog output (n samples) for I/O mode.
Latency(myRIO Toolkit, ELVIS RIO Control Toolkit) Displays the latency between two adjacent signal generation iterations. Refer to the Details section of this topic for more information about latency. This option is available only when you use the high-throughput FPGA personality and specify Analog output (n samples) for I/O mode.
View CodeDisplays the underlying code of this Express VI.
Connection DiagramShows the I/O connector pinouts. The highlighted pinouts represent the channels that you configure.

Block Diagram Inputs

ParameterDescription
channel nameSpecifies the value to write to the analog output channel that you select, where channel name is the name of the analog output channel.
error in (no error)Describes error conditions that occur before this node runs.

Block Diagram Outputs

ParameterDescription
error outContains error information. This output provides standard error out functionality.

Analog Output Details

(myRIO Toolkit, ELVIS RIO Control Toolkit) The following figure demonstrates the latency when you use the Analog Output Express VI with the high-throughput FPGA personality 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 or the NI ELVIS RIO CM does not export signals when latency occurs.

Related Information

1 Sample versus N Samples Modes (myRIO Toolkit)

1 Sample versus N Samples Modes (ELVIS RIO Control Toolkit)

Generating FPGA Clocks (myRIO Toolkit)

Generating FPGA Clocks (roboRIO Toolkit)

Generating FPGA Clocks (ELVIS RIO Control Toolkit)

I/O Connectors (myRIO Toolkit)

I/O Connectors (roboRIO Toolkit)

I/O Connectors (ELVIS RIO Control Toolkit)

Latency in N Samples Read and Write Operations (myRIO Toolkit)

Latency in N Samples Read and Write Operations (ELVIS RIO Control Toolkit)

Power Supply for Peripheral Devices (roboRIO Toolkit)

WAS THIS ARTICLE HELPFUL?

Not Helpful