Fileinfo.vi – Measurement Computing UL for NI LabVIEW User Manual
Page 85
Universal Library Virtual Instruments (VIs)
Streamer File VIs
FileInfo.VI
Returns information about a streamer file. When FileAInS.VI or FilePret.VI fill the streamer file, information
is stored about how the data was collected (sample rate, channels sampled etc.). This VI returns that
information.
Refer to the board-specific information contained in the Universal Library User's Guide (available on our web
site at
your board.
Summary:
Inputs:
FileName
[abc] - Name of streamer file.
Outputs:
PreTrigCount
[I32] - Number of pre-trigger samples collected.
LowChan
[I32] - First A/D channel of scan.
HighChan
[I32] - Last A/D channel of scan.
TotalCount
[I32] - Total number of samples collected.
ErrCode
[I32] - Error code. See ErrMsg.VI.
Range
[I32] - A/D range used to collect samples.
Rate
[I32] - Sampling rate used to collect samples.
Arguments:
FileName
The name of the streamer file to read information from.
PreTrigCount
Number of pre-trigger samples collected.
LowChan
First A/D channel of scan.
HighChan
Last A/D channel of scan.
TotalCount
Total number of samples collected.
ErrCode
Error code returned from the Universal Library. Zero if no error occurred. Use the
ErrMsg VI to convert
ErrCode
into a readable string.
Range
A/D range of the collected data.
Rate
Sampling rate of the collected data.
85