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
Bert Vermeulen
e73ffd4238
Enforce open device before config_set()/dev_acquisition_start()
2013-04-24 22:03:50 +02:00
Bert Vermeulen
efdecf4c05
Add sr_dev_open()/sr_dev_close()
...
Frontends will be required to open a device before using
sr_config_set() or starting acquisition.
2013-04-24 22:02:34 +02:00
Bert Vermeulen
46a743c1fa
Whitespace fixes
...
Damn editor.
2013-04-24 19:07:46 +02:00
Bert Vermeulen
a31a4d371f
fx2lafw: Minor cleanup
2013-04-24 03:23:23 +02:00
Bert Vermeulen
294dbac724
hantek-dso: Support conn scan parameter
2013-04-24 03:23:23 +02:00
Bert Vermeulen
cc9fd2d29c
rigol-ds1xx2: Code cleanup
2013-04-24 03:23:11 +02:00
Martin Ling
9bd4c95606
rigol-ds1xx2: Use common serial code.
2013-04-24 02:10:25 +02:00
Martin Ling
ca55277ca8
rigol-ds1xx2: Accept SR_CONF_CONN.
2013-04-24 02:10:25 +02:00
Uwe Hermann
886bd5e056
mic-985xx: Use sr_dev_inst to store connection handle.
2013-04-23 23:06:02 +02:00
Uwe Hermann
31e5377250
Fix minor warning with some compilers.
2013-04-23 22:54:02 +02:00
Uwe Hermann
50985c2019
GPL headers: Use correct project name.
2013-04-23 22:24:30 +02:00
Uwe Hermann
1e1bfcd0fe
serial-dmm: Use sr_dev_inst to store connection handle.
2013-04-23 20:55:04 +02:00
Bert Vermeulen
625cc7834a
More python build stuff to ignore
2013-04-23 12:44:16 +02:00
Bert Vermeulen
f99e32affc
sr_dev_inst_*() -> sr_dev_*()
2013-04-22 15:55:06 +02:00
Bert Vermeulen
609bfd753c
zeroplus-logic-cube: Use sr_dev_inst to store connection handle
2013-04-22 15:00:04 +02:00
Bert Vermeulen
459a0f2623
ols: Use sr_dev_inst to store connection handle
2013-04-22 13:40:40 +02:00
Bert Vermeulen
2e5b73c00c
ols: Fix stack clobbering at start of acquisition
...
This off-by-one was clobbering the stack since introduced in a803c0db4d
.
However it only set one bit, and that generally appears to have been set
already, so this rarely affected anything. But when it did, it affected
a pointer, causing a segfault.
2013-04-22 13:33:31 +02:00
Bert Vermeulen
919681f0e8
fluke-dmm: Use sr_dev_inst to store connection handle
2013-04-22 01:07:35 +02:00
Bert Vermeulen
aa7066353c
colead-slm: Use sr_dev_inst to store connection handle
2013-04-22 01:01:10 +02:00
Bert Vermeulen
fb3a150599
agilent-dmm: Use sr_dev_inst to store connection handle
2013-04-21 21:49:15 +02:00
Martin Ling
e31d410d26
rigol-ds1xx2: fix delay time.
2013-04-21 20:42:22 +01:00
Martin Ling
1e2bd8af12
python: fix Fraction -> GVariant tuple conversion.
2013-04-21 19:52:09 +01:00
Martin Ling
d2e0b1fa71
rigol-ds1xx2: better error handling in hw_scan.
2013-04-21 19:48:34 +01:00
Bert Vermeulen
8bb2981df0
victor-dmm: Allow configuration before the device is opened
2013-04-20 15:26:16 +02:00
Uwe Hermann
522a34343f
Drop obsolete g_match_info_unref() workaround.
...
We hard-depend on glib >= 2.32.0 now anyway, so this is no longer needed.
2013-04-20 13:43:48 +02:00
Uwe Hermann
ac070c7744
Add initial, lowlevel Ruby bindings.
2013-04-19 20:19:14 +02:00
Martin Ling
91bea31f6b
python: unify pkg-config calls in setup.py.
2013-04-19 17:41:44 +01:00
Martin Ling
0cd466ccd8
python: Use --cflags-only-I to get includes in setup.py.
2013-04-19 17:30:44 +01:00
Martin Ling
9bbd6a6a0d
python: Add classes for values of API enums.
2013-04-19 17:07:56 +01:00
Uwe Hermann
816aed6c91
python: Add a Log class to control libsigrok logging.
2013-04-19 13:15:51 +02:00
Uwe Hermann
0021b07741
python: config_get() now returns SR_ERR_NA.
2013-04-19 11:58:40 +02:00
Bert Vermeulen
ac046ef8cf
victor-dmm: Support SR_CONF_CONN
2013-04-18 22:48:29 +02:00
Bert Vermeulen
0f1506497b
lascar-el-usb: Support SR_CONF_CONN
2013-04-18 22:48:29 +02:00
Bert Vermeulen
e2033d4917
hantek-dso: Consistently return SR_ERR_ARG if sdi is needed
2013-04-18 22:48:29 +02:00
Bert Vermeulen
38ab8dbec8
fx2lafw: Consistently return SR_ERR_ARG if sdi is needed
2013-04-18 22:48:29 +02:00
Uwe Hermann
c2ec42ce93
python: Add further properties to Analog class.
2013-04-18 17:45:38 +02:00
Martin Ling
15574a3cec
python: Add Analog class.
2013-04-18 17:45:38 +02:00
Bert Vermeulen
624f5b4c1e
hantek-dso: Support config_get(SR_CONF_CONN)
2013-04-18 01:24:42 +02:00
Bert Vermeulen
89befd46a8
fx2lafw: Support config_get(SR_CONF_CONN)
...
This generates a bus.address conn string which can be used to
uniquely identify the given sr_dev_inst.
2013-04-18 01:24:42 +02:00
Uwe Hermann
3bc55222c8
python: Add missing license headers.
2013-04-17 17:26:46 +02:00
Martin Ling
08d59537c3
python: fix cdata to work with Python 3.x.
2013-04-17 15:39:13 +01:00
Martin Ling
1cad211547
python: Fix syntax to support Python 3.x.
2013-04-17 15:39:09 +01:00
Martin Ling
d8f6e041aa
python: Add high level API.
2013-04-17 14:30:31 +01:00
Martin Ling
a8d162f6d3
swig: Wrap additional GVariant operations.
2013-04-17 14:03:38 +01:00
Martin Ling
cccb599147
python: Release GIL during libsigrok calls.
2013-04-17 14:01:19 +01:00