GithubHelp home page GithubHelp logo

victorcifuentes / openhantek Goto Github PK

View Code? Open in Web Editor NEW

This project forked from openhantek/openhantek

0.0 1.0 0.0 6.17 MB

OpenHantek is a DSO software for Hantek (Voltcraft/Darkwire/Protek/Acetech) USB digital signal oscilloscopes

Home Page: http://openhantek.org/

License: GNU General Public License v3.0

CMake 2.93% Makefile 0.02% C 3.20% Shell 0.06% C++ 93.78%

openhantek's Introduction

OpenHantek Build Status Build status

OpenHantek is a free software for Hantek (Voltcraft/Darkwire/Protek/Acetech) USB digital storage oscilloscopes based on HantekDSO and has started as an alternative to the official Hantek DSO software.

Supported operating systems:

  • Linux
  • MacOSX
  • Windows¹
Image of main window on linux Image of main window on Windows

Supported hantek devices:

  • DSO2xxx Series
  • DSO52xx Series
  • 6022BE/BL

Install prebuilt binary

Navigate to the Releases page

Building OpenHantek from source

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

  • CMake 3.5+
  • Qt 5.3+
  • FFTW 3+ (prebuild files will be downloaded on windows)
  • libusb 1.x (prebuild files will be used on windows)

You need a OpenGL 3.x capable graphics card for OpenHantek.

Linux

For debian based systems (Ubuntu, Mint) install named requirements like this:

apt install g++ cmake qttools5-dev qttools5-dev-tools libfftw3-dev binutils-dev libusb-1.0-0-dev libqt5opengl5-dev

For rpm based distributions (Fedora) use this command:

dnf install cmake gcc-c++ qt5-qtbase-gui qt5-qttools-devel qt5-qttranslations fftw-devel binutils-devel libusb-devel

After you've installed the requirements run the following commands inside the directory of this package:

mkdir build
cd build
cmake ../
make -j

Optionally install the program:

sudo make install

If you do not install the program, you need to copy the file firmware/60-hantek.rules to /lib/udev/rules.d/, and reload the udev service, otherwise you will not have the correct permissions to access usb devices.

Apple MacOSX

We recommend homebrew to install the required libraries.

brew update
brew install libusb fftw qt5;

After you've installed the requirements run the following commands inside the directory of this package:

mkdir build
cd build
cmake ../ -DCMAKE_PREFIX_PATH=/usr/local/Cellar/qt5/5.7.0
make -j

Please adjust the path to Qt5. You can find the path with the command:

brew info qt5

Windows

Run the CMake GUI program and select the source directory, build directory and your compiler. If your compiler is for example Visual Studio, cmake will generate a Visual Studio Project and solution file (*.sln). Open the project and build it. If you use an IDE that has inbuild support for cmake projects like QtCreator, you can just open and build this project.

Microsoft Windows needs an installed driver for every usb device:

  • Make sure your original Hantek driver is uninstalled.
  • Extract cmake/winusb driver.zip and customize the libusb_device.inf file for your device. The Vendor ID and Device ID as well as a unique GUID need to be entered like in the following example for a Hantek 6022BE.
  • Physically plug (or replug) oscilloscope into PC's. From the Windows device manager update driver for your device and point to your modified libusb_device.inf.
; =====================================================
; ========= START USER CONFIGURABLE SECTION ===========
; =====================================================

DeviceName = "HantekDSO6022BE"
VendorID = "VID_04B5"
ProductID = "PID_6022"
DeviceClassGUID = "{78a1c341-4539-11d3-b88d-00c04fad5171}"
; Date MUST be in MM/DD/YYYY format
Date = "08/12/2017"

; =====================================================
; ========== END USER CONFIGURABLE SECTION ============
; =====================================================

Special case: 6022BE

You can adjust samplerate and use software triggering for 6022BE.

  • Support 48, 24, 16, 8, 4, 2, 1 M and 500, 200, 100 k Hz samplerates with modded firmware by jhoenicke
  • Support software trigger by detecting rising or falling edge of signal. Use software trigger item on the trigger menu. For trigger level, adjust left arrow on the right-side of the graph.
  • Note that the first few samples are dropped due to unstable/unusual reading.

Contribute

Please use Github Issues to report any problems or enhancements or send us pull requests. Some random notes:

Other open source software

openhantek's People

Contributors

davidgraeff avatar dendvz avatar drothlis avatar fabiobaltieri avatar gjedeer avatar oliverhaag avatar sanddorn avatar saogalde avatar stapelberg avatar swkim01 avatar wmanley avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.