驱动Thorlabs MDT693A压电控制器的模块
PyThorlabsMDT的Python项目详细描述
概述
此软件包可用于驱动Thorlabs MDT693A压电控制器。
这个软件包已经在windows和linux上测试过了。
示例
import PyThorlabsMDT pzt = PyThorlabsMDT.PZT_driver'port='COM2' pzt.x = 45 # set the x-axis to 45 V pzt.set_x(45) #equivalent to the command above print pzt.x # Display the value of the x-axis pzt.get_info() #Display the informations about the device
安装
- 首先需要检查python的串行后端(包pyserial)
- ===>;http://pyserial.sourceforge.net/
要安装pythorlabsmdt,请下载软件包并运行命令:
python setup.py install