]> sigrok.org Git - libsigrok.git/log
libsigrok.git
11 years agocem-dt-885x: Support for changing time weighting
Bert Vermeulen [Sat, 15 Jun 2013 11:00:41 +0000 (13:00 +0200)]
cem-dt-885x: Support for changing time weighting

11 years agocem-dt-885x: Support for changing frequency weighting
Bert Vermeulen [Sat, 15 Jun 2013 10:17:55 +0000 (12:17 +0200)]
cem-dt-885x: Support for changing frequency weighting

11 years agoAdd SR_CONF keys for sound pressure level time and frequency weighting
Bert Vermeulen [Sat, 15 Jun 2013 10:09:31 +0000 (12:09 +0200)]
Add SR_CONF keys for sound pressure level time and frequency weighting

11 years agocem-dt-885x: Support for turning data logging on/off
Bert Vermeulen [Thu, 13 Jun 2013 12:33:15 +0000 (14:33 +0200)]
cem-dt-885x: Support for turning data logging on/off

11 years agoAdd SR_ERR_TIMEOUT
Bert Vermeulen [Thu, 13 Jun 2013 12:23:06 +0000 (14:23 +0200)]
Add SR_ERR_TIMEOUT

11 years agoadded Voltcraft M-3650D Multimeter
Florian Steinhardt [Tue, 11 Jun 2013 18:35:57 +0000 (20:35 +0200)]
added Voltcraft M-3650D Multimeter

11 years agocem-dt-885x: Send last measurement at normal rate in hold mode
Bert Vermeulen [Wed, 12 Jun 2013 14:04:23 +0000 (16:04 +0200)]
cem-dt-885x: Send last measurement at normal rate in hold mode

The device only sends the "hold" token otherwise, which clashes somewhat
with other devices. This makes the device more predictable for frontends.

11 years agocem-dt-885x: Hold off measurements in max/min hold mode
Bert Vermeulen [Wed, 12 Jun 2013 13:45:37 +0000 (15:45 +0200)]
cem-dt-885x: Hold off measurements in max/min hold mode

11 years agocem-dt-885x: Live SPL acquisition
Bert Vermeulen [Wed, 12 Jun 2013 11:10:56 +0000 (13:10 +0200)]
cem-dt-885x: Live SPL acquisition

11 years agocem-dt-885x: Flesh out driver, add scan functionality
Bert Vermeulen [Tue, 11 Jun 2013 21:33:25 +0000 (23:33 +0200)]
cem-dt-885x: Flesh out driver, add scan functionality

11 years agocem-dt-885x: Initial driver skeleton.
Bert Vermeulen [Fri, 7 Jun 2013 23:12:10 +0000 (01:12 +0200)]
cem-dt-885x: Initial driver skeleton.

11 years agoscanalogic2: Only print actual state changes in the log.
Uwe Hermann [Tue, 11 Jun 2013 16:55:47 +0000 (18:55 +0200)]
scanalogic2: Only print actual state changes in the log.

11 years agoscanalogic2: Replace %i with %s where needed.
Uwe Hermann [Tue, 11 Jun 2013 16:55:47 +0000 (18:55 +0200)]
scanalogic2: Replace %i with %s where needed.

11 years agoscanalogic2: Shorten a few function name prefixes.
Uwe Hermann [Tue, 11 Jun 2013 16:55:47 +0000 (18:55 +0200)]
scanalogic2: Shorten a few function name prefixes.

The driver-private helper functions in protocol.c can have a shorter
prefix to make the code look nicer.

11 years agoscanalogic2: Cosmetics, whitespace, typos, etc.
Uwe Hermann [Tue, 11 Jun 2013 16:55:47 +0000 (18:55 +0200)]
scanalogic2: Cosmetics, whitespace, typos, etc.

11 years agoInitial driver for IKALOGIC Scanalogic-2
Marc Schink [Mon, 10 Jun 2013 08:10:13 +0000 (10:10 +0200)]
Initial driver for IKALOGIC Scanalogic-2

11 years agoikalogic-scanalogic2: Initial driver skeleton.
Marc Schink [Fri, 7 Jun 2013 18:34:40 +0000 (20:34 +0200)]
ikalogic-scanalogic2: Initial driver skeleton.

