Go to Post I'm sure there are many people out there who check their rep screen every 20 minutes in hope of positive reinforcement in a unique community, where they may not get positive reinforcement for sharing information in their home, school, or robotics program. - Eugenia Gabrielov [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rating: Thread Rating: 3 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 26-01-2015, 16:32
Bluejackets's Avatar
Bluejackets Bluejackets is offline
Bluejacket Robotics
FRC #5464 (Bluejacket Robotics)
 
Join Date: Dec 2014
Rookie Year: 2015
Location: Cambridge Isanti HS
Posts: 117
Bluejackets is a splendid one to beholdBluejackets is a splendid one to beholdBluejackets is a splendid one to beholdBluejackets is a splendid one to beholdBluejackets is a splendid one to beholdBluejackets is a splendid one to beholdBluejackets is a splendid one to behold
Encoder Code on a PG motor

Our team is new to encoders and looking for much needed help. Does anyone have some sample code using Labview to make this encoder work. We are tying to use an encoder to be able to see and/or tell the position of our single swerve drive motor which drives our robot.

Any help would be greatly appreciate. Here is the part number we are using.

Motor and Encoder (am-2971)
Reply With Quote
  #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
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 01:48.

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