Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Electrical (http://www.chiefdelphi.com/forums/forumdisplay.php?f=53)
-   -   Victor stops blinking !!! (http://www.chiefdelphi.com/forums/showthread.php?t=91346)

cilginbilgin 09-02-2011 16:16

Re: Victor stops blinking !!!
 
Quote:

Originally Posted by Joe Ross (Post 1019298)
There are many parts of the labview framework where you should not have a while loop. Telop.vi is one of them. Where is the code located that you took a picture of?

Then what should I do if I want the code to run continuosly?

Trent B 09-02-2011 16:20

Re: Victor stops blinking !!!
 
Quote:

Originally Posted by 2611.Shooter (Post 1019303)
also, on the detail of your victors, your wiring for the fan is illegal. i know it is not related to your current problem, but it could cause you to fail inspection. they need to be wired, seperately, to a 20A or smaller breaker.

good luck fixing the victors!

(based on the 3:54 post)

<R54>
The control system is designed to allow wireless control of the ROBOTS. The Driver Station software, FirstTouch I/O module, cRIO-FRC, speed controllers, relay modules, radio, and batteries shall not be tampered with, modified, or adjusted in any way (tampering includes drilling, cutting, machining, gluing, rewiring, disassembling, etc.), with the following exceptions:
D.The supplied fans attached to speed controllers may be powered from the power input terminals.

They have allowed it in the past years, once again it is allowed this year.

2611.Shooter 09-02-2011 16:43

Re: Victor stops blinking !!!
 
aah, sorry. forgot about that.

and cilginbilgin, the main.vi itself is inside of a while loop, when it is called by global.vi. anything you put in main does not need a while loop, and the inclusion of such loops can cause your robot to stall. (ours did last year, thankfully we fixed the code in qualifying matches)

Al Skierkiewicz 09-02-2011 18:33

Re: Victor stops blinking !!!
 
Quote:

Originally Posted by 2611.Shooter (Post 1019303)
also, on the detail of your victors, your wiring for the fan is illegal. i know it is not related to your current problem, but it could cause you to fail inspection. they need to be wired, seperately, to a 20A or smaller breaker.

good luck fixing the victors!

(based on the 3:54 post)

Sorry, but that is not true. The Victor installation instruction recommends that the fan be wired directly to the input terminals on the Victor. Robot rules allow, but do not require, that fans may be wired to a dedicated 20 amp breaker. I do not recommend the dedicated breaker method.

Cilgin,
If you have another victor that is working, swap the working PWM with the Victor that you do not believe is working. If that change works, then you may have your Victor PWM connected to the wrong PWM output on the DSC. Make sure that the output matches your software. Use a flashlight it is hard to see the pins in the dark.
As a hint on the fan wiring. If you turn the fan crimp terminals upside down, then insert the screw through the two terminals, you can make the wiring look much cleaner.

WizenedEE 10-02-2011 00:42

Re: Victor stops blinking !!!
 
Quote:

Originally Posted by cilginbilgin (Post 1019302)
Chris can I fix this in my code or should we definitely use transmission?

Actually today when I run some different code than the above the arm moved a few times!

Both, definitely.

I believe that if you have a never-ending while loop in teleop then your joystick values will never change (there is nothing reading them)

And if the CIM is drawing too much current it will never work either.

Do any motors actually work?Like the drive ones?


All times are GMT -5. The time now is 07:16.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi