3 Keysight SD1 Command Reference
Keysight M3100A/M3102A PXIe Digitizer User's Guide
69
M3601A
Available: No
3. 3. 2. 30 DAQbufferGet
Gets a filled buffer from the channel buffer pool. User has to call DAQbufferAdd with
this buffer to tell the pool that the buffer can be used again.
Parameters
Name
Description
Inputs
moduleID
(Non-object oriented languages only) Module identifier, returned by function
nDAQ
DAQ from where get the buffer
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
)
errorOut
See
buffer
Buffer obtained
readPointsOut Number of points of the returned buffer
C
short* SD_AIN_DAQbufferGet(int moduleID, int nDAQ, int &readPointsOut, int
&errorOut);
C++
short* SD_AIN:: DAQbufferGet(int nDAQ, int &readPointsOut, int &errorOut);
Visual Studio .NET, MATLAB
short[] SD_AIN::DAQbufferGet(int nDAQ, out int readPointsOut, out int errorOut);
Python
[short[], int} SD_AIN::DAQbufferGet(int nDAQ);
*Returned data array is a NumPY array