Go to Post GDC.... Come on. Counter-clockwise? ... I believe NASCAR might file a lawsuit! - Pavan Dave [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rating: Thread Rating: 13 votes, 4.69 average. Display Modes
  #1   Spotlight this post!  
Unread 08-02-2011, 11:13
davidthefat davidthefat is offline
Alumni
AKA: David Yoon
FRC #0589 (Falkons)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2010
Location: California
Posts: 792
davidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud of
Re: Java Encoder Problem

Quote:
Originally Posted by java4first View Post
Thank you for the code snippets ... I'll defer on the topic of arrays for now.

But, I wondered if the encoders you are using are the Andy Mark ones we have and are planning to use:

US Digital E4P-250-250-D-D-D-B encoder am-0174
http://www.andymark.com/ProductDetai...ctCode=AM-0174

That will at least save me from wondering about code differences vs. hardware differences.

Thanks!
Stu
We are using the exact same ones
__________________
Do not say what can or cannot be done, but, instead, say what must be done for the task at hand must be accomplished.
Reply With Quote
  #2   Spotlight this post!  
Unread 08-02-2011, 22:02
CapnKernul CapnKernul is offline
Registered User
FRC #1515
 
Join Date: Feb 2011
Location: Beverly Hills
Posts: 3
CapnKernul is an unknown quantity at this point
Re: Java Encoder Problem

Our team ran into the same exact problem. For some reason, the FPGA counting mechanism doesn't work right. Instead of using the CounterBase.EncodingType.k4X encoding type, try CounterBase.EncodingType.k1X instead. Worked for us.

Good luck!
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


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

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