|
Re: Keeping track of Encoder Shaft Location using WPI Counter VI
I am not not sure why, may be my inexperience with LAB View..
I fully understand the states I need... even if I create a state machine, my problem is I can not properly keep track of Previous Count...
I played with a 3 state machine, end up with same problem, not keeping previous count properly... Suggestion of wiring two shift registers may work, but I played with this, still can not get it to work properly on reverse.. when needing to subtract from previous count
Can you please give example code, I can not move forward programing/calibrating the extension arm until I can properly keep track of previous count and subtract when reverse/retract button pressed...
Will appreciate help, a lot of time and still can not subtract properly when needed...
Thanx... Mark
|