11 years agools/link-mso19: Consistency fixes.
Uwe Hermann [Sun, 2 Jun 2013 14:54:31 +0000 (16:54 +0200)]
ols/link-mso19: Consistency fixes.

Use the same setup/ordering/naming for the cleanup/dev_clear functions
as all other drivers do.

11 years agodemo: Use std_dev_clear().
Uwe Hermann [Sun, 2 Jun 2013 14:43:26 +0000 (16:43 +0200)]
demo: Use std_dev_clear().

11 years agos/clear_instances/dev_clear/.
Uwe Hermann [Fri, 31 May 2013 14:09:57 +0000 (16:09 +0200)]
s/clear_instances/dev_clear/.

Consistently use the same name for the dev_clear() API callback
everywhere.

11 years agostd: Drop hw_ from function names.
Uwe Hermann [Fri, 31 May 2013 13:46:57 +0000 (15:46 +0200)]
std: Drop hw_ from function names.

The per-driver API calls no longer have a hw_ prefix (e.g. hw_init()
became init() and so on), so drop the 'hw_' from the std versions
for those API callbacks too.

11 years agoasix-sigma: Use std_dev_clear().
Uwe Hermann [Fri, 31 May 2013 13:33:58 +0000 (15:33 +0200)]
asix-sigma: Use std_dev_clear().

11 years agoalsa: Use std_dev_clear().
Uwe Hermann [Fri, 31 May 2013 13:28:43 +0000 (15:28 +0200)]
alsa: Use std_dev_clear().

11 years agorigol-ds1xx2: Use std_dev_clear().
Uwe Hermann [Fri, 31 May 2013 13:19:53 +0000 (15:19 +0200)]
rigol-ds1xx2: Use std_dev_clear().

11 years agohantek-dso: Simplify cleanup().
Uwe Hermann [Fri, 31 May 2013 13:18:47 +0000 (15:18 +0200)]
hantek-dso: Simplify cleanup().

11 years agonexus-osciprime: Use std_dev_clear().
Uwe Hermann [Fri, 31 May 2013 13:18:22 +0000 (15:18 +0200)]
nexus-osciprime: Use std_dev_clear().

11 years agolascar-el-usb: Use std_dev_clear().
Uwe Hermann [Fri, 31 May 2013 12:25:33 +0000 (14:25 +0200)]
lascar-el-usb: Use std_dev_clear().

11 years agofluke-dmm: Use std_dev_clear().
Uwe Hermann [Fri, 31 May 2013 12:20:34 +0000 (14:20 +0200)]
fluke-dmm: Use std_dev_clear().

11 years agocolead-slm: Use std_dev_clear().
Uwe Hermann [Fri, 31 May 2013 12:17:38 +0000 (14:17 +0200)]
colead-slm: Use std_dev_clear().

11 years agoagilent-dmm: Use std_dev_clear().
Uwe Hermann [Fri, 31 May 2013 12:13:20 +0000 (14:13 +0200)]
agilent-dmm: Use std_dev_clear().

11 years agovictor-dmm: Use std_dev_clear().
Uwe Hermann [Fri, 31 May 2013 12:10:59 +0000 (14:10 +0200)]
victor-dmm: Use std_dev_clear().

11 years agobrymen-dmm: Use std_dev_clear().
Uwe Hermann [Fri, 31 May 2013 12:00:30 +0000 (14:00 +0200)]
brymen-dmm: Use std_dev_clear().

11 years agocsv output: Fix incorrect ordering of the probes.
Uwe Hermann [Tue, 21 May 2013 18:54:42 +0000 (20:54 +0200)]
csv output: Fix incorrect ordering of the probes.

The comment for the CSV output module says probes are ordered e.g.
0,1,2,3, but the actual values were in the 3,2,1,0 order.

We're fixing this by making the order of the probe values 0,1,2,3 too
for now, but this will become a configurable option later on.

Thanks Patrick Servello <redacted> for the patch.

11 years agoAlways link against the math library.
Uwe Hermann [Fri, 10 May 2013 18:59:42 +0000 (20:59 +0200)]
Always link against the math library.

This fixes bug #115.

