Analog input examples – Measurement Computing ADAC-LVi User Manual
Page 26

Chapter 2 Easy Analog Input VIs
ADAC LabVIEW VI
20
Analog Input Examples
Examples for each Easy Analog Input VIs are provided, and located in the ADAC
Examples in your LabVIEW directory. Example programs all provide a dialog box
allowing the selection of any ADAC board installed in ADAC-LVi. If a board incapable
of performing a particular example is selected, an error will occur indicating non-support.
The Easy AI Acq Wave example demonstrates the use of ADAC AI Acquire Waveform
VI. The example performs a single channel acquisition for the number of samples
specified at the specified clocking frequency. Once all the samples have been collected
the data collection stops and the samples are plotted to a graph. The whole process is
placed in a loop that repeats until the EXIT button is depressed, exiting the application.
The DAQ hardware must be configured for DMA and INTERRUPT operation to use this
VI.
The Easy AI Acq Waves example demonstrates the use of ADAC AI Acquire
Waveforms VI. The example performs a multi channel acquisition for the number of
samples specified at the specified clocking frequency. Once all the samples have been
collected the data collection stops and the samples are plotted to a graph. The whole
process is placed in a loop that repeats until the EXIT button is depressed, exiting the
application. The DAQ hardware must be configured for DMA and INTERRUPT
operation to use this VI.
The Easy AI Sample Channel example demonstrates the use of ADAC AI Sample
Channel VI. The example performs an immediate, untimed acquisition on a single
channel and returns the sample acquired in volts.
The Easy AI Sample Channels example demonstrates the use of ADAC AI Sample
Channel VI. The example performs an immediate, untimed acquisition on the specified
channel(s) and returns the sample(s) acquired in volts in a one-dimensional array.
The Easy AI Continuous Acq example demonstrates the use of ADAC AI Continuous
Scan VI. The example continuously performs a multi channel acquisition for the number
of samples specified at the specified clocking frequency, and plots the samples to a graph.
The acquisition is gap free if the hardware is capable of gap free data collection. The
acquisition continues until the EXIT button is pressed, exiting the application. The DAQ
hardware must be configured for DMA and INTERRUPT operation to use this VI.
The Easy TC Sample Channels example demonstrates the use of ADAC AI Sample
Channels and ADAC Convert Thermocouple Buffer VIs. This example continuously
performs an immediate, untimed acquisition on the specified channel(s) and returns all
the data acquired in the specified temperature units. The desired thermocouple type(s)
must be set in the ADAC-LCi.INI file before running this example.