08-28-2009 10:18 AM
08-28-2009 10:22 AM
08-28-2009 10:34 AM
08-28-2009 10:36 AM - edited 08-28-2009 10:36 AM
08-28-2009 11:27 AM
08-31-2009 11:59 AM
Hello d.w.b.,
I think that I understand the behavior of the knob that you wish to see. I have attached an example VI which, at first, has a range of 0-10. Whenever it rolls over 10, or 0, it dynamically changes the range to increment or decrement by 10, depending on which direction you are turning the knob. Forgive me for not having the time to clean up the code more.
As our friends in this forum have already pointed out, you can use the Value Change event in order to perform this functionality, which is exactly what I did. From there, it is just a case of logic to tell when the knob rolls over, and which direction it was moving when it rolled over, and using property nodes of the knob in order to change the range.
Try it out and let me know if you have any questions!
08-31-2009 01:20 PM - edited 08-31-2009 01:21 PM
Here's a very old example (ca. 2004) that might give you some ideas. (TrimKnob.vi)
Of course you would want to wrap all this into an xcontrol. 😄