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.
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
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.
2D data (string)
Data the node writes to the file if 1D data is not wired or is empty.
1D data (string)
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.
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.
||Appends data to the existing file.
||Replaces the data in the file.
A Boolean that indicates whether to transpose the data after converting it from a string.
||Transposes the data.
||Does not transpose the data.
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