LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Customizing a numeric slider's digital display's increment buttons.

Using LabVIEW's "Edit >> Customize Control..." editor, I can enlarge the increment buttons on a regular numeric control, but I can't when that numeric control is a "digital display" of a slider.

Is there a way to do that? The only way I know to do this is to have a separate numeric control and synchronize it with the slider programmatically. But that makes for some really complex code sense I'm heavily using this slider's events.
0 Kudos
Message 1 of 15
(5,290 Views)
When you are in the control editor (and in edit mode - wrench visible) for the slide, right click on the numeric control and select customize for that.
0 Kudos
Message 2 of 15
(5,289 Views)
The "Customize" menu item in that context is disabled; see the attached screenshot.

Any clues on how to enable that?
0 Kudos
Message 3 of 15
(5,278 Views)

Dennis wrote "... and select customize for that. "

Which I know worked in LV 6.0 and prior but in later versions NI shutdown the ability to customize while customizing.

To get around that issue, you have to to do the second custmization first, save it as a custom control, THEN go back to the orignal control and replce the sub-control you wanted to customize.

That probably not very clear. Smiley Tongue

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 4 of 15
(5,279 Views)
Well, that sucks. It still worked in 7.1 without going through the extra step.
0 Kudos
Message 5 of 15
(5,272 Views)
You described that well, but it doesn't seem to work here. Please try it with the two attached Strict Typedef controls....

The slider's digital display never seems to inherit the numeric control's larger increment buttons.
0 Kudos
Message 6 of 15
(5,268 Views)
Oops, here's the numeric control...
0 Kudos
Message 7 of 15
(5,267 Views)

I had to check this out because I thought I could still do it.

1) You should save your typedefs as normal controls for this exercise. You can not replace the digital control with a typedef.*

2) There is an odd bug in the

Advanceed >>> Customize

select index control

pop-up >>> Replace

IF

the control had previously been customized in a similar fashion with the index control being replaced by a slider!

Once you do this, my previously outlined convoluted procedure no longer works. It just gets stuck. I'm going to call this an esoteric bug and report it for investigation.

Thanks for the fun,

Ben

 

* This makes sense to me because if you changed the datatype of your typedef, the control would have to change. If you notice in the pop-up of the digital control, you can not select the data representation. So to avoid this cyclic data representation issue, the datatype of the digital control can not be set explicitly. Therefore not typedefs and like-wise strict-typedefs.

Message Edited by Ben on 11-29-2006 05:33 PM

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Download All
Message 8 of 15
(5,252 Views)
Your workaround to that bug solved my problem. Thanks!
0 Kudos
Message 9 of 15
(5,235 Views)
Hey Ben,
    Have you already submitted that "esoteric bug" for investigation, or do I need to pull it from here and file it?  I don't mind either way, just want to make sure it gets reported to R & D. 


Brian B
Account Manager
National Instruments
0 Kudos
Message 10 of 15
(5,207 Views)