Fix bug #1331, fix memory leaks, support Volts/div units, sort channels by type, do not show all read capabilities, parse SCPI commands#1
Open
gtrentalancia wants to merge 6 commits intosigrokproject:masterfrom
Conversation
8cc8080 to
b1c805f
Compare
broken in sigrok-cli (invalid values are displayed): - "timebase" in yokogawa-dlm, rohde-schwarz-hameg, hantek-dso, lecroy-xstream, siglent-sds and rigol-ds drivers; - "vdiv" in hantek-6xxx, yokogawa-dlm, rohde-schwarz-hameg, hantek-dso, lecroy-xstream, hung-chang-dso-2100, siglent-sds and rigol-ds drivers; - "spl_meas_range" in pce-322a and cem-dt-885x drivers. Fixes bug #1331.
the vertical scale).
For example, automatic measurements can be read but should not be shown in the supported configuration options list (--show). This change requires the following recent libsigrok change: commit 7b68fbf0671c9865984333327f215384f7e8b197 Date: Thu Dec 20 19:51:11 2018 +0100
The support for sending custom SCPI commands to the device has recently been added to libsigrok. Add the corresponding support for parsing such commands in sigrok-cli.
This file contains hidden or 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
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.
REQUIRES:
sigrokproject/libsigrok@fc68534?
REQUIRES:
sigrokproject/libsigrok@13c7144?
REQUIRES:
sigrokproject/libsigrok@9da062f?
main.c | 15 +++++++++++++++
parsers.c | 10 +++++++++-
show.c | 53 ++++++++++++++++++++++++++++++++++++++++-------------
sigrok-cli.h | 3 +++
4 files changed, 67 insertions(+), 14 deletions(-)