Aurelien Jacobs
8a2aaffa02
remove unused static functions
2014-01-14 23:39:23 +01:00
Aurelien Jacobs
d87c1766f2
change a bunch of functions from SR_PRIV to static
...
None of those functions are called across compilation units.
2014-01-14 23:39:23 +01:00
Aurelien Jacobs
8162cad7e0
move function declarations to the appropriate header
2014-01-14 23:39:23 +01:00
Aurelien Jacobs
2588e50c63
es519xx: add missing declarations for es519xx_2400_11b_altfn
2014-01-14 23:26:00 +01:00
Aurelien Jacobs
365cca8aca
gnuplot: proper error message when using gnuplot output without logic probe
2014-01-14 22:59:33 +01:00
Aurelien Jacobs
ad7621d445
add udev rule for the Rigol DS2000 series
2014-01-14 22:58:48 +01:00
Uwe Hermann
1f98295dfa
sysclk-lwla: Fix probe name issue.
...
The g_ascii_formatd() function expects the "format" argument to start
with a '%' character, e.g. it should be "%f" or such (this is not
clearly documented in the glib API docs, but visible from the source code).
The usage of "CH%f" for example will trigger an assertion and thus make the
LWLA device unusable in practice (e.g. in PulseView on Windows no probenames
would be shown, and sampling wouldn't work).
Example:
GLib-CRITICAL **: g_ascii_formatd: assertion 'format[0] == '%'' failed
(not exposed in all glib versions or builds of glib on all distros
apparently, some may need G_MESSAGES_DEBUG=all or other measures)
From the glib g_ascii_formatd() code:
g_return_val_if_fail (format[0] == '%', NULL);
We now use g_snprintf() instead for simplicity. This has been tested to
fix this specific issue (i.e. the probenames now do show up in PulseView).
This closes bug #270 .
2014-01-14 19:52:26 +01:00
Uwe Hermann
2379783d85
configure.ac: Don't build sysclk-lwla if libusb-1.0 is not found.
2014-01-14 19:46:05 +01:00
Uwe Hermann
87283d98c9
configure.ac: Move sysclk-lwla chunk to correct location.
2014-01-14 19:36:28 +01:00
Daniel Elstner
7ebe9b9e7e
sysclk-lwla: Honor SR_CONF_CONN at scan time.
2014-01-14 19:33:31 +01:00
Daniel Elstner
8a3ddd8815
sysclk-lwla: Fix calculation of the running sample count.
...
Field 7 of the status response is actually a duration in
milliseconds at all samplerates but 125 MHz.
2014-01-14 19:33:31 +01:00
Daniel Elstner
5874e88d83
sysclk-lwla: Implement support for the LWLA1034.
2014-01-14 19:33:31 +01:00
Daniel Elstner
aeaad0b0b5
sysclk-lwla: Initial driver skeleton.
2014-01-14 19:33:31 +01:00
Martin Ling
bfaf112b68
rigol-ds: Use correct digital channel numbers when fetching config.
2014-01-14 18:28:19 +00:00
Bert Vermeulen
a4eb4b296d
cem-dt-885x: Don't use char as signed type.
2014-01-14 01:29:30 +01:00
Aurelien Jacobs
613c110849
scpi: properly check for HAVE_RPC (which is always defined)
2014-01-14 00:18:31 +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
Bert Vermeulen
69d83be9bf
Use PRIu64 for format in pretty-printer.
...
Thanks to Marcus Comstedt for the fix.
2014-01-14 00:01:06 +01:00
Aurelien Jacobs
02820f0795
rigol-ds: does not depend on libserialport
2014-01-13 22:53:57 +01:00
Aurelien Jacobs
a44a804bc6
scpi_usbtmc: does not depend on libserialport
2014-01-13 22:53:57 +01:00
poljar (Damir Jelić)
138c0652f8
udev: Add the Rigol DG4000 series to the udev rules
2014-01-13 22:53:21 +01:00
Bert Vermeulen
e22aa87808
atten-pps3xxx: Fix options reporting.
2014-01-13 02:10:11 +01:00
Bert Vermeulen
fe997353bf
atten-pps3xxx: Fix output channel mode get.
2014-01-13 02:05:39 +01:00
Bert Vermeulen
2388ae860c
demo: Properly handle logic vs. analog when setting the pattern.
2014-01-12 23:31:23 +01:00
Bert Vermeulen
7a1da33198
demo: Split supported device options by probe group.
2014-01-12 22:36:39 +01:00
Aurelien Jacobs
dc3b3be5cb
scpi_vxi: ensure the vxi link was properly opened before closing it
2014-01-12 18:46:24 +01:00
Aurelien Jacobs
104ed12553
scpi_tcp: split into scpi_tcp_raw and scpi_tcp_rigol
...
The current implementation is renamed to tcp-rigol as it seems to be
a Rigol proprietary protocol used only on Rigol VS5000 series.
A new tcp-raw implementation is introduced which simply carries raw SCPI
commands over TCP. It is probably a much more common protocol and it is
at least available on Rigol DS2000 series on port 5555.
2014-01-12 00:38:08 +01:00
Aurelien Jacobs
f754c14691
scpi: make the scpi_dev_inst_new more generic
2014-01-12 00:05:02 +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
c84b6ab81c
import VXI RPC Language description
...
along with the corresponding rpcgen generated source code files
2014-01-11 22:34:51 +01:00
Marc Schink
1c183900d2
configure.ac: Disable atten-pps3xxx driver if libserialport is not found.
2014-01-11 20:59:44 +01:00
Aurelien Jacobs
45357ce64f
std: use #ifdef rather than #if where the constant may not be defined
2014-01-11 17:48:53 +01:00
Bert Vermeulen
ab988ecb23
atten-pps3xxx: Push configured settings even without acquisition.
2014-01-10 02:10:51 +01:00
Bert Vermeulen
81c9e1a064
atten-pps3xxx: Use configured values to construct packet.
...
This used the values previously received from the device, not very useful.
2014-01-10 02:09:49 +01:00
Bert Vermeulen
33c40990fd
atten-pps3xxx: Full support for the PPS3203T-3S.
2014-01-10 00:39:36 +01:00
Bert Vermeulen
471607f024
Add config keys for programmable power supplies.
2014-01-10 00:39:36 +01:00
Bert Vermeulen
fa0d6afe19
atten-pps3xxx: Initial driver skeleton.
2014-01-10 00:38:32 +01:00
Bert Vermeulen
14563512ec
chronovu-la8: Publish SR_CONF_MAX_UNCOMPRESSED_SAMPLES.
2014-01-09 16:28:29 +01:00
Bert Vermeulen
0b9b3c41c2
ikalogic-scanalogic2: List all keys in device options.
2014-01-09 16:27:56 +01:00
Bert Vermeulen
f649fe8f8e
zeroplus-logic-cube: List all keys in device options.
2014-01-09 16:26:58 +01:00
Bert Vermeulen
67055d4c18
zeroplus-logic-cube: Publish SR_CONF_MAX_UNCOMPRESSED_SAMPLES.
2014-01-09 14:30:20 +01:00
Bert Vermeulen
c2b988bd4a
ikalogic-scanalogic2: Publish SR_CONF_MAX_UNCOMPRESSED_SAMPLES.
2014-01-09 14:00:53 +01:00
Bert Vermeulen
7730e4f002
Add support for SR_CONF_MAX_UNCOMPRESSED_SAMPLES.
2014-01-09 13:08:32 +01:00
Bert Vermeulen
d86e0b11c7
Add SR_CONF_MAX_UNCOMPRESSED_SAMPLES.
2014-01-09 12:36:05 +01:00
Bert Vermeulen
a769b9f357
Add sr_session_save_init().
...
This allows a frontend to initialize a session file, providing the
required samplerate and probe names, without having a proper
struct sr_dev_inst handy.
sr_session_append() is then used to add captured data to the session
file, as usual.
The existing sr_session_save() function works the same way as always.
2014-01-07 12:55:02 +01:00
Uwe Hermann
311622f69e
serial-dmm: Drop unused DMM_COUNT.
2014-01-06 20:54:00 +01:00
Uwe Hermann
ec5186f936
hardware/common/dmm: Fix debug output level.
...
Most messages from the DMM parsers are not hard errors, lower to
sr_dbg() so that the sigrok-cli output doesn't get cluttered (by default)
with debug output such as:
P1: 0.001100 V DC AUTO
sr: fs9721: Sync nibble in byte 0 (0x00) is invalid.
P1: 0.001100 V DC AUTO
(using -l 4 or -l 5 will still allow the user to see such messages)
2014-01-06 20:44:44 +01:00
Uwe Hermann
2710cb53fd
serial-dmm: Support the Tenma 72-7745 via UT-D02 cable.
...
(it was already supported in uni-t-dmm via UT-D04 cable)
2014-01-06 20:30:56 +01:00