![]() |
Digital Sidecar Control Not Working
My team and I have been trying to get our old robot running and the Digital Sidecar isn't responding to I/O commands. I can control a relay (spike) just fine, but we can't control the victor at all. It's just flashing orange. We know the PWM cable is good and the code is just very simple and should work. Also every node from the Digital I/O section of the Digital sidecar is giving out a constant 5v. Any help appreciated, I'll also post my code here in-case that may be the problem.
Code:
/*----------------------------------------------------------------------------*/ |
Re: Digital Sidecar Control Not Working
Assuming your code is not throwing an exception as you are able to control the Spike, would you check if the pwm's are plugged in correctly, as that was the first mistake when we were programming our DT.
I'm pretty sure the code is fine though. Good luck! |
Re: Digital Sidecar Control Not Working
Did you move the cRIO modules around to their new positions?
![]() |
Re: Digital Sidecar Control Not Working
It is very hard to get a PWM cable installed in a Victor far enough the first time. I wouldn't be surprised if that was the problem.
Another possibility is if you had to fix your DB37 cable, it may not have been fully crimped, and only some of the pins made contact. I saw one robot where PWM 1 worked but PWM 2 did not because of that problem. |
Re: Digital Sidecar Control Not Working
Dont you need a while loop in teleop? otherwise it just runs once no?
|
Re: Digital Sidecar Control Not Working
Quote:
|
Re: Digital Sidecar Control Not Working
Yes we do have the Modules in the correct new positions (minus the last solenoid breakout, we only have one of those). The DB37 cable should be fine, as we've used this robot before (it's ~6 years old.) however I will check the continuity of all pins once we meet again. I'll also be sure to triple-check PWM orientation and make sure it is in far enough, although I'm 99% sure orientation is correct.(Signal cable on outside of Victor?)
|
Re: Digital Sidecar Control Not Working
Yes, White on the outside.
|
Re: Digital Sidecar Control Not Working
Quote:
Code:
public void operatorControl { |
Re: Digital Sidecar Control Not Working
We're having the same issue, except we're controlling Jaguars instead of Victors. It's definitely a problem with either the software or the digital sidecar because we've probed the signal wire on the PWM cable and it is always 0 V.
Our digital module is plugged in Port 2 on the cRIO, which we believe is correct and it shows up as green in the provisioning tool. Were you able to diagnose your problem? |
Re: Digital Sidecar Control Not Working
We solved this problem on our robot today. One of the connectors on the ribbon cable between the cRIO module and digital sidecar was not crimped tightly enough. This may be your problem as well if you received a faulty ribbon cable and had to correct re-crimp the connector yourself. Even if it superficially looks correct, it may not be crimped tightly enough to make the connections.
Check the LED next to the RSL connector on the digital sidecar. If it is not illuminated, then this is likely your problem. |
| All times are GMT -5. The time now is 22:20. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi