Example Code

Overlay XY Graph Data in Sweeping Display in LabVIEW

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

  • LabVIEW

Code and Documents

Attachment

Download All

Overview:

This code allows the user to show data display on a graph synchronously as well as being able to overlay data for comparison.

 

Description:

It loads a non-initialize Graph on the XY Graph then it concatenates XY Graph (0,0) to the previous XY Graph. Finally a 100 Values XY Graph is created based on Sine Signal and Load into the XY Graph.

 

Requirements

LabVIEW 2012 (or compatible)

 

Steps to Implement or Execute Code

  1. Run the VI
  2. Click on Generate Data for generating Simulated Sine Data

Additional Information or References

Snippet 11710.png

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

National Instruments
Applications Engineer

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