]> sigrok.org Git - libsigrok.git/blobdiff - libsigrok-internal.h
scpi: Add a function to read and wait on a *OPC? reply.
[libsigrok.git] / libsigrok-internal.h
index fa270b4e477e3bd158394b4ff1032cfbb5a1e424..b8a3fde505dbf3cedeb9e8e7d4276644482d6798 100644 (file)
@@ -288,6 +288,7 @@ SR_PRIV int sr_scpi_get_float(struct sr_serial_dev_inst *serial,
                              const char *command, float *scpi_response);
 SR_PRIV int sr_scpi_get_double(struct sr_serial_dev_inst *serial,
                              const char *command, double *scpi_response);
+SR_PRIV int sr_scpi_get_opc(struct sr_serial_dev_inst *serial);
 SR_PRIV int sr_scpi_get_hw_id(struct sr_serial_dev_inst *serial,
                              struct sr_scpi_hw_info **scpi_reponse);
 SR_PRIV void sr_scpi_hw_info_free(struct sr_scpi_hw_info *hw_info);