Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Encoder Help (http://www.chiefdelphi.com/forums/showthread.php?t=134256)

Potatoes 09-02-2015 19:33

Encoder Help
 
2 Attachment(s)
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?

Mark McLeod 09-02-2015 19:38

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.

Alan Anderson 09-02-2015 22:13

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?


All times are GMT -5. The time now is 10:24.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi