beautypg.com

Adac buffer config library, Adac get buffer status – Measurement Computing ADAC-LVi User Manual

Page 112

background image

Chapter 2 Buffer Config Library

ADAC LabVIEW VI

106

ADAC Buffer Config Library

ADAC Get Buffer Status

ADAC Set Buffer Size

ADAC Get Buffer Size

ADAC Set Number of Buffers

ADAC Get Number of Buffers

ADAC Set Buffer

ADAC Clear Buffer Done

ADAC Get Auto Init Buffers

ADAC Get Buffer Done Handler

ADAC Set Auto Init Buffers

ADAC Set Buffer Done Handler

ADAC Get Num of Buffers

ADAC Get Buffer Status

This VI provides access to the device's buffers. Internally ADAC-LVi buffers are not just
pointers to a DAQ board's subsystem data, but are pointers to a structure that contains the
buffer type, size, current sample count, hardware trigger points, completion flags, status
flags, and error flags. Some of these fields remain constant for the duration of the
acquisition. Others contain relevant information about the current condition of the buffer
and error conditions that can occur in the hardware device's subsystem during the current
acquisition.

A completed buffer only indicates the BUFFER STATUS is available, always check the
StatusFlag and ErrorFlag.