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
606a07b670
sr: corrected VID for Victor 70C
2012-08-18 16:23:08 +02:00
Bert Vermeulen
02e864d0bf
sr: added mqflags field to sr_datafeed_analog
2012-08-18 16:23:08 +02:00
Bert Vermeulen
edb000eb2f
sr: add fahrenheit and boolean MQ units
2012-08-18 16:23:08 +02:00
Bert Vermeulen
64591be2f2
sr: add continuity MQ
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
Bert Vermeulen
a56f148094
sr: new API call sr_dev_config_set()
...
This is a wrapper around the driver dev_config_set() call, to avoid
frontends needing visibility into drivers.
2012-08-05 15:53:04 +02:00
Bert Vermeulen
15cb43d67c
sr: replace published static option data with API calls
...
To find a driver or device option by name, the sr_drvopt_name_get() and
sr_devopt_name_get() calls are now available. This was the only reason the
driver and device struct sr_hwcap_option arrays were published.
2012-08-05 03:18:07 +02:00
Bert Vermeulen
3cf91809a5
sr: rename sr_hw_hwcap_get() to sr_devopt_get()
2012-08-04 14:35:40 +02:00
Bert Vermeulen
fabe59b326
sr: drivers using sr_usb_dev_inst_new() must free it properly as well
...
sr_usb_dev_inst_free() doesn't really do anything, but it might one
day.
2012-08-04 12:21:02 +02:00
Bert Vermeulen
d3cff734e5
sr: properly free probes when freeing their device instance
2012-08-04 12:03:05 +02:00
Bert Vermeulen
228b2cccaf
asix-sigma: fix double free
2012-08-03 14:19:00 +02:00
Bert Vermeulen
8012ae1e3b
chronovu-la8: fix double free
2012-08-03 14:18:02 +02:00
Bert Vermeulen
afc8831938
chronovu-la8: code cleanup
2012-08-03 14:06:52 +02:00
Bert Vermeulen
7021f98596
chronovu-la8: remove session source when done
2012-08-03 11:29:01 +02:00
Bert Vermeulen
503c4afbb4
asix-sigma: remove session source when done
2012-08-03 11:29:01 +02:00
Bert Vermeulen
7fd3e85961
demo: remove sources from session when done
2012-08-03 11:29:01 +02:00
Bert Vermeulen
a3508e33f9
hantek-dso: remove sources from session when done
2012-08-03 11:29:01 +02:00
Bert Vermeulen
26bf9d56c0
ols: remove serial source from session when done
2012-08-03 11:29:01 +02:00
Bert Vermeulen
2cbeb2b7fb
sr: drivers should remove their sources from the session when done
2012-08-03 11:29:01 +02:00
Bert Vermeulen
310e9e9be4
zeroplus: use driver-private storage for instances
2012-08-03 11:29:00 +02:00
Bert Vermeulen
fefc4b858e
ols: use driver-private storage for instances
2012-08-03 11:29:00 +02:00
Bert Vermeulen
301a5e4c4a
genericdmm: use driver-private storage for instances
2012-08-03 11:29:00 +02:00
Bert Vermeulen
b4750a3a93
demo: use driver-private storage for instances
2012-08-03 11:29:00 +02:00
Bert Vermeulen
b9636cf4dc
fx2lafw: minor cleanup
2012-08-03 11:29:00 +02:00
Bert Vermeulen
cf1ebd5446
chronovu-la8: don't try to clean up unless we've initialized
2012-08-03 11:29:00 +02:00
Bert Vermeulen
b32503cccd
asix-sigma: properly init driver-private storage
2012-08-03 11:29:00 +02:00
Bert Vermeulen
1644fb2473
chronovu-la8: use driver-private storage for instances
2012-08-03 11:29:00 +02:00
Bert Vermeulen
0e1357e896
asix-sigma: use driver-private storage for instances
2012-08-03 11:29:00 +02:00
Bert Vermeulen
dc9dbe949a
fx2lafw: use driver-private storage for instances and libusb_context
2012-08-03 11:29:00 +02:00
Bert Vermeulen
269971ddce
hantek-dso: use driver-private storage for instances and libusb_context
2012-08-03 11:29:00 +02:00
Bert Vermeulen
c259726a16
sr: driver struct gets a more generic *priv instead of GSList *instances
...
It's up to the driver to keep its GSList of struct sr_dev_inst * in there.
Anything else the driver wants to keep driver-global should also go in
there, such as libusb_context.
2012-08-03 11:29:00 +02:00
Bert Vermeulen
ef2345bc29
sr: build: hantek-dso driver requires libusb as well
2012-08-03 11:29:00 +02:00
Bert Vermeulen
e8d3d6c843
sr: properly initialize and check on device instance driver field
2012-08-03 11:29:00 +02:00
Bert Vermeulen
aee878fa2e
sr: fix initialization for output from driverless devices
2012-08-03 11:29:00 +02:00
Bert Vermeulen
6f57fd9694
sr: remove obsolete SR_DI_INST
2012-08-03 11:29:00 +02:00
Bert Vermeulen
48a486cd3e
sr: code organization cleanup
...
Device-specific functions (public and private) go in device.c,
more general driver-related code in hwdriver.c
2012-08-03 11:29:00 +02:00
Bert Vermeulen
87ca93c504
sr/drivers: add proper probe list to instances of all drivers
2012-08-03 11:29:00 +02:00
Bert Vermeulen
b35c829306
sr/drivers: fix off-by-one if frontend-initiated probe configuration
2012-08-03 11:29:00 +02:00
Bert Vermeulen
d6a8df467d
sr: remove obsolete sr_dev_inst_get() call
2012-08-03 11:29:00 +02:00
Bert Vermeulen
47a98b6e2c
sr: remove obsolete driver API call dev_info_get()
2012-08-03 11:28:59 +02:00
Bert Vermeulen
a2e464604c
sr: cosmetic changes
2012-08-03 11:28:59 +02:00
Bert Vermeulen
c1864d5589
sr: better file version check
...
Still not really used though.
2012-08-03 11:28:59 +02:00