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
Highlighted

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
(383 Views)
Highlighted

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 LV2011SP1 + LV2017 (+LV2020 sometimes) on Win10+cRIO
0 Kudos
Message 12 of 41
(369 Views)
Highlighted

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

0 Kudos
Message 13 of 41
(345 Views)
Highlighted

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

0 Kudos
Message 14 of 41
(344 Views)
Highlighted

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 LV2011SP1 + LV2017 (+LV2020 sometimes) on Win10+cRIO
0 Kudos
Message 15 of 41
(339 Views)
Highlighted

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

0 Kudos
Message 16 of 41
(342 Views)
Highlighted

Hi Neha,

 

what's your problem?

check.png

You just need to adjust the scale of the dial…

Best regards,
GerdW

using LV2011SP1 + LV2017 (+LV2020 sometimes) on Win10+cRIO
0 Kudos
Message 17 of 41
(337 Views)
Highlighted

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
(321 Views)
Highlighted

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 LV2011SP1 + LV2017 (+LV2020 sometimes) on Win10+cRIO
0 Kudos
Message 19 of 41
(314 Views)
Highlighted

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!

Message 20 of 41
(299 Views)