Converts data to a text string and writes the string to a file.
This node creates a text file readable by most spreadsheet applications. This node 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 into what you specify.
Syntax Elements for Creating a Format Specifier
Use the following syntax elements to create a format specifier for the input string.
Format Specifier Examples for Format
Default: %.3f
A Boolean value that determines whether the resulting spreadsheet will include a column of time values from the input array of waveforms.
This input becomes available only when you wire an array of waveforms to this node.
The file to which this node writes. If the path is empty, this node uses your default data directory (Documents>>LabVIEW Data).
Data the node writes to the file.
This input accepts double-precision floating-point numbers, 64-bit integers, strings, and arrays of waveforms. This input changes to waveforms if you wire an array of waveforms to the node.
Array of waveforms whose y values the node writes to the spreadsheet file.
This input becomes available only if you wire an array of waveforms to the node.
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.
Default: No error
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
Path to the newly created file.
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.
Where This Node Can Run:
Desktop OS: Windows
FPGA: Not supported
Web Server: Not supported in VIs that run in a web application