ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Enabling/disabling plots in a multi-plot XY Graph...

Solved!
Go to solution

As in the title. I have an XY Graph with multiple plots in the region of 5-10. I am updating the graph via a queue containing an array the of plots. I want to be able to view some or all of these plots at any specific time, and for the visible plots to be changeable whilst the program is running. However, I am not sure how to achieve this and after looking at the available properties of the graph I am still none the wiser.

 

Please advise. Thank you.

 

James



Never say "Oops." Always say "Ah, interesting!"

0 Kudos
Message 1 of 9
(6,599 Views)
Use the Active Plot and Plot.Visible properties to select/deselect plots.
>

"There is a God shaped vacuum in the heart of every man which cannot be filled by any created thing, but only by God, the Creator, made known through Jesus." - Blaise Pascal
Message 2 of 9
(6,587 Views)

Something like this:

 

plot control.PNG

>

"There is a God shaped vacuum in the heart of every man which cannot be filled by any created thing, but only by God, the Creator, made known through Jesus." - Blaise Pascal
Message 3 of 9
(6,586 Views)
Solution
Accepted by J.Mamakos

Tip: You can expand the property node vertically to set more than one property. The execution order will be top to bottom.

Example_VI_BD.png

Message 4 of 9
(6,564 Views)
Thank you both. I probably should have played around with the properties a bit more but I was running out of time before having to move to something else. 🙂


Never say "Oops." Always say "Ah, interesting!"

0 Kudos
Message 5 of 9
(6,552 Views)

Hi

 

I am not sure this where I can post a question or not, But here goes.

 

I am new to labview and have been tring to do something simalr,Display 4 plots fromanalog inputs on one graph.

I posted eariler, My problem is I cannot get the data to display on the graph.

I have view several different display graph and none I have tried worked.

 

I am using a PCI-6220 Card abd a SCB-68 connect box.

The graphs I want to bulid will have 4 to 6 channels each and display a voltage from the PCI-6220.

I have used tha DAQ Assisitant to help bulid the input but still cannot get it to run.

The last code I tried looks like this one.

0 Kudos
Message 6 of 9
(6,395 Views)

Don't hijack TWO message threads!

 

Create a new message thread.

0 Kudos
Message 7 of 9
(6,391 Views)
Where do I get to those properties?  I feel like a bonehead having to ask, but I dont see them anywhere.
0 Kudos
Message 8 of 9
(6,182 Views)
Right-click on the graph and select Create -> Property Node -> Active Plot for one, and Create -> Property Node -> Plot -> Visible for the other. As I noted, once you create one property node you can expand it and select a different property by simply left-clicking on the property row to pop up the property menu.
0 Kudos
Message 9 of 9
(6,157 Views)