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.


icon

Inputs/Outputs

  • cu16.png file type

    file type specifies the type of the source data file.

  • ci32.png number of rows (all:-1)

    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.

  • cdbl.png sampling rate

    sampling rate specifies the sampling rate in hertz. The default is 1000.

  • cerrcodeclst.png error in (no error)

    error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

  • ci32.png start of read offset (rows:0)

    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.

  • c1dstr.png delimiters

    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.

  • imsdt.png 1D signal

    1D signal returns the 1D signal.

  • i2ddbl.png 2D signal

    2D signal returns the 2D signal.

  • istr.png filename

    filename returns the name of the data file.

  • ierrcodeclst.png error out

    error out contains error information. This output provides standard error out functionality.