Log in

View Full Version : Encoder Help


Potatoes
09-02-2015, 19:33
Hello, this year our team is using this encoder to measure our robot's movement.
http://usdigital.com/products/encoders/incremental/rotary/kit/E4P

We are having trouble programming it in LabView. Below are screenshots of our current code in begin and teleop, mostly just copied from the encoder example. It's not reading any values from the encoder, and we've double checked our wiring on the robot. Is this year's LabView different for encoders?

Mark McLeod
09-02-2015, 19:38
Does the original stand-alone example work with the encoder?
If that doesn't work, then you'll know it's not your code either.

Your code looks simple enough unless there are some unusual control values involved.

Alan Anderson
09-02-2015, 22:13
We can't see what values you have set the controls to on the front panel of Begin. Is there a reason you didn't make them constants instead of controls?