11 years agosession_driver: Fix return codes, cosmetics.
Uwe Hermann [Fri, 10 May 2013 18:31:25 +0000 (20:31 +0200)]
session_driver: Fix return codes, cosmetics.

11 years agoUse consistent API callback function names.
Uwe Hermann [Fri, 10 May 2013 17:37:54 +0000 (19:37 +0200)]
Use consistent API callback function names.

This now matches what the 'new-driver' tool generates.

11 years agozeroplus: Properly set inst_type to SR_INST_USB.
Uwe Hermann [Fri, 10 May 2013 17:16:25 +0000 (19:16 +0200)]
zeroplus: Properly set inst_type to SR_INST_USB.

11 years agozeroplus: Use std_dev_clear().
Uwe Hermann [Fri, 10 May 2013 17:06:47 +0000 (19:06 +0200)]
zeroplus: Use std_dev_clear().

11 years agouni-t-dmm: Use std_dev_clear().
Uwe Hermann [Fri, 10 May 2013 16:59:46 +0000 (18:59 +0200)]
uni-t-dmm: Use std_dev_clear().

11 years agoserial-dmm: Use std_dev_clear().
Uwe Hermann [Fri, 10 May 2013 16:53:42 +0000 (18:53 +0200)]
serial-dmm: Use std_dev_clear().

11 years agochronovu-la8: Use std_dev_clear().
Uwe Hermann [Fri, 10 May 2013 16:40:13 +0000 (18:40 +0200)]
chronovu-la8: Use std_dev_clear().

11 years agoDrop some lines that are no longer needed.
Uwe Hermann [Fri, 10 May 2013 16:30:32 +0000 (18:30 +0200)]
Drop some lines that are no longer needed.

11 years agotondaj-sl-814: Use std_dev_clear().
Uwe Hermann [Fri, 10 May 2013 15:56:53 +0000 (17:56 +0200)]
tondaj-sl-814: Use std_dev_clear().

11 years agomic-985xx: Use std_dev_clear().
Uwe Hermann [Fri, 10 May 2013 15:54:53 +0000 (17:54 +0200)]
mic-985xx: Use std_dev_clear().

11 years agoUse consistent naming for internal libtool helper libs.
Uwe Hermann [Wed, 8 May 2013 17:49:23 +0000 (19:49 +0200)]
Use consistent naming for internal libtool helper libs.

This now also matches what the 'new-driver' tool generates.

11 years agoUse consistent HW_ name prefixes everywhere.
Uwe Hermann [Wed, 8 May 2013 17:33:30 +0000 (19:33 +0200)]
Use consistent HW_ name prefixes everywhere.

Older drivers used LA_* previously, we now use HW_* everywhere though.

11 years agodevice.c: Add missing @since markers.
Uwe Hermann [Sun, 5 May 2013 15:14:20 +0000 (17:14 +0200)]
device.c: Add missing @since markers.

Also, add Doxygen comments for functions which don't have any yet.

11 years agoDoxyfile: Set version to "unreleased development snapshot".
Uwe Hermann [Wed, 8 May 2013 14:41:18 +0000 (16:41 +0200)]
Doxyfile: Set version to "unreleased development snapshot".

11 years agoRe-enable link-mso19 and nexus-osciprime drivers.
Uwe Hermann [Wed, 8 May 2013 14:40:45 +0000 (16:40 +0200)]
Re-enable link-mso19 and nexus-osciprime drivers.

11 years agofx2lafw: Fix memory leak
Bert Vermeulen [Mon, 6 May 2013 18:44:26 +0000 (20:44 +0200)]
fx2lafw: Fix memory leak

11 years agools: Code cleanup
Bert Vermeulen [Sun, 5 May 2013 22:42:18 +0000 (00:42 +0200)]
ols: Code cleanup

This also fixes a memory leak.

11 years agoFix various memory leaks
Bert Vermeulen [Sun, 5 May 2013 22:40:17 +0000 (00:40 +0200)]
Fix various memory leaks

11 years agostd: Fix memory leak, code cleanup
Bert Vermeulen [Sun, 5 May 2013 22:36:50 +0000 (00:36 +0200)]
std: Fix memory leak, code cleanup

