Go to Post I was surprised how easily Mike hoisted me off the ground. I'm nearly 250 pounds and he lifted me up like I was a soccer ball! :ahh: - Koko Ed [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Spotlight this post!  
Unread 05-02-2009, 13:27
intellec7's Avatar
intellec7 intellec7 is offline
108 programmer
AKA: Gustavo
FRC #0108 (SigmaC@ts)
Team Role: Programmer
 
Join Date: Sep 2005
Rookie Year: 2006
Location: Hollywood, Florida
Posts: 65
intellec7 is on a distinguished road
Send a message via AIM to intellec7 Send a message via MSN to intellec7
Re: Can't read encoders

Haha. Three seconds after posting I realized that I'm "overwriting" the Left encoder device reference with the wrong pins (the ones of the left encoder) as is clear from the first picture. Now it works!

If anyone could clear up the shift register question, I'd appreciate it.
--
EDIT
It looks like I'm not reading the proper encoder velocity -- not even in the example. No matter how many samples I average or what I set the minimum rate to, at slower speeds, I read +/- 83333.3 (depending on the direction) If I speet it up, the numbers change. I can't tell whether they are accurate or not, though.

If it is relevant, I'm doing quadrature decoding and am using an NXT motor, which produces 720 quadrature transitions per rotation (180 rising pulses on a single channel per rotation).

I am using the latest cRIO image and LabVIEW edition.
--
EDIT 2
This symptom only occurs when doing 4x decoding, and not 2x or 1x. I did read about something similar before, but I can't recall where.

Last edited by intellec7 : 05-02-2009 at 13:45. Reason: Additional Question
Reply With Quote
 


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
[FTC]: FTC read encoders vi Jim.D FIRST Tech Challenge 8 26-12-2008 23:42
can't pay registration? READ THIS PhillyRobotics General Forum 5 13-06-2002 17:39
'read' posts that arent read mike o'leary CD Forum Support 4 10-06-2001 11:29


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

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