In the Photonics and Quantum Optics lab, I’ve made open-source a high priority. With that in mind, we’ve written software to interface with many of our instruments. We also rely on github for version control and dissemination of our code. I’m particularly happy with a small application that pulls data from a Tektronix oscilloscope (tested on TDS1000 & 2000 models). This is my first python GUI app, despite having worked in python quite heavily for the past 12+ years. If you are interested, the work-in-progress code is available and should work for a Tek scope plugged in to USB on a linux host. I can’t promise it works on other platforms.
Here is a partial list of the requirements:
All but the last are fairly standard for scientific use of python. The last can be installed by your package manager. In Fedora, run
yum install python-matplotlib-wx
and that should ensure that you have all but the last of these components installed. I used the python package manager “pip” to install the usbtmc package:
pip install python-usbtmc
Credit for this project also goes to Eli Bendersky for an awesome example that got me 90% through this process.