|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
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. |
|
#2
|
||||||
|
||||||
|
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? |
|
#3
|
||||
|
||||
|
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 |
|
#4
|
||||
|
||||
|
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?
|
|
#5
|
||||
|
||||
|
Re: Program crashes when enabled
Quote:
Quote:
Thanks for the help |
|
#6
|
||||
|
||||
|
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. |
|
#7
|
||||||
|
||||||
|
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. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
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 |