LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

clockwise - anticlockwise movement of needle

Hello Sir/ Madam

   I can minimize the speed of needle ,
My guage is just like a clock.... i.e. 1 to 12
But my readings are 1-15
Means after 12 it is 1-2-3 respectively..

And my query is upto 12, needle must be moved in clockwise direction for whatever readings are there .......
and after 12 , it moves anticlockwise direction or whatever readings are there??


How it is possible...?

Because now needle moves according to the readings means if current reading is less than previous reading then it moves anticlockwise direction

And if current reading is greater than previous reading then it moves clockwise direction........

How to feed any condition to that needle?


0 Kudos
Message 1 of 21
(4,171 Views)
Hi ashwinile…,
the gauge shows only what you connect to it! Try this. Is it what you need?
 
 
Mike


Message Edited by MikeS81 on 06-06-2008 11:04 AM
0 Kudos
Message 2 of 21
(4,165 Views)
Goldberg Alert!
 
How about just using the Quotient and Remainder function?

___________________
Try to take over the world!
Message 3 of 21
(4,156 Views)
Hello Mike,

It is EXCELLENT, but it is usefull for changing the 13 into 1 , 14 into 2.... it is not usefull for clock wise direction and anticlockwise direction
of needle according to the reading.
 my condition is that if number is less than 12 then needle must move in clockwise direction from 0 to perticuler reading.
but if nuber is greater than 12 then  needle must move in anticlockwise direction from 0 to corresponding reading....

Is it possible to give the needle control according to this  condition?

in ur provided logic what happens::

if current reading is 2 then it moves clockwise from 0 to 2
now if i put 10 as current reading means previous is 2 then it moves clockwise from 2 to 10.....

now i put again 2 as current reading means previous is 10  then it moves anti-clockwise from 10 to 2.....

but i want above condition
is it possible?????


Regards,
Ashwini Lele


0 Kudos
Message 4 of 21
(4,150 Views)

Hi Ashwini Lele,

what is "corresponding reading" if the value is greater than 12??

Mike

0 Kudos
Message 5 of 21
(4,141 Views)
Hello Mike,

corresponding reading means 13 as 1 , 14 as 2 ,.......if reading is 15(means greater than 12) then needle moves upto 3 from 0 in anticlockwise direction

is it possible.?
if reading is 3(not greater than 12) then it moves from 0 to 3 in clockwise direction.???/
0 Kudos
Message 6 of 21
(4,139 Views)

Hi Ashwini Lele,

i think i don´t fully understand it, but try this.

Mike

0 Kudos
Message 7 of 21
(4,136 Views)
Thank you very much...........

You solve my problem.............

Regards,
Ashwini Lele

0 Kudos
Message 8 of 21
(4,129 Views)
Hello Mike,

I send u one attachment .
Just see and tell me what happen in that and why?
0 Kudos
Message 9 of 21
(4,082 Views)
Hi ashwinile…,
i see two gauges. Smiley Happy
One shows the "real" values and the other one shows the result of "abs(real values-12)".
Why do you ask this?

Mike

Message Edited by MikeS81 on 06-07-2008 10:59 AM
0 Kudos
Message 10 of 21
(4,072 Views)