Martin Ling
05238d2830
rigol-ds: Quick hack to fix bug #354 .
2014-05-05 00:38:58 +01:00
Aurelien Jacobs
99af83b738
rigol-ds: fix long memory depth setting on DS1000
2014-04-06 22:47:44 +02:00
Bert Vermeulen
0bcfc9dcd8
rigol-ds: Don't close SCPI handle we didn't open.
2014-03-27 15:13:24 +01:00
Aurelien Jacobs
5d336f1130
rigol-ds: Add the TRIGGER_SLOPE entry to config_get() and config_list()
2014-03-25 23:11:31 +01:00
Uwe Hermann
3f239f0803
Rename various *PROBE* macros to *CHANNEL*.
...
This fixes parts of bug #259 .
2014-03-25 20:58:54 +01:00
Uwe Hermann
56d0d24535
Rename sr_probe_new() to sr_channel_new().
...
This fixes parts of bug #259 .
2014-03-25 20:58:54 +01:00
Uwe Hermann
ba7dd8bbb8
Replace 'probe' with 'channel' in most places.
...
Also, consistently use 'ch' for channel variables. This matches how we
consistently use sdi, devc, and so on all over the code-base.
This fixes parts of bug #259 .
2014-03-25 20:58:54 +01:00
Uwe Hermann
91aea754aa
Rename 'struct sr_probe' to 'struct sr_channel' everywhere.
...
This fixes parts of bug #259 .
2014-03-25 20:58:54 +01:00
Uwe Hermann
53b4680fce
Consistently use 'cg' for channel group variables.
...
This matches how we consistently use sdi, devc, and so on all over
the code-base.
This fixes parts of bug #259 .
2014-03-25 20:58:54 +01:00
Uwe Hermann
a68bf88e3a
Replace channel_group.probes with channel_group.channels.
...
This fixes parts of bug #259 .
2014-03-25 20:58:54 +01:00
Uwe Hermann
660e398fe9
Replace 'probe group' with 'channel group' everywhere.
...
The name 'probe' (and thus 'probe group') is a relic from the times when
sigrok was mostly about logic analyzers. Nowadays we support a lot more
device types where 'probe' is not really a good term and 'channel' is
much better suited.
This fixes parts of bug #259 .
2014-03-25 20:58:54 +01:00
Aurelien Jacobs
9d3ae01b37
rigol-ds: use the new scpi scan API
2014-02-07 18:53:04 +01:00
Aurelien Jacobs
17bdda5868
scpi: add a struct drv_context parameter to scpi_dev_inst_new()
2014-02-07 18:53:04 +01:00
Aurelien Jacobs
6e94eb4142
rigol-ds: apply :KEY:LOCK DISABLE only to DS1K
2014-02-07 18:53:04 +01:00
Aurelien Jacobs
83dbd9f09c
rigol-ds: properly deal with dev_close() getting called multiple times
2014-02-07 18:53:04 +01:00
Bert Vermeulen
464d49360a
rigol-ds: Deal with dev_close() getting called multiple times.
2014-01-27 21:19:41 +01:00
Daniel Elstner
ca9b9f4834
hwdriver: Change TRIGGER_SLOPE setting to string type.
...
Drivers interpreted the uint64 values to the SR_CONF_TRIGGER_SLOPE
configuration setting in different ways. In order to orthogonalize
the API, change the type of the setting to a string with the same
format as uses for logic probes.
2014-01-27 20:55:01 +01:00
Martin Ling
824eb2acfd
rigol-ds: Fix divide by zero when no analog probes selected.
2014-01-23 01:42:34 +01:00
Martin Ling
569d4dbd3e
rigol-ds: Overhaul vendor/series/model info and protocol variants.
2014-01-23 01:42:33 +01:00
Martin Ling
e086b750fa
rigol-ds: Overhaul VS5000 and DS1000 support.
...
This change moves the handling of series differences out to the points in the
code where they actually matter, unifying the overall structure of the code.
It also adds new VS5000/DS1000 series equivalents for commands that were
previously only implemented on the later models.
After this change, trigger waiting and the 'Memory' data source are supported
on the VS5000/DS1000 series.
2014-01-23 01:42:33 +01:00
Martin Ling
38354d9d9e
rigol-ds: Use common rigol_ds_config_set() function throughout.
2014-01-23 01:42:33 +01:00
Martin Ling
22c196883d
rigol-ds: Disable key lock when closing device.
2014-01-21 17:52:23 +01:00
Martin Ling
10d309c8ab
rigol-ds: DS1000 series still needs the stupid delay.
2014-01-21 13:10:29 +01:00
Bert Vermeulen
8dd0b290eb
rigol-ds: On DS1000 with firmware < 0.2.4, use legacy protocol.
...
Apparently the ASCII header containing length was only added in version
0.2.4.
2014-01-21 13:05:06 +01:00
Bert Vermeulen
fcdebbe89c
rigol-ds: Shorten vendor name.
2014-01-20 19:08:10 +01:00
Aurelien Jacobs
2b0e4a468a
rigol-ds: add support for more keys in config_get()
2014-01-20 00:34:57 +00:00
Aurelien Jacobs
72ecba02f4
rigol-ds: use appropriately defined NUM_VDIV constant
2014-01-20 00:34:57 +00:00
Aurelien Jacobs
8e06edf528
rigol-ds: add more valid timebases for DS2302
2014-01-20 00:34:57 +00:00
Aurelien Jacobs
889ef4a01c
rigol-ds: fix set_cfg() calls with float parameters to avoid locale issues
2014-01-20 00:34:56 +00:00
Martin Ling
f76c24f6fd
rigol-ds: Send FRAME_BEGIN and FRAME_END per frame, not per channel.
2014-01-20 00:24:57 +00:00
Martin Ling
51bfe5363a
rigol-ds: Use *OPC? command rather than delay to await completion.
2014-01-20 00:24:57 +00:00
Martin Ling
470140fc0d
rigol-ds: DS1000 series actually use IEEE488.2 data block format.
2014-01-20 00:24:57 +00:00
Martin Ling
d22250a96a
rigol-ds: Correct digital waveform block sizes.
2014-01-20 00:24:14 +00:00
Martin Ling
904fd29b72
rigol-ds: Update which channels are enabled after making changes.
2014-01-20 00:24:14 +00:00
Uwe Hermann
c2b394d562
rigol-ds: Minor whitespace fixes.
2014-01-17 02:03:09 +01:00
Martin Ling
04e8e01ec6
rigol-ds: Enable/disable LA pod when (de)selecting digital channels.
2014-01-17 01:52:29 +01:00
Martin Ling
51b294cd01
rigol-ds: Reset num_frames to zero in dev_acquisition_start.
2014-01-17 01:52:29 +01:00
Martin Ling
b751cf7a82
rigol-ds: Make sure to always send SR_DF_END at end of capture.
2014-01-17 01:52:29 +01:00
Martin Ling
4914dd4b9a
rigol-ds: Calculate effective samplerate.
2014-01-17 01:52:29 +01:00
Martin Ling
5415e60247
rigol-ds: Separate function to compute analog frame size.
2014-01-17 01:52:29 +01:00
Martin Ling
c1bcb8cc63
rigol-ds: Advertise SR_CONF_LIMIT_FRAMES support.
2014-01-17 01:52:29 +01:00
Martin Ling
969edf6306
rigol-ds: Fix check for probe group validity.
2014-01-17 01:52:29 +01:00
Aurelien Jacobs
d993d8d39d
rigol-ds: remove lonely break
2014-01-14 00:01:50 +01:00
Aurelien Jacobs
a31b2ccbd8
rigol-ds: prevent config_list() to return empty g_variant
...
This fixes the following glib message:
$ ./sigrok-cli -d rigol-ds --show
[...]
g_variant_builder_end: assertion '!GVSB(builder)->uniform_item_types || GVSB(builder)->prev_item_type != NULL || g_variant_type_is_definite (GVSB(builder)->type)' failed
2014-01-14 00:01:50 +01:00
Aurelien Jacobs
c3515cea44
scpi: factorize dev_inst_new calls out of individual drivers
2014-01-11 22:36:46 +01:00
Aurelien Jacobs
d5876cfb4a
scpi: add VXI transport support
2014-01-11 22:36:09 +01:00
Aurelien Jacobs
036d378a62
rigol-ds: add a few more DS2000 models to the supported list
2014-01-03 17:54:47 +01:00
Martin Ling
0709197deb
rigol-ds: Correct usage of NUM_TIMEBASE and NUM_VDIV config keys.
2013-12-29 13:22:32 +01:00
Martin Ling
227a0981c0
rigol-ds: Support the rest of the DSO1000 range.
2013-12-29 01:39:49 +01:00
Martin Ling
821fbcadcc
rigol-ds: Support 4 analog channels.
2013-12-29 01:34:58 +01:00