View Single Post
  #1   Spotlight this post!  
Unread 05-02-2009, 13:24
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
Can't read encoders

My hardware setup works with the Encoder Example that came with FRC LabVIEW, so hardware is not the issue in this case.


Here is where I open the encoder (in begin). I created a "drive encoders" struct, but I don't think that should be the problem, as I am unbundling it.


Here is where I read from the encoder (In periodic tasks)


I tried it both with and without the shift registers for the encoder. The LabVIEW encoder example does use shift registers, though I don't know why since I don't think the "get" vi modifies the Device Reference.

Thank you.
Reply With Quote