cbFileRead()

Reads data from a streamer file. When cbFileAInScan() or cbFilePretrig() fills the streamer file, this function returns the content of that file. Refer to information on your board in the Universal Library User's Guide to determine if your board supports cbFileAInScan() and/or cbFilePretrig().

Function Prototype

C/C++

int cbFileRead(char *FileName, long FirstPoint, long *NumPoints, int *DataBuffer)

Visual Basic

Function cbFileRead(ByVal FileName$, ByVal FirstPoint&, NumPoints&, DataBuffer%) As Long

Arguments

FileName

Name of the streamer file.

FirstPoint

Index of the first point to read.

NumPoints

Number of points to read from the file.

DataBuffer

Pointer to the data buffer that data will be read into.

Returns

Notes