Overview
The following example demonstrates how to generate analog data using the AT 1120.
Description
This example shows how to continuously generate analog output data from the AT 1120 adapter module. It allows the user to enable each channel individually as well as dynamically modify the output waveform. This VI is compiled for all FPGA targets by default.
Requirements
Software:
- LabVIEW 2012 (or compatible)
- LabVIEW FPGA 2012 (or compatible)
- NI RIO 12.0 (or compatible)
- CLIP for the AT 1120
Steps to Implement or Execute Code
- Open a session to the FPGA VI and run the VI.
- Wait for the adapter module to load its default configuration.
- (a) The AO Waveforms are configured and (b) outputs are enabled/disabled.
- Reset the FPGA Memory address counter to 0.
- Set the counter limit for the deserialization algorithm on the FPGA.
- Send the waveforms to the FPGA through DMA FIFOs.
- Reset Front Panel Controls/Indicators
- Close the FPGA VI reference and display any errors.
Additional Information or References
VI Snippet
**This document has been updated to meet the current required format for the NI Code Exchange.**
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Ben Sisney
FlexRIO V&V Engineer
National Instruments
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -