LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to take event of knob control(Not wheel but numeric control which is present besides knob) - Urgent

HI all

 

I am using the knob conrol in 2012 wherein in knob control we get one numeric control also by default.We can enter numeric value in that control and then the knob is set to that value.

My problem is , for entering the value in that numeric control of knob(rather than setting the value from knob itself) i want to call my keypad VI as this is my touch screen VI.

But i am not able to take event seperately for that numeric control of knob. Keypad VI is getting called even if i am trying to change value from knob.(by rotating the wheel)

BUt i want keypad to get populate only if i want to enter value in numeric field.

Is there any specific way to capture that event?

I hope i have explained my issue properly.

 

What i was thin king was hiding that numeric control and taking other numeric control instead of that and take event on that numeric control to call keypad. IS this the best possible way?

Any help will be appreciated. Its quite urgent

0 Kudos
Message 1 of 4
(2,800 Views)

Hi LV User,

 

using a separate numeric control next to your knob is surely one way to go. Might be quiet easy, too.

 

Other option would be to detect mouse-clicks on your knob control and then determine (by it's position) which part of the knob control (wheel or numeric control) is selected...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 4
(2,793 Views)

HI GredW,

 

So what i was thinking is correct...we cannot take the individual event for the numeric control for the knob!!!!

So if I am thinking to take another numeric control to enter value for knob using keypad , that value should again get dispalyed on the wheel also(after entering...)

So for that again we have to develop another logic if I am not wrong.As the numeric which is associated with knob is not supporting this , I have to this extra piece of coding. Am i right?

0 Kudos
Message 3 of 4
(2,776 Views)

Hi LV,

 

yes, both ways I mentioned before require some coding...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 4
(2,766 Views)