If you work with python and scientific instruments or other hardware with computer connections, I encourage you to add a driver for your instrument to the python library. Although adding a device driver requires some effort upfront, I’ve found that it saves time in the long run.
Epson Ecotank L3110 driver is an application to control Epson EcoTank L3110 all-in-one ink tank printer. The driver work on Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista, Windows XP. Also on Mac OS X 10.14 (MacOS Mojave) MacOS High Sierra, MacOS Sierra, El Capitan, Yosemite, Mavericks, Mountain Lion, Lion, Snow Leopard, Leopard and Linux deb or rpm. KPZNFL5 - NFL5DP20 5 mm Travel Stage with KPZ101 Piezo Driver.
It resolves the pain of: • needing a PDF or hard copy of the manual to look up features • minimizing the amount of typing • solving errors or eccentricities with your device now, once, instead of every time the device is used, or when you need to run an experiment on a deadline • handling unit conversions correctly • quickly transferring control code to a new computer • helping your fellow scientists. Now that I’ve (hopefully) convinced you that this is a good thing, I’ll go over adding an instrument to InstrumentKit. This tutorial is aimed at beginning python and git users, and will be aimed at creating an InstrumentKit driver for this lovely Thorlabs Piezo Controller: Fork the InstrumentKit repository Create a Github account, if you don’t already have one. Go to and click on the “Fork” button in the top right corner.

Thorlabs Piezo Driver For Macbook Pro
If you have Windows, download. Open up git bash, go to a directory where you store your projects, and type. Git clone git checkout develop git checkout -b thorlabs-mdt693B To explain - first we created our own personal copy of the InstrumentKit repository (we forked it), then we made a copy on our computer (git clone), then checked out the development branch (checkout develop), and finally we made a branch off of the development branch (git checkout -b thorlabs-mdt693B). The doc subdirectory in InstrumentKit contains instrument use examples; the instruments directory contains the source code.
Within instruments, instruments are sorted into subdirectories by manufacturer. There are two additional folders - tests, which contains unit tests, which allow developers to check that changes to drivers do not change the operation of the device, and abstract_instruments, which contains generic code related to multiple devices. For example, for serial devices, it defines a generic SerialCommunicator device with query and command methods. Using an abstract instrument class allows you to avoid the most common ways that a serial communication protocol can be messed up. Creating the Instrument Create a new file under instruments->thorlabs called mdt693B.py. #!/usr/bin/env python # -*- coding: utf-8 -*- '' Provides the support for the Thorlabs MDT693B Piezo Controller. Class originally contributed by Catherine Holloway.
'' Next, like most python files, we need to import things. Absolute_import and division are imported for python 2 to 3 compatibility.
Thorlabs Piezo Actuator

InstrumentKit uses the quantities library to handle unit conversion, but the convention is to import it as pq as most of the units are defined by single characters, so typing is minimal. For example, in this driver, we will be making use of pq.V.
Our device is going to use the abstract_instrument Instrument as a template. We will also use the templates ProxyList, bool_property, int_property and unitful_property. # IMPORTS ##################################################################### from __future__ import absolute_import from __future__ import division import quantities as pq from instruments.abstract_instruments import Instrument from instruments.util_fns import ProxyList, bool_property, int_property, unitful_property # CLASSES ##################################################################### class MDT693B ( Instrument ): '' The MDT693B is is a controller for the voltage on precisely-controlled actuators. This model has three output voltages, and is primarily used to control stages in three dimensions.