]> sigrok.org Git - libsigrok.git/blobdiff - src/scpi.h
output/csv: use intermediate time_t var, silence compiler warning
[libsigrok.git] / src / scpi.h
index b66dd554d5048851ca0362ef1cefd0fbad046889..634c2727110b88334dbabdc34074a8d7565f733a 100644 (file)
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-/** @file
-  * @internal
-  */
-
 #ifndef LIBSIGROK_SCPI_H
 #define LIBSIGROK_SCPI_H
 
 enum {
        SCPI_CMD_GET_TIMEBASE = 1,
        SCPI_CMD_SET_TIMEBASE,
+       SCPI_CMD_GET_HORIZONTAL_DIV,
        SCPI_CMD_GET_VERTICAL_SCALE,
        SCPI_CMD_SET_VERTICAL_SCALE,
+       SCPI_CMD_GET_TRIGGER_SOURCE,
+       SCPI_CMD_SET_TRIGGER_SOURCE,
        SCPI_CMD_GET_TRIGGER_SLOPE,
        SCPI_CMD_SET_TRIGGER_SLOPE,
        SCPI_CMD_GET_TRIGGER_PATTERN,
        SCPI_CMD_SET_TRIGGER_PATTERN,
-       SCPI_CMD_GET_TRIGGER_SOURCE,
-       SCPI_CMD_SET_TRIGGER_SOURCE,
+       SCPI_CMD_GET_HIGH_RESOLUTION,
+       SCPI_CMD_SET_HIGH_RESOLUTION,
+       SCPI_CMD_GET_PEAK_DETECTION,
+       SCPI_CMD_SET_PEAK_DETECTION,
        SCPI_CMD_GET_COUPLING,
        SCPI_CMD_SET_COUPLING,
        SCPI_CMD_GET_HORIZ_TRIGGERPOS,
@@ -112,6 +113,7 @@ struct sr_scpi_dev_inst {
        uint64_t firmware_version;
        GMutex scpi_mutex;
        char *actual_channel_name;
+       gboolean no_opc_command;
 };
 
 SR_PRIV GSList *sr_scpi_scan(struct drv_context *drvc, GSList *options,