X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fscpi.h;h=bafdbe62314dcd0b55439b27dc1b90661db5c203;hb=d431e4ec28d5d168bc0d98d5545a585b89d52e8d;hp=c70bd930fd5b2e42d284be08973516790b68ad2c;hpb=de285cce11aca3afd0d4adfdd514c691e6a71c64;p=libsigrok.git diff --git a/src/scpi.h b/src/scpi.h index c70bd930..bafdbe62 100644 --- a/src/scpi.h +++ b/src/scpi.h @@ -56,6 +56,14 @@ enum { SCPI_CMD_GET_DIG_DATA, SCPI_CMD_GET_SAMPLE_RATE, SCPI_CMD_GET_SAMPLE_RATE_LIVE, + SCPI_CMD_GET_DATA_FORMAT, + SCPI_CMD_GET_PROBE_FACTOR, + SCPI_CMD_SET_PROBE_FACTOR, + SCPI_CMD_GET_PROBE_UNIT, + SCPI_CMD_SET_PROBE_UNIT, + SCPI_CMD_GET_ANALOG_CHAN_NAME, + SCPI_CMD_GET_DIG_CHAN_NAME, + SCPI_CMD_GET_BYTE_ORDER, }; struct scpi_command { @@ -128,6 +136,10 @@ SR_PRIV int sr_scpi_get_floatv(struct sr_scpi_dev_inst *scpi, const char *command, GArray **scpi_response); SR_PRIV int sr_scpi_get_uint8v(struct sr_scpi_dev_inst *scpi, const char *command, GArray **scpi_response); +SR_PRIV int sr_scpi_get_data(struct sr_scpi_dev_inst *scpi, + const char *command, GString **scpi_response); +SR_PRIV int sr_scpi_get_block(struct sr_scpi_dev_inst *scpi, + const char *command, GByteArray **scpi_response); SR_PRIV int sr_scpi_get_hw_id(struct sr_scpi_dev_inst *scpi, struct sr_scpi_hw_info **scpi_response); SR_PRIV void sr_scpi_hw_info_free(struct sr_scpi_hw_info *hw_info);