3 Keysight SD1 Command Reference
Keysight M3100A/M3102A PXIe Digitizer User's Guide
67
Parameters
Name
Description
Inputs
moduleID
(Non-object oriented languages only) Module identifier, returned by function
nDAQ
DAQ to configure
dataBuffer
Buffer to use in buffer pool. Has to be created and released by user
nPoints
Size of dataBuffer buffer
timeOut
Maximum time used to fill each buffer. If 0, timeout is not set and buffer will not be
delivered to the user until it’s full
callbackFunction Callback that will be called each time a buffer is ready. It can be null. If callback is set,
DAQbufferGet is useless
callbackUserObj Pointer to user object that will be passed in the callback as parameter called user-
Object. It can be null
errorIn
(LabVIEW only) If it contains an error, the function will not be executed and errorIn will
be passed to errorOut
Outputs
moduleID
(Non-object-oriented languages only) Module identifier, or a negative number for errors
(see
Keysight SD1 Command Reference
errorOut
See
Keysight SD1 Command Reference
C
int SD_AIN_DAQbufferPoolConfig(int moduleID, int nDAQ, short* dataBuffer, int
nPoints, int timeOut, callbackEventPtr callbackFunction, void *callbackUserObj);
C++
int SD_AIN::DAQbufferPoolConfig(int nDAQ, short* dataBuffer, int nPoints, int
timeOut, callbackEventPtr callbackFunction, void *callbackUserObj);
Visual Studio .NET, MATLAB
int SD_AIN::DAQbufferPoolConfig(int nDAQ, short[] dataBuffer);
Python
int SD_AIN::DAQbufferPoolConfig(int nDAQ, int nPoints, int timeOut);
LabVIEW
DAQbuffer functions are not accessible