|
Re: Encoder trouble
Flameouts Mentor here,
Our wiring is correct and sound, as is the condition and installation of the encoders themselves.
We currently appear to have a good reading from the right encoder and for the left we get a flat 0. Perhaps more of an error condition? I have not been able to find any sign of an error thrown by any of the encoder vis.
I note in the first block (from the begin vi) of code flameout posted that neither of the encoders are set for reverse. Could this cause an error?
It really does not matter how we are viewing the output of the encoders, the posted code shows how we first initialise the encoders then how we read them. Can someone comment on the correctness of this code?
|