Fork from dnet/ut2025b. Original website
Tested with
- UT2052CEL
Should also work with:
- UT2025B
- UT2102C
Probably compatible with other UT2000 series devices as well.
-
Install PyUSB 1.0 (https://github.com/walac/pyusb)
-
Install PIL
-
Install udev script:
sudo cp udev/98-uni-t.rules /etc/udev/rules.d/
- 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).
The whole project is licensed under MIT license.
- Python 2.x (tested with 2.7)
- PyUSB 1.0 (http://sourceforge.net/projects/pyusb/)