Check out the Talon Software Reference Manual.
http://www.ctr-electronics.com/talon...ical_resources
Some key sections....
Section 7.3 for selecting the sensor.
Section 5.3 for getter functions.
Section 12 for closed-looping using the internal PIDF loop inside Talon firmware.
Section 13 for setting/changing the sensor position.