05-23-2019 11:52 AM
This is my first year trying to program talon srx motor controls with the can bus connections. What I'm trying to do is get a gear box with 4 mini CIM's to lift an elevator we are testing but the motor controls keep blinking red/yellow or green/yellow depending on what button is being pressed. The way I'm programming it is by connecting the TalonSRX_Open.vi to a Registry Set.vi then I have Follow.vi used to connect the other 2 motors on the gearbox and programming it the same way you would a normal PWM channel like a Spark. Don't know if there is a special way to program the talons or not.
05-24-2019 05:45 PM
Thanks for using the National Instruments forums for FRC. I understand you intend to use the Following feature for your Talon SRX pairs. Since one of them is always flashing in yellow, I presume the follower is not being set correctly.
I would try the following snippet and see if it behaves correctly for you:
Remember you have to use the Phoenix tools for CTRE devices, as well as configure them using the Tuner software they provide.
You can also find more information regarding their functions in the documentation website they have provided: Welcome to Phoenix’s documentation!
All the best.