Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   LabVIEW CAN issue (http://www.chiefdelphi.com/forums/showthread.php?t=143995)

_Melon 16-02-2016 20:34

LabVIEW CAN issue
 
We are having a stuttering issue on our robot this year. In our CAN loop, we only have the RoboRIO, two Talon SRXs, the Pneumatics Module, and PDB.

Whenever I press the button to activate the one of the Talons, the lights on the Talon rapidly flash between green and orange. The flashing is so rapid, it makes it quite hard to see. This is indicating that the Talon is getting a signal. I ran a simulation in LabVIEW with probes in the appropriate places (the button output wires and the orange wire going into the "Set Speed") and all the values are staying consistent.

I am at a loss as to what the issue is. Any help or example Talon SRX CAN code would be appreciated.

Thanks!

ozrien 16-02-2016 22:59

Re: LabVIEW CAN issue
 
Quote:

Originally Posted by _Melon (Post 1541439)
I am at a loss as to what the issue is. Any help or example Talon SRX CAN code would be appreciated.

Did you read the product's documentation and examples on the manufacturer's website?

Robodragons4630 20-02-2016 17:09

Re: LabVIEW CAN issue
 
I am having the same problem it will stutter and then all of a sudden it will go solid orange and then go back to green/red and orange blinking. Could this be a CAN firmware issue?

Alan Anderson 20-02-2016 23:41

Re: LabVIEW CAN issue
 
Quote:

Originally Posted by _Melon (Post 1541439)
Whenever I press the button to activate the one of the Talons, the lights on the Talon rapidly flash between green and orange.

That's a good description of the results of a common programming error. It's likely that you have two different places in your code setting the Talon's speed, and one of them is setting it to zero while the button is trying to set it to run forward.


All times are GMT -5. The time now is 04:22.

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