]> sigrok.org Git - libsigrok.git/commitdiff
scpi: Log IDN? result.
authorMartin Ling <redacted>
Sat, 28 Dec 2013 23:26:54 +0000 (00:26 +0100)
committerMartin Ling <redacted>
Sat, 28 Dec 2013 23:26:54 +0000 (00:26 +0100)
hardware/common/scpi.c

index 78a06fd1918eed01475f66f14fdd8874ab81467c..a29f31b77085e916e3b2ae11219d15c3ce2a0a98 100644 (file)
@@ -535,6 +535,8 @@ SR_PRIV int sr_scpi_get_hw_id(struct sr_scpi_dev_inst *scpi,
                if (!response)
                        return SR_ERR;
 
+       sr_info("Got IDN string: '%s'", response);
+
        /*
         * The response to a '*IDN?' is specified by the SCPI spec. It contains
         * a comma-separated list containing the manufacturer name, instrument