LabVIEW Advanced Signal Processing Toolkit API Reference

TSA Read from File VI

  • Updated2023-02-21
  • 3 minute(s) read

TSA Read from File VI

Owning Palette: Utilities VIs

Requires: Advanced Signal Processing Toolkit

Reads a univariate or multivariate (vector) time series from a specified data file. You can use this VI to read spreadsheet text files and WAV files.

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)
1WAV 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.
univariate time series returns the univariate time series.
multivariate time series returns the multivariate (vector) time series.
file name returns the name of the source data file.
error out contains error information. This output provides standard error out functionality.

Log in to get a better experience