Example Code

Programmatically Change the Style of Multiple Plots 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 example VI changes graph properties using property nodes.

 
Description

The task of changing the style of multiple plots manually in LabVIEW can be very time consuming. Using property nodes to change the style programmatically is very advantageous. This very simple example allows us to utilize the line style property to change multiple line styles for a waveform graph.


Requirements

  • LabVIEW Base Development System 2012 (or compatible)


Steps to Implement or Execute Code

  1. Open the VI "Change Style of Multiple Plots 2012 NIVerified.vi"
  2. Run the program

 

Additional Information or References
VI Front Panel

キャプチャ.PNG

VI Block Diagram

キャプチャ2.PNG

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

 

Aaron. E
Product Performance Engineer
Dyson

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