Home > Support > NI Product Manuals > LabVIEW Communications System Design Suite 1.0 Manual
Version:

    Converts a 1D or 2D array of values to a text string and writes the string to a file.

    This node creates a text file readable by most spreadsheet applications. This node calls the Array to Spreadsheet String node to convert the data and opens or creates the file before writing to 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. Examples:

    • %d converts the data to integer form using as many characters as necessary to contain the entire number.
    • %s copies the input string.

    Default: %.3f — creates a string to represent the number with three digits to the right of the decimal point

    datatype_icon

    file path

    The file that this node writes to. This input can be a reference to a file or an absolute file path. The node opens the specified file without requiring you to call Open/Create/Replace File first.

    Default: No value — Displays a file dialog box that prompts you to select a file.

    datatype_icon

    2D data (I64)

    Data the node writes to the file if 1D data is not wired or is empty.

    datatype_icon

    1D data (I64)

    Data the node writes to the file if this input is not empty. The node converts the 1D array into a 2D array before proceeding. If transpose? is FALSE, each call to this VI creates a new line or row in the file.

    datatype_icon

    append to file?

    A Boolean that determines whether to add data to the end of the file. If you do not specify a file, the node creates a new file.

    TRUE Appends data to the existing file.
    FALSE Replaces the data in the file.

    Default: FALSE

    datatype_icon

    transpose?

    A Boolean that indicates whether to transpose the data after converting it from a string.

    TRUE Transposes the data.
    FALSE Does not transpose the data.

    Default: FALSE

    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

    Path to the file.