11 years agoDrop link-mso19/nexus-osciprime in preparation for release. dsupstream libsigrok-0.2.0
Uwe Hermann [Thu, 25 Apr 2013 17:01:54 +0000 (19:01 +0200)]
Drop link-mso19/nexus-osciprime in preparation for release.

These two drivers are currently unfinished and don't work, so disable
and "unhook" them for now in preparation of the next libsigrok release.

They're still in the git repository, but not hooked up to the build
system, so that they won't get detected or built, and also don't end up
in the release tarball.

Since link-mso19 is the only driver that currently requires libudev,
drop any reference to that, too.

It should be relatively easy to apply this patch in reverse after the
release to bring back both drivers.

11 years agoDoxyfile: Set version number to 0.2.0.
Uwe Hermann [Sat, 4 May 2013 13:55:11 +0000 (15:55 +0200)]
Doxyfile: Set version number to 0.2.0.

11 years agoudev rules file: Add entry for the ZEROPLUS LAP-16128U.
Uwe Hermann [Sat, 4 May 2013 13:22:45 +0000 (15:22 +0200)]
udev rules file: Add entry for the ZEROPLUS LAP-16128U.

11 years agoNEWS: Minor update.
Uwe Hermann [Sat, 4 May 2013 13:17:50 +0000 (15:17 +0200)]
NEWS: Minor update.

11 years agoFix libsigrok lib version (current:revision:age).
Uwe Hermann [Sat, 4 May 2013 13:12:20 +0000 (15:12 +0200)]
Fix libsigrok lib version (current:revision:age).

The last release (libsigrok 0.1.1) had a lib version of 0:0:0.

This release thus gets 1:0:0 according to the libtool manual guidelines.

11 years agouni-t-dmm: Add missing SR_CONF_LIMIT_MSEC support.
Uwe Hermann [Fri, 3 May 2013 22:07:34 +0000 (00:07 +0200)]
uni-t-dmm: Add missing SR_CONF_LIMIT_MSEC support.

11 years agos/DRIVER_LOG_DOMAIN/LOG_PREFIX/.
Uwe Hermann [Fri, 3 May 2013 19:59:32 +0000 (21:59 +0200)]
s/DRIVER_LOG_DOMAIN/LOG_PREFIX/.

This is more correct anyway, and also a bit shorter and more readable.

11 years agoMinor whitespace fixes.
Uwe Hermann [Fri, 3 May 2013 12:03:49 +0000 (14:03 +0200)]
Minor whitespace fixes.

11 years agoREADME.devices: Document how to make some DMMs log.
Uwe Hermann [Thu, 2 May 2013 21:37:23 +0000 (23:37 +0200)]
README.devices: Document how to make some DMMs log.

11 years agoNEWS: Various updates and minor fixes.
Uwe Hermann [Thu, 2 May 2013 17:03:47 +0000 (19:03 +0200)]
NEWS: Various updates and minor fixes.

11 years agoFix the build when libusb is not available.
Uwe Hermann [Thu, 2 May 2013 15:37:55 +0000 (17:37 +0200)]
Fix the build when libusb is not available.

Thanks Simon Richter <redacted> for reporting.

11 years agoDeal with uninitialized drivers
Bert Vermeulen [Wed, 1 May 2013 12:54:44 +0000 (14:54 +0200)]
Deal with uninitialized drivers

11 years agoserial-dmm: Add Tecpel DMM-8060 support.
Uwe Hermann [Wed, 1 May 2013 01:16:47 +0000 (03:16 +0200)]
serial-dmm: Add Tecpel DMM-8060 support.

11 years agoserial-dmm: Add Tecpel DMM-8061 support.
Uwe Hermann [Wed, 1 May 2013 01:13:15 +0000 (03:13 +0200)]
serial-dmm: Add Tecpel DMM-8061 support.

11 years agouni-t-dmm: Add Tecpel DMM-8060 support.
Uwe Hermann [Wed, 1 May 2013 01:04:46 +0000 (03:04 +0200)]
uni-t-dmm: Add Tecpel DMM-8060 support.

This is _very_ likely to be a rebadged Voltcraft VC-820, treating as such.

11 years agouni-t-dmm: Add Tecpel DMM-8061 support.
Uwe Hermann [Wed, 1 May 2013 01:00:08 +0000 (03:00 +0200)]
uni-t-dmm: Add Tecpel DMM-8061 support.

