LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Changing control in a cluster with loops

Solved!
Go to solution

@plasmageek wrote:

Thanks! I worry about this being slow already, so I'll stick with local variables where I need to.


I'm a cheerleader for the "Set/Get Control Values by Index" function so I look for ways (good/bad) to promote it.

This example avoids messing around with the indexing.

Set Clusters.png

http://www.labviewcraftsmen.com/blog/getset-control-values-by-index 

--------------------------------------------------------------------------------------------------------------------------
Help the forum when you get help. Click the "Solution?" icon on the reply that answers your
question. Give "Kudos" to replies that help.
--------------------------------------------------------------------------------------------------------------------------
Message 11 of 13
(378 Views)

Your design has a serious flaw! You have the Buffer control outside the tab control and want to update the current tabs number? But if you change tab the Buffer control will show the other tabs buffer value. So either you need to add a Tab value change event and update the control to show the current tabs buffer value, or (simpler?) you'll have 1 control/tab.

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 12 of 13
(375 Views)

@Yamaeda wrote:

Your design has a serious flaw! You have the Buffer control outside the tab control ...


This is a long thread. Can you clarify which "design" you are referring to?

0 Kudos
Message 13 of 13
(359 Views)