LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I need to use a 3 way switch in labview

Solved!
Go to solution

I need to limit the 3 points (1,2,3) in a semicircle on right side with the topmost position being 3, middle position as 2 and down most position as 1. Can this be done using only properties? I am not able to do it.

0 Kudos
Message 11 of 41
(1,463 Views)

Hi Neha,

 

where did you get that control from?

Did you create it on your own?

Do you even know what you are using in your VI?

(Btw. what's the point of this case structure? It's pure Rube-Goldberg…)

 

You use a picture ring control here: when you want a special behaviour then you need to implement that behaviour in code.

(I advise not to use this picture ring. What's wrong with the slider approach?)

 

Btw. why did you create one two more threads for the same problem? Please keep related discussions in one thread!

 

I need to limit the 3 points (1,2,3) in a semicircle on right side with the topmost position being 3, middle position as 2 and down most position as 1.

Use a slider control, set the range to 1…3 and set it's scale to 1 (lowest) and 3 (top):

check.png

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 12 of 41
(1,449 Views)

Actually I need to use knob only for visual purpose in my project.

0 Kudos
Message 13 of 41
(1,425 Views)

It is present in labview in numeric control -> dial.

0 Kudos
Message 14 of 41
(1,424 Views)

Hi Neha,

 


@Neha987 wrote:

Actually I need to use knob only for visual purpose in my project.


So what's your problem to use a knob/dial indicator?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 15 of 41
(1,419 Views)

I am attaching an image of the knob which I need. It should slide up and slide down.

0 Kudos
Message 16 of 41
(1,422 Views)

Hi Neha,

 

what's your problem?

check.png

You just need to adjust the scale of the dial…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 17 of 41
(1,417 Views)

Could you please brief what should be changed in scale? When I am changing it its coming with 120 degrees difference between the 3 buttons.

0 Kudos
Message 18 of 41
(1,401 Views)

Hi neha,

 

move the mouse pointer over the dial scale until it changes into a symbolic scale. Then you can move the endpoints of the scale.

I guess this is described in the LabVIEW help...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 19 of 41
(1,394 Views)

I find it much easier to manipulate the dial with properties nodes than trying to find the correct pixel to hover the mouse over to get the right cursor so you can finally click the mouse only to have the mouse shift as you click and miss. It can be frustrating at times... maybe I need a better mouse. LOL

 

image.png

 

The Min and Max values can be changed either through the properties or directly on the FP.

The data type has to be changed through the properties.

Once you have the dial all set up the way you want, you can then delete the code. The dial will maintain it's properties.

Hope this helps!

---------------------------------------------
Certified LabVIEW Developer (CLD)
There are two ways to tell somebody thanks: Kudos and Marked Solutions
Message 20 of 41
(1,379 Views)