PyHantek provides basic funtionality to communicate with digital storage oscilloscopes using the HANTEK protocol. The provided software (TTScope) is not very usable - this repository enables pythonic interaction to handle almost any use case.
All my testing was done on a Voltcraft DSO-1062D, however this protocol should apply to all DSOs in the DSO5xxxBs series.
The prerequisites for this library are PyUSB and numpy. These can be installed via:
pip install pyusb numpy
One you have these installed and cloned this repository or downloaded the files, you need to install the drivers for the oscilloscope. Connect the oscilloscope via USB, then start Zadig, which can be downloaded from here. After installion the WinUSB driver, you can use this library.
NOTE: This step breaks the functionality of the included software (TTScope).
WORK IN PROGRESS
Many of the functions are taken from: DSO5102P-PythonAny help us greatly appreciated! Sources that document the HANTEK protocol can be found here and here.