06-01-2009 12:47 AM
Hi, i have to make a program for editing the membership functions of a fuzzy set. The basic problem is that I have the take the 4 x co-ordinates from the user for my trapezium. I've attached an illustration to make this more clear.
Clearly, 0<=a<=b, a<=b<=c, b<=c<=d, c<=d=<5 (see figure)
i'm setting the values of a,b,c,d using 4 sliders as controls. Can i somehow feed in these bounds as the upper and lower limits for the sliders and which dynamically update themselves while the VI runs? for example, say i adjust the value of b, i want that the ranges of a and c, which depend on b, to adjust themselves automatically on their respective sliders.
Is this possible?
Thanks.
Solved! Go to Solution.
06-01-2009 01:53 AM - edited 06-01-2009 01:53 AM
Hi
You can update the Slider Upper and lower limits using "Scale.Ranges" Property of slider
Hope this helps
Regards
Santosh
06-02-2009 10:42 AM - edited 06-02-2009 10:43 AM
Hi Rainbow_Warrior,
SanRac has a great suggestion. I have attached a VI and screenshot demonstrating what he is talking about.
Kristen H.
06-02-2009 09:59 PM
Hi Kristen,
Thanks a lot for your efforts.Your VI was made in a newer version than the one I have (8.5) so I couldnt open it, but the jpg made it clear what I have to do. Thanks again.