Example Code

Programmatically setting range for multiple scales

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 VI demonstrates how to use Graph Property Node to change its properties.


Description: When you have a program that involves a waveform graph with multiple scales, it is possible to set the range for these scales programmatically through property nodes.


Requirements: LabVIEW 2012 (or compatible), Hardware: none.


Steps to Implement or Execute Code: 

1. Change the settings.
2. Run the VI.
3. Look how the graph is changed after running the VI.


Additional Information or References:

 

Programmatically setting range for multiple scales FP.PNG

 

Programmatically setting range for multiple scales BD.PNG


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

Misha

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