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.


icon

Inputs/Outputs

  • cpath.png 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.

  • c2dmsdt.png waveform array

    waveform array is a 2D array of the waveforms you want to write to a file.

  • cbool.png 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.

  • cerrcodeclst.png error in (no error)

    error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

  • ipath.png new file path (Not A Path if cancelled)

    new file path returns the path to the file.

  • ierrcodeclst.png error out

    error out contains error information. This output provides standard error out functionality.