-
* 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.
-
Settings: * Create settings object in main.cpp already * Reduce code in settings.h/cpp by using c++11 class field initalisations * Remove unnessesary color class * Use a permanent QSettings object and introduce a setFilename method. Bigger scope: MainWindow was responsible to create all kind of important objects like the DataAnalyser, the DSOControl and also the settings object. Finally it is only responsible for assembling the main graphical interface window and all DSO related objects are created in main. This way the current GUI can be more easily replaced with a modern or even headless variant.
-
… available record length and other missed signals. clang-format everything.
-
…BUG: We have a smart timestampDebug macro now. Convert more Qt connect to Qt5 style
-
…DSOWidget->GLGenerator. Less thread locks, no deadlocks by design
-
Signed-off-by: David Graeff <david.graeff@web.de>
-
Signed-off-by: David Graeff <david.graeff@web.de>
-
Signed-off-by: David Graeff <david.graeff@web.de>
-
* Use QMutexLocker -> avoids deadlocks that I encountered * HantekDsoControl shouldn't implement QThread and use Qtimer, it is just a worker class with a periodic run() method. * Udev rules file altered: Allow access to firmware flashed and unflashed hantek devices * Everything that is non-gui is in the subdirectory hantek now. * Everything that is USB communication/find USB devices/upload to USB device is in the subdirectory 'usb' now. * Utility classes are in the subdirectory 'utils'. * Split types.h/cpp Signed-off-by: David Graeff <david.graeff@web.de>
-
…idget and QOpenGLWidget). Fixed stupid M$VC issue w/ _USE_MATH_DEFINES
-
Readme: Added more information for windows users
-
Fix sigrok link
-
Readme: Remove the squash commits part. Github can do this nowadays
-
Refer to the cmake/winusb driver.zip for Windows users. The old link was 404, the zip archive is therefore now part of the build system.
-
WinUSB driver files from https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/libusb-winusb-wip/winusb%20driver.zip
-
Address Appveyor CI build issue introduced by 2876b8b
-
This makes the device accessible to users which currently have an active session on the machine, not requiring any UNIX group memberships. fixes #80
-
Fixes #77
-
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". ```
-
2) Removed double-increment of math channel iterator, post-increment changed to pre-increment 3) CSV export in columns
-
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