LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

multiple XY graphs from single ref from subvi

HI there, 

Currently I have a subvi that runs a while loop which does few things, and at the end updates an XY graph. I have a ref output from the subvi to the main vi. 

Mean while, in the main vi I can see the new and updated XY graph. 

 

What I am trying to do:

In the main vi I want to have three tabs, and that graphs should appear on each of them - and be updating live (just as it does right now) 

I cannot have few ref's from the subvi (not enought connections).

 

Can anyone please direct me to the currect direction on how to solve this?

 

Thanks  

0 Kudos
Message 1 of 5
(2,763 Views)

You can have one graph appear on all three tabs. To do this place it off the the side of the tab. Then use the arrow keys to move it onto the tab. It will appear to have a shadow but that will go away when you run it.

Now Using LabVIEW 2019SP1 and TestStand 2019
0 Kudos
Message 2 of 5
(2,758 Views)

Thats a good approach. I forgot to to write that the graph appears in a different size and location in each tab.

More about it:

There ae three tabs. 

There are three graphs

In each tab, there is one large graph, and the other two are smaller, on the side of the large graph. 

This way a user can monitor all three graphs and see in better detail the graph of interest. 

 

Other thoughts on how to do this? 

 

Thanks

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

"Not enough connections"

 

This should tell you that it is time to try a different approach.

You can try and create a cluster containing all the graph refs (and make it a typedef while you're at it).

By doing so, only 1 connection will be needed to pass all your graph refs into your SubVI (see image below)

 

Graph updates subvi.png

Jorge
0 Kudos
Message 4 of 5
(2,740 Views)

You could also have an array with the graph references.

Tim
GHSP
0 Kudos
Message 5 of 5
(2,733 Views)