LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Modifying xy graph properties within array of cluster

I have a cluster containing an XY graph. I want to be able to have different channels displayed in each XY graph, but it seems the graph properties are linked.

 

For example, if I change the number of legend entries in one cluster, all of the the other clusters are modified too.

 

How do I just adjust one XY graph at a time?

 

front_panel.png

 

block_diagram.png

 

0 Kudos
Message 1 of 5
(3,481 Views)

Array elements can only differ in value, not in properties. The number of legends shown is a property and thus shared by all elements.

0 Kudos
Message 2 of 5
(3,460 Views)

Thank you Christian.

 

Is there a workaround for my situation?

 

I would like to have multiple XY graphs, without just duplicating code on my block diagram for each separate graph...

0 Kudos
Message 3 of 5
(3,444 Views)

You can have multiple XY graphs without duplicating code.  If you have duplicate code, put it into a subVI.

 

You can also have the same code handle each if you feed it a reference to the graph like your snippet shows.  Create an array of references, and put the code in a for loop that operates on each element of that array of references.

0 Kudos
Message 4 of 5
(3,415 Views)

also there is a Mixed Signal Graphs, indeed  it is not xy graphs 

but may by it could change to what you want just check it  if you can plot your data in graph it could be good method to use 

gr.jpg

0 Kudos
Message 5 of 5
(3,395 Views)