TFA Read from File VI

LabVIEW 2014 Advanced Signal Processing Toolkit Help

Edition Date: June 2014

Part Number: 372656C-01

»View Product Info
Download Help (Windows Only)

Owning Palette: Utilities VIs

Requires: Advanced Signal Processing Toolkit

Reads data from a spreadsheet text file that contains a 1D array, a 2D array, a byte stream file of single-precision numbers, a byte stream file of 16-bit signed integers, a file created with the Write Waveforms to File VI, a WAV file, a JPG file, a BMP file, or a PNG file.

Note  This VI does not support the LabVIEW Real-Time Module.

file type specifies the type of the source data file.

0Spreadsheet Text File (default)
1Byte Stream File of SGL
2Byte Stream File of I16
3Waveforms Data File
4WAV File
5JPG File
6BMP File
7PNG File
number of rows specifies the maximum number of rows this VI reads. If number of rows is <0, this VI reads the entire file. The default is –1, which means this VI reads the entire file. If number of rows + start of read offset exceeds the total number of rows in the file, this VI returns a warning. number of rows is valid only if the file type is Spreadsheet Text File.
sampling rate specifies the sampling rate in hertz. The default is 1000.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
start of read offset specifies the position in the file, measured in rows, at which this VI begins reading. The default is 0, which means this VI begins reading the file at the first row. If number of rows + start of read offset exceeds the total number of rows in the file, this VI returns a warning. If start of read offset exceeds the total number of rows in the file, this VI returns empty values and a warning. start of read offset is valid only if the file type is Spreadsheet Text File.
delimiters specifies an array of strings used to separate fields in a spreadsheet file. The default is a single space character and a single tab character. delimiters is valid only if the file type is Spreadsheet Text File.
1D signal returns the 1D signal.
2D signal returns the 2D signal.
filename returns the name of the data file.
error out contains error information. This output provides standard error out functionality.

WAS THIS ARTICLE HELPFUL?

Not Helpful