Example Code

Changing the Scale of an XY Graph Using Property Nodes

Code and Documents

Attachment

Download All

Overview

This code takes the status of plots in an XY Graph and allows the user to change the scale of the XY Graph based on the current visible plots.

Description

This code creates data and plots it in an XY Graph. As the user changes what plots are visible the program changes the scale of the graph based on the visible plots. This code uses a state machine based on the Boolean array created by the status of the plots.

Steps to Implement or Execute Code

  1. Open and run VI
  2. Use the plot checkboxes and watch the scales on the graph change based on the plot selection

snippet.png

Requirements

Software

LabVIEW 2014

Additional Images or Video

frontpanel.PNG


Matt P.
Applications Engineer
National Instruments

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

Contributors