11-03-2014 02:55 AM
How to connect the same indicators to the same graph if you have it in different tabs?
Solved! Go to Solution.
11-03-2014 03:12 AM
What type of indicators you mean? Please explan with an image or code (In 2011 version please).
11-03-2014 04:50 AM
Please make it your mantra:
The wire is the data.
Hence, you can branch your wire to pass the data to two indicators. But please be aware as the indicator will copy the data. So if you pass huge arrays to a waveform graph for instance, you can easily blow your memory when using multiple indicators for your data (read: wire).
Norbert
11-03-2014 05:36 AM
I have a case ( 2 or 4 ) in case 2 i show one tab with 2 graph (1 & 2 ) and in case 4 i show two tabs with graph 1 & 2 in one tab and graph 3 &4 in another tab.
So when i click at indicator:1 in case 2 i want that graph one should be marked, thats works.
But when i click at indicator:1 in case:4 i want the graph :1 should be marked in case:4 but it marked the copy from case:2.
I took a copy from case:2 and use it in case:4 and add two more graph.
Do i have i "Link" connection wrong ?
11-03-2014 06:17 AM
Please attach what you have done so far. Following your description is difficult otherwise.
Norbert
11-04-2014 02:50 AM
Sounds like you want to use the same indicator in two different cases. This is not really possible, unless you want to use a local variable - which I would not recommend. If you want to wire something to the same indicator from different cases, you should place the indicator outside the case structure, thus making a tunnel through the case structure.
Also, it sounds like you want the same graph on two different tabs in a tab control. Why use different tabs if you want the same information? Maybe you could redesign your GUI?
But again, as everyone else is saying, share your code and it will be a lot easier for us to help 🙂