cbFileGetInfo()

Returns information about a streamer file. When cbFileAInScan() or cbFilePretrig() fills the streamer file, information is stored about how the data was collected (sample rate, channels sampled etc.). This function returns that information. Refer to board-specific information in the Universal Library User's Guide to determine if your board supports cbFileAInScan() and/or cbFilePretrig().

Function Prototype

C/C++

int cbFileGetInfo(char *FileName, short *LowChan, short *HighChan, long *PretrigCount, long *TotalCount, long *Rate, int *Range)

Visual Basic

Function cbFileGetInfo(ByVal FileName$, LowChan%, HighChan%, PretrigCount&, TotalCount&, Rate&, Range&) As Long

Arguments

FileName

Name of the streamer file.

LowChan

Variable to return LowChan to.

HighChan

Variable to return HighChan to.

PretrigCount

Variable to return PretrigCount to.

TotalCount

Variable to return TotalCount to.

Rate

Variable to return sampling rate to.

Range

Variable to return A/D range code to.

Returns