beautypg.com

Adac ai set trigger config – Measurement Computing ADAC-LVi User Manual

Page 52

background image

Chapter 2 Utility Analog Input VIs

ADAC LabVIEW VI

46

$'$& $, &RQW 6FDQ FRQ¶W
BUFFER_COMPLETE = 4 The output buffer has been read completely.
BUFFER_FULL = 8 The input buffer has filled to capacity.

ErrorFlag [i32] ErrorFlags: The Error Flags specify the condition which has
stopped a buffer from successfully completing. Although an error may be
reported, this does not indicate the BUFFER_FULL flag is not set. This would
be the case if an error was detected and enough samples were available to fill
the buffer to capacity. One or more of these flags may also be set together. If
any of these flags have set, checking the current hardware error conditions will
usually reveal the actual condition that caused the acquisition runtime error.
This flag can be set to any of the four following conditions.

BUFFER_STOPPED = 1 An error occurred and the buffer(s) are no longer
being serviced.
BUFFER_OVERRUN = 2 An error occurred when attempting to place the next
sample beyond the bounds of the buffer.
BUFFER_UNDERRUN = 4 An error occurred and the buffer is incomplete.
BUFFER_NEXTBUSY = 8 When attempting to access the next buffer, the
current state of the DoneFlag indicated the buffer was not yet available for use.

BufferNum [U32] BuffNum Buffer Number ID (0-n)

Actual Sample Period (sec) Actual Sample Period is the actual interval between
samples in seconds, which is the inverse of the actual sample rate in hertz. The actual
sample period can differ from the requested sample rate, depending on the clocking
capabilities of your selected device.

error out Error out contains error information. If the error in cluster indicated an error,
the error out cluster contains the same information. Otherwise, error out describes the
error status of this VI.

ADAC AI Set Trigger Config

This VI configures triggering operations of an analog input acquisition.