11 years agofs9721: Factor out common code from serial-dmm.
Uwe Hermann [Wed, 1 May 2013 00:10:56 +0000 (02:10 +0200)]
fs9721: Factor out common code from serial-dmm.

These functions are FS9721 specific (and DMM specific), and can be used
from various drivers (e.g. serial-dmm or uni-t-dmm or possibly others).

11 years agouni-t-dmm/serial-dmm: Handle Voltcraft VC-840 temperature.
Uwe Hermann [Tue, 30 Apr 2013 23:56:30 +0000 (01:56 +0200)]
uni-t-dmm/serial-dmm: Handle Voltcraft VC-840 temperature.

11 years agofs9922: Fix beep mode.
Uwe Hermann [Tue, 30 Apr 2013 23:02:46 +0000 (01:02 +0200)]
fs9922: Fix beep mode.

11 years agofs9922: Fix diode mode parsing.
Uwe Hermann [Tue, 30 Apr 2013 23:00:54 +0000 (01:00 +0200)]
fs9922: Fix diode mode parsing.

11 years agouni-t-dmm: Fix incorrect UNI-T UT61D baudrate.
Uwe Hermann [Tue, 30 Apr 2013 18:28:29 +0000 (20:28 +0200)]
uni-t-dmm: Fix incorrect UNI-T UT61D baudrate.

11 years agouni-t-dmm: Add support for the Voltcraft VC-840.
Uwe Hermann [Tue, 30 Apr 2013 18:27:04 +0000 (20:27 +0200)]
uni-t-dmm: Add support for the Voltcraft VC-840.

This DMM is already supported via the serial-dmm driver when using the
RS232 cable. The uni-t-dmm support makes it usable with the USB/HID
cable too.

11 years agouni-t-dmm: Add support for the UNI-T UT61E.
Uwe Hermann [Mon, 29 Apr 2013 18:23:21 +0000 (20:23 +0200)]
uni-t-dmm: Add support for the UNI-T UT61E.

This DMM is already supported via the serial-dmm driver when using the
RS232 cable. The uni-t-dmm support makes it usable with the USB/HID
cable too.

11 years agoserial-dmm: Add support for the UNI-T UT61D.
Uwe Hermann [Mon, 29 Apr 2013 18:15:02 +0000 (20:15 +0200)]
serial-dmm: Add support for the UNI-T UT61D.

This DMM is already supported via the uni-t-dmm driver when using the
USB/HID cable. The serial-dmm support makes it usable with the RS232
cable too.

11 years agouni-t-dmm: Use sr_dev_inst to store connection handle.
Uwe Hermann [Sun, 28 Apr 2013 06:13:15 +0000 (08:13 +0200)]
uni-t-dmm: Use sr_dev_inst to store connection handle.

11 years agobrymen-dmm: Use sr_dev_inst to store connection handle.
Uwe Hermann [Sun, 28 Apr 2013 06:01:51 +0000 (08:01 +0200)]
brymen-dmm: Use sr_dev_inst to store connection handle.

11 years agooutput: Use sr_config_get() wrapper
Bert Vermeulen [Tue, 30 Apr 2013 14:03:37 +0000 (16:03 +0200)]
output: Use sr_config_get() wrapper

This obviates the need for a valid driver, and thus makes converting
from any (non-sr) input format to any output format possible; the only
thing missing is the samplerate.

Fixes bug 105.

11 years agofx2lafw: Keep track of our own libusb fds
Bert Vermeulen [Tue, 30 Apr 2013 07:55:44 +0000 (09:55 +0200)]
fx2lafw: Keep track of our own libusb fds

11 years agoDon't remove stray source from the session after stopping
Bert Vermeulen [Mon, 29 Apr 2013 22:04:39 +0000 (00:04 +0200)]
Don't remove stray source from the session after stopping

It's up to the drivers and frontends to remove the sources they
added to the session.

Also don't tell the driver about a forced session stop more than
once, because it's sloppy.

Fixes bug 62.

11 years agofx2lafw: Properly initialize operational state before acquisition
Bert Vermeulen [Mon, 29 Apr 2013 17:02:26 +0000 (19:02 +0200)]
fx2lafw: Properly initialize operational state before acquisition

