Adac ai acquire wave forms – Measurement Computing ADAC-LVi User Manual

Page 22

Advertising
background image

Chapter 2 Easy Analog Input VIs

ADAC LabVIEW VI

16

ADAC AI Acquire Wave Forms

The ADAC AI Acquire Waveforms VI acquires the specified number of samples at the
specified sample rate and returns all the data acquired in scaled data units (volts) in a two
dimensional array. This VI typically acquires voltage readings on multiple channels, but
may be used to collect single channel points into its 2 dimensional array.

Board ID (0) Specifies the ADAC-LVi board ID number to be used in this acquisition.
The ID numbers are defined in the configuration file ADAC-LVi.con located in the
Windows main directory.

Channel List (0(1)) Channel List is a string that specifies the analog input channel
numbers to acquire data from. Channel List is typically set to acquire multiple channels,
but may be used to collect single channels into its two dimensional array.

For boards that support input gain the channel list also specifies a separate gain value for
each channel. Gains are specified in parentheses after the channel number. For example,
"0(1),1(8),2(4)" is interpreted as channel 0 at a gain of 1, channel 1 at a gain of 8 and
channel 2 at a gain of 4.

Number of Samples (1000) Number of samples is the total number of data samples the
VI acquires before the acquisition completes. The default value is 1000 samples.

Iteration (init:0) Iteration controls when the ADAC-LVi device subsystem allocation
and device initialization is performed. If iteration is 0, the VI allocates the device and
initializes it with the hardware specifications connected to the VI. The VI then starts the
acquisition and reads the data. If iteration is greater than zero, then VI assumes that the
current configuration is valid and starts the acquisition, then reads the data.

Sample Rate (Hertz:1000) Sample Rate is the total number of samples per second the
VI acquires from the specified channel(s). The default value is 1000.00 samples per
second.

Advertising