Go to Post I never said there was anything wrong with the kit frame, simply that it was weak. - Viper37 [more]
Home
Go Back   Chief Delphi > Technical > Control System > FRC Control System
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 08-02-2010, 23:56
joecap5 joecap5 is offline
Registered User
FRC #0181
 
Join Date: Jan 2008
Location: Hartford, CT
Posts: 6
joecap5 is an unknown quantity at this point
Encoder Assembly and Code

I'm having trouble getting the E4P US Digital encoders to work.

I hooked them up the same way we did last year but I'm unable to get any distance or rate reading in Labview.

I'm wondering if I put the encoders together correctly. The instructions say to install the code wheel with the pattern side down. I took the patter side to mean the side of the flat disk with the 4 notches in it. The pictures show this side up though. Could someone clarify this for me?

This may not resolve my entire problem though but it would be a start.
I hooked up last year's E4P encoder. This encoder did work last year but doesn't with this years set up.

I believe I'm using the encoder code correctly. I basically copied and pasted it into the main vi. I also tried in the teleop vi. I got them to deploy correctly but neither way detected any movement of the encoder.

I also tried deploying just the example encoder vi but that didn't work either.
The input is set as 4x. I am choosing the correct slot and DIOs. I've tried various DIOs. The encoder wires are going to the correct locations.

My only thought is that the sidecar is busted.

Anyone have any thoughts about what I'm doing wrong or what else to try?

Thanks
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Encoder Code dboisvert C/C++ 11 20-01-2011 18:57
Encoder Code Kevin Watson Programming 47 18-02-2008 12:56
Assembly code in C? red_alert_13 Programming 3 21-07-2005 15:01
Combined Camera and PID/Encoder Code Terry Sherman Programming 1 14-03-2005 17:59
Assembly Code Venkatesh Programming 1 18-11-2003 17:39


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

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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