Set Up and Test the Servo Motor
Step 1: Connect the servo to the motor controller board using the port Servo0
Step 2: Insert the motor board into myRIO MXP A, plug the battery cable into the battery, and plug the DC connector into
the myRIO power port to power it on. Allow myRIO about 30 seconds to boot.
Step 3: After completing the LabVIEW and myRIO Setup instructions, navigate to “…\Desktop\National Instruments\Pitsco
Tetrix Prime for NI myRIO\Test Code” and open “Control System Test Project.” Connect to myRIO by right clicking myRIO-
1900 and clicking connect. Allow a few moments to connect. Expand the myRIO dropdown, and navigate to “Testing Your
System > Main_SERVO.vi.” Feel free to explore the code on the block diagram by pressing Ctrl + E, and then press Ctrl + E
again to return to the front panel.
Step 4: Change the value of the dial labeled SERVO 0 to a few different locations. At each location, confirm that the servo
shaft position turns and stays at a set position.
Step 5: Stop the VI by pressing the stop button. Unplug the servo motor from port Servo0 and move it to port Servo1.
Repeat step 4 using the dial labeled SERVO 1.
Step 6: Repeat step 5 for port Servo2.
Control System Set Up and Testing 49
Back to Contents page