AgeCommit message (Collapse)AuthorLines
2017-03-11SCPI: add sr_scpi_write_data()HEADmasterSven Schnelle-0/+33
Can be used to send raw data on a SCPI connection. Signed-off-by: Sven Schnelle <svens@stackframe.org>
2017-03-10Fix obsolete code comments.Uwe Hermann-2/+2
"Probe groups" are called "channel groups" now.
2017-03-10sr_scpi_free(): Allow NULL as argument.Uwe Hermann-3/+5
2017-03-10sr_scpi_hw_info_free(): Allow NULL as argument.Uwe Hermann-16/+13
2017-03-10sr_usbtmc_dev_inst_free(): Allow NULL as argument.Uwe Hermann-0/+3
2017-03-10sr_usb_dev_inst_new(): Allow NULL as argument.Uwe Hermann-1/+2
(documentation fix, the function always handled NULL fine)
2017-03-10sr_serial_dev_inst_free(): Allow NULL as argument.Uwe Hermann-8/+9
2017-03-10sr_dev_inst_free(): Allow NULL as argument.Uwe Hermann-19/+12
2017-03-08scope drivers: More consistent config key ordering.Uwe Hermann-21/+21
2017-03-08rigol-ds: Fix capabilities listing in config_list()Soeren Apel-5/+15
2017-03-08lecroy-xstream: Fix capabilities listing in config_list()Soeren Apel-39/+44
This fixes bug #913.
2017-03-08Fix sr_period_string() Doxygen comments.Uwe Hermann-6/+9
2017-03-07Rework sr_period_stringSoeren Apel-39/+58
2017-03-07pce-322a: Adding support for reading memory from PCE-322A SPLMatthieu Guillaumin-9/+254
2017-03-05configure summary: Show linker flags.Uwe Hermann-0/+1
2017-03-04configure summary: Show whether shared/static build is enabled.Uwe Hermann-0/+1
2017-03-02lecroy-xstream: Drop some unneeded "lecroy_" prefixes.Uwe Hermann-22/+20
For the time being this driver only handles LeCroy devices, so those prefixes are not needed.
2017-03-02lecroy-xstream: Drop prototypes for non-existing functions.Uwe Hermann-7/+0
2017-03-02lecroy-xstream: Minor whitespace and consistency fixes.Uwe Hermann-58/+51
2017-03-02lecroy-xstream: Use sr_period_string()Soeren Apel-2/+2
2017-03-02lecroy-xstream: Fix compiler warningsSoeren Apel-0/+1
2017-03-02lecroy-xstream: Don't send custom SCPI command to the probed deviceSoeren Apel-1/+3
2017-03-02lecroy-xstream: Change human-readable nameSoeren Apel-2/+2
2017-03-02lecroy-xstream: Add the actual driver implementationSven Schnelle-57/+1237
Signed-off-by: Sven Schnelle <svens@stackframe.org>
2017-03-02lecroy-xstream: Initial driver skeleton.Sven Schnelle-0/+260
Signed-off-by: Sven Schnelle <svens@stackframe.org>
2017-03-02rohde-schwarz-sme-0x: Add support for SR_CONF_SIGNAL_GENERATOR.Uwe Hermann-0/+11
2017-03-02Add SR_CONF_SIGNAL_GENERATOR.Uwe Hermann-0/+4
2017-03-02rohde-schwarz-sme-0x: Drop prototypes for non-existing functions.Uwe Hermann-2/+0
2017-03-02rohde-schwarz-sme-0x: Minor whitespace and consistency fixes.Uwe Hermann-43/+37
2017-02-26rohde-schwarz-sme-0x: Coding style fixesSoeren Apel-53/+50
2017-02-26rohde-schwarz-sme-0x: Initial device supportVlad Ivanov-0/+449
Signed-off-by: Vlad Ivanov <vlad.ivanov@lab-systems.ru>
2017-02-26hwdriver: Drop unneeded debug message.Uwe Hermann-1/+0
The logs already show scan attempts per-driver, no need to also log the init per-driver, since that's always happening and cannot (normally) fail.
2017-02-15Fix analog output displaySven Schnelle-3/+4
I've seen the following output from sigrok-cli: CH1: 478.720 mV CH1: -514 mV CH1: -0 V I added some debug, and it seems like the digits value isn't reset to the actual value after calling sr_analog_si_prefix_friendly(): using 6 digits value2 0.478720 digits 6 value2 -0.513536 digits 3 value2 -0.487424 digits 0 This commit fixes this by resetting the value to the actual value before. Signed-off-by: Sven Schnelle <svens@stackframe.org>
2017-02-14Fix initial sample value for demo driverSven Schnelle-0/+1
devc->step is not reset on acquistion start, so acquisition starts with a different value every time. Thats annoying when using the demo driver to debug sigrok, so lets make sure that it's reset to 0. Signed-off-by: Sven Schnelle <svens@stackframe.org>
2017-02-02Build: fix #865 yet againMarcus Comstedt-1/+1
It appears that the symmetry changes of setting CC and CFLAGS correctly for C code compilation in commit 104f02f broke things for people using some other version of setuptools which uses those vars instead of CXX and CXXFLAGS when compiling C++ code. In order to make this work everywhere, set _both_ sets of variables as required for C++ compilation. No C code is compiled by the python binding module anyway.
2017-01-27README.devices: Update hantek-6xxx entry.Uwe Hermann-2/+2
2017-01-27z60_libsigrok.rules: Add Hantek 6022BL.Uwe Hermann-0/+4
2017-01-27Add support for Hantek 6022BLSebastian Tabares Amaya-0/+5
2017-01-22agilent-dmm: Add support for U124xC.Aurelien Jacobs-6/+89
2017-01-22agilent_dmm: Split generic part of recv_log_u128x() to recv_log().Aurelien Jacobs-5/+13
2017-01-22agilent-dmm: Add support for Vsense (Non-Contact Voltage).Aurelien Jacobs-0/+8
2017-01-22agilent-dmm: Fix handling of the 2nd channel of 2 channels models.Aurelien Jacobs-4/+4
The 2nd channel of those models is not limited to temperature, so it is necessary to query CONF? @2.
2017-01-22agilent-dmm: Set correct length in strncmp().Aurelien Jacobs-1/+1
2017-01-22libsigrok.h: Add SR_MQ_HARMONIC_RATIO.Aurelien Jacobs-0/+3
2017-01-21scpi_serial: Convert 'got_newline' variable to gboolean.Uwe Hermann-5/+5
2017-01-21scpi: Do not block when reading header of definite length blocksStefan Brüns-31/+82
When using SCPI over serial (over USB), we want the header without waiting for the terminating newline, as otherwise the transfer may time out. sr_scpi_get_data() will block until the message is complete.
2017-01-21scpi_serial: Get rid of intermediate buffer, do not strip newlineStefan Brüns-45/+18
Lowlevel access functions should not alter the data. sr_scpi_get_string(), which is called by most highlevel access functions, strips newlines in a central place, and is only fed with data which contains newlines as a final terminator. IEEE 488.2 definite length blocks may contain arbitrary data, thus the payload up to the provided length should be passed unaltered. Track if the last received character is a newline, which can be used by sr_scpi_get_string() and its callers to determine if the response is complete.
2017-01-21scpi: Query current time just once, use microseconds for timeoutStefan Brüns-11/+12
g_get_monotonic_time() returns current time in microseconds, use the same granularity for storing the read timeout. There is also no need to check the timeout if data has just been read.
2017-01-21yokogawa-dlm: Mostly fix dumping of current timebaseStefan Brüns-2/+2
sr_period_string takes the frequency as its argument, i.e. the reciprocal of the timebase. Obviously this will not work for frequencies less than 1Hz / timebases greater than 1 second, but at least is correct for all other available timebases.
2017-01-21hameg_hmo: Mostly fix dumping of current timebaseStefan Brüns-2/+3
sr_period_string takes the frequency as its argument, i.e. the reciprocal of the timebase. Obviously this will not work for frequencies less than 1Hz / timebases greater than 1 second, but at least is correct for all other available timebases.