11 years agools: Don't close serial port after acquisition is done
Bert Vermeulen [Mon, 29 Apr 2013 10:39:26 +0000 (12:39 +0200)]
ols: Don't close serial port after acquisition is done

11 years agoDon't try to close devices when removing them from the session
Bert Vermeulen [Sun, 28 Apr 2013 20:35:42 +0000 (22:35 +0200)]
Don't try to close devices when removing them from the session

That's the frontend's job.

11 years agoNEWS: Add most important items since last release.
Uwe Hermann [Mon, 22 Apr 2013 19:57:51 +0000 (21:57 +0200)]
NEWS: Add most important items since last release.

11 years agotondaj-sl-814: Use sr_dev_inst to store connection handle.
Uwe Hermann [Wed, 24 Apr 2013 17:14:52 +0000 (19:14 +0200)]
tondaj-sl-814: Use sr_dev_inst to store connection handle.

11 years agounittests: Disable a broken test for now.
Uwe Hermann [Sat, 27 Apr 2013 17:06:27 +0000 (19:06 +0200)]
unittests: Disable a broken test for now.

11 years agoDon't automatically clear known instances from USB drivers on scan
Bert Vermeulen [Sat, 27 Apr 2013 16:27:32 +0000 (18:27 +0200)]
Don't automatically clear known instances from USB drivers on scan

This invalidates previously returned sr_dev_inst pointers, which a
frontend may be holding. It's the frontend's responsibility to clear
the list of instances a driver keeps track of by calling

sr_dev_clear(driver);

if it wants a completely new scan done.

11 years agoExplicitly initialize all struct parameters on init
Bert Vermeulen [Sat, 27 Apr 2013 16:24:50 +0000 (18:24 +0200)]
Explicitly initialize all struct parameters on init

11 years agoFix output API receive() function
Bert Vermeulen [Sat, 27 Apr 2013 15:29:46 +0000 (17:29 +0200)]
Fix output API receive() function

This changes the new output API's recv() to receive(), and has it
return an integer status code. The output of the function, if any,
is stored in a new parameter as a pointer to a newly allocated GString.

All output modules using this API have been adjusted.

11 years agoRemove SR_MAX_NUM_PROBES, which is now no longer used.
Martin Ling [Fri, 26 Apr 2013 22:20:33 +0000 (23:20 +0100)]
Remove SR_MAX_NUM_PROBES, which is now no longer used.

11 years agovcd output: Replace fixed length array of indices with GArray.
Martin Ling [Fri, 26 Apr 2013 22:16:30 +0000 (23:16 +0100)]
vcd output: Replace fixed length array of indices with GArray.

11 years agovcd output: Eliminate unnecessary array of probe names.
Martin Ling [Fri, 26 Apr 2013 22:00:51 +0000 (23:00 +0100)]
vcd output: Eliminate unnecessary array of probe names.

11 years agognuplot: Eliminate fixed-size header buffer based on max probes.
Martin Ling [Fri, 26 Apr 2013 21:50:09 +0000 (22:50 +0100)]
gnuplot: Eliminate fixed-size header buffer based on max probes.

11 years agognuplot: Remove unnecessary array of probe names.
Martin Ling [Fri, 26 Apr 2013 21:29:41 +0000 (22:29 +0100)]
gnuplot: Remove unnecessary array of probe names.

11 years agocsv: Remove unnecessary array of probe names.
Martin Ling [Fri, 26 Apr 2013 21:26:14 +0000 (22:26 +0100)]
csv: Remove unnecessary array of probe names.

11 years agochronovu-l8: remove unused array of probe names.
Martin Ling [Fri, 26 Apr 2013 21:20:05 +0000 (22:20 +0100)]
chronovu-l8: remove unused array of probe names.

11 years agotext: Use a GSList of enabled probe names, not an array.
Martin Ling [Fri, 26 Apr 2013 21:14:57 +0000 (22:14 +0100)]
text: Use a GSList of enabled probe names, not an array.

11 years agovcd input: Use a GSList rather than fixed size array of probes.
Martin Ling [Fri, 26 Apr 2013 19:52:25 +0000 (20:52 +0100)]
vcd input: Use a GSList rather than fixed size array of probes.