/ut2000-read

Python driver to read data from UNI-T UT2000 series scopes via USB

Primary LanguagePythonMIT LicenseMIT

Python driver for UNI-T UT2000 series digital oscilloscopes

Fork from dnet/ut2025b. Original website

Support

Tested with

  • UT2052CEL

Should also work with:

  • UT2025B
  • UT2102C

Probably compatible with other UT2000 series devices as well.

Setup

Usage

  • Connect the scope via USB
  • python3 getshot.py > foo.png
  • python3 getsamples.py

In case of an "Image transfer error, try again" message, just keep trying, after a few attempts it starts to work and continues to do so, as long as the scope is connected to the PC.

Check python getshot.py -h for optional parameters. You can specify a colormap which transforms the 4-bit image to RGB values. The default is a simple color map with light background, but the format is straightforward enought for everyone to create new and better ones (see driver/colormaps.py).

License

The whole project is licensed under MIT license.

Dependencies