06-17-2009 05:28 AM - edited 06-17-2009 05:29 AM
I have a cluster of slide controls, and I want to change several properties of the slides in the same way relative to each other. I know how to change the properties using a reference to a single slide control, but I'm not sure how to get there from a reference to their containing cluster. The attached picture shows some of the properties I can edit using a direct reference to one of the slide controls, and the options available when I try to work down from a reference to their containing cluster.
Please advise if what i am trying to do is actually possible. Thank you.
James
Solved! Go to Solution.
06-17-2009 05:36 AM
Use the "To more spesific class" function on the "ctl" reference inside your for loop. You can find it under application control.
To the "Taget class" input you wire your slider reference (or a slider reference constant)
06-17-2009 05:52 AM
06-17-2009 06:02 AM - edited 06-17-2009 06:03 AM
You could use any of your slider references, you only need the type, but I think it looks "cleaner" with a constant
To make one: Rightclick your current reference -> create constant
06-17-2009 06:06 AM - edited 06-17-2009 06:07 AM
I tried that but for some reason i cannot. Any ideas?
06-17-2009 06:14 AM
06-17-2009 06:21 AM
Pass.
I have tried different slide types with several slides and different datatypes and I am always allowed to make a constant.
What kind of slide is it?
06-17-2009 06:26 AM - edited 06-17-2009 06:26 AM
They are Horizontal Progress Bars with two sliders.
I've found a way to create a slide reference constant, but it's not 'strict'. Does this matter?
06-17-2009 06:37 AM
06-17-2009 06:41 AM
It may be because i run LabVIEW 6.1 - i'm not sure.
Anyway, thank you for your help both of you. 🙂