04-07-2015 03:18 PM - edited 04-07-2015 03:24 PM
Hi
I am inexperienced with labview and I need help.
One of the elements of my project has a ring magnet with many magnet poles. I rotate this manually and produce a digital input to my Mydaq (Hall Signal from Hall sensor).
The counter (which can only count up on the Mydaq) counts the pulses and I multiply the output by 9 to read the angle of rotation.
My project requires me to rotate the ring magnet forward and back.
How can I reduce the output angle when rotating backwards? i.e. create an up down counter.
With my limited knowledge, I tried using case structures and also shift registers, however I am unable to overcome the fact that the counter continues to count up when I change direction of rotation.
I have a trigger within my project to indicate change of direction
Please help......
Greg
04-07-2015 10:51 PM
04-08-2015 03:41 AM - edited 04-08-2015 03:52 AM
Hi Mike
I can use a second input from a second hall sonsor so I will attempt the system in the white paper.
Many Thanks
Regards
Greg
04-08-2015 10:02 AM
Mike/All
I am still stuck!
I am unable to determine the leading signal from the lagging signal.
Is it possible without the use of a counter? I only have one counter and it will only count up.
I have attached a file showing the input option that I have available to me
Help appreciated....
Thanks all
Greg
04-09-2015 07:56 AM
All
Is it possible to count input pulses without a counter function?
If I can do this, I can achieve all I need to achieve.
I would need to be able to count up and down
Please advise if this is possible
Regards
Greg
04-09-2015 10:13 AM
All
Got it sorted, I now am able to count up and down on two pulse signals....happy days!
Regards
Greg