Uwe Hermann
79081ec80c
Initial support for UNI-T DMMs.
...
This is not yet fully finished, but works for most use-cases.
Tested with a UNI-T UT61D using the UT-D04 USB/HID cable (new version).
2012-10-27 23:17:30 +02:00
Uwe Hermann
45e080b60b
la8: Rename driver.[ch] to protocol.[ch].
2012-10-27 22:36:34 +02:00
Uwe Hermann
f3a35908ef
la8: Adapt to new driver conventions.
2012-10-27 22:36:19 +02:00
Uwe Hermann
bbabddbd64
tekpower-dmm: Cosmetics, coding-style, consistency fixes.
2012-10-27 22:25:04 +02:00
Alexandru Gagniuc
7dc55d930f
Add support for the TekPower TP4000ZC DMM.
...
Also known as Digitek DT4000ZC.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
2012-10-27 22:25:04 +02:00
Uwe Hermann
545f978639
config.h usage cleanups.
...
- Drop config.h #include from files that don't actually use any of
its contents (at the moment).
- Add comment for those that do need it.
2012-10-24 00:41:21 +02:00
Bert Vermeulen
589a10135a
clean up autoconf/autobuild scripts
2012-10-22 01:48:39 +02:00
Alexandru Gagniuc
7c41dc4774
radioshack-dmm: Implement support for "LOGIC" mode
...
LOGIC mode sends the following data:
V < 0 : actual voltage
0 <= V < 1 : LOW
1 <= V < 2 : actual voltage
2 <= V : HIGH
We follow the same idea, and set our unit to BOOLEAN for the crazy
case (HIGH or LOW).
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
2012-10-20 23:03:51 +02:00
Alexandru Gagniuc
0f70830194
libsigrok: (Trivial) Add support for 2400 baud
...
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
2012-10-20 23:02:14 +02:00
Bert Vermeulen
fe31f8b9f9
fluke-dmm: add support for Fluke 187
2012-10-16 23:33:54 +02:00
Alexandru Gagniuc
be8dbf3ab2
radioshack-dmm: (Trivial) Convenience fixes
...
While testing the new radioshack-dmm driver with pulseview, I found
a few inconvenients.
1. Print an info message when a port is probed, and when a device is
found. This makes it easy to tell if and where the driver is looking.
2. num_samples was not reset after the first aquisition, so the
second aquisition would quit right away. Reset num_samples at start
of a new aquisition.
3. There's no need to open the serial port RW, so change O_RDWR to
O_RDONLY when opening the port.
These changes are too trivial to split into different patches.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
2012-10-16 11:16:41 +02:00
Bert Vermeulen
7b0a85c81c
radioshack-dmm: build fixes
2012-10-15 18:25:48 +02:00
Alexandru Gagniuc
d375b3c3ec
radioshack-dmm: Add support for Radioshack 22-812 DMM
...
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
2012-10-15 17:32:58 +02:00
Alexandru Gagniuc
e8e9dcdd70
serial: (Trivial) add support for 4800 baud
...
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
2012-10-15 17:32:58 +02:00
Uwe Hermann
a2e222d24f
sr: struct drv_context is global now.
2012-09-27 23:29:33 +02:00
Bert Vermeulen
d38d2ef0ce
fluke-dmm: support for all basic 287 functionality
2012-09-25 19:53:05 +02:00
Bert Vermeulen
f46a36ad80
fluke-dmm: definitely use CR as line terminator
2012-09-25 19:53:05 +02:00
Bert Vermeulen
acd29accb3
fluke-dmm: add Fluke 287 to supported list
2012-09-25 19:53:05 +02:00
Bert Vermeulen
fb9d3bf9cc
sr: always turn off ICRNL on serial ports
...
It does rather screw with protocols that use CR.
2012-09-25 19:53:05 +02:00
Bert Vermeulen
d3f8f1415c
fluke-dmm: flesh out the driver API
2012-09-25 19:53:05 +02:00
Bert Vermeulen
4129832014
fluke-dmm: auto-discover serial bitrate if not provided
2012-09-25 19:53:05 +02:00
Bert Vermeulen
bc41e012e6
fluke-dmm: don't log anything if no conn params given
2012-09-25 19:53:05 +02:00
Bert Vermeulen
fb480d578e
fluke-dmm: fix discovery
2012-09-25 19:53:05 +02:00
Bert Vermeulen
5c51e09868
sr: turn off canonical mode and echo ion serial ports by default
2012-09-25 19:53:05 +02:00
Bert Vermeulen
e7edd64f45
fluke-dmm: build fixes
2012-09-25 19:53:05 +02:00
Bert Vermeulen
4f958423d1
fluke-dmm: basic scan functionality
2012-09-25 19:53:05 +02:00
Bert Vermeulen
883a2e9e71
fluke-dmm: initial driver skeleton
2012-09-25 19:53:05 +02:00
Bert Vermeulen
c2016fa0eb
agilent-dmm: don't log anything if no conn params given
2012-09-17 00:00:27 +02:00
Bert Vermeulen
e9022f596d
sr: make struct drv_context global
2012-09-11 21:27:26 +02:00
Bert Vermeulen
f5cfe894ec
fx2lafw: use default libusb context
2012-09-11 21:20:50 +02:00
Bert Vermeulen
19b0cce312
hantek-dso: use default libusb context
2012-09-11 21:16:16 +02:00
Bert Vermeulen
b186aa78b8
agilent-dmm: fix model identifiers
2012-09-10 21:27:50 +02:00
Bert Vermeulen
8c0152f29b
agilent-dmm: tentative support for all U123x and U125x models
...
Only tested on U1233A, but it just might work.
The U125x protocol decoding only supports voltage, current, resistance,
capacitance and diode measurements for now.
2012-09-10 01:00:48 +02:00
Bert Vermeulen
a4394fb3d9
agilent-dmm: code cleanup
...
This should make it easier to support other Agilent U12xx models
2012-09-10 00:13:26 +02:00
Bert Vermeulen
e066c32a25
agilent-dmm: fix AC/DC mode detection
2012-09-09 22:49:07 +02:00
Bert Vermeulen
f2e86bbfa6
agilent-dmm: make parser deal with input better
2012-09-09 22:48:22 +02:00
Bert Vermeulen
81599cc55b
agilent-dmm: remove IDN check at 1Hz, we just don't need it.
...
Some debug message cleanup.
2012-09-08 14:53:49 +02:00
Bert Vermeulen
e6b021f377
agilent-dmm: support for submodes
2012-09-08 03:06:45 +02:00
Bert Vermeulen
69a7402490
genericdmm/victor-70c: fix resistance and frequency measurements
2012-09-08 02:28:41 +02:00
Bert Vermeulen
c0d93341cb
generic-dmm: cosmetics
2012-09-02 15:42:56 +02:00
Bert Vermeulen
f6b8ffa6c0
genericdmm/victor-70c: warn if detaching kernel driver fails
2012-09-02 15:42:56 +02:00
Bert Vermeulen
e93cdf428c
sr: mostly finished Agilent DMM driver
2012-09-02 15:42:56 +02:00
Bert Vermeulen
792fc68658
serial: add serial_set_paramstr()
2012-09-02 15:42:56 +02:00
Bert Vermeulen
f38b9763fa
serial: fix flow control setting
2012-09-02 15:42:56 +02:00
Bert Vermeulen
6a6e23abf5
serial: set speed in both directions
2012-09-02 15:42:56 +02:00
Bert Vermeulen
6ac0db19f3
sr: add new agilent-dmm driver (Agilent U12xxA multimeters)
2012-09-02 15:42:56 +02:00
Bert Vermeulen
b84c13d700
genericdmm: Victor 70C multimeter support
2012-08-18 16:23:08 +02:00
Bert Vermeulen
3c6ce226de
genericdmm: finish basic USB support
2012-08-18 16:23:08 +02:00
Bert Vermeulen
811deee4af
sr/drivers: add API calls sr_dev_inst_list() and sr_dev_inst_clear()
...
These are used to list the device instances currently known to the driver,
and clear that list.
Drivers that don't necessarily clear their list of instances on every scan,
such as genericdmm, need to provide these to the frontend to keep instance
management sane.
2012-08-06 00:59:25 +02:00
Bert Vermeulen
014359e329
sr/drivers: obsolete SR_HWCAP_PROBECONFIG
...
Since probes now live in a struct sr_dev_inst owned by the driver, it
already knows about them. Instead of a frontend telling the driver to
configure probes, all driver now do this just before starting acquisition.
2012-08-05 18:56:12 +02:00