Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

Write Waveforms to File VI

LabVIEW 2013 Help

Edition Date: June 2013

Part Number: 371361K-01

»View Product Info

Owning Palette: Waveform File I/O VIs

Requires: Base Development System

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.

You can use any file extension, for example .dat or .txt, for the file you write the waveform data to.

Use the pull-down menu to select an instance of this VI.

Write Waveform to File

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 is the waveform you want to write to a file.
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 describes error conditions that occur before this node runs. This input provides standard error in functionality.
new file path returns the path to the file.
error out contains error information. This output provides standard error out functionality.

Write Waveforms to File (1D)

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 is a 1D array of the waveforms you want to write to a file.
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 describes error conditions that occur before this node runs. This input provides standard error in functionality.
new file path returns the path to the file.
error out contains error information. This output provides standard error out functionality.

Write Waveforms to File (2D)

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 is a 2D array of the waveforms you want to write to a file.
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 describes error conditions that occur before this node runs. This input provides standard error in functionality.
new file path returns the path to the file.
error out contains error information. This output provides standard error out functionality.

Write Waveform to File (Digital)

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 is the digital waveform you want to write to a file.
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 describes error conditions that occur before this node runs. This input provides standard error in functionality.
new file path returns the path to the file.
error out contains error information. This output provides standard error out functionality.

 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit