Skip to content

OpenHantek6022 is a DSO software for Hantek USB digital signal oscilloscopes 6022BE / BL. Main development OS is Linux, but the program works also under macOS and Windows.

License

Notifications You must be signed in to change notification settings

JHale716/OpenHantek6022

 
 

Repository files navigation

OpenHantek6022

Build Status Build status
CodeFactor Stability: Active

OpenHantek6022 is a free software for Hantek and compatible (Voltcraft/Darkwire/Protek/Acetech) USB digital signal oscilloscopes. It was initially developed by David Gräff and others on github.com/OpenHantek/openhantek. After David stopped maintaining the programm I cloned the repo to provide some updates - but only for Hantek 6022BE/BL on the linux platform.

Image of main window on linux

  • Supported devices: Hantek 6022BE/BL on Linux.
  • Other operating systems builds: MacOSX & Windows - partly tested.
  • Uses free open source firmware, no longer dependent on nonfree Hantek firmware.

Features

  • Digital phosphor effect to notice even short spikes.
  • Voltage and Spectrum view for all device supported chanels.
  • ⭐ NEW: Checkbox for X10 probe - scope now shows the correct voltage.
  • ⭐ NEW: Show DC (average), AC (rms) and RMS values as well as frequency of displayed channels.
  • Math channel with these modes: Ch1+Ch2, Ch1-Ch2, Ch2-Ch1.
  • Freely configurable colors.
  • Export to CSV, JPG, PNG or print the graphs.
  • ⭐ NEW: Localized CSV file (decimal and data separator).
  • Supports hardware and software triggered devices.
  • ⭐ NEW: Trigger modes: Normal, Auto and Single with green/red status display (top left).
  • ⭐ NEW: Shows a red channel warning (bottom left) if input data is clipped.
  • A zoom view with a freely selectable range.
  • All settings can be saved to a configuration file and loaded again.
  • ⭐ NEW: Calibration values loaded from eeprom or a model configuration file (only 6022BE/BL).
  • ⭐ NEW: Calibration program to create these values automatically.
  • Multiple instances with a different device each can be started.
  • The dock views on the main window can be customized by dragging them around and stacking them. This allows a minimum window size of 640*480 for old workstation computers.

Install prebuilt binary

Building OpenHantek from source

You need the following software, to build OpenHantek from source:

We have build instructions available for Linux, Apple MacOSX and Microsoft Windows.

Run OpenHantek

With the original OpenHantek version you needed an OpenGL 3.2+ or OpenGL ES 2.0+ capable graphics hardware. OpenHantek6022 runs also on legacy HW/SW (OpenGL 2.1+ or OpenGL ES 1.2+) with the patch coozoo@01b42d3 OpenGL is preferred, if available. Overwrite this behaviour by starting OpenHantek from the command line like this: OpenHantek --useGLES.

USB access for the device is required:

  • As seen on the Microsoft Windows build instructions page, you need a special driver for Windows systems.
  • On Linux, you need to copy the file firmware/60-hantek.rules to /etc/udev/rules.d/ or /lib/udev/rules.d/ and replug your device.

Important!

The scope doesn't store the firmware permanently in flash or eeprom, it must be uploaded after each power-up and is kept in ram 'til power-down. If the scope was used with a different software (old openhantek, sigrok or the windows software) the scope must be unplugged and replugged one-time before using it with OpenHantek6022 to enable the automatic loading of the correct firmware. The top line of the program must display the correct firmware version (FW 0200).

Specifications, features, limitations and developer documentation

Please refer to the specifications, features, limitations and the developer documentation pages.

Contribute

We welcome any reported Github Issue if you have a problem with this software. Send us a pull request for enhancements and fixes. Some random notes:

Other DSO open source software

Other related software

  • HScope for Android A one channel basic version is available free of charge (in-app purchases).

About

OpenHantek6022 is a DSO software for Hantek USB digital signal oscilloscopes 6022BE / BL. Main development OS is Linux, but the program works also under macOS and Windows.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 96.4%
  • CMake 3.1%
  • C 0.5%