Go to Post There is no such thing as "un-GP." - Tetraman [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 20-02-2010, 22:10
Tim Reddersen's Avatar
Tim Reddersen Tim Reddersen is offline
Programming Mentor
FRC #2194 (Fondy Fire)
Team Role: Programmer
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Fond du Lac, WI
Posts: 5
Tim Reddersen is an unknown quantity at this point
Program crashes when enabled

We are having a problem adding a spike to our program. When we click enable on the drivers station and the spike is "ON" the program crashes. We are running Mecanum drive and that works well by itself. It doesn't appear to be a wiring problem.

When we start our robot the 6V and 5V lights are on on the sidecar along with the flashing light where the running light plugs in. When we press "Activate" the 5V and flashing light turn out. If we deactivate they turn back on.

We tried disconnecting all cables from the sidecar except the power and the 25 pin cable and it still crashes.

We have replaced just about everything from our PWM cables to the Crio itself so it doesn't seem to be a hardware issue(sidecar, spike, module, 25 pin cable, PWM cables, Crio)

I ran the "Relay Example.vi" example code included with LabVIEW and it still crashed.

I did install the latest updates for LabVIEW and for the Drivers Station.

I'm the only programmer for our team and I'm at my wits end. If anyone could help it would be appreciated.
Reply With Quote
  #2   Spotlight this post!  
Unread 20-02-2010, 22:25
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,579
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: Program crashes when enabled

If you remove all cables from the digital sidecar (including the 37 pin cable) except for power, do the 3 power LEDs remain lit?

Does it matter what relay channel you use?
Reply With Quote
  #3   Spotlight this post!  
Unread 20-02-2010, 22:33
Tim Reddersen's Avatar
Tim Reddersen Tim Reddersen is offline
Programming Mentor
FRC #2194 (Fondy Fire)
Team Role: Programmer
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Fond du Lac, WI
Posts: 5
Tim Reddersen is an unknown quantity at this point
Re: Program crashes when enabled

If we remove all cables the lights still go out when "Activated". The 37 pin cable powers the 5V because we had removed the power cable and the 5V light was still on. We have not tried a test with out the 37 pin cable attached.

We did try to use a different relay port with no luck.

Last edited by Tim Reddersen : 20-02-2010 at 22:35. Reason: Forgot a portion of the reply
Reply With Quote
  #4   Spotlight this post!  
Unread 20-02-2010, 22:56
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,533
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: Program crashes when enabled

In my experience, losing the 5V light on the digital sidecar usually means you've got a bad sidecar, or you're shorting out (or both). Since you've removed all the PWM's already, do you have a spare sidecar you can try?
Reply With Quote
  #5   Spotlight this post!  
Unread 20-02-2010, 22:58
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,579
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: Program crashes when enabled

I'm suspecting that you aren't actually powering the digital sidecar through the power connector, only through the 37 pin connector, which doesn't provide enough power to reliably run things. When you add an additional load, by turning on the relay, everything crashes.

The wago connector may be clamping on the insulation, or you may have a loose wire, or missing circuit breaker, or something like that.
Reply With Quote
  #6   Spotlight this post!  
Unread 20-02-2010, 23:14
Tim Reddersen's Avatar
Tim Reddersen Tim Reddersen is offline
Programming Mentor
FRC #2194 (Fondy Fire)
Team Role: Programmer
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Fond du Lac, WI
Posts: 5
Tim Reddersen is an unknown quantity at this point
Re: Program crashes when enabled

Quote:
Originally Posted by Tom Line View Post
In my experience, losing the 5V light on the digital sidecar usually means you've got a bad sidecar, or you're shorting out (or both). Since you've removed all the PWM's already, do you have a spare sidecar you can try?
We do have an extra sidecar and did try to swap them out. Didn't help

Quote:
Originally Posted by Joe Ross View Post
I'm suspecting that you aren't actually powering the digital sidecar through the power connector, only through the 37 pin connector, which doesn't provide enough power to reliably run things. When you add an additional load, by turning on the relay, everything crashes.

The wago connector may be clamping on the insulation, or you may have a loose wire, or missing circuit breaker, or something like that.
When we get back together tomorrow I will check the connection.

Thanks for the help
Reply With Quote
  #7   Spotlight this post!  
Unread 21-02-2010, 17:02
Tim Reddersen's Avatar
Tim Reddersen Tim Reddersen is offline
Programming Mentor
FRC #2194 (Fondy Fire)
Team Role: Programmer
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Fond du Lac, WI
Posts: 5
Tim Reddersen is an unknown quantity at this point
Re: Program crashes when enabled

When I checked the connection I found that the insulation was fine. However, I also discovered that it was wired to a 5V connection. When we rewired it to a regular connection it worked great.

Thank-you, your help pointed me in the right direction. I feel much better about putting it in the crate tomarrow.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help, our driver station is permanately stuck in enabled. eNyoron Electrical 4 27-01-2009 15:43
Segway Crashes... Clinton Bolinger Chit-Chat 3 19-07-2008 18:25
Code Error when I try to program it iPilipino Programming 10 28-01-2008 21:45
server crashes? Denman CD Forum Support 7 19-05-2005 01:13
strange warning when build program PVC Pirates Programming 14 04-02-2005 19:49


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

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