I am using the same code for the Mini and Micro.
See if you can move the servos using the Maestro Control Center application. If you can’t, then make sure there is power to the servos (this is separate power connection than the power that the USB supplies).
I’ve attached an example of my Init and Read code.
Servo Init.vi (20.3 KB)
Servo Read Position.vi (11.7 KB)
Also, check Device Manager.
If you do not see a “Pololu…Controller Command Port (COMx)” for each controller, you may have connected the controller before installing the Pololu driver software. In this case Windows 10 will assign a generic “USB Serial Device” driver.
If this is the case, you would see that the COM ports are named “USB Serial Device” in the Device Manager instead of having descriptive names. The COM ports with these names will not be recognized by LabVIEW as servo controllers. To fix the names in the Device Manager :
- right-click on each “USB Serial Device” entry,
- select “Update Driver Software…”,
- select “Search automatically for updated driver software”.
Windows should find the Maestro drivers you already installed, which contain the correct name for the port. It may helpful to find which “USB Serial Device” are associated with a servo controller, by observing how the Device Manager list changes when you unplug/plugin the misidentified servo controller’s USB cable.