Write Waveforms to File (1D) VI
- Updated2025-07-30
- 2 minute(s) read
Creates a new file or appends to an existing file, writes the specified number of records to the file, then closes the file and checks for errors. Each record is an array of waveforms. Wire data to the Waveform input to determine the polymorphic instance to use or manually select the instance.

Inputs/Outputs
file path (dialog if empty)
—
file path specifies the file where the waveform is located. If you do not wire this input, LabVIEW displays a non-native file dialog box instead of a native file dialog box.
waveform array
—
waveform array is a 1D array of the waveforms you want to write to a file.
append to file? (new file:F)
—
append to file? appends data to an existing file, if TRUE. If append to file? is FALSE (default), the VI replaces data in an existing file. If there is no existing file, the VI creates a new file.
error in (no error)
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
new file path (Not A Path if cancelled)
—
new file path returns the path to the file.
error out
—
error out contains error information. This output provides standard error out functionality. |
file path (dialog if empty)
—
waveform array
—
append to file? (new file:F)
—
error in (no error)
—
new file path (Not A Path if cancelled)
—
error out
—