Welding System User Manual
Chapter 2 Function Reference — GPCTR_Read_Buffer
NI-DAQ FRM for PC Compatibles 2-214
©
 National Instruments Corporation
numPts is the number of points to retrieve from the buffer being used. This argument is 
passed by reference. When this function returns, numPts holds the value of actual number of 
inputs that were read.
readOffSet is the offset that is added to the reading point specified by readMode to compute 
the location in the buffer from which data is to be read.
timeOut is the time in seconds that specifies the maximum amount of time this function 
should wait before returning. If timeOut is 0 this function return immediately. If the 
requested amount of data is not available, the appropriate error code is returned. 
buffer is the destination buffer to hold the retrieved data. Its size should be ≥ numPts.
status is the return value that specifies success (return value 0) or overWriteError.
Using This Function
You need to use this function for reading data from a buffer during double buffered or 
asynchronous data acquisition.










