Programming Analog Output with LabVIEW
- Updated2023-02-17
- 3 minute(s) read
Programming Analog Output with LabVIEW
You can use LabVIEW Real-Time (RT) Express VIs, LabVIEW RT Low Level VIs, and LabVIEW FPGA I/O nodes to program the Analog Output channels.
Programming Examples
The LabVIEW ELVIS III Toolkit provides examples of using analog output channels to perform signal generation. You can find these examples in the labview\examples\ELVIS III\Real-Time Control Applications\Analog IO\Analog IO.lvproj directory.
LabVIEW RT Express VIs
Use the Express VIs to interactively configure the settings for the I/O channels. When you place an Express VI on the block diagram or double-click an Express VI, a configuration dialog box appears. Use this configuration dialog box to configure the Express VI. Find the Express VIs on the Functions palette, as shown in the following figure:
subpalette on the
The LabVIEW ELVIS III Toolkit provides Analog Output Express VI to access the Analog Output channels.
LabVIEW RT Low Level VIs
Use the Low Level VIs to have more programmatic access to settings of I/O channels. For example, you can use the Low Level VIs to open or close certain channels and change the channel configuration at run time. Find the Low Level VIs on the Low Level palette, as shown in the following figure:

The LabVIEW ELVIS III Toolkit provides the following Low Level VIs to access the Analog Output channels:
- Analog Output 1 Sample VIs
- Analog Output N Samples VIs
- Analog Output Continuous VIs
Select Context Help window, from where you learn the basic information about each of the Express VIs and Low Level VIs. To learn more details about the VIs, refer to the LabVIEW ELVIS III Toolkit Help by clicking Detailed help at the bottom of the Context Help window, shown as follows:
or press <Ctrl-H> to display the
LabVIEW FPGA I/O nodes
Use the FPGA I/O nodes from the FPGA palette to access the Analog Output channels on the NI ELVIS III. You can also use the FPGA I/O property nodes if needed. Channels from both banks on the NI ELVIS III can be used in a single FPGA I/O node. The I/O banks are denoted as connectors in the software. The following figure shows a VI that uses FPGA I/O nodes to generate outputs to AO channels 0 to 1 on Connector A and Connector B.

Refer to the FPGA I/O Functions section of the LabVIEW FPGA Module Help for detailed information about using the FPGA I/O nodes to perform operations on FPGA targets. Refer to the NI ELVIS III section in the NI Compact RIO Device Drivers Help to learn what terminals and I/O methods and properties you can access for the NI ELVIS III. You can access these help files by selecting in LabVIEW, or search for their online versions on ni.com/manuals.