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
Uwe Hermann
913abe8321
fs9922: Use common DMM API.
...
Use the same functions and structs as the other DMM protocol parsers
in hardware/common/dmm. Among other things, this allows the functions
to be used from drivers in a generic way, e.g. in serial-dmm, uni-t-dmm,
and possibly other drivers.
2013-04-26 20:05:44 +02:00
Uwe Hermann
6d0369591b
README: Add "Copyright and license" section.
2013-04-26 13:35:19 +02:00
Uwe Hermann
695f32d89d
Bring back link-mso19/nexus-osciprime for now.
...
This patch will be re-introduced later.
2013-04-26 10:47:34 +02:00
Uwe Hermann
9d1164f9a1
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.
2013-04-25 19:16:13 +02:00
Uwe Hermann
8d3764aaca
README.devices: Fix typo.
2013-04-25 17:42:20 +02:00
Uwe Hermann
0e77b7cab3
python: Add Session.open_device().
2013-04-25 00:15:49 +02:00
Uwe Hermann
57dd5e63ec
python: sr_config's value field is called 'data'.
2013-04-24 23:43:56 +02:00
Martin Ling
3124e80bfe
python: Support keyword arguments to scan()
2013-04-24 23:20:47 +02:00
Martin Ling
f245b7669e
python: Add a ConfigKey class.
2013-04-24 23:20:47 +02:00
Martin Ling
05cfe1147a
python: Add conversion functions to/from GSList *
2013-04-24 23:20:47 +02:00
Bert Vermeulen
bd7bfe8c51
Open virtual device before loading file
2013-04-24 23:06:50 +02:00