LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Change all slide's value

Solved!
Go to solution

Hi every body,

 

I need some help today for one problem about slide - sub vi and property node.

 

I would like to change all slide value with a sub vi

 

Any ideas ?

 

Thanks

0 Kudos
Message 1 of 5
(2,549 Views)
Solution
Accepted by topic author kenshinsano

Hi,

                     Using of property node u can change the value of Slide.

Siva

Sivaraj M.S
CLA
Download All
0 Kudos
Message 2 of 5
(2,545 Views)

Thanks !

0 Kudos
Message 3 of 5
(2,542 Views)

Is it possible tu change all slide by one reference of array of reference or anything else ?

0 Kudos
Message 4 of 5
(2,536 Views)

Are you suggesting that you have multiple slide controls and you want to set all to the same value?

 

1. You can create an array of references and loop through them.

2. You could use local variables.  You cannot make an array of different local variables, so you would need to deal with each one separately.

3. Changing values via references can be slow.  Using local variables may result in race conditions.  Use either method with caution.

 

Be careful about changing the values of controls programmatically.  If if is done at initialization, it is usually not an issue. If it is done frequently in the program, it may cause confusion on the part of the user.  The user tries to move the slider and the program keeps jerking it back to the original position.  This is very frustrating to a user.

 

If you have a "Master" control and all the rest are always slaved to it, make the slaves indicators and modify their appearance in such a way that the user does not try to change them directly.

 

Lynn

0 Kudos
Message 5 of 5
(2,524 Views)