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

Waveform File I/O VIs

LabVIEW 2013 Help

Edition Date: June 2013

Part Number: 371361K-01

»View Product Info

Owning Palette: Waveform VIs and Functions

Requires: Base Development System. This topic might not match its corresponding palette in LabVIEW depending on your operating system, licensed product(s), and target.

Use the Waveform File I/O VIs to write waveform data to and read waveform data from files.

Example

The VIs on this palette can return waveform error codes.

Palette ObjectDescription
Export Waveforms to Spreadsheet FileConverts a waveform to a text string and writes the string to a new byte stream file or appends the string to an existing file. Wire data to the waveforms input to determine the polymorphic instance to use or manually select the instance.
Read Waveforms from FileOpens a file created with the Write Waveforms to File VI and reads one record of the file. Each record might contain one or more separate waveforms. The VI returns all waveforms in record and first waveform in record as separate outputs. To retrieve all records in the file, call this VI in a loop until the end of the file is reached.
Write Waveforms to FileCreates 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.

Example

Refer to the Waveform - Write Waveforms to File VI in the labview\examples\Waveform directory for an example of using the Waveform File I/O VIs.


 

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