![]() |
Too many PWM's shorting out power?
First of all, this could apply to programming, motors, or electrical. I'm a programmer, so i'm going to post this here. If it needs to move somewhere else, someone in authority please do so.
I am programming in this year's LabVIEW. Okay. We have been putting together a test robot to propel the basketballs into the hoops. We have 4 Jag's running (Drive) and 1 Victor running (Shooter). All of the Jag's are put into the Digital Sidecar PWM slots 1, 2, 3, and 4. The Victor is put into PWM slot 5. When i disable the Victor, and run our Drive code, it runs just fine. No problems, no tinks, nothing. But, when we enable the Victor, and disable the drive code, nothing happens. Absolutely nothing. Could this be something wrong with the sidecar or something wrong with the Victor? All of the code is fine, all of the RefNum's are exactly the same. Thanks, for any help. Team Fusion 364 |
Re: Too many PWM's shorting out power?
if you plug the victor in to the PWM where a Jag was, does it enable with the drive code?
What do your LEDs do? Is the victor response the same with and without a motor connected? if the victor is not in the system, and you enable the drive and shooter code, does the drive still work? Are your loops looping? |
Re: Too many PWM's shorting out power?
When you say "disable the Victor", what do you mean?
Since you're asking about programming, it would help greatly if we could see your code. Show us at least the relevant sections of Begin and Teleop. |
Re: Too many PWM's shorting out power?
Is your digital sidecar powered by wires coming from the PD board? ie, are the BAT, 5V, and 6V LEDs on? I've heard that could make one or two PWMs work but not all of them. That doesn't theoretically make much sense, since the sidecar circuitry is mostly pass through for PWM, but hey.
|
Re: Too many PWM's shorting out power?
Quote:
|
Re: Too many PWM's shorting out power?
Quote:
I will post a picture later today, around 5 CST. @WizendEE Yes, the 5v and 6v lights are on. |
Re: Too many PWM's shorting out power?
Troubleshooting information and Ideas:
Do you have your Victor PWM cable plugged in the correct direction? Does enabling both do anything different? Does plugging a Jaguar into the victor's cable work? Does plugging the victor into a Jaguars cable work? Does changing the PWM port to say, 8 make it work? What the problem sounds like is a hardware problem and not a software problem. |
Re: Too many PWM's shorting out power?
Quote:
|
Re: Too many PWM's shorting out power?
Quote:
|
Re: Too many PWM's shorting out power?
Quote:
|
Re: Too many PWM's shorting out power?
The problem is resolved.
Most of the problem was wiring, and some was programming. We had the code using a Victor, which is what we were using. Thanks. |
Re: Too many PWM's shorting out power?
Could you specify the solution you found? We have a Crio that will only do 2 motors controlled at the same time and are utterly stumped.
|
Re: Too many PWM's shorting out power?
Quote:
What are you programming in? |
Re: Too many PWM's shorting out power?
We are having the same problem.
When we try to control more than 2 motors with the PWMs, the system starts to have problem. Scenario 1 With the Axis camera, when running the 2 step motor, one of them starts to skip. Adding a third motor, both of step motors jitters. Scenario 2 Using 2 jags and 1 victor, one jag skips every few seconds. So what could be the problem? Power? Thanks for helping |
Re: Too many PWM's shorting out power?
Quote:
|
| All times are GMT -5. The time now is 23:37. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi