]> sigrok.org Git - libsigrok.git/commitdiff
scpi-dmm: use INIT instead of MEAS for Agilent to start acquisition
authorGerhard Sittig <redacted>
Thu, 20 May 2021 22:30:51 +0000 (00:30 +0200)
committerGerhard Sittig <redacted>
Sat, 22 May 2021 06:35:11 +0000 (08:35 +0200)
Though measurement values come in, the 34405A and 34465A meters kept
beeping when acquisition is started. Stopped beeping when the MEAS
keyword was changed to INIT, which is used for other Agilent devices
using the HP protocol variant.

This change is acceptable because it was tested on all DMMs which use
the Agilent protocol (according to scpi-dmm profiles).

src/hardware/scpi-dmm/api.c

index 6fb4090f732194eaeada6bdace3a9e4aaca366ff..9819eb0098238dbd5b55191b34104e4e6b49324a 100644 (file)
@@ -43,7 +43,7 @@ static const struct scpi_command cmdset_agilent[] = {
        { DMM_CMD_SETUP_REMOTE, "\n", },
        { DMM_CMD_SETUP_FUNC, "CONF:%s", },
        { DMM_CMD_QUERY_FUNC, "CONF?", },
-       { DMM_CMD_START_ACQ, "MEAS", },
+       { DMM_CMD_START_ACQ, "INIT", },
        { DMM_CMD_STOP_ACQ, "ABORT", },
        { DMM_CMD_QUERY_VALUE, "READ?", },
        { DMM_CMD_QUERY_PREC, "CONF?", },