12-07-2011 04:09 PM
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
12-07-2011 05:50 PM
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.
12-08-2011 08:18 AM
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
12-08-2011 09:28 AM
"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)
12-08-2011 09:58 AM
You could also have an array with the graph references.