Go to Post The world is run by those that show up... - AdamHeard [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
  #16   Spotlight this post!  
Unread 27-11-2013, 02:34
kelsey.m kelsey.m is offline
FRC 4928
FRC #3562 (Arabian Knights)
Team Role: Coach
 
Join Date: Sep 2013
Rookie Year: 2007
Location: Buhl, Idaho
Posts: 26
kelsey.m is an unknown quantity at this point
Yes to everything now. We originally did not have the digital sidecar wired but do now. It doesn't see to have changed anything... our talons are LEDs are blinking fast. One is blinking orange and one is alternating orange/red. We've attempted to recall rated but it didn't respond. If the robot is not responding to joysticks (although we can see the cRIO. recognizes them via test mode) - can it still calibrate?

More ideas please!!
__________________
6358 Buhl High School
3562 4H LiveWire Robotics
4928 Arabian Knights
3456 LiveWire
Reply With Quote
  #17   Spotlight this post!  
Unread 27-11-2013, 08:18
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,756
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Reimaging the cRIO - Help!

The Talon and other speed controllers must receive PWM signals in order for calibration to work as intended.

The orange blink means that the controller isn't receiving a PWM signal.

Can you enable the robot? When it is enabled, if the Talons continue to blink orange, it means an electrical wiring problem or wiring that doesn't match code is the most likely issue.

Again, I'd probably enable the robot in test mode, scroll down the test tab and review the channel numbers for each motor. Run the motors individually as you verify that PWM wiring matches what was opened in the code. If most of the PWMs do not work or work unreliably, you may want to verify that the cable between the digital module and digital breakout board is properly seated and working properly. There were cables in the kit last year I believe that had a reversed connector. Also verify that the blue breakout has its own power connected and its LEDs are bright. The PWM current is sufficient to drive a few motors, but cannot supply more than three at the same time.

Greg McKaskle
Reply With Quote
  #18   Spotlight this post!  
Unread 27-11-2013, 08:46
kelsey.m kelsey.m is offline
FRC 4928
FRC #3562 (Arabian Knights)
Team Role: Coach
 
Join Date: Sep 2013
Rookie Year: 2007
Location: Buhl, Idaho
Posts: 26
kelsey.m is an unknown quantity at this point
We definitely have lights on the digital sidecar at this point.
We can enable the robot but how do we run motors? Is it a function of the test view? And if so, do we need to make separate portions of code?
__________________
6358 Buhl High School
3562 4H LiveWire Robotics
4928 Arabian Knights
3456 LiveWire
Reply With Quote
  #19   Spotlight this post!  
Unread 27-11-2013, 08:46
rsisk's Avatar
rsisk rsisk is offline
The GURU Channel
AKA: Richard Sisk
FRC #2493 (Robokong)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Riverside, CA
Posts: 2,750
rsisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond repute
Send a message via MSN to rsisk
Re: Reimaging the cRIO - Help!

Quote:
Originally Posted by Mark McLeod View Post
...[*]Are the speed controllers separately wired for 12v from the PDP?[/list]
There is a PDP on board? There's your problem

On a more serious note, Mark meant the PDB, Power Distribution Board


__________________
Quote:
The views expressed are mine and should not be construed to represent the views of anyone else.
Reply With Quote
  #20   Spotlight this post!  
Unread 28-11-2013, 08:54
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,756
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Reimaging the cRIO - Help!

Page three of this tutorial -- https://decibel.ni.com/content/docs/DOC-26314 -- may help out.

The short answer is that if you open a resource in your code and register it by name, it will show up. If you select an actuator value in the table, a control will display allowing you to modify the value. Motors are somewhat dangerous, so they utilize a momentary enable button. This means, you select, then set the desired speed, then click and hold the enable button for as long as you want the motor controller to be sent that value. Other actuators don't require the enable button.

If this doesn't work, please describe what it does do to the LEDs, etc. And don't forget to enable the robot on the driver station.

Greg McKaskle
Reply With Quote
  #21   Spotlight this post!  
Unread 04-12-2013, 09:46
kelsey.m kelsey.m is offline
FRC 4928
FRC #3562 (Arabian Knights)
Team Role: Coach
 
Join Date: Sep 2013
Rookie Year: 2007
Location: Buhl, Idaho
Posts: 26
kelsey.m is an unknown quantity at this point
Re: Reimaging the cRIO - Help!

Okay, still no movement from the joysticks...
We're starting to worry that we've missed something really basic. We've been reading/watching various tutorials but haven't stumbled across any solutions yet.

Following everything we're reading about the test function and no response.

- Are we correct that we can pull up default code, input our IP address, change jaguars to talons and download? Or is there something else critical that needs to happen?

- All updates are installed on the computer

- The cRIO is now imaged

- The talons are still fast blinking orange on one and red/orange alternating fast blinks on the other. We attempted to calibrate and didn't observe any change (it didn't give the red error or green success, just kept with the fast blinking).

