LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I change the scroll rate of a control

I need the control to scroll at a faster rate than what Labview provides.
How can I change this to make the control (with up/down arrows) scroll faster without holding the shift key down and while maintianing the same increment step size.
 
Message 1 of 6
(3,134 Views)
If you really want to go above and beyond what LabVIEW gives you, you'll probably have to program it yourself. The best way to implement custom functionality for your controls is by using Event Structures. You could, for instance, hide the regular Increment/Decrement arrows for your control and replace them with custom controls that look the same. Then register for Mouse Down events and increment the control value as fast as you want in that event case. The only difficulty comes in when you need to have multiple such controls, or if you want to package them from one app to another.

If you want a completely self-contained function that does it all and doesn't require specific block diagram implementation, you probably want XControls. XControls allow you not only to change a control's appearance but also its functionality. The end result would be a reusable control that would look and behave however you want, but wouldn't require any block diagram code from the target application. XControls, I would warn you, can be a bit advanced. Your first is the hardest. After that it sinks in 😉

XControls are available for LabVIEW 8 Professional Development System and higher.

Jarrod S.
National Instruments
Message 2 of 6
(3,115 Views)
Thanks Jarrod.
0 Kudos
Message 3 of 6
(3,112 Views)
Check out the links on the following posting.
I seem to remember some usefull stuff similar to what you indcate you need. Perhaps a bit simpler than XControls.

here
http://forums.ni.com/ni/board/message?board.id=170&message.id=161749

0 Kudos
Message 4 of 6
(3,100 Views)
Customizing controls changes their appearance, but it has a very limited effect on functionality. That is the driving force behind the adoption of XControls. The good news about XControls is that you get to program them in LabVIEW code. The other side of it is that you have to keep a few things in mind to communicate information about the control state effectively with LabVIEW.

If anyone's curious, check this link out.
Jarrod S.
National Instruments
Message 5 of 6
(3,080 Views)
Yes I was curious, I have now read and understood (well I think), thanks that's a good link on XControls. Yes I agree the abilitys of custom controls are an issue....of course I still use older versions of LabVIEW as well (I still have the odd LabVIEW 3 application in the field).

I think that taking some of the ideas from what I remember of the links I gave in the posting and combining it with Xcontrols will make even better controls.

All I have to do now is hack it all together...

Thanks for leading the horse to water.. lets see if it will drink ehhh Smiley Wink
0 Kudos
Message 6 of 6
(3,067 Views)