Can someone help me program servo please?
I tried everything and I get the same errors again and again…
(something with the case structure).
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?
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.
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.
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?
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.
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
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:
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?
Can someone please send me some examples of up to date laview code for programming servos?
I think you can use something like this:
Found here: http://team358.org/files/programming/ControlSystem2009-/LabVIEW/
They have a lot of examples if you want to check it out.
Also you can use the Labview examples which are updated each year.
There is an explanation how to find those examples here: https://youtu.be/qbk05tKzKNY
Thank you. I will try those out tonight