X-Git-Url: https://sigrok.org/gitweb/?p=libsigrok.git;a=blobdiff_plain;f=src%2Fhardware%2Fscpi-dmm%2Fprotocol.c;h=f413fcd730fbcaad79d58be38fbc2de3ed74d4fd;hp=1a967358907099261627d4d364c032b6329027ac;hb=08f023fe97e402d68106299d04726f9094f00c45;hpb=b74cc88d328eb3b7d2c0c1df8fed84131815a9f3 diff --git a/src/hardware/scpi-dmm/protocol.c b/src/hardware/scpi-dmm/protocol.c index 1a967358..f413fcd7 100644 --- a/src/hardware/scpi-dmm/protocol.c +++ b/src/hardware/scpi-dmm/protocol.c @@ -150,6 +150,8 @@ SR_PRIV int scpi_dmm_set_mq(const struct sr_dev_inst *sdi, ret = sr_scpi_send(sdi->conn, command, mode); if (ret != SR_OK) return ret; + if (item->drv_flags & FLAG_CONF_DELAY) + g_usleep(devc->model->conf_delay_us); return SR_OK; } @@ -241,6 +243,8 @@ SR_PRIV int scpi_dmm_set_range_from_text(const struct sr_dev_inst *sdi, item->scpi_func_setup, is_auto ? "AUTO" : range); if (ret != SR_OK) return ret; + if (item->drv_flags & FLAG_CONF_DELAY) + g_usleep(devc->model->conf_delay_us); return SR_OK; }