A simple PyUSBTMC-based interface for the Rigol DS1102E Oscilloscope.
Overview and Installation
This module provides a simple to use python interface developed specifically for the Rigol DS1102E. The chief feature of this module is that it wraps the oscilloscope interface in a class, automatically identifies the oscilloscope upon instantiation, and simplifies calls made by PyUSBTMC to methods of that class.
This module is based on PyUSB, and so in turn on libusb. Because of this foundation, this utility may be used on both Linux and Windows platforms with relative ease. On linux, the standard current branch of the libusb project may be used (e.g. install with,
sudo apt-get install libusb-1.0-0.) On Windows, a 32-bit build of version 0.1 has been ported, allowing Windows users to make use of the utility offered by PyUSB.
This utility makes use of the PyUSB and PyUSBTMC modules. (These are imported by slightly different names than their names in
pip: PyUSB (version 1.0.0b2 as of this document) is installed with
pip install pyusb but imported by
import usb; PyUSBTMC (version 0.1dev15 as of this document) is installed with
pip install pyusbtmc but is imported by
This project has been developed to support the automated interaction of the Rigol DS1102E and the Hantek 1025G DDS function generator, and as such (as of 20150419), not all interfaces ofered by the Rigol 1102 have been implemented in this module. While other Rigol Oscilloscope models are likely to be supported to varying degrees, such support has neither been designed or verified.
This module was developed using Python 3.4.