X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Frigol-ds%2Fprotocol.h;h=853fbe6e61e19a33a03f421664065cdb91b84012;hb=721fc2272ea1e7f3036eca570380bafe40146859;hp=da69a3294056e87969d8a0b0951dd262909df332;hpb=babab6225b44eeeb73aa62e281d50636ec170bd5;p=libsigrok.git diff --git a/hardware/rigol-ds/protocol.h b/hardware/rigol-ds/protocol.h index da69a329..853fbe6e 100644 --- a/hardware/rigol-ds/protocol.h +++ b/hardware/rigol-ds/protocol.h @@ -37,6 +37,7 @@ #define DS1000_ANALOG_LIVE_WAVEFORM_SIZE 600 #define DS2000_ANALOG_LIVE_WAVEFORM_SIZE 1400 +#define VS5000_ANALOG_LIVE_WAVEFORM_SIZE 2048 /* Needs to be made configurable later */ #define DS2000_ANALOG_MEM_WAVEFORM_SIZE_1C 14000 #define DS2000_ANALOG_MEM_WAVEFORM_SIZE_2C 7000 @@ -50,10 +51,11 @@ enum rigol_ds_series { RIGOL_DS2000, RIGOL_DS4000, RIGOL_DS6000, + RIGOL_VS5000, }; enum rigol_protocol_flavor { - /* Used by DS1000 series */ + /* Used by DS1000 and VS5000 series */ PROTOCOL_LEGACY, /* Used by DS2000, DS4000, DS6000, ... series */ PROTOCOL_IEEE488_2, @@ -138,7 +140,6 @@ struct dev_context { SR_PRIV int rigol_ds_capture_start(const struct sr_dev_inst *sdi); SR_PRIV int rigol_ds_receive(int fd, int revents, void *cb_data); -SR_PRIV int rigol_ds_send(const struct sr_dev_inst *sdi, const char *format, ...); SR_PRIV int rigol_ds_get_dev_cfg(const struct sr_dev_inst *sdi); #endif