FIRST Tech Challenge Documents

cancel
Showing results for 
Search instead for 
Did you mean: 

Move Two Servos at the Same time

Method 1

This first VI snippet shows how to move two servos to different positions at the same time using two VIs executing in parallel.  You can download this VI bellow: Move two servos dif positions.vi

Move two servos dif positions.png

Method 2

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.  You can download this VI bellow: Move two servos dif positions-array ctl.vi

Move two servos dif positions-array ctl.png

Mark
NI App Software R&D
Contributors