Commit Graph

1587 Commits

Author SHA1 Message Date
Uwe Hermann 456dfd9f70 NEWS: Various updates and minor fixes. 2013-05-03 13:31:02 +02:00
Uwe Hermann a0c7e23ad8 Fix the build when libusb is not available.
Thanks Simon Richter <Simon.Richter@hogyros.de> for reporting.
2013-05-03 13:29:49 +02:00
Bert Vermeulen 3a277f3b2b Deal with uninitialized drivers 2013-05-01 23:30:37 +02:00
Uwe Hermann c2fa697afa serial-dmm: Add Tecpel DMM-8060 support. 2013-05-01 03:16:47 +02:00
Uwe Hermann b38e08fbb7 serial-dmm: Add Tecpel DMM-8061 support. 2013-05-01 03:13:43 +02:00
Uwe Hermann 4554314c4f uni-t-dmm: Add Tecpel DMM-8060 support.
This is _very_ likely to be a rebadged Voltcraft VC-820, treating as such.
2013-05-01 03:04:46 +02:00
Uwe Hermann b6bad47c91 uni-t-dmm: Add Tecpel DMM-8061 support. 2013-05-01 03:00:41 +02:00
Uwe Hermann 2451a20ff5 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).
2013-05-01 02:16:55 +02:00
Uwe Hermann 4853559466 uni-t-dmm/serial-dmm: Handle Voltcraft VC-840 temperature. 2013-05-01 01:58:42 +02:00
Uwe Hermann ad00a54da6 fs9922: Fix beep mode. 2013-05-01 01:02:46 +02:00
Uwe Hermann 649a4cd672 fs9922: Fix diode mode parsing. 2013-05-01 01:00:54 +02:00
Uwe Hermann 767aae30ed uni-t-dmm: Fix incorrect UNI-T UT61D baudrate. 2013-04-30 20:22:18 +02:00
Uwe Hermann 695d0e1efa 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.
2013-04-30 20:22:17 +02:00
Uwe Hermann bbef5e326d 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.
2013-04-30 20:22:17 +02:00
Uwe Hermann ae3a59de62 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.
2013-04-30 20:22:17 +02:00
Uwe Hermann 3ece1dff6c uni-t-dmm: Use sr_dev_inst to store connection handle. 2013-04-30 20:22:17 +02:00
Uwe Hermann d9a7c349ed brymen-dmm: Use sr_dev_inst to store connection handle. 2013-04-30 20:22:17 +02:00
Bert Vermeulen af51a7718e 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.
2013-04-30 16:03:37 +02:00
Bert Vermeulen 0a7da5f8c9 fx2lafw: Keep track of our own libusb fds 2013-04-30 09:55:44 +02:00
Bert Vermeulen 0372864451 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.
2013-04-30 00:09:20 +02:00
Bert Vermeulen 2a67abfe34 fx2lafw: Properly initialize operational state before acquisition 2013-04-29 19:02:26 +02:00
Bert Vermeulen 0f75d6f5a9 ols: Don't close serial port after acquisition is done 2013-04-29 12:39:26 +02:00
Bert Vermeulen 681803dfde Don't try to close devices when removing them from the session
That's the frontend's job.
2013-04-28 22:35:42 +02:00
Uwe Hermann 115f829396 NEWS: Add most important items since last release. 2013-04-28 00:08:55 +02:00
Uwe Hermann a5e44c3247 tondaj-sl-814: Use sr_dev_inst to store connection handle. 2013-04-27 21:22:15 +02:00
Uwe Hermann 44f91e2950 unittests: Disable a broken test for now. 2013-04-27 19:06:27 +02:00
Bert Vermeulen 50c604f50b 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.
2013-04-27 18:27:32 +02:00
Bert Vermeulen c2523f2213 Explicitly initialize all struct parameters on init 2013-04-27 18:24:50 +02:00
Bert Vermeulen 17f63de642 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.
2013-04-27 17:29:46 +02:00
Martin Ling 9c48c2e91e Remove SR_MAX_NUM_PROBES, which is now no longer used. 2013-04-27 15:49:50 +02:00
Martin Ling a1be7b6c3f vcd output: Replace fixed length array of indices with GArray. 2013-04-27 15:49:50 +02:00
Martin Ling d601c0e9b3 vcd output: Eliminate unnecessary array of probe names. 2013-04-27 15:49:50 +02:00
Martin Ling 90f680ff00 gnuplot: Eliminate fixed-size header buffer based on max probes. 2013-04-27 15:49:50 +02:00
Martin Ling deb0908338 gnuplot: Remove unnecessary array of probe names. 2013-04-27 15:49:50 +02:00
Martin Ling 1c5b099a13 csv: Remove unnecessary array of probe names. 2013-04-27 15:49:50 +02:00
Martin Ling 91a44f50f0 chronovu-l8: remove unused array of probe names. 2013-04-27 15:49:50 +02:00
Martin Ling d53e4e8d92 text: Use a GSList of enabled probe names, not an array. 2013-04-27 15:49:50 +02:00
Martin Ling db9679afc9 vcd input: Use a GSList rather than fixed size array of probes. 2013-04-27 15:49:49 +02:00
Martin Ling b050fc481b vcd output: fix for big-endian architectures. 2013-04-27 15:49:49 +02:00
Martin Ling 9c178ffa50 gnuplot: fix for big-endian architectures. 2013-04-27 15:49:49 +02:00
Bert Vermeulen 3292535c87 output/ols: Use new API
This now properly supports samplerate changes coming in from
SR_DF_META packets, and also fixes bug 99.
2013-04-27 15:49:49 +02:00
Uwe Hermann 409a811b8c error.c: Add SR_ERR_DEV_CLOSED. 2013-04-27 10:49:52 +02:00
Martin Ling 3a581560f1 ascii: fix for big-endian architectures. 2013-04-26 22:56:16 +02:00
Martin Ling ddb292571d bits: Remove unused code. 2013-04-26 22:56:16 +02:00
Martin Ling 9275d23208 hex: fix for big-endian architectures. 2013-04-26 22:56:16 +02:00
Martin Ling 542dbd185b bits: fix for big-endian architectures. 2013-04-26 22:56:16 +02:00
Bert Vermeulen b9470914d0 Remove sr_rational 2013-04-26 22:51:12 +02:00
Uwe Hermann bc653a5678 uni-t-dmm: Do proper detection of packets in the stream.
Also, various fixups in the driver.
2013-04-26 20:54:21 +02:00
Uwe Hermann c885268777 uni-t-dmm: Make driver more similar to serial-dmm. 2013-04-26 20:05:44 +02:00
Uwe Hermann 7381251e33 common/dmm: Drop obsolete *is_packet_start() functions. 2013-04-26 20:05:44 +02:00