beautypg.com

Adac get buffer size, Adac set number of buffers – Measurement Computing ADAC-LVi User Manual

Page 116

background image

Chapter 2 Buffer Config Library

ADAC LabVIEW VI

110

ADAC Get Buffer Size

This VI gets the size of a device’s internal data buffers in samples.

Device Handle (0) Device Handle is a numeric value that is used to identify the device
subsystem. The default Device Handle is 0.

error in (no error) Error in describes error conditions occurring before this VI executes.
This cluster defaults to no error.

Device Handle out Device Handle out contains the value of Device Handle in.

BufferSize Buffer Size is a numeric value that specifies the number of data samples each
buffer contains.

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 Set Number of Buffers

This VI sets the quantity of a device's internal data buffers. The quantity can range from
0-n, the only limitation is the amount of available memory. See also SetBufferSize.vi to
set how many data samples are available in each buffer.