08-09-2023 10:35 PM
Hello.
Right now, I can adjust the slider, however is it possible to add a knob which depends on the value of the slider. Let's say the slider is at 7.5. Is it possible to adjust the knob such that the values can decrement to 7.49,7.48, 7.47...?
08-10-2023 12:52 AM - edited 08-10-2023 12:53 AM
Hi beginner,
@Programming_beginner wrote:
is it possible to add a knob which depends on the value of the slider. Let's say the slider is at 7.5.
Is it possible to adjust the knob such that the values can decrement to 7.49,7.48, 7.47...?
Yes.
Yes.
08-10-2023 01:12 AM
Do you want to add one more slider? - No
Do you want to adjust the increment in the data entry properties of the slider? - I don't know what you meant by that.
Where do you you want to place a "knob"? - Right beside the slider
Why should that be a "knob"? - To finely adjust the fileglobals variable. It's like a typical power supply with 2 knobs. One for the rough measurement, the other is to fine tune till a precise value.
08-10-2023 01:25 AM - edited 08-10-2023 01:25 AM
Hi beginner,
@Programming_beginner wrote:
Do you want to adjust the increment in the data entry properties of the slider? - I don't know what you meant by that.
Basic LabVIEW knowledge: Right-click any FP element to access it's property dialog. Numeric elements will present a "Data entry" tab within that dialog…
@Programming_beginner wrote:
Where do you you want to place a "knob"? - Right beside the slider
Why should that be a "knob"? - To finely adjust the fileglobals variable. It's like a typical power supply with 2 knobs. One for the rough measurement, the other is to fine tune till a precise value.
Then you need to place that additional knob next to your slider.
And you need to add code to handle the user actions on that additional knob…
What have you tried and where are you stuck?
Why don't you enable the numeric display of the slider so the user can input the exact value directly???
08-10-2023 01:43 AM
Seems simple enough.
Perhaps a knob won't be necessary after all. However, I will try to add a knob to act as a fine tuner or increment.
08-10-2023 01:57 AM
Hi beginner,
@Programming_beginner wrote:
However, I will try to add a knob to act as a fine tuner or increment.
Use a classic slider control: it comes with increment/decrement for free…
I still recommend to make the digital display visible for your slider!