From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Example Code

Select Display Graph

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 allows the user to specify which plots are displayed from the same Waveform Graph. The user can select from four possible plots to display.

 

Description

This VI outputs four sinewaves to a waveform Graph with phase offsets. A property node is linked to the waveform graph and two properties are changed. The first property ActPlot allows the user to programmatically select the active plot. The second property 'Plot.Visible?' allows the user to pass a boolean value to enable or disable the visibility of the selected plot.

 

Requirements

LabVIEW 2012 (or compatible)

 

Steps to Implement or Execute Code
1. In order to run this example first open the included VI.
2. Select 'Run'
3. Toggle the switches to change the visibility of the plots on the Waveform Graph.

 

Additional Information or References

Capture.PNG

Francisco Arellano

National Instruments Mexico
Field Systems Engineer - Energy Segment
www.ni.com/soporte

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

Comments
priyawa2000
Member
Member
on

Could you please save it as labview 2009/2010 or lower. I cant open the file. And I have 2010. It was saying it cant be opened since it was save in 2011.