Table Of Contents

Read Delimited Spreadsheet (G Dataflow)

Version:
    Last Modified: March 27, 2017

    Reads double-precision floating-point data from a file and converts the data to a 2D array.

    This node reads a spreadsheet or spreadsheet file saved in text format. This node opens the file before reading it and closes it afterwards.

    connector_pane_image
    datatype_icon

    format

    A string that uses format specifiers to determine how to convert the data to characters.

    Format String Examples

    format string Description
    %.3f Creates a string to represent the number with three digits to the right of the decimal point.
    %s Copies the input string.
     (%d) Converts the data to integer form using as many characters as necessary to contain the entire number.

    Default: %.3f

    datatype_icon

    file

    The file that this node reads.

    The node opens the specified file without requiring you to call Open/Create/Replace File first.

    datatype_icon

    error in

    Error conditions that occur before this node runs.

    The node responds to this input according to standard error behavior.

    Standard Error Behavior

    Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

    error in does not contain an error error in contains an error
    If no error occurred before the node runs, the node begins execution normally.

    If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

    If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

    Default: No error

    datatype_icon

    delimiter

    A character or string of characters used to separate fields in the spreadsheet text. For example, a value of , (comma) specifies a single comma as the delimiter.

    Default: \t — single tab character

    datatype_icon

    new file

    Path to the newly created file.

    datatype_icon

    all rows

    Array containing each row of data read from the file.

    datatype_icon

    error out

    Error information.

    The node produces this output according to standard error behavior.

    Standard Error Behavior

    Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

    error in does not contain an error error in contains an error
    If no error occurred before the node runs, the node begins execution normally.

    If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

    If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

    Where This Node Can Run:

    Desktop OS: Windows

    FPGA: DAQExpress does not support FPGA devices


    Recently Viewed Topics