motor - syue99/Lab_control GitHub Wiki
Introduction
Siler pack 17 is a high precision motor with encoder so that we can precisely control some of the components in the experiment such as mirrors, xyz stages and etc.
Running the server
There are multiple ways of running LabRAD server. The easiest is to run this python dirc/script_scanner.py. At the end of this script, you will see
if __name__ == "__main__":
from labrad import util
util.runServer(StepperMotorServer())
Structures
The stepper motor server is kind of like the serial server sever class (it should inherent from this class but the author (someone in Jun Ye's lab) didn't follow the rules). You specify the serial server name and the serial address (which USB port it connects to) in the beginning of the steppermotorserver class.
It gives command in the format of some bitstrings, where the details can be found in the resource section.
Some of the key Methods (the number in the bracket is the method number in the server menus)
- (10)Move absolute: move to some positions (some int number)
- (11)toggle_absolute: toggle between two positions
Resources:
Link for the GUI software and other manuals: https://www.linengineering.com/products/stepper-motors/integrated-stepper-motors/silverpak-17ce-series