View Single Post
  #6   Spotlight this post!  
Unread 03-02-2016, 14:04
Cecil's Avatar
Cecil Cecil is offline
Registered User
AKA: Alex Hummel
FRC #2010 (Lightning Bots)
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2006
Location: Champion
Posts: 343
Cecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to behold
Re: Need help, talon srx labview coding

Quote:
Originally Posted by pribusin View Post
Without confirming with our programmers, I believe your motor constants are not correct in Begin.vi. Instead of '0', '1', ours read 'PWM0', 'PWM1' etc. from a drop-down list-box constant. The number corresponds to the CAN ID of the talons. Best way I found to do a constant is to right-click the input terminal of the vi and select 'create constant'. That way you're ensured that the correct type is created.
This is correct if you are using PWM, but for CAN Talons, the constants will be just a number.

Quote:
Originally Posted by Team5860-Alex View Post
1) CAN
2)We have 8 total mcs wired but cant even get that single motor code to work
3) we dont have any motors mapped to buttons but another joystick instead
4) https://www.dropbox.com/sh/xkx3czbkt...3DNXCvWsa?dl=0

Have you gone through and given each Talon a unique ID through the RoboRIO webpage? They may all still have the default ID set. From what I can tell, your code looks good and should do what you want it to.
__________________
I'm right 90% of the time, so why worry about the other 3%?