Take a look at the Talon SRX Software Reference Manual...
http://crosstheroadelectronics.com/control_system.html
Also the SRX User's Guide is worth checking out for wiring.
EDIT : Are you connecting encoders to the Talon SRX Data Port. Or are you just asking how to read encoders using the roboRIO I/O and use them that way?