12-09-2009 12:32 PM
We are new to LabView programming. I've been using the tutorials but still don't understand how to program two servos to run at the same time. I have configured them with the Tetrix configurator but don't know how to set the positions correctly. I don't understand what the various boxes mean when I try to set the positions after I've picked the proper servos to be used. The one box on the upper left hand side of the servo names is blank but has arrows up and down to change numbers. What is the input for that? How do I set postions for two servos at the same time? And what number are used?
Sorry if I'm not making myself clear but I'm so confused right now I hardly know what question to ask. Can someone help?
12-10-2009 03:27 PM
Robot Rebels,
I created an example program for this Move Two Servos at the Same time . I've reposted the solution bellow.
This first VI snippet shows how to move two servos to different positions at the same time using two VIs executing in parallel.
This second VI snippet shows how we can move two servos to the same position at the same time. Unlike the example above we can do this with a single VI at a time because we are using an servo array control created by the TETRIX Motor Configurator. This is the preferred method because it allows for cleaner code that takes up less space on the block diagram.
12-10-2009 04:14 PM
Thank you very much for your information. It was just what we needed.