Go to Post My suggestion is to first focus in on your drive base. Get it running, and drive it into the ground and see what breaks. Then fix it. Rinse wash and repeat. - Andy A. [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 16-02-2016, 20:34
_Melon _Melon is offline
Registered User
FRC #4050
 
Join Date: Feb 2016
Location: Pennsylvania
Posts: 1
_Melon is an unknown quantity at this point
Question 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!
Reply With Quote
  #2   Spotlight this post!  
Unread 16-02-2016, 22:59
ozrien's Avatar
ozrien ozrien is offline
Omar Zrien
AKA: Omar
no team
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2003
Location: Sterling Heights, MI
Posts: 521
ozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant future
Re: LabVIEW CAN issue

Quote:
Originally Posted by _Melon View Post
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?
Reply With Quote
  #3   Spotlight this post!  
Unread 20-02-2016, 17:09
Robodragons4630 Robodragons4630 is offline
CHS Robodragons Programming
AKA: Noah Jarnigan
FRC #4630 (Robodragons)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2014
Location: Clinton, Tennessee
Posts: 15
Robodragons4630 is an unknown quantity at this point
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?
Reply With Quote
  #4   Spotlight this post!  
Unread 20-02-2016, 23:41
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: LabVIEW CAN issue

Quote:
Originally Posted by _Melon View Post
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.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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