]>
sigrok.org Git - libsigrok.git/log
Martin Ling [Sat, 6 Sep 2014 12:08:51 +0000 (13:08 +0100)]
C++: Add Configurable::config_keys() method.
Martin Ling [Sat, 6 Sep 2014 12:08:29 +0000 (13:08 +0100)]
C++: Make Driver inherit Configurable.
Martin Ling [Sat, 6 Sep 2014 11:29:36 +0000 (12:29 +0100)]
C++: Fix recursion loop in PacketPayload::get_shared_pointer().
Aurelien Jacobs [Sun, 7 Sep 2014 22:47:27 +0000 (00:47 +0200)]
rigol-ds: replace some magic numbers by appropriate constant or variable
This fixes bug #406.
Bert Vermeulen [Mon, 8 Sep 2014 10:44:16 +0000 (12:44 +0200)]
Add support for HP 6632B.
Bert Vermeulen [Mon, 8 Sep 2014 01:26:19 +0000 (03:26 +0200)]
scpi-pps: Create one channel per MQ/output combination.
This allows frontends to trivially select which MQs on which channels
they want to see; others won't even be fetched.
Bert Vermeulen [Mon, 8 Sep 2014 01:25:41 +0000 (03:25 +0200)]
Add private storage pointer to struct sr_channel.
Bert Vermeulen [Sun, 7 Sep 2014 22:02:03 +0000 (00:02 +0200)]
scpi-pps: Simplify SCPI command handling.
Bert Vermeulen [Fri, 5 Sep 2014 10:52:57 +0000 (12:52 +0200)]
scpi-pps: Add support for Rigol DP831A/DP832A.
Bert Vermeulen [Fri, 5 Sep 2014 10:50:07 +0000 (12:50 +0200)]
scpi-pps: Use regex to match model names.
Bert Vermeulen [Fri, 5 Sep 2014 01:49:25 +0000 (03:49 +0200)]
scpi-pps: Generalize vendor name cleanup.
Bert Vermeulen [Fri, 5 Sep 2014 01:23:32 +0000 (03:23 +0200)]
scpi-pps: Add support for Rigol DP832.
Bert Vermeulen [Fri, 5 Sep 2014 01:20:32 +0000 (03:20 +0200)]
scpi-pps: Add basic cross-vendor PPS functionality.
Bert Vermeulen [Fri, 5 Sep 2014 00:47:22 +0000 (02:47 +0200)]
Revamp PPS-related config keys.
Bert Vermeulen [Sun, 31 Aug 2014 15:20:39 +0000 (17:20 +0200)]
scpi-pps: Initial driver skeleton.
Aurelien Jacobs [Thu, 4 Sep 2014 20:06:54 +0000 (22:06 +0200)]
brymen-bm86x: Add current loop sensor support.
Bert Vermeulen [Fri, 5 Sep 2014 16:33:48 +0000 (18:33 +0200)]
scpi/gpib: Rename backend to scpi_libgpib.
libgpib is the userspace component to linux-gpib's kernel modules that
implement low-level interface drivers.
When libsigrok gets userspace GPIB interface drivers, that backend will
be the "official" scpi_gpib.
Bert Vermeulen [Fri, 5 Sep 2014 16:26:12 +0000 (18:26 +0200)]
build: Use pkgconfig for libgpib.
Martin Ling [Fri, 5 Sep 2014 09:34:04 +0000 (10:34 +0100)]
Add GPIB SCPI backend using linux-gpib and libgpib.
Martin Ling [Tue, 2 Sep 2014 20:31:11 +0000 (21:31 +0100)]
C++: Implement Deleter pattern in UserOwned template.
Martin Ling [Tue, 2 Sep 2014 20:05:42 +0000 (21:05 +0100)]
C++: Add UserOwned base template for objects with resources owned by user.
Martin Ling [Tue, 2 Sep 2014 19:38:44 +0000 (20:38 +0100)]
C++: Rename StructureWrapper to ParentOwned.
Martin Ling [Tue, 2 Sep 2014 19:30:50 +0000 (20:30 +0100)]
C++: Make StructureWrapper a recurring template, eliminating lots of casts.
Martin Ling [Tue, 2 Sep 2014 19:01:35 +0000 (20:01 +0100)]
C++: Don't spell out arguments to StructureWrapper when not required.
Bert Vermeulen [Tue, 2 Sep 2014 20:09:17 +0000 (22:09 +0200)]
input/wav: Now really correctly check supported sample size.
Bert Vermeulen [Tue, 2 Sep 2014 19:55:52 +0000 (21:55 +0200)]
agilent-dmm: U124xx/U125xx: Add current loop sensor support.
Also fixes frequency support.
Martin Ling [Tue, 2 Sep 2014 18:21:11 +0000 (19:21 +0100)]
C++: Fix duplicated shared_ptr creation.
Martin Ling [Mon, 1 Sep 2014 15:41:21 +0000 (16:41 +0100)]
C++: Remove erroneous stray method.
Bert Vermeulen [Wed, 16 Jul 2014 23:06:13 +0000 (01:06 +0200)]
scpi/usbtmc: Minor debug output changes.
Bert Vermeulen [Tue, 2 Sep 2014 19:26:15 +0000 (21:26 +0200)]
input/wav: Correctly check supported sample size.
Marcus Comstedt [Tue, 2 Sep 2014 17:14:25 +0000 (19:14 +0200)]
input/wav: Fix broken handling of float32 samples on big endian
Also, make sure that floats are 32 bit even in the case of an
extensible header.
Bert Vermeulen [Mon, 1 Sep 2014 23:01:56 +0000 (01:01 +0200)]
agilent-dmm: Add temperature regex to U125xx parser.
Bert Vermeulen [Mon, 1 Sep 2014 22:54:23 +0000 (00:54 +0200)]
agilent-dmm: U124xx/U125xx: support 5 more modes.
This adds support for resistance, capacitance, frequency, continuity,
and temperature.
Matthias Heidbrink [Mon, 1 Sep 2014 12:58:26 +0000 (14:58 +0200)]
gmc-mh-1x-2x-rs232: Completed energy measurement ranges (V, A, W) for Metrahit 29S.
Bert Vermeulen [Mon, 1 Sep 2014 19:44:08 +0000 (21:44 +0200)]
agilent-dmm: U124x/U125x fixes.
Uwe Hermann [Fri, 29 Aug 2014 19:32:34 +0000 (21:32 +0200)]
unit tests: Update to recent API changes.
Uwe Hermann [Sun, 31 Aug 2014 22:08:23 +0000 (00:08 +0200)]
error.c: Add missing entries.
Martin Ling [Sat, 30 Aug 2014 11:16:51 +0000 (12:16 +0100)]
C++: Add sanity checks in StructureWrapper.
Bert Vermeulen [Sun, 31 Aug 2014 11:46:45 +0000 (13:46 +0200)]
build: Silence java-clean.
Marcus Comstedt [Sun, 31 Aug 2014 08:56:00 +0000 (10:56 +0200)]
C++: Provide fallbacks for missing stoi/stod functions
Notably, Android does not provide these functions. The fallback
implementation is based on the one in the GNU ISO C++ Library.
Marcus Comstedt [Sun, 31 Aug 2014 08:49:02 +0000 (10:49 +0200)]
Makefile.am: Use $(CXXCOMPILE) to compile C++ code
When compiling the SWIG wrappers for the Java bindings, use the correct
automake macro so that all compiler flags are honoured.
Soeren Apel [Sat, 30 Aug 2014 22:40:11 +0000 (00:40 +0200)]
yokogawa-dlm: Replace g_try_malloc() calls and fix coding style
Soeren Apel [Wed, 27 Aug 2014 12:22:57 +0000 (14:22 +0200)]
yokogawa-dlm: Lower timeout to increase throughput and fix data acq bug
Soeren Apel [Wed, 27 Aug 2014 11:02:20 +0000 (13:02 +0200)]
yokogawa-dlm: Do not block when receiving and save frame length in scope state
Soeren Apel [Tue, 26 Aug 2014 14:09:28 +0000 (16:09 +0200)]
yokogawa-dlm: Flesh out driver with current state of development
Soeren Apel [Mon, 25 Aug 2014 11:09:42 +0000 (13:09 +0200)]
yokogawa-dlm: Integrate driver skeleton
Bert Vermeulen [Sat, 30 Aug 2014 18:16:45 +0000 (20:16 +0200)]
input/csv: Use uint64 for samplerate option.
Bert Vermeulen [Sat, 30 Aug 2014 18:15:30 +0000 (20:15 +0200)]
input/chronovu_la8: Use uint64 for samplerate option.
Bert Vermeulen [Sat, 30 Aug 2014 18:13:13 +0000 (20:13 +0200)]
input/binary: Use uint64 for samplerate option.
Bert Vermeulen [Sat, 30 Aug 2014 17:32:15 +0000 (19:32 +0200)]
agilent-dmm: Add U124xx device IDs.
Bert Vermeulen [Fri, 29 Aug 2014 21:41:41 +0000 (23:41 +0200)]
agilent-dmm: Add provisional support for the U124xx.
Bert Vermeulen [Fri, 29 Aug 2014 21:39:00 +0000 (23:39 +0200)]
agilent-dmm: Assume all A and B models are identical on the wire.
Bert Vermeulen [Fri, 29 Aug 2014 19:35:07 +0000 (21:35 +0200)]
agilent-dmm: Add RMS flag to AC voltage modes.
Bert Vermeulen [Fri, 29 Aug 2014 17:35:01 +0000 (19:35 +0200)]
agilent-dmm: Correctly parse negative overload.
Uwe Hermann [Fri, 29 Aug 2014 21:02:22 +0000 (23:02 +0200)]
Remove unneeded subdriver debug messages.
Martin Ling [Fri, 29 Aug 2014 19:06:49 +0000 (20:06 +0100)]
C++: Fix shared pointer handling for PacketPayload base class.
Martin Ling [Fri, 29 Aug 2014 16:35:46 +0000 (17:35 +0100)]
C++: Fix hash table initialisation in map_to_hash_variant.
Martin Ling [Fri, 29 Aug 2014 13:01:51 +0000 (14:01 +0100)]
C++: Fix shared pointer handling for Device base class.
Martin Ling [Fri, 29 Aug 2014 12:56:40 +0000 (13:56 +0100)]
Clean Java files on any change that needs re-running SWIG.
Bert Vermeulen [Thu, 28 Aug 2014 15:44:24 +0000 (17:44 +0200)]
agilent-dmm: Fix value parser.
This considered 0.0 to be an invalid result for no good reason.
Peter Zotov [Fri, 22 Aug 2014 18:27:56 +0000 (22:27 +0400)]
Add support for mcupro Logic16, a Saleae Logic16 clone.
From sigrok's point of view, this analyzer has two differences:
* It does not require uploading the firmware.
* It returns garbage in some registers used for sanity checks.
Saleae's software ignores that garbage; sigrok only does if it
specifically detects the mcupro clone.
Bert Vermeulen [Wed, 27 Aug 2014 23:49:48 +0000 (01:49 +0200)]
C++: Use sr_input_scan_*() API changes.
Bert Vermeulen [Wed, 27 Aug 2014 22:22:13 +0000 (00:22 +0200)]
input: sr_input_scan_*() now return a status code.
SR_OK: a match was found.
SR_ERR: no match.
SR_ERR_DATA: a match was found but the module cannot handle the input.
SR_OK_CONTINUE: some module didn't have enough data to be sure.
Bert Vermeulen [Wed, 27 Aug 2014 22:19:36 +0000 (00:19 +0200)]
Add error string for SR_OK_CONTINUE.
Bert Vermeulen [Wed, 27 Aug 2014 22:18:29 +0000 (00:18 +0200)]
Add SR_ERR_DATA.
Bert Vermeulen [Wed, 27 Aug 2014 13:55:52 +0000 (15:55 +0200)]
input/wav: Support for WAVE_FORMAT_EXTENSIBLE.
This is needed for supporting > 16-bit PCM samples.
Bert Vermeulen [Tue, 26 Aug 2014 20:48:12 +0000 (22:48 +0200)]
input/wav: use our own endian macros.
These should work better on non-aligned memory locations.
Bert Vermeulen [Tue, 26 Aug 2014 20:45:38 +0000 (22:45 +0200)]
Add RB16S and RB32S (signed) macros.
Also note signedness of all the endian macros.
Bert Vermeulen [Tue, 26 Aug 2014 10:38:41 +0000 (12:38 +0200)]
input: Avoid warnings on all-zero static struct entries.
Martin Ling [Sun, 24 Aug 2014 19:11:35 +0000 (20:11 +0100)]
C++: Update InputFormat::get_options for latest version of input API.
Martin Ling [Sun, 24 Aug 2014 13:22:03 +0000 (14:22 +0100)]
C++: Implement InputFormat::get_options()
Martin Ling [Sun, 24 Aug 2014 01:00:14 +0000 (02:00 +0100)]
C++: Correct ownership of InputDevice objects.
Martin Ling [Sun, 24 Aug 2014 00:40:19 +0000 (01:40 +0100)]
Update bindings for new input API.
Bert Vermeulen [Tue, 19 Aug 2014 23:29:37 +0000 (01:29 +0200)]
input: Convert binary module.
Bert Vermeulen [Tue, 19 Aug 2014 23:27:39 +0000 (01:27 +0200)]
input: format_match() is not required in an input module.
Bert Vermeulen [Tue, 19 Aug 2014 22:43:13 +0000 (00:43 +0200)]
input: Convert chronovu-la8 module.
Bert Vermeulen [Tue, 19 Aug 2014 22:42:16 +0000 (00:42 +0200)]
input/vcd: Minor code cleanup.
Bert Vermeulen [Tue, 19 Aug 2014 22:41:22 +0000 (00:41 +0200)]
input: Only feed scanned header to streams, not scanned files.
Bert Vermeulen [Tue, 19 Aug 2014 22:40:25 +0000 (00:40 +0200)]
input: Only use header buffer for modules that need it.
The buffer was leaking into modules that didn't ask for it.
Bert Vermeulen [Tue, 19 Aug 2014 14:49:27 +0000 (16:49 +0200)]
input/wav: Send END packet on cleanup.
Bert Vermeulen [Tue, 19 Aug 2014 14:49:18 +0000 (16:49 +0200)]
input/vcd: Send END packet on cleanup.
Bert Vermeulen [Mon, 18 Aug 2014 22:14:47 +0000 (00:14 +0200)]
input: Convert CSV module.
Bert Vermeulen [Mon, 18 Aug 2014 22:12:32 +0000 (00:12 +0200)]
Add second positive status code: SR_OK_CONTINUE.
Errors are thus always < 0, SR_OK == 0, and "OK but..." status
codes are > 0.
Bert Vermeulen [Mon, 18 Aug 2014 22:09:09 +0000 (00:09 +0200)]
input: sr_input_new() always allocates the instance buffer.
Bert Vermeulen [Mon, 18 Aug 2014 22:07:36 +0000 (00:07 +0200)]
input: Fix option enumeration.
Bert Vermeulen [Fri, 15 Aug 2014 21:31:39 +0000 (23:31 +0200)]
input: Fix internal API docs.
Bert Vermeulen [Fri, 15 Aug 2014 21:31:20 +0000 (23:31 +0200)]
input: Actually return a NULL-terminated array.
Bert Vermeulen [Fri, 15 Aug 2014 17:59:38 +0000 (19:59 +0200)]
input: Frontends don't need to see SR_INPUT_META_*.
Bert Vermeulen [Wed, 13 Aug 2014 12:18:12 +0000 (14:18 +0200)]
input: Fixes and VCD.
Bert Vermeulen [Sun, 10 Aug 2014 16:44:39 +0000 (18:44 +0200)]
input: Fix up API documentation.
Bert Vermeulen [Sun, 10 Aug 2014 14:57:04 +0000 (16:57 +0200)]
input: Introduce new input module API.
This is a work in progress.
Bert Vermeulen [Sun, 3 Aug 2014 13:12:49 +0000 (15:12 +0200)]
input: make sr_input{_module} opaque to clients.
Bert Vermeulen [Sun, 3 Aug 2014 13:11:24 +0000 (15:11 +0200)]
input: s/format/module in all naming.
Bert Vermeulen [Mon, 25 Aug 2014 23:49:00 +0000 (01:49 +0200)]
fx2lafw: Code cleanup.
Bert Vermeulen [Mon, 25 Aug 2014 23:48:27 +0000 (01:48 +0200)]
Avoid warnings on all-zero static struct entries.
Bert Vermeulen [Sun, 24 Aug 2014 23:00:00 +0000 (01:00 +0200)]
pipistrello-ols: Disable unused trigger stages.
Thanks to Magnus Karlsson for this fix.
Bert Vermeulen [Fri, 22 Aug 2014 12:59:04 +0000 (14:59 +0200)]
pipistrello-ols: Preliminary port to current API.
magnuskarlsson [Thu, 5 Jun 2014 21:28:50 +0000 (14:28 -0700)]
DEMUX and RLE fixes
magnuskarlsson [Thu, 29 May 2014 01:53:22 +0000 (18:53 -0700)]
added edge triggers
magnuskarlsson [Sat, 10 May 2014 23:15:19 +0000 (16:15 -0700)]
fixed typos