Overview
This VI configures two axes to be electronically geared to a master axis. This shows how multiple motors can be driven using a single tragectory.
Description
This example shows how to have more than one slave motor for electronic gearing. The Board ID is the slot your motion card is in the PXI chassis or your computer. To find the Board ID number for your board, check in Measurement and Automation Explorer (MAX). Select an axis for the master and slave motors and the ratio of the gearing. Both axes will share the same gearing ratio in this example.
Steps to Execute Code
1. Configure Board ID, Master Axis, and Slave Axes numeric inputs
2. Run VI
Requirements
Software
LabVIEW 8.6 or newer and a compatible NI Motion Driver.
For compatibility between LabVIEW and NI Motion Driver version please see the following KnowledgeBase: Which LabVIEW Version Supports NI-Motion?
Hardware
NI Motion Card capable of electronic gearing (734x or 735x) and more than 2 axes.
VI Snippet

**This document has been updated to meet the current required format for the NI Code Exchange. For more details visit this discussion thread**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.