Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   MA3 Analog Encoder Labview (http://www.chiefdelphi.com/forums/showthread.php?t=133925)

Shore1908bots 03-02-2015 17:46

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?

Ether 03-02-2015 17:56

Re: MA3 Analog Encoder Labview
 
Quote:

Originally Posted by Shore1908bots (Post 1437851)
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.



ozrien 03-02-2015 18:37

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


All times are GMT -5. The time now is 01:42.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi