]> sigrok.org Git - libsigrok.git/blobdiff - hardware/common/scpi.c
Add librevisa SCPI backend.
[libsigrok.git] / hardware / common / scpi.c
index e188946d81e52c1005ee409bdb2be504e7dd4b88..fc61855fc7cad312836256b570c8eda0edc1541b 100644 (file)
@@ -70,6 +70,7 @@ SR_PRIV extern const struct sr_scpi_dev_inst scpi_tcp_raw_dev;
 SR_PRIV extern const struct sr_scpi_dev_inst scpi_tcp_rigol_dev;
 SR_PRIV extern const struct sr_scpi_dev_inst scpi_usbtmc_dev;
 SR_PRIV extern const struct sr_scpi_dev_inst scpi_vxi_dev;
+SR_PRIV extern const struct sr_scpi_dev_inst scpi_visa_dev;
 
 static const struct sr_scpi_dev_inst *scpi_devs[] = {
        &scpi_tcp_raw_dev,
@@ -78,6 +79,9 @@ static const struct sr_scpi_dev_inst *scpi_devs[] = {
 #if HAVE_RPC
        &scpi_vxi_dev,
 #endif
+#ifdef HAVE_LIBREVISA
+       &scpi_visa_dev,
+#endif
 #ifdef HAVE_LIBSERIALPORT
        &scpi_serial_dev,  /* must be last as it matches any resource */
 #endif