- The test mode lets us see that it is measuring joystick movement, just the robot doesn't respond...

Again, thanks so much for any advice and input!
__________________
6358 Buhl High School
3562 4H LiveWire Robotics
4928 Arabian Knights
3456 LiveWire
Reply With Quote
  #22   Spotlight this post!  
Unread 04-12-2013, 10:52
wilsonmw04's Avatar
wilsonmw04 wilsonmw04 is offline
Coach
FRC #1086 (Blue Cheese)
Team Role: Teacher
 
Join Date: Dec 2006
Rookie Year: 2007
Location: Midlothian, VA
Posts: 1,888
wilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond repute
Re: Reimaging the cRIO - Help!

Quote:
Originally Posted by kelsey.m View Post
Okay, still no movement from the joysticks...
We're starting to worry that we've missed something really basic. We've been reading/watching various tutorials but haven't stumbled across any solutions yet.

Following everything we're reading about the test function and no response.

- Are we correct that we can pull up default code, input our IP address, change jaguars to talons and download? Or is there something else critical that needs to happen?

- All updates are installed on the computer

- The cRIO is now imaged

- The talons are still fast blinking orange on one and red/orange alternating fast blinks on the other. We attempted to calibrate and didn't observe any change (it didn't give the red error or green success, just kept with the fast blinking).

- The test mode lets us see that it is measuring joystick movement, just the robot doesn't respond...

Again, thanks so much for any advice and input!
Greetings,
We ran into this same problem last night. Try flipping your PWM's in your controller. Your issues may not be in code, but physical. If the PWMs are in backward you will be the symptoms you are describing
__________________
Currently: Coach FRC 1086/FTC 93
2006-2011 Coach FRC 2106/FTC 35
If you come to a FRC event to see a robot competition, you are missing the point.
Reply With Quote
  #23   Spotlight this post!  
Unread 04-12-2013, 11:29
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,113
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: Reimaging the cRIO - Help!

Quote:
Originally Posted by kelsey.m View Post
- The talons are still fast blinking orange on one and red/orange alternating fast blinks on the other.
That suggests a power or wiring problem. Alternating red and orange is not normal behavior for a Talon.

Can you tell us exactly what is connected to your Digital Sidecar, and where each wire from it goes? Photographs of your wiring would be useful, including the LEDs if possible.
Reply With Quote
  #24   Spotlight this post!  
Unread 04-12-2013, 11:40
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,600
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Reimaging the cRIO - Help!

