Example Code

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for Search instead for Did you mean: Write and Read with Measurement File Express VIs using LabVIEW ‎02-12-2009 04:08 PM Last Edited by: Example_Scrubber_Stefano ‎09-27-2017 12:15 PM

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

Software

Code and Documents

Attachment

Virus scan in progress. Please wait to download attachments.

This VI shows how to save and read signal (real or simulated) to measurment file using express VIs

This example demonstrates a simple write and read to a LVM file from either a DAQ Assistant or Simulated Signals Express VIs. When reading from a file using the Read From Measurement File VI, it's sometimes beneficial to open the LVM file with a text editor and noting the beginning of the data and the end of the header. This way you can set the Start Row of Numeric Data field appropriately. You'll notice that the LVM file that is written from a simulated signal has a shorter header than a LVM from a DAQ Assistant.This VI will mix different amounts of Red, Green and Blue to generate the color in the color box.


Steps to Implement or Execute Cod e

1. Select if simulate signal or not
2. Run VI
3. Choose a file name
4. Signals graph display the signals read from file

Additional Information or References
Block Diagram

**This document has been updated to meet the current required format for the NI Code Exchange.**

PBear
NI RF

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.