LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

clockwise - anticlockwise movement of needle

Hello Mike,

I have some confusion....Smiley Indifferent

1) these two gauges are same have same property but difference is that upper one has absolute value(abs(-12))  and lower  has  not   ....
thats why lower one moves  anticlockwise which i want but  the input to the gauge is 2 it shows on gauge 10.
for that issue i  subtract the input(2)  to 12  which gives me -10 so i change it to 10.

but when i add this logic to it,  it is not working as anticlockwise it changes to clockwise.......

why it is possible???

2)needle movement is totally depend on  our logic or its on  scale propety....??
if it is on scale property
 and my readings are 0,2,10,6

then it moves as 0 to 2 clockwise then 2 to 10 clockwise and then 10 to 6 moves anticlockwise.........
 can we change the movemment of 10 to 6 as clockwise.......?  or whole to anticlockwise,means 0 to 2 , 2 to 10 ,10 to 6 move anti clockwise......??


3)this needle movement can we control ?
Smiley Sad

Reagard,
Ashwini Lele




0 Kudos
Message 11 of 21
(1,549 Views)
Hi ashwinile…,
the gauge shows the value you connect to it. In your case it is a value which comes from an array. You set the direction of your needle with the ramp function. If you connect 2 to start and 10 to end then you get it clockwise, and if you connect 10 to start and 2 to end then you get it anti - clockwise. To understand what happens in your code, see the values of the array, which you connected to the for loop and then to the gauge.

Hope it helps.
Mike

Message Edited by MikeS81 on 06-07-2008 11:59 AM
0 Kudos
Message 12 of 21
(1,547 Views)
Thank you


i got it..........
0 Kudos
Message 13 of 21
(1,542 Views)
Hello Mike,

I got your point that gauge shows the value which I  connect to it.
but i want to use only upper part of the gauge(clock).

please see the attached image...............

In that image 9 tends to MIN (minimum) and 3 tends to MAX(maximum).
Pointer starts with 3 not 9..
When my reading are3, 11.3 10.3, 2,3
For that reading my direction is 3 to 11.3 should be anticlockwise ,,
and for 10.3 it should be anticlockwise


In short
MIN  to MAX should be clockwise....
and MAX to MIN  should be anticlockwise .

For that issue,  using your hint,I connct the 9(min) at starting point and 3(max) at end point of ramp pattern but it moves anticlockwise
How I change the direction(movement of) of needle without chnging the position of numbers on gauge.....................?
0 Kudos
Message 14 of 21
(1,499 Views)
Hi ashwinile… ,
count from 9 to 15 instead of 9 to 3 and use then the "Quotient & Remainder", as shown in an example before.
Mike
0 Kudos
Message 15 of 21
(1,496 Views)
Hello Mike
Sorry to disturb you again

Please see the attached image.
In that two meter reading one is on left side of center and other one is at right side
How to use one single image for two gauges?
Means left side image is different gauge and right side image is different gauge(logically different  but phisically it is single one)
How to custumize a single image for two gauges(labview gauges)???

Actually I use excle sheet readings so A colunm reading is for one gauge and B colunm reading is for second one
How I combine it to single gauge?


Regards,
Ashwini Lele
0 Kudos
Message 16 of 21
(1,480 Views)
It is possible to do this in a single control by replacing the digital display with another gauge, adding a needle, making the first needle transparent and then placing the digital display over the gauge, but it's probably better to just use two controls and make one transparent. You can change the scale as shown here.

___________________
Try to take over the world!
0 Kudos
Message 17 of 21
(1,467 Views)
Hello Tst,
I am not getting your point clearly..
How to make one gauge transperent and another one  not?

How is it possible to do in a single control by replacing the digital display with another gauge.
i m not geeting this point also

can you please send me example?

Regard,
Ashwini Lele
0 Kudos
Message 18 of 21
(1,463 Views)


ashwinilele wrote:
How to make one gauge transperent and another one  not?

Select the coloring tool, right click the gauge background and select T in the color dialog (in the top right corner).

___________________
Try to take over the world!
0 Kudos
Message 19 of 21
(1,454 Views)
Hello 
Please see the attached vi........
I am not able to move two needles at the same time  in that guage.....

Regards,
Ashwini Lele
0 Kudos
Message 20 of 21
(1,448 Views)