Go to Post Baker, Skierkeiwicz, one more word out of you two and I'll have to pull out the Clipboard of Doom :p - Jessica Boucher [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 03-02-2015, 17:46
Shore1908bots Shore1908bots is offline
Registered User
FRC #1908
 
Join Date: Jan 2015
Location: United States
Posts: 1
Shore1908bots is an unknown quantity at this point
Exclamation MA3 Analog Encoder Labview

I am trying to use the encoder which is wiried to the Talon SRX to stop a motor at certain positions but don't know where to start in the program. Any ideas?
  #2   Spotlight this post!  
Unread 03-02-2015, 17:56
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,125
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: MA3 Analog Encoder Labview

Quote:
Originally Posted by Shore1908bots View Post
I am trying to use the encoder which is wiried to the Talon SRX to stop a motor at certain positions but don't know where to start in the program. Any ideas?
Post a picture showing how it is wired.


  #3   Spotlight this post!  
Unread 03-02-2015, 18:37
ozrien's Avatar
ozrien ozrien is offline
Omar Zrien
AKA: Omar
no team
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2003
Location: Sterling Heights, MI
Posts: 549
ozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond repute
Re: MA3 Analog Encoder Labview

Since the encoder is wired to the Talon I assume your using CAN and the Talon's have the 5V Analog Breakout (or something similar).

I'm not sure if you're goal is to...
1-servo the motor's position using a closed-loop
2-just make the motor stop at a certain limit (soft-limit)
3-or if you want to grab the analog position yourself and decide to change the Talon's throttle.

Checkout the Talon SRX Software Reference manual for all three.
For 2 checkout Section 8 Soft.limits. and section 7 selecting the feedback device.
For 3 checkout section 5.
For 1 you'll have to read up on several sections including selecting the sensor, specifying the closed-loop params, reversing the sensor if need be.

Be sure to update your Talon to firmware 1.4
Closed Thread


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 02:15.

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