View Single Post
  #2   Spotlight this post!  
Unread 26-01-2015, 16:53
Michael U Michael U is offline
Programmer
FRC #2980
Team Role: Programmer
 
Join Date: May 2013
Rookie Year: 2012
Location: Oak Harbor WA.
Posts: 15
Michael U is an unknown quantity at this point
Re: Encoder Code on a PG motor

National Instruments provides example code for reading encoders. To find the code, open LabView and go to Help, and click "Find Examples." The NI example finder should open up. Now, click "Search" and enter "encoder" into the search bar and click search. Now, find the example "Motor with Encoder.lvproj." Double click this. The resulting code that opens up should give you a solid base to start coding your encoders. Good luck!
Reply With Quote