beautypg.com

Measurement Computing ADAC-LVi User Manual

Page 41

background image

Chapter 2 Utility Analog Input VIs

ADAC LabVIEW VI

35

$'$& $, :DYH 6FDQ FRQ¶W

Clock Source (Internal:1) Clock Source is a numeric value that sets the hardware
clocking source. The available options are:

0:SOFTWARE_CONVERT Software clocked acquisition, supported by all A/D's.

1:INTERNAL On-board clocking acquisition, supported by A/D's with DMA, Interrupt
or FIFO capabilities.

2:EXT_RISING_EDGE External clocking rising edge, supported by A/D's with DMA,
Interrupt or FIFO capabilities.

3:EXT_FALLING_EDGE External clocking falling edge, supported by A/D's with
DMA, Interrupt or FIFO capabilities.

4:MMTIMER Multi-Media system timer, supported by the 4012AD and 4112AD series
in the Windows 95/98 environment only.

The default Clock Source is 0:SOFTWARE_CONVERT

Sample Rate (Hertz:1000) Sample rate is the requested number of samples per second
the VI acquires from the specified channel. This parameter defaults to a rate of 1000.00
samples per second.

Number of Buffers(1) Specifies the number of buffers the VI allocates. This parameter
defaults to 1, and should only be changed for multi-buffered acquisitions.

Number of Samples (1000) Number of samples is the number of single-channel samples
the VI acquires before the acquisition completes. This parameter defaults to 1000.

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.

Clear Acquisition (true) Clear acquisition determines whether the VI releases the device
after reading the specified number of samples. The VI should pass a TRUE to this
parameter when reading the last set of samples for a given acquisition. The default is
TRUE, which means that the VI reads data only once if this input remains unwired. You
typically wire this input to the terminating condition of a loop, so that when the loop
finishes the device is released.

TRIGGER INFO TRIGGER INFO configures the analog input triggering mechanism
on the specified Device Handle.