-
Notifications
You must be signed in to change notification settings - Fork 199
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
Openhantek2 #300
Open
ArakelGaribian
wants to merge
11
commits into
master
Choose a base branch
from
openhantek2
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Openhantek2 #300
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
New features * Extend marker system: Allow unlimited markers and zoomviews * Extend math channels: Dynamic math channels. Math Modes: +,-,* * Add a self-calibration for gnd-offset/gain-limit values. Bug fix * Export: Always keep a pointer to the the last sampleSet. This ways exports work if the user uses a one-time trigger and want to export the visible graphs. * Disable roll-mode for DSO6022 Documentation * API of DsoControl documented and slightly changed. Easier maintenance * DsoControl: Samples are always in [-1,1] range now and user-gain/offsets are applied in post/graphgenerator. * Qt3d is used for the scope window now. No direct shader programming for different platforms or GL versions anymore. * Move settings related files to own subfolder * Make GUI docks independant objects. They react on settings changes and manipulate settings or the dsocontrol object directly. * Split HantekDsoControl into DsoControl+DsoLoop+DsoCommandQueue * sispinbox does not allow a fixed set of values anymore. Made it over complicated and we have QComboBox for this purpose anyway. Optimize * Allow DSO models to not always have 9 fixed gain steps. The DSO6022 for example only has 2. * Remove a lot of allocations in the fetch-samples/convert/show-graph hot-path. We have a PostProcessingResult pool now. * Use the new GlScope class to draw the export graph, no dublicate code and it does look exactly like on screen (except different dimensions).
* rename post/enums.h to enums-post.h so that MOC won't overwrite the file produced for hantekdso/enums.h * explicitely construct unique_ptr when insering sliders
Make ChannelWidgets look more like a composite widget and layout properly. Previously it was a widget which was never added to any layout. Therefore it had default position (0,0) and size (100, 30) inside it's parrent (DsoWidget). Whenever a trigger/level slider was in the left top corner, it was getting under invisible ChannelWidgets. It this case it was impossible to get it out from there since all the mouse events were directed to the ChannelWidgets.
* Q_OBJECT removed * setMeasurementVisible renamed to updateMeasurementVisibility
Signed-off-by: Christian W. Zuckschwerdt <christian@zuckschwerdt.org>
This is probably my last commit on the openhantek2 branch. I've got it to the stage when I can see the reference signal with - correct offset - correct period - correct amplitude - correct voltage measurment label at the bottom - it is possible to change the sample rate and the timebase is calculated correctly Things which are still broken: - software gain control is broken (and turned off in this commit) - with the hardware gain control, the gain dropdown shows Vols per full scale instead of Volts per 1 div - hardware gain is not initialized when application is first started (need to select some other gain to initialize it) - hardware offset is not initialized when changing the gain level (need to shift the slider a bit to initialize it) - trigger offset and position are broken - axes lines are still randomly broken - only 10kS mode currently works - it is impossible to change the timebase directly using the spinner Overall it looks like the codebase is in a pretty broken state. At this point it feels easier to start over with something working and incrementally apply refactoring on top of it while making sure that none of the existing logic has changed.
This project is currently unmaintained. Please try https://github.com/OpenHantek/OpenHantek6022 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Where to download the finished assembly for Mac OS X? I'm not a programmer, it's hard for me to compile the source files.