Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Talon SRX Labview Coding (http://www.chiefdelphi.com/forums/showthread.php?t=142821)

Coach Seb 30-01-2016 16:30

Re: Talon SRX Labview Coding
 
Quote:

Originally Posted by ozrien (Post 1532582)
It sounds there is something in your LV app that is referencing PWM. Maybe the default ArcadeDrive control is still referenced somewhere. Or some test code somewhere. This is why I suggested using the known-working-example first to determine the root-cause of the first issue you mentioned. It sounds like there are multiple problems.

If you post a screenshot, that might help determine what the PWM error is about.

I have an identical program to the one posted and the driver station has more errors
https://www.dropbox.com/s/kapsr1jv6g...83%29.png?dl=0

Mark McLeod 30-01-2016 16:37

Re: Talon SRX Labview Coding
 
Quote:

Originally Posted by Coach Seb (Post 1532384)
yeah but we have a CAN network not PWM, how would you change that?

The same way you did in your example.
Change the drop down selection under Open 4 motors to "CAN Talon SRX"

Coach Seb 30-01-2016 16:44

Re: Talon SRX Labview Coding
 
Quote:

Originally Posted by Mark McLeod (Post 1532594)
The same way you did in your example.
Change the drop down selection under Open 4 motors to "CAN Talon SRX"

yeah but just to the left of default code is pwm port numbers...

Mark McLeod 30-01-2016 16:46

Re: Talon SRX Labview Coding
 
Those become CAN IDs after you've selected "CAN Talon SRX"
You have to delete the old PWM constants, then Create->Constant to replace them with the new CAN IDs.


All times are GMT -5. The time now is 20:07.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi