Go to Post Mistakes happen. It's how we react to them and what we learn from them that shows what type of people we are. - Daniel_LaFleur [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 14-02-2013, 19:46
thomas.jerald thomas.jerald is offline
Registered User
FRC #4009
 
Join Date: Feb 2013
Location: Duluth, MN
Posts: 4
thomas.jerald is an unknown quantity at this point
Problem with using RobotDrive alongside MotorControl

We are facing a new issue coming up on bag and tag. In our code we have mecanum wheel drive with the first four PWM ports of the sidecar. If those are the only motors in the program, everything is peachy. Similarly, if we have a MotorControl vi hooked up (without the mecanum wheel drive), that motor works just fine. However, as soon as we combine the two, none of the motors work. When we enable it, the motors jump, and then the controller lights start blinking . If we change the MotorControl vi to 2MotorDrive vi then instead of jumping it just does absolutly nothing.

We haven't installed the most recent driver station update, as this has been our main focus. Can that be the problem??

Also, we have a single solenoid programmed in, and it still works in all cases.

Thanks,
Jerald
Reply With Quote
  #2   Spotlight this post!  
Unread 14-02-2013, 21:16
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
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,834
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: Problem with using RobotDrive alongside MotorControl

Check the power on the Digital Sidecar.
Are the 3 power lights all bright green?
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #3   Spotlight this post!  
Unread 14-02-2013, 22:28
thomas.jerald thomas.jerald is offline
Registered User
FRC #4009
 
Join Date: Feb 2013
Location: Duluth, MN
Posts: 4
thomas.jerald is an unknown quantity at this point
Re: Problem with using RobotDrive alongside MotorControl

The 6V light is on and green, the other two are unlit.
Reply With Quote
  #4   Spotlight this post!  
Unread 14-02-2013, 22:33
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
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,834
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: Problem with using RobotDrive alongside MotorControl

Then you need to wire 12v power from a pair of red/black wago connectors on the Power Distribution Panel to a white wago connector that gets plugged into the Digital Sidecar right beside the power lights.

You're running on a trickle of power coming through the ribbon cable from the cRIO.
That's just enough to run a few things, but you tried to run one more than it could handle.
You would have discovered odd power drop outs when turning on carpet too.

Here's a Before/After example: http://www.chiefdelphi.com/forums/at...3&d=1295532854
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 14-02-2013 at 22:46.
Reply With Quote
  #5   Spotlight this post!  
Unread 14-02-2013, 22:51
thomas.jerald thomas.jerald is offline
Registered User
FRC #4009
 
Join Date: Feb 2013
Location: Duluth, MN
Posts: 4
thomas.jerald is an unknown quantity at this point
Re: Problem with using RobotDrive alongside MotorControl

Thanks for the rapid replies!

Unfortunately, we already have the sidecar hooked up to a 20A breaker on the PD board. However, upon further looking, we noticed that when the robot is not enabled, the sidecar has both the 5v and 6v LEDs on, but when enabled the 5v light turns off.

We have been having sidecar issues all season, and after burning through 2, we are on our last one, so I was really hoping that it was the code and not the sidecar.

Are you fairly certain that it is the sidecar?

Thanks,
Jerald
Reply With Quote
  #6   Spotlight this post!  
Unread 14-02-2013, 22:59
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
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,834
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: Problem with using RobotDrive alongside MotorControl

If you can measure 12v from the power connector, then there's something in or on the Sidecar shorting it out.
If the power lights aren't all three bright and green, then the Sidecar won't work well.

I'd suggest taking the case off the Sidecar and looking for burnt components inside. Maybe you'll get lucky and it'll just be metal debris floating around and no permanent damage.

P.S.
I might try a test replacing the ribbon cable with a round 37-pin cable if you have one.
That would eliminate the cable as a potential source of the trouble.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 14-02-2013 at 23:19.
Reply With Quote
  #7   Spotlight this post!  
Unread 21-02-2013, 10:59
thomas.jerald thomas.jerald is offline
Registered User
FRC #4009
 
Join Date: Feb 2013
Location: Duluth, MN
Posts: 4
thomas.jerald is an unknown quantity at this point
Re: Problem with using RobotDrive alongside MotorControl

So it appears that the issue we were having was a poor connection between the CRIO and the digital module. This was caused by using a bolt that had too large of a head, not letting the module fully sit in its place.

Thanks for all of your help!

Jerald
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 22:57.

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