|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Encoder Help
Hello, this year our team is using this encoder to measure our robot's movement.
http://usdigital.com/products/encode...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? |
|
#2
|
|||||
|
|||||
|
Re: Encoder Help
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. Last edited by Mark McLeod : 10-02-2015 at 07:22. |
|
#3
|
|||||
|
|||||
|
Re: Encoder Help
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?
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|