Example Code

Programmatically Set Dual Y-Axis Maximum Scales 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 VI shows how to use and to programmatically modify multiples Y scales.

 

Description

This VI could be used to programmatically modify waveform chart multiples Y scales using two property nodes.

The property node used are "ActY Scale" and "Y Scale Maximum", the first one is used to select on which scale operate while the second one is used to change the maximum Y value.

 

Requirements

  • LabVIEW 2012 (or compatible)

 
Steps to Implement or Execute Code

1. Run VI
2. Look at graph scales

 

Additional Information or References
Block Diagram

 Set multiple scales  LV2012 NI Verified.png

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

 

Andy Chang
National Instruments
LabVIEW Control Design and Simulation

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

Comments
pedrito55
Member
Member
on

Nice VI, thank you!

Just connect the error reference of the property nodes to achieve a good setting in the graphic.