Example Code

Changing the Properties of a Waveform Using Front Panel Controls

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

Update Graph's colors based on user selection.

 

Description

Sometimes changing graph's characteristics programmatically due some event is needed, depending on the application. This code gives insight on how we might be able to accomplish it.

 

Requirements

LabVIEW 2012 (or compatible)

 

Steps to Implement or Execute Code
1. Open the "Update Graph with new Color Selection LV2012 - NIVerified.vi"
2. Select the Run button.
3. Change the colors in the respective box.

 

Additional Information or References

Capture.PNG

Chris Van Horn
Applications Engineer

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