View Single Post
  #7   Spotlight this post!  
Unread 19-01-2017, 13:01
Jacob C. Jacob C. is offline
Engineer at CTR Electronics
FRC #4130 (The Blue Devils)
Team Role: Mentor
 
Join Date: Nov 2009
Rookie Year: 2009
Location: Richmond, MI
Posts: 21
Jacob C. is a glorious beacon of lightJacob C. is a glorious beacon of lightJacob C. is a glorious beacon of lightJacob C. is a glorious beacon of lightJacob C. is a glorious beacon of light
Re: Struggling with LabView and Talon SRX CAN

Quote:
Originally Posted by GrizBear View Post
I had this struggle because I wanted to open four motors for the mecanum drive. This is what worked for me:

Download the CTR SRX libraries.
Modify the open 4motor vi by replacing the open motors, with the open motors from the srx palette. Replace variable accordingly.

If you have any questions on the exact process, let me know, I'd love to help.
You should not have to modify any existing sub-VIs to have CAN Talon SRX work with the Open 2/4 Motor VIs. In fact, I would definitely recommend not doing these modifications unless you are extremely proficient in LabVIEW.

To use CAN Talon SRX with these multi-motor Open VIs, wire the output of the Talon SRX Open VI to the input of the Open 2/4 Motor VI when "Existing Motors" is selected from the drop-down. There is an example of this in our LabVIEW Simple Arcade Drive Example on GitHub.
__________________
FiM Volunteer
Since 2015: Controls Mentor for FRC 4130, The Blue Devils (Richmond, MI)
2009-2014: FRC Team 1718, The Fighting Pi

Full Disclosure: I am an Engineer for CTR Electronics
Reply With Quote