Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Voltage dock math improves attenuation voltage #324

Open
wants to merge 465 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
465 commits
Select commit Hold shift + click to select a range
4800482
reduce CPU load for RPi; small FW change w/o impact on std HW
Ho-Ro Oct 20, 2019
d033e4c
1st setup for MacOS app bundle
Ho-Ro Oct 20, 2019
a9a4c4f
MacOS build test, no program change
Ho-Ro Oct 20, 2019
a1b54e3
add debug message for travis build
Ho-Ro Oct 21, 2019
e282ed5
refine travis debug message
Ho-Ro Oct 21, 2019
cf73426
set BUILD_MACOSX_BUNDLE = ON (check travis build)
Ho-Ro Oct 21, 2019
b5c425f
correct travis typo
Ho-Ro Oct 21, 2019
3a60bb6
travis: check package build without need of release
Ho-Ro Oct 21, 2019
82503f7
travis test: set BUILD_MACOSX_BUNDLE = OFF
Ho-Ro Oct 21, 2019
b477367
travis: need more info about macos build
Ho-Ro Oct 21, 2019
fe7c8ac
travis: debug the MacOSX bundle dir
Ho-Ro Oct 21, 2019
017e274
travis: check if directories exist
Ho-Ro Oct 21, 2019
23c779c
travis: next macosx bundle try
Ho-Ro Oct 21, 2019
673d3ca
travis: comment some test steps
Ho-Ro Oct 21, 2019
9aa12a3
travis: no brackets in yml, use test instead
Ho-Ro Oct 21, 2019
fd2cbdc
travis / cmake: check macosx bundle build
Ho-Ro Oct 21, 2019
19bad8b
MacOSX: don't install bundle, it's already in build/openhantek
Ho-Ro Oct 21, 2019
80fbcd9
travis: create bundle archive in package
Ho-Ro Oct 21, 2019
91f9519
travis typo
Ho-Ro Oct 21, 2019
145f590
travis: syntax error
Ho-Ro Oct 21, 2019
df842c2
travis: correct the bundle path
Ho-Ro Oct 21, 2019
271464c
travis: tgz either the mac bin or the mac bundle
Ho-Ro Oct 21, 2019
87350d6
travis: deploy osx binary or bundle
Ho-Ro Oct 21, 2019
1aff1af
fr and it translation started; build macosx bundle
Ho-Ro Oct 21, 2019
771f538
travis: test for macosx bundler - include libs
Ho-Ro Oct 22, 2019
86b487f
travis: deploy also qt - another tool needed :(
Ho-Ro Oct 22, 2019
cf4e967
travis: call macdeployqt with path
Ho-Ro Oct 22, 2019
ccd9716
travis: fix app path
Ho-Ro Oct 22, 2019
822a152
travis: use macdeployqt and macdeployqtfix
Ho-Ro Oct 22, 2019
48fd9f3
travis: create osx bundle and dmg
Ho-Ro Oct 22, 2019
90a21f4
travis: correct yaml format
Ho-Ro Oct 22, 2019
2df54d8
travis: yaml syntax
Ho-Ro Oct 22, 2019
7ae7458
travis: syntax again :(
Ho-Ro Oct 22, 2019
899ecc1
travis: correct path an rightas
Ho-Ro Oct 22, 2019
2b105c1
build osx bundle and dmg; no change to program
Ho-Ro Oct 22, 2019
712802e
travis: osx test
Ho-Ro Oct 23, 2019
0bbd267
travis: typo
Ho-Ro Oct 23, 2019
7aecea3
travis: test osx bundle; update osx build instructions
Ho-Ro Oct 23, 2019
25561db
travis: deploy osx bundle
Ho-Ro Oct 23, 2019
511fe7a
show trigger pulse width also in pdf/png export
Ho-Ro Oct 24, 2019
b694e6c
code clean up
Ho-Ro Oct 24, 2019
53b8ced
sub-sample offset correction
Ho-Ro Oct 25, 2019
9a39170
move os specific directories into ./util
Ho-Ro Oct 27, 2019
4a3a288
AC coupling for 6022 with HW mod and FW0204
Ho-Ro Nov 3, 2019
e83fa10
support AC modification for Hantek6022
Ho-Ro Nov 5, 2019
ffc3fc1
minor corrections/improvement
Ho-Ro Nov 5, 2019
ad9bc9a
new osx *.dmg creation
Ho-Ro Nov 5, 2019
99819bf
MacOSX bundle check
Ho-Ro Nov 6, 2019
4c8529b
upversion to v2.17-rc7 for MacOSX bundle check
Ho-Ro Nov 6, 2019
473221e
display duty cycle of triggered trace in top line
Ho-Ro Nov 8, 2019
d1535cb
restore lost translations
Ho-Ro Nov 9, 2019
5664ff4
fix #33 - regression was introduced by 3f6b16c
Ho-Ro Nov 9, 2019
bcbf14f
fix (?) travis error for MacOSX bundle build
Ho-Ro Nov 9, 2019
c8a94cc
upversion - (pre-)release with fix for #33
Ho-Ro Nov 9, 2019
ccdceeb
next CMake / MacOSX change
Ho-Ro Nov 9, 2019
ec1196f
more logical marker status display
Ho-Ro Nov 12, 2019
037731c
consistent marker handling; user manual update; upversion
Ho-Ro Nov 15, 2019
9240317
export also XY pdf/png
Ho-Ro Nov 17, 2019
b13e314
fix #36; align trace to trigger on "frozen" trace
Ho-Ro Nov 19, 2019
da9b82a
remove unused variable
Ho-Ro Nov 19, 2019
f65a403
next step: trigger position refactor
Ho-Ro Nov 22, 2019
8e3701f
fix #35 (report errors during FW upload), fix stalled FW upload
Ho-Ro Nov 22, 2019
fb23bd3
fix typo, detected on windows build
Ho-Ro Nov 22, 2019
38d28a5
changed to check #35 on FreeBSD
Ho-Ro Nov 22, 2019
dcda947
correct pdf/png export of modified frozen traces
Ho-Ro Nov 24, 2019
aa53873
usb code cleanup
Ho-Ro Nov 24, 2019
64ec2b2
typo :(
Ho-Ro Nov 24, 2019
4b92e47
bold info text
Ho-Ro Nov 24, 2019
3a8b0c3
refactor/rename sliders and trigger flow
Ho-Ro Nov 25, 2019
76f075c
xy mode: use color of y channel
Ho-Ro Nov 25, 2019
0b77b94
try to solve #35 and #38 as well as stalled upload
Ho-Ro Nov 29, 2019
c365d9b
start the scope automatically when ready
Ho-Ro Nov 29, 2019
17531d0
comment about libusb behaviour on different OSs
Ho-Ro Dec 2, 2019
c847d81
fix #39, better default gain/offset for DDS120
Ho-Ro Dec 2, 2019
ed3839d
use gain 20x of DDS120, use 10MS/s
Ho-Ro Dec 4, 2019
a7c9eb6
hide not yet implemented feature 'NewDeviceModelFromExisting'; clean …
Ho-Ro Dec 6, 2019
b0e7094
make grid more visible, add small crosses at intersections
Ho-Ro Dec 9, 2019
77037a7
fix #42, at least the part of @Ragnar770
Ho-Ro Dec 10, 2019
66dbf57
adjust samples only if triggered, else start with pos 0
Ho-Ro Dec 10, 2019
1b4c059
automatically select light and dark icons
Ho-Ro Dec 11, 2019
9fb1073
add qt svg lib hint for build
Ho-Ro Dec 12, 2019
26e18f0
light/dark switch for all icons
Ho-Ro Dec 12, 2019
414988d
upversion, manual update
Ho-Ro Dec 13, 2019
fa3c018
small FW fix without FW upversion (correct USB current)
Ho-Ro Dec 14, 2019
89d54ed
no serial number string in FW
Ho-Ro Dec 14, 2019
06d79ce
UniqueUSBid is now a truly unique value
Ho-Ro Dec 17, 2019
644c46c
correct y position for zoomed channel and trigger marker
Ho-Ro Dec 18, 2019
c0bd578
add menu entry file openhantek.desktop
Ho-Ro Jan 5, 2020
d7d955d
provide scalable and 48x48 icon
Ho-Ro Jan 6, 2020
0726579
small manual update (how to start the program)
Ho-Ro Jan 6, 2020
5252850
how to install *.deb
Ho-Ro Jan 6, 2020
383a917
cleanup desktop file and icon names
Ho-Ro Jan 7, 2020
cea93cc
clean up warnings
Ho-Ro Jan 8, 2020
6ce51e7
industrial cleaning, refactor most warnings
Ho-Ro Jan 10, 2020
3737687
minor manual update
Ho-Ro Jan 10, 2020
bda3651
unhide class member (clear warnings)
Ho-Ro Jan 10, 2020
4ca6e37
next warning clean-up
Ho-Ro Jan 10, 2020
933cde9
fix #48
Ho-Ro Jan 12, 2020
1d6ce6b
fix for #49
Ho-Ro Jan 13, 2020
286018f
fix #49, more clean-up of source code
Ho-Ro Jan 15, 2020
2cc215c
Differential probe X1...X1000 support
jm-o Jan 20, 2020
95b0e74
Merge pull request #51 from jm-o/ProbeSupport
Ho-Ro Jan 21, 2020
6cee6f5
cosmetics for ProbeSupport
Ho-Ro Jan 21, 2020
72563b3
probe attenuation documentation update
Ho-Ro Jan 22, 2020
e69b847
rename settings.* -> dsosettings.*
Ho-Ro Jan 22, 2020
e133057
Full French translation
jm-o Jan 25, 2020
3ac9734
Force .ini suffix on File save as
jm-o Jan 25, 2020
d53c750
small clean-up
Ho-Ro Jan 25, 2020
b177b79
1st working histo
Ho-Ro Jan 25, 2020
2723deb
Usable histogram function with user interface and icon
Ho-Ro Jan 26, 2020
8cc50af
Merge pull request #52 from jm-o/FrenchTranslation
Ho-Ro Jan 27, 2020
544caf4
use my fx2lib (updated toolchain)
Ho-Ro Jan 28, 2020
2f09f61
minor doc update, some clazy cleaning
Ho-Ro Jan 28, 2020
f7d7109
Fix GUI refresh with settings loaded from a file
jm-o Jan 30, 2020
359ecc8
manual merge from jm-o's changes
Ho-Ro Jan 31, 2020
10e1c69
update documentation, 1st 3.0.2 release candidate
Ho-Ro Jan 31, 2020
2ae596f
histogram for pdf/png, minor improvements
Ho-Ro Feb 4, 2020
e19e707
suport older cmake versions
Ho-Ro Feb 7, 2020
a610bba
FW with unique FX2LP ser num (Cypress KBA212789)
Ho-Ro Feb 27, 2020
c3c1648
upversion to 3.0.2; apply realtime prio and scheduler
Ho-Ro Mar 1, 2020
6649449
fix #61 (change /usr/share/doc path to lower case)
Ho-Ro Mar 3, 2020
7f807c3
(small) FW update w/o function change
Ho-Ro Mar 4, 2020
137f112
fix issue when switching to XY mode
Ho-Ro Mar 15, 2020
94407ee
new firmware version 0205
Ho-Ro Mar 15, 2020
febf065
upversion, small histogram ui improvement
Ho-Ro Mar 17, 2020
1a7843e
fix #66 - wrong sample rate displayed in spinbox
Ho-Ro Mar 19, 2020
a6c3d8f
switch to latest FW0206 (no change for scope fkt.)
Ho-Ro Mar 24, 2020
43cd7f4
better comments about ADC to voltage scaling
Ho-Ro Mar 25, 2020
26c1a49
make calibration frequency setting persistent
Ho-Ro Mar 30, 2020
446fcd4
doc update; gui cosmetics
Ho-Ro Mar 30, 2020
76793df
fix #66 (samplerate spinbox response)
Ho-Ro Mar 31, 2020
b5524a4
fix #68 (DDS120 udev rules update)
Ho-Ro Apr 1, 2020
23786d2
fix #69
Ho-Ro Apr 1, 2020
ee09651
doc update
Ho-Ro Apr 2, 2020
c8a0bff
fix #70
Ho-Ro Apr 2, 2020
2533724
fix a possible race condition when switching 1ch <-> 2ch
Ho-Ro Apr 2, 2020
3276bec
move calibration out frequencies into the model files
Ho-Ro Apr 3, 2020
1c881f2
doubleclick: left -> set two markers with zoom=100, right -> removes …
Ho-Ro Apr 3, 2020
ac2db85
set debian package dependencies automatically
Ho-Ro Apr 3, 2020
18f58d5
fix calibration frequency for DDS120
Ho-Ro Apr 4, 2020
0e50d59
fix 50kHz calibration frequency for DDS120
Ho-Ro Apr 4, 2020
f51cd22
use own DDS120 FW from github.com/Ho-Ro/Hantek6022API; add ES transla…
Ho-Ro Apr 5, 2020
0e8583f
update DDS120 model file
Ho-Ro Apr 5, 2020
b2c5492
DDS120 EEPROM contains no calibration data but factory fimware
Ho-Ro Apr 6, 2020
476b78d
revert to sigrok based FW for DDS120
Ho-Ro Apr 6, 2020
be8142a
DDS120: 75Hz->60Hz
Ho-Ro Apr 7, 2020
a933b52
fix #75
Ho-Ro Apr 11, 2020
29f38b8
upversion; manual update
Ho-Ro Apr 13, 2020
f753ce5
upversion; manual update
Ho-Ro Apr 13, 2020
2b112e7
upversion; manual update; fix travis build
Ho-Ro Apr 13, 2020
52c9236
fix ubuntu build (travis)
Ho-Ro Apr 14, 2020
08db397
Applied clang-format
DavidRisch Apr 19, 2020
abe5c00
Increased spacing after channel name in measurementLayout
DavidRisch Apr 19, 2020
6440185
Increased size of needle in levelslider based on dpi scaling
DavidRisch Apr 19, 2020
f1b0ab8
complete clang-format, no content change
Ho-Ro Apr 19, 2020
58b2a6f
add commit abe5c00 from DavidRisch
Ho-Ro Apr 19, 2020
8a71b07
merge 6440185 (levelslider size based on dpi) from DavidRisch
Ho-Ro Apr 19, 2020
af4c7c1
Revert "complete clang-format, no content change"
Ho-Ro Apr 20, 2020
559e5a2
Prepare a clean merge of pull request #78
Ho-Ro Apr 20, 2020
6feb874
Merge branch 'high_dpi_support' of https://github.com/DavidRisch/Open…
Ho-Ro Apr 20, 2020
d82c127
merged pr #78 from DavidRisch (high_dpi_support)
Ho-Ro Apr 20, 2020
a3e5144
apply global format (style: openhantek/.clang-format)
Ho-Ro Apr 20, 2020
83b9b02
Set file extension automatically for exporting pdfs/images
DavidRisch Apr 20, 2020
941e025
Fixed drawing of pdfs
DavidRisch Apr 20, 2020
520a58e
Updated translation metadata
DavidRisch Apr 20, 2020
e315744
Merge branch 'DavidRisch-export_pdf_image'
Ho-Ro Apr 20, 2020
6522ce2
python script to upload assets to a release
Ho-Ro Apr 22, 2020
130eaa5
add more win artifacts
Ho-Ro Apr 22, 2020
f40ac26
next appveyor try
Ho-Ro Apr 22, 2020
8cbf1ca
appveyor: define all artifacts
Ho-Ro Apr 22, 2020
7cea076
revert appveyor win build (only *.zip)
Ho-Ro Apr 22, 2020
09d0f3a
support for unstable releases
Ho-Ro Apr 24, 2020
047598e
small gui improvement; remove unused code
Ho-Ro Apr 24, 2020
e114f90
fix #82 - WIN: change Start/Stop shortcut from <SPACE> to <S>.
Ho-Ro Apr 25, 2020
95de064
ui fine tuning
Ho-Ro Apr 27, 2020
0ebab7c
RPi info; add Win ico file
Ho-Ro May 4, 2020
af3aaef
Win: add icon
Ho-Ro May 4, 2020
b0c86f4
Win: rm extra icon file
Ho-Ro May 4, 2020
edc9a26
demo mode w/o scope HW
Ho-Ro May 6, 2020
5dbb40f
russian translation, thx @spam-receiver
Ho-Ro May 6, 2020
4a7ed7f
tag as release candidate
Ho-Ro May 6, 2020
90b83c1
finetuning display refresh rate
Ho-Ro May 8, 2020
a428056
upversion, documentation update
Ho-Ro May 8, 2020
6837839
provide a demo mode button
Ho-Ro May 8, 2020
c2d8cac
refactor USB code, use better names
Ho-Ro May 10, 2020
f93faac
travis ci os: change xenial -> bionic
Ho-Ro May 10, 2020
094d993
travis ci: package change
Ho-Ro May 10, 2020
7bd3a0f
move demo device code into class ScopeDevice
Ho-Ro May 11, 2020
50bd7ea
fix #90 (russian translation '/s' -> '/c')
Ho-Ro May 12, 2020
f5a446c
more russian translation, thx @spam_receiver
Ho-Ro May 12, 2020
9d19f7a
encapsulate demo mode handling into ScopeDevice
Ho-Ro May 13, 2020
0ce9690
fix warnings: default label in switch which covers all enum values
Ho-Ro May 13, 2020
5136b29
fix some more warnings
Ho-Ro May 13, 2020
1930f2f
fix translation of the strings in legacyexportdrawer.cpp
Ho-Ro May 13, 2020
9afed31
fix warnings, remove unused code
Ho-Ro May 13, 2020
872cfd6
new export: screenshot (mainWindow or dsoWidget)
Ho-Ro May 15, 2020
7796c80
update ru translation
Ho-Ro May 17, 2020
a883af2
better default colours for printer
Ho-Ro May 17, 2020
d927fc7
save screenshot also as pdf
Ho-Ro May 18, 2020
99ccfe8
new image/pdf export and print
Ho-Ro May 20, 2020
f30eaee
use lambdas for screenshot()
Ho-Ro May 21, 2020
6d872a4
fix #94
Ho-Ro May 23, 2020
650ea29
now with identical timing also for demo device
Ho-Ro May 25, 2020
dd92714
clean up scope settings menu, add new configs
Ho-Ro May 25, 2020
1f1f5b0
trigger modus NONE for faster display of slow sample rates
Ho-Ro Jun 2, 2020
4836749
move capturing into own thread to unfreeze the gui
Ho-Ro Jun 5, 2020
ae6a759
update/finetune capturing
Ho-Ro Jun 7, 2020
f5b8f26
roll mode for >100ms/div and trigger mode NONE
Ho-Ro Jun 8, 2020
db837c7
roll mode: small changes, sampling down to 5s/div
Ho-Ro Jun 9, 2020
4814528
restart slow sampling when samplerate changes
Ho-Ro Jun 10, 2020
03816f7
improved marker and zoom setting
Ho-Ro Jun 14, 2020
fa73a8d
slow mode finetuning
Ho-Ro Jun 15, 2020
a029ce8
FW 0207 with new sample rates; timebase 10s/div
Ho-Ro Jun 16, 2020
d592942
fix ABI change warnings; less travis output
Ho-Ro Jun 16, 2020
1dad788
upversion to 3.1.1-rc; options to force OpenGL SL versions
Ho-Ro Jun 20, 2020
df55001
close #45; ctrl scroll wheel zooms, scroll wheel shifts zoom range
Ho-Ro Jun 23, 2020
e0c6482
real roll mode for slow sample rates
Ho-Ro Jun 26, 2020
4ffe158
add refresh button to restart roll mode sampling
Ho-Ro Jun 28, 2020
f50f90b
Upversion to 3.1.1, doc update, robustness improvement
Ho-Ro Jun 30, 2020
e99070e
fix #101 - #define libusb_setlocale( x ) (void)0
Ho-Ro Jul 1, 2020
8772d08
fix #102; add build instructions for FreeBSD
Ho-Ro Jul 3, 2020
e5071af
FreeBSD build/installation update
Ho-Ro Jul 8, 2020
a71bd67
fix #105 - correct ini file handling
Ho-Ro Jul 9, 2020
4159e3d
silence QT_DEPRECATED warnings about sprintf
Ho-Ro Jul 10, 2020
341eb71
build "full-featured" *.tgz packages for Linux and FreeBSD
Ho-Ro Jul 10, 2020
e2aa07d
remove Qt::WindowFlags (QT_DEPRECATED warning)
Ho-Ro Jul 10, 2020
e1da860
missing commit :(
Ho-Ro Jul 10, 2020
d73472c
use unique Qt globals to distinguish OS and target architecture
Ho-Ro Jul 14, 2020
10fee24
try to fix #108
Ho-Ro Jul 14, 2020
8f68a8f
next try to fix #108
Ho-Ro Jul 14, 2020
af753af
next improvement for #108, use cmd.exe window as console if available
Ho-Ro Jul 14, 2020
5eb3d53
restore 1CH / 2CH setting when leaving real slow mode
Ho-Ro Jul 24, 2020
77c3551
do not use Q_OS_... unless QtGlobals are defined (fix FreeBSD build)
Ho-Ro Jul 24, 2020
95ff65f
upversion, small improvements for FreeBSD and Windows
Ho-Ro Jul 29, 2020
117c927
test version to narrow down strange Windows crash #111
Ho-Ro Aug 17, 2020
94c1f15
omit debug output for #111; skip some useless setSamplerate() calls
Ho-Ro Aug 17, 2020
7b46074
update version info
Ho-Ro Aug 17, 2020
2fdc850
fix #112; do not define extra CPACK_RPM_PACKAGE_REQUIRES
Ho-Ro Aug 23, 2020
798d8c5
new command line option --fontsize; doc update
Ho-Ro Aug 27, 2020
fa9838d
fix #114, small font size update
Ho-Ro Sep 1, 2020
c56c662
display horizontal trigger level line when marker is moved, resolve #118
Ho-Ro Sep 15, 2020
df396e7
make smooth trigger setting persistent; clean redundant this->
Ho-Ro Sep 30, 2020
16a52e8
upversion to 3.1.3
Ho-Ro Sep 30, 2020
81864f6
fix #123 - change minimal holdOff time between capture blocks to lowe…
Ho-Ro Oct 5, 2020
cad3d00
reduce CPU load when rendering unchanged data
Ho-Ro Oct 6, 2020
946e891
fix #124: dock windows (voltage, horizontal,trigger, spectrum) cannot…
Ho-Ro Oct 16, 2020
ff18205
reduce CPU load when display is stopped, speedup shutdown
Ho-Ro Oct 16, 2020
fba3728
move (spectrum) frequencybase from horizontal dock to spectrum dock
Ho-Ro Oct 16, 2020
f52e97e
doc update: install also fakeroot as build tool (#125)
Ho-Ro Oct 20, 2020
a9fb9c8
Math improves attenuation to facilities view in graph.
Nov 1, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
**IMPORTANT:** Always unplug and replug the scope if used before with a different application, e.g. sigrok or the original Hantek software.

Steps to reproduce the behavior:
1. Go to '...'
2. Select '....'
3. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots or a video to help explain your problem.

**Computer environment (please complete the following information):**
- OpenHantek version: [use always the latest commit, e.g. *release v2.03, commit 1a2b3c4, ...*]
- OS: [e.g. *linux, macOS, windows, ...*]
- Distribution, version: [e.g. *debian stable amd64, ...*]
- Video hardware: [e.g. *Intel Xeon ... Integrated Graphics*]
- OpenGL version: [e.g. *OpenGL 4.5, Mesa 19.0.3*]
- Qt version: [e.g. *Qt 5.11.x*]
- C++ compiler version: [e.g. *gcc 8.3.x*]

**Scope device (please complete the following information):**
- Device [e.g. *Hantek 6022BE, ...*]
- Program top line [e.g. *OpenHantek6022 (Build ...) - Device ... (FW ...)*]
- Input signal: [e.g. *calibration out 1 kHz, sine wave 1 Veff @ 50 Hz, ...*]
- Probe setting: [e.g. *no probe, probe X1, probe X10, ...*]

**Additional context**
Add any other context about the problem here, e.g. the program output if started in a console like xterm.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
12 changes: 11 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@
.o
.so
.*~
*~
*.orig
*.new
*.diff
CMakeLists.txt.user
build/
build*
firmware/hex
*.json
*.kate-swp
.directory
*.autosave
ui_*.h
*.sh
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "macdeployqtfix"]
path = utils/macdeployqtfix
url = https://github.com/iltommi/macdeployqtfix
45 changes: 37 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,38 +1,67 @@
language: cpp
dist: xenial
dist: bionic

addons:
apt:
packages:
- qtbase5-dev
- qttools5-dev-tools
- qttools5-dev
- libqt5opengl5-dev
- libusb-1.0-0-dev
- libfftw3-dev
- binutils-dev
- rpm

matrix:
include:
- compiler: gcc
env: CMAKE_CXX_COMPILER=g++-5
env: CMAKE_CXX_COMPILER=/usr/bin/g++
os: linux
- compiler: clang
env: CMAKE_CXX_COMPILER=/usr/bin/clang++
os: osx

before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; brew install qt5 fftw binutils; export CMAKE_PREFIX_PATH=$(brew --prefix qt5); fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
brew update; brew install qt5 fftw binutils create-dmg ;
export CMAKE_PREFIX_PATH=$(brew --prefix qt5) ;
echo "CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}" ;
fi
- if [[ "$TRAVIS_OS_NAME" != "osx" ]]; then pip install cmake --user; fi

before_script:
- mkdir build
- cd build
- cmake -DCMAKE_CXX_COMPILER=$CMAKE_CXX_COMPILER -DCMAKE_PREFIX_PATH=$CMAKE_PREFIX_PATH ../
- cmake -DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER} -DCMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH} ../

script:
- make -j4
- make -j4 # create either a bin or a bundle (.app) - depending on openhantek/CMakeLists.txt
- sudo make -j4 package # simply pack the binary, otherwise populate the bundle below
- if test -d openhantek/OpenHantek.app; then
export PATH=${CMAKE_PREFIX_PATH}/bin:${PATH} ;
cd openhantek ;
macdeployqt OpenHantek.app -always-overwrite -verbose=1 ;
python ../../utils/macdeployqtfix/macdeployqtfix.py OpenHantek.app/Contents/MacOS/OpenHantek ${CMAKE_PREFIX_PATH} ;
create-dmg --volname OpenHantek --volicon ../../openhantek/res/images/openhantek.icns --window-pos 200 120 --window-size 800 400 --icon-size 100 --icon "OpenHantek.app" 200 190 --hide-extension "OpenHantek.app" --app-drop-link 600 185 --eula ../../LICENSE OpenHantek.dmg OpenHantek.app ;
cd .. ;
else
ls -l packages ;
true;
fi
- ls -l openhantek || true

before_deploy:
- sudo make package
- if test -d openhantek/OpenHantek.app; then
cd openhantek ;
sudo tar -cvzf ../packages/openhantek_*_osx_*.tar.gz OpenHantek.app ;
if test -f OpenHantek.dmg ; then
sudo mv OpenHantek.dmg ../packages/$(basename ../packages/openhantek_*_osx_*.tar.gz .tar.gz).dmg ;
fi ;
cd .. ;
else
true;
fi
- ls -l packages || true

deploy:
provider: releases
Expand Down
170 changes: 170 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -0,0 +1,170 @@
3.1.3
2020-09-30
RPM build improvements
New command line option --fontsize
Display horizontal trigger level line when marker is moved
Make smooth trigger setting persistent

3.1.2
2020-07-29
Small improvements for FreeBSD
Hide Windows console

3.1.1
2020-06-30
Refresh button to restart roll mode trace
Help menu link to AC modification howto
Minor robustness improvements

3.1.1-rc3
2020-06-26
Real roll mode for slow sample rates

3.1.1-rc2
2020-06-23
Scroll wheel moves the markers
Configuration menu parameter to use AC coupling HW modification

3.1.1-rc1
2020-06-20
Slow timebases up to 10s/div
Near real time screen updates with trigger mode NONE
Screenshot and hardcopy are identical to the screen content
Force OpenGL SL version (option --useGLSL120 or --useGLSL150)

3.1.0
2020-05-08
Demo mode without scope hardware (option -d or --demoMode)
Support for high-dpi displays
Improved pdf readability
Russian translation

3.0.4
2020-04-13
Better marker setting/removing
Fix sample rate spinbox handling
Fix race condition when switching 1ch/2ch
Persistent calibration out frequency
FW 0206
Updated DDS120 FW 0100 (supports more calibration out frequencies)
Spanish translation

3.0.3
2020-03-17
FW 0205
Fix histogram issue when switching TY -> XY

3.0.2
2020-03-01
Apply realtime prio and scheduler
Histogram for TY voltage traces
Variable probe gain setting
French translation complete

3.0.1
2019-12-13
More robust USB handling for all OSs
Improve manipulation and export of frozen or single traces
Export XY display
Automatic icon selection for light/dark themes
Eye candy
Automatic start after FW upload

3.0.0
2019-11-15
Major changes:
Support for Sainsmart DDS120
Support for Hantek6022 AC HW modification
Update to FW 0203
MacOSX bundle
Measure duty cycle of triggered trace
New versioning scheme

v2.16
2019-10-15
Major changes from v2.16-rc1:
Display measured width of triggered pulse in top line.
Set OpenGL ES as default for Raspberry Pi.

v2.16-rc1
2019-10-11
Major changes from v2.15:
Fix #26 (array overrun during fast increasing of timebase setting)

v2.15 - withdrawn due to #26
2019-10-05
Major changes from v2.14:
Automatic translation (qt linguist),
better automatic versioning (commit date & build number),
Sinc interpolation for fast timebase settings,
modification for FreeBSD compiling.

v2.14
2019-09-08
Major changes from v2.13:
Vpp measure, more oversampling, faster display refresh,
alternating trigger, faster trigger (and new smooth trigger mode),
add support for Voltcraft DSO-2020 USB oscilloscope.

v2.13
2019-08-09
Major changes from v2.12:
User manual, new icons.
Calculate and display dB of AC value.

v2.12
2019-07-07
Major changes from v2.11:
Better frequency detection, Gauss window,
normalise all windows to 0 dBV display,
new math mode CH1*CH2.

v2.11
2019-06-28
Major changes from v2.10:
New math mode, calculate AC part of CH1/CH2

v2.10
2019-06-10
Major changes from v2.09:
Use new FW 0202 that allows more and better structured sample rates,
reload the correct FW version if the wrong version was loaded before.

v2.09
2019-05-25
Major changes from v2.08:
Add slower timebases 20, 50, 100 ms/div with increased samplesize.

v2.08
2019-05-24
Major changes from v2.07:
This release fixes the quite unstable spectrum display. The annoying amplitude jitter has gone.

v2.07
2019-05-22
Major changes from v2.06:
First complete free open source release.
No longer dependent on nonfree Hantek firmware.

v2.06
2019-05-14
Major changes from v2.05:
Refactor triggering, move from postprocessing chain into earlier hantekdsocontrol.
Last release with 2090,2150, 2250 and 5200 support.

v2.05
2019-05-10
Major changes from v2.03:
Increase sample size to 20000, better trigger modes

v2.04 - removed due to issues with 10X probe display

v2.03
2019-05-05
Major changes from v2.02:
New checkbox for 10X probes.

v2.02
2019-04-26
Major changes from v2.03:
1st binary release after transfer to OpenHantek/OpenHantek6022
Loading