![]() |
Re: Programming Victors in Java
Quote:
Code:
Victor Scoop = new Victor(4); //The motor in port 4 of the DS is called Flap |
Re: Programming Victors in Java
Quote:
|
Re: Programming Victors in Java
Quote:
Also, you said that you verified that you are pretty sure it is a code issue. What steps did you take to verify this? |
Re: Programming Victors in Java
Quote:
I also agree with the others who have pointed out that the flashing orange light on the Victors is an indication that it is not getting any signal. You could think of this as meaning that it is not "attached" to the software. This will occur when you have not programmed in that device yet (ie. you have no declaration that specifies that PWM port number) or if the cable is faulty or not connected properly. Have you verified that they are plugged in correctly (ie. not backwards, signal pin in the correct position). |
Re: Programming Victors in Java
When we place the victor into a drive port (ports 1, 2, 9, or 10 via PWM) it works fine, so we are thinking maybe something in the code is preventing the digital sidecar from giving power to any other ports. Also, when it is in its regular port the cRIO can connect to it (the orange light is solid) it just doesn't move.
Any ideas?? Thanks!!! |
Re: Programming Victors in Java
Quote:
Are you sure the buttons you are getting from the joystick are the correct ones? What are you expecting the behavior of the motors to be when you press these buttons? |
Re: Programming Victors in Java
Quote:
We are expecting the motor to move forward and backwards at 100% power. |
Re: Programming Victors in Java
Quote:
|
Re: Programming Victors in Java
Quote:
|
Re: Programming Victors in Java
Quote:
|
Re: Programming Victors in Java
Quote:
|
Re: Programming Victors in Java
Quote:
|
Re: Programming Victors in Java
Quote:
|
Re: Programming Victors in Java
Quote:
|
Re: Programming Victors in Java
Quote:
|
| All times are GMT -5. The time now is 18:31. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi