Uwe Hermann
b89e6db910
scpi-pps: Fix typos and minor cosmetics.
2019-04-17 17:59:16 +02:00
Uwe Hermann
fd2433153a
scpi-pps: Fix "aquisition" typo everywhere.
2019-04-17 17:59:16 +02:00
Uwe Hermann
9652610080
sr_session_send_meta(): Drop unneeded check.
...
As of right now, sr_config_new() "cannot fail" and will never return NULL.
2019-04-17 17:45:04 +02:00
Frank Stettner
26e96658ab
scpi-pps: Don't use SCPI_CMD_REMOTE and SCPI_CMD_LOCAL for HP 66xxB devices when in GPIB mode.
2019-04-17 17:45:04 +02:00
Frank Stettner
5ce427c71b
scpi-pps: Add various HP power supplies:
...
HP 6632A, HP 6634A, HP 6611C, HP 6612C, HP 6613C and HP 6614C
2019-04-17 17:45:04 +02:00
Frank Stettner
fdf0365257
scpi-pps: Implement init_acquisition() and update_status() for HP 66xxA power supplies.
2019-04-17 17:44:59 +02:00
Frank Stettner
f083ae63c7
scpi-pps: Add config keys SR_CONF_OVER_VOLTAGE_PROTECTION_ACTIVE,
...
SR_CONF_OVER_CURRENT_PROTECTION_ACTIVE and
SR_CONF_OVER_TEMPERATURE_PROTECTION_ACTIVE to HP 66xxA power supplies.
2019-04-17 17:44:59 +02:00
Frank Stettner
0ad7074c9e
scpi-pps: Add SR_CONF_REGULATION for HP 66xxA power supplies.
2019-04-17 17:44:59 +02:00
Frank Stettner
dbc519f720
scpi-pps: Seperate existing HP 66xxA and 66xxB profiles.
2019-04-17 17:44:59 +02:00
Frank Stettner
969671a542
scpi-pps: Add missing frequency channel settings for acquisition.
2019-04-17 17:44:56 +02:00
Frank Stettner
3d1aa50f38
scpi-pps: Set device and channel group feature for HP 66xxB.
2019-04-17 17:44:56 +02:00
Frank Stettner
f2bbcc330a
scpi-pps: Add configurable sr_mqflags.
2019-04-17 17:44:56 +02:00
Frank Stettner
fe4bb77492
scpi-pps: Implement init_acquisition() and update_status() for HP 66xxB power supplies.
2019-04-17 17:44:51 +02:00
Frank Stettner
6188675b72
scpi_libgpib: Add mutex to SPoll.
2019-04-17 17:44:51 +02:00
Frank Stettner
87aa1e63e3
scpi: Add enum scpi_transport_layer.
2019-04-17 17:44:51 +02:00
Frank Stettner
7e66bf0586
scpi-pps: Add init_acquisition() and update_status() for device specific
...
acquisition functions.
2019-04-17 17:43:07 +02:00
Frank Stettner
8b5eadf427
scpi-pps: Add config keys SR_CONF_OVER_VOLTAGE_PROTECTION_ACTIVE,
...
SR_CONF_OVER_CURRENT_PROTECTION_ACTIVE and
SR_CONF_OVER_TEMPERATURE_PROTECTION_ACTIVE to HP 66xxB power supplies.
2019-04-17 17:11:21 +02:00
Frank Stettner
43ff1110fb
scpi-pps: Add SR_CONF_REGULATION for HP 66xxB power supplies.
2019-04-17 17:11:21 +02:00
Frank Stettner
5e7377f4c7
scpi-pps: Add enum pps_scpi_dialect and add to struct scpi_pps,
...
preset with reasonable values.
2019-04-17 17:11:21 +02:00
Frank Stettner
7d1a4a5239
session: Add helper sr_session_send_meta() to send SR_DF_META packages.
...
Replace individual functions in drivers for arachnid-labs-re-load-pro
and lcr/es51919 with sr_session_send_meta() helper function.
2019-04-17 17:11:19 +02:00
Uwe Hermann
6449b2e035
demo: Minor cosmetics.
2019-03-29 16:23:21 +01:00
Frank Stettner
1c0e1baaaa
korad-kaxxxxp: Add another KA3005P with 0xBC as extra byte in the model ID.
2019-03-29 16:15:37 +01:00
Frank Stettner
d1a3f3be45
korad-kaxxxxp: Add SR_MQFLAG_DC flag to the current channel package.
2019-03-29 16:15:37 +01:00
Frank Stettner
8107a9a650
scpi: Add connenction_id() function to all scpi drivers.
2019-03-29 16:15:37 +01:00
Frank Stettner
9618fde422
demo: Get/Set new config key offset.
2019-03-29 16:15:37 +01:00
Frank Stettner
78ec6cf99d
Add new config key OFFSET.
2019-03-29 16:15:37 +01:00
Frank Stettner
a6e5d2f676
demo: Get/Set amplitude while data acquisition is running.
2019-03-29 16:15:37 +01:00
Frank Stettner
94f364ec11
demo: Get/Set measurement quantity for the analog channels.
2019-03-29 16:15:37 +01:00
Frank Stettner
8430c9b62e
demo: Set an initial mq, mq flag and digits to the analog package.
...
Without a measured quantity in packet.meaning->mq the C++ binding function
sigrok::Analog::mq() throws an exception and there is no way to check if
there is any measured quantity set in the analog package.
2019-03-29 16:15:37 +01:00
Frank Stettner
a0bc8afd7d
Free sr_config and sr_config lists in meta datafeeds correctly.
2019-03-29 16:15:37 +01:00
Soeren Apel
7ed4ae6307
input/trace32_ad: Add support for new file format (BINHDR2)
2019-03-24 21:33:54 +01:00
Soeren Apel
628dc330bc
input/trace32_ad: Use only hex offsets
2019-03-24 13:48:44 +01:00
Uwe Hermann
d025fce937
chronovu-la: Fix broken triggering.
...
This fixes bug #1369 .
2019-03-22 00:59:39 +01:00
Thomas Andres
27a9b6639e
korad-kaxxxxp: support for Stamos S-LS-31 power supply
2019-03-17 17:06:28 +01:00
Michael Klengel
88e6a8da9c
manson-hcs-3xxx: Add HCS-3300 / DPPS-32-15 / HCS-3302 support.
...
Manson HCS-3300 (1-16 V, 30 A):
$ sigrok-cli --show -d manson-hcs-3xxx:conn=/dev/cu.SLAB_USBtoUART5
[...]
sr: manson-hcs-3xxx: Unknown model ID 'HCS-3300' detected, aborting.
Voltcraft DPPS-32-15 (1-32 V, 15 A), identical to Manson HCS-3302:
$ sigrok-cli --show -d manson-hcs-3xxx:conn=/dev/cu.SLAB_USBtoUART
[...]
sr: manson-hcs-3xxx: Unknown model ID 'HCS-3302' detected, aborting.
2019-03-09 18:23:05 +01:00
Michael Klengel
dfd1daf25f
manson-hcs-3xxx: Whitespace changes for models[].
2019-03-09 18:23:05 +01:00
Frank Stettner
02d4db3562
hp-3478a: Check via GPIB serial poll if new data is available.
...
When just reading the data without check, the bus is blocked until new
data is available.
2019-03-09 18:01:11 +01:00
Uwe Hermann
1b6b9c01df
ipdbg-la: Minor cosmetic and comment fixes.
2019-01-29 23:18:41 +01:00
Daniel Anselmi
8e249032d3
ipdbg-la: improve speed
2019-01-29 23:18:30 +01:00
danselmi
c54ca32340
ipdbg-la: working on windows
2019-01-29 23:18:23 +01:00
Wolfram Sang
f6ce25ec05
ols: add feature to support >256K memory
...
Add support for the Pepino-style of accessing >256K of memory. Because
this the only known extension of accessing >256K currently, we apply it
as soon as the sample size is bigger than 256K. Let's hope other
devices (if any) will follow this style. If not, we need to add support
depending on the device name later.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
2019-01-13 20:07:27 +01:00
Wolfram Sang
ec26d9e1df
pipistrello: rename registers to match actual function
...
Magnus (creator of the Pipistrello) confirmed that he mixed up the
register names. The code was doing it correctly nonetheless but was
confusing to read because of this. Fix it to make it easier to
comprehend.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
2019-01-13 20:07:27 +01:00
Wolfram Sang
60143473c9
ols: mention compatible devices in driver name
...
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
2019-01-13 20:07:27 +01:00
Wolfram Sang
ae4e6999c5
ols: extend reponse delay when scanning device
...
My Pepino needs 15ms instead of 10ms, so let's use 20ms to be on the
safe side.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
2019-01-13 20:07:27 +01:00
Wolfram Sang
a88114183a
ols: sort commands according to their hex value
...
Makes adding new ones easier.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
2019-01-13 20:07:27 +01:00
Wolfram Sang
ea642977e5
ols: refactor using max_channels
...
Let max_channels really carry the number of maximum channels the
hardware supports. We will handle the limitation of only half the
channels available in 200MHz mode later. Note that there won't be a
regression because we only set the variable but never check it. The
desired result of this patch is the removal of the NUM_CHANNELS macro.
The number of channels needs to be dealt with at runtime.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
2019-01-13 20:07:27 +01:00
Wolfram Sang
4a34a74d73
ols: refactor channel initialization
...
We needs this twice so put it into a seperate function, so updates to it
will automatically handled for both callers.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
2019-01-13 20:07:27 +01:00
Wolfram Sang
aad0c77708
ols: simplify calculation of readcount
...
Somewhen we probably want DIV_ROUND_UP from the Kernel.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
2019-01-13 20:07:27 +01:00
Wolfram Sang
be15c51ed4
ols: drop wrong usage of macro
...
commit f51acd69
("ols: combine demux samples") wrongly replaced the bit
pattern of 0x20 with the number of channels which just happens to be 32
as well. So, the code works but is confusing to read. Reword the
for-loop to make it more comprehensible.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
2019-01-13 20:07:27 +01:00
Wolfram Sang
6e5a1a0178
ols: use 32bit for handling sample counts
...
The OLS protocol sends 16bit values to specify the sample count and
delay count. However, this 16bit value is the number of 32bit words to
be sampled, so the actual sample count is 4 times larger and does not
fit into a uint16_t. Extend it to support the full range of 256K
(LogicShrimp will need this) and to prepare support for devices with
even more memory (Pepino).
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
2019-01-13 20:07:27 +01:00