LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to use the same indicator or chart in two different tabs of tab control ?

Dear Friends,

 

I am facing a serious problem, I have one indicator or wave chart and I would like to use it in different tabs of tab control and I can't find any solution for that.

Attached, I made simple VI which in that I would like to use same Numeric in TAB2 and I can't do it since it is in TAB1.

 

Any suggestion?

thanks

0 Kudos
Message 1 of 9
(4,946 Views)

To answer your post title - no, you cannot have the exact same indicator on more than one tab page.

0 Kudos
Message 2 of 9
(4,938 Views)

No, perhaps you could explain a little more why you want to do that and we can suggest some ways to help you achieve a good UI.

0 Kudos
Message 3 of 9
(4,926 Views)

thanks for the reply, the main point of using same indicator is make the whole VI lighter. in my program I have to load exactly the same Sub_VI twice and load the results in different tabs which make whole program slow.

I was thinking using same Chart in two tabs will solve this problem

 

0 Kudos
Message 4 of 9
(4,923 Views)

You can look into subpanels, these are designed to display SubVIs in your top level interface. 

0 Kudos
Message 5 of 9
(4,918 Views)

Option 1: Place element on top of the tab control, show/hide it if you do not need it in other tabs.

Other options connect only data.

Option 2: Data binding of numerics through network published shared variable. Create network variable in project, right click each numeric, change to data binding tab, select variable. Changing one numeric will update value in another. It will generate only value change event.

Option 3: Duplicate manually. Will not need shared variable engine, publish variables - overkill for this task.

Message 6 of 9
(4,913 Views)

can you explain it more?

 

0 Kudos
Message 7 of 9
(4,909 Views)


Option 1: Place element on top of the tab control, show/hide it if you do not need it in other tabs.

Other options connect only data.

Option 2: Data binding of numerics through network published shared variable. Create network variable in project, right click each numeric, change to data binding tab, select variable. Changing one numeric will update value in another. It will generate only value change event.

Your option 1 looks really useful, since I am beginner in labview I have no idea how to implement it?


 

0 Kudos
Message 8 of 9
(4,907 Views)

When you click tabs, it will hide numeric if tab = tab 1

 

show hide on tab.png(not a snippet - breaks links)

0 Kudos
Message 9 of 9
(4,901 Views)