• * Remove usbdevice special case for the 6022 model and introduce a feature flag instead.
    * Remove all specific model checks across the hantekdsocontrol class and introduce feature flags instead.
    
    Bigger picture: All model differences should be described in the controlsettings and specification structures
    within the constructor of hantekdsocontrol. The rest of the class should be model independant code or marked as
    very model dependant code. This should allow to split the class into smaller parts to realize Separation of concerns.
    
    TODO: getSamples() has basically two code paths: One for the 6022Bx and one for all other devices.
    I suggest getSamples() and getSamples6022Bx() for instance.
    David Graeff authored
     
    Browse Code »











  • This makes the device accessible to users which currently have an active session
    on the machine, not requiring any UNIX group memberships.
    
    fixes #80
    Michael Stapelberg authored
     
    Browse Code »
  • David Gräff authored
     
    Browse Code »
  • David Gräff authored
     
    Browse Code »
  • Fixes #77
    David Gräff authored
     
    Browse Code »
  • Without this package, I ran into the following error:
    
    ```
    ~/openhantek/build master $ cmake ..
    -- The C compiler identification is GNU 7.2.0
    -- The CXX compiler identification is GNU 7.2.0
    -- Check for working C compiler: /usr/bin/cc
    -- Check for working C compiler: /usr/bin/cc -- works
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Detecting C compile features
    -- Detecting C compile features - done
    -- Check for working CXX compiler: /usr/bin/c++
    -- Check for working CXX compiler: /usr/bin/c++ -- works
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Detecting CXX compile features
    ma-- Detecting CXX compile features - done
    CMake Error at openhantek/CMakeLists.txt:5 (find_package):
      By not providing "FindQt5OpenGL.cmake" in CMAKE_MODULE_PATH this project
      has asked CMake to find a package configuration file provided by
      "Qt5OpenGL", but CMake did not find one.
    
      Could not find a package configuration file provided by "Qt5OpenGL" with
      any of the following names:
    
        Qt5OpenGLConfig.cmake
        qt5opengl-config.cmake
    
      Add the installation prefix of "Qt5OpenGL" to CMAKE_PREFIX_PATH or set
      "Qt5OpenGL_DIR" to a directory containing one of the above files.  If
      "Qt5OpenGL" provides a separate development package or SDK, be sure it has
      been installed.
    
    
    -- Configuring incomplete, errors occurred!
    See also "/home/michael/openhantek/build/CMakeFiles/CMakeOutput.log".
    ```
    Michael Stapelberg authored
     
    Browse Code »


  • 1) Separate settings for screen & print channel/spectrum colors
    2) eliminated warning ...helper.h:111:2: warning: extra ‘;’ [-Wpedantic]
    3) eliminated warning ...control.cpp:724:26: warning: overflow in implicit constant conversion [-Woverflow]
    4) min width for Config dialog Icons widget
    5) wrong type cast removed
    6) print spectrum magnitude only if spectrum is enabled
    Denis Dovzhenko authored
     
    Browse Code »