Log in

View Full Version : Labview servo programming


Delvadar
23-01-2009, 05:52
Can someone help me program servo please?
I tried everything and I get the same errors again and again...
(something with the case structure).

Alan Anderson
23-01-2009, 08:32
What are you trying, and what errors are you getting?

What do you want the servo to do?

How do you want to control what the servo does?

When do you want the servo to move?

BLAQmx
23-01-2009, 14:26
Errors are always accompanied with an error code and explanation. Posting these as well as screen shots of your code will be very beneficial to the community.

Delvadar
24-01-2009, 10:39
I want the servo to move the camera.
there is two servoes connected to the camera.
one moves the camera up and down and one moves the camera right and left.

Alan Anderson
24-01-2009, 19:54
What are you trying, and what errors are you getting?

How do you want to control what the servo does?

When do you want the servo to move?

Delvadar
25-01-2009, 06:52
The Servo moves the camera(I will picture it tomorrow).
The servo is autonomic so it moves by itself.
I need to know how to connect it with labview.
I will send you picture tomorrow.

Greg McKaskle
25-01-2009, 11:02
I don't understand your issue fully, but my suggestion would be to open the LV vision example for the gimbal mounted, servo controlled camera. There is one for single color tracking, and one for the pink/green target. They require that you have the driver station connected and enabled, that you have the digital side car connected to slot four and power, that you have the jumpers on the correct PWM channels, and that you set the panel servo IDs to match your X and Y ports used on the side car.

It is far more likely that you'll get this to work, then you can look at the diagram and compare to what you've been doing, including running them both with probes to compare how they operate.

Greg McKaskle

Andrew0089
28-01-2010, 15:31
We have set this up multiple times and we have failed!:mad: we do not know how to get them to turn we are using all FRC programs to test the servos movement. si we know it can not be programming. PLEASE HELP:confused: :confused: :confused:

BLProgram2010
01-02-2010, 20:02
weve gotten the servos to move at a press of a button but, we when we press the button they move all the way. how do them to move at a smaller degree?

Alan Anderson
01-02-2010, 20:29
weve gotten the servos to move at a press of a button but, we when we press the button they move all the way. how do them to move at a smaller degree?

Use a smaller number as the set position, perhaps?