Example Code

Intelligent XY Graph Using 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

 

Overview

This simple example show how to implement and use an Intelligent XY Graph that allows you to choose the data for X Axis and the Y Axis during run time and edit time.

 

Description

This example uses X control to implement an XY graph indicator whose X and Y axis data could be changed during runtime. The changed plot will be shown on the graph instantly.

An subVI is also included which can be used to easily add data to the graph.

 

Requirements

  • LabVIEW 2013 (or compatible)

 

Steps to Implement or Execute Code

  1. Run Tester VI from IXYG project.
  2. Change the X and Y axis data during runtime and inspect the change.

 

Additional Information or References

VI Snippet of  Tester.vi

sni.png

 

Demonstration Video 


 

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

Piotr Kruczkowski
Certified TestStand Architect
Certified LabVIEW Architect

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