Quote:
Originally Posted by kelsey.m View Post
- The talons are still fast blinking orange on one and red/orange alternating fast blinks on the other.
The [url=http://www.crosstheroadelectronics.com/Talon.html]Talon User Manual[/url shows that red/orange is a fault.

Quote:
Talon SR – The Talon SR has an additional LED state that blinks
red/orange when a fault state is detected. A fault can be caused by
one of three things; under voltage (< 3.3V DC), over temperature
(>170 degrees C) or a shorted output transistor. During a fault the
output of the Talon is disabled until the fault condition is no longer
present.
The fault is likely internal to the Talon, or it could have been induced by miswiring. I would disconnect that Talon, at least until you get your issues resolved with the other Talon.
Reply With Quote
  #25   Spotlight this post!  
Unread 05-12-2013, 11:42
kelsey.m kelsey.m is offline
FRC 4928
FRC #3562 (Arabian Knights)
Team Role: Coach
 
Join Date: Sep 2013
Rookie Year: 2007
Location: Buhl, Idaho
Posts: 26
kelsey.m is an unknown quantity at this point
Update. In an effort to determine if the issue was the talon, we swapped the talons for jags. The jag LEDs were orange and blinking slowly. We changed the code from talons to jaguars, downloaded, enabled the robot in teleoperated and the motors "twitched" then stopped responding entirely, we tried test mode and disabling/enabling powering off/powering on and then our LEDs on the jags went off entirely. At that point our battery was low and it was time to leave for the day...
Next plan is try everything as is with a fully charged battery but ...
Suggestions after that?
Attached is the picture of current wiring. It's messy still and we're working on cleaning it up, but hopefully you can follow the wires. Click image for larger version

Name:	ImageUploadedByTapatalk1386261677.552464.jpg
Views:	25
Size:	135.5 KB
ID:	15504
__________________
6358 Buhl High School
3562 4H LiveWire Robotics
4928 Arabian Knights
3456 LiveWire
Reply With Quote
  #26   Spotlight this post!  
Unread 05-12-2013, 15:00
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,906
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Reimaging the cRIO - Help!

Where did you get your (what look to be) all black PWM cables?
Did you purchase them or make them yourself?
I can't see how they are marked to identify which of the three wires is the signal, and which is the ground wire. Getting those mixed up as wilsonmw04 suggested will of course prevent the Jags from getting the command signal.

If the Jags have an orange blinking light (after your battery is recharged), then the power to the jags is fine, and the trouble is likely in the chain of command.
  • Code must Open PWM 1 and PWM 2 (this will be proven just by PWM1 and PWM 2 showing up in test mode) Make sure they are not Opened more than once.
  • The Driver Station must be Enabled of course
  • The 37-pin ribbon cable from the cRIO module to the Digital Sidecar must be secure and correct. Sometimes a potential source of trouble.
  • The Digital Sidecar must be receiving 12v power from the Power Distribution Board and the three green power lights on the Sidecar must be bright green (it appears to be so wired from the photo)
  • You can test the Sidecar PWM pins with a multimeter to see that the outer two are providing a signal. Neutral will give a reading of ~1.5v, and full power in test mode will read about 2.3v on a multimeter.
  • The PWM cable must be correctly oriented to get the command signal from the Sidecar to the correct Jag pin. Signal pin is towards the side edge of the Jag. At the Sidecar the Signal pin is the inside pin.
  • The PWM cable could be faulty. You can test the Jag end of the PWM cable with a multimeter to be sure the outer two pins are providing some signal. Same voltages as before.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 05-12-2013 at 21:12.
Reply With Quote
  #27   Spotlight this post!  
Unread 05-12-2013, 21:01
kelsey.m kelsey.m is offline
FRC 4928
FRC #3562 (Arabian Knights)
Team Role: Coach
 
Join Date: Sep 2013
Rookie Year: 2007
Location: Buhl, Idaho
Posts: 26
kelsey.m is an unknown quantity at this point
Thanks! This gives us some things to test! We'll see if we can find the issue... PWM cables are AndyMark, there's an all black outer casing but the very ends have the black, white, red exposed but we'll double check those and measure voltages... Thank you!
__________________
6358 Buhl High School
3562 4H LiveWire Robotics
4928 Arabian Knights
3456 LiveWire
Reply With Quote
  #28   Spotlight this post!  
Unread 11-12-2013, 00:22
nuttle nuttle is offline
Registered User
AKA: Allen Nuttle
FRC #4080
Team Role: Mentor
 
Join Date: Mar 2010
Rookie Year: 2009
Location: United States
Posts: 104
nuttle has much to be proud ofnuttle has much to be proud ofnuttle has much to be proud ofnuttle has much to be proud ofnuttle has much to be proud ofnuttle has much to be proud ofnuttle has much to be proud ofnuttle has much to be proud of
Re: Reimaging the cRIO - Help!

I'm willing to do a Skype session, sometimes seeing and interactive is the quickest way to get things going. I just saw this now, so if you are still having trouble and want to try this, PM me...

Good luck!
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 10:55.

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