X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/rigol/blobdiff_plain/811f1259bdfc86f06fb13d7cde80befb4a808063..f416d675a06903504d86cab1e7b1065b98ab5705:/scope.h diff --git a/scope.h b/scope.h index dba5670..6c4f954 100644 --- a/scope.h +++ b/scope.h @@ -40,7 +40,7 @@ struct channel_s { struct scope { struct { - struct usb_dev_handle *dev; + struct libusb_device_handle *dev; int ep_bulk_out; int ep_bulk_in; unsigned int wMaxPacketSize_in; @@ -101,6 +101,8 @@ struct scope { } timebase; struct { + char mode[32]; + /* TODO */ } trigger; @@ -133,3 +135,4 @@ int scope_get_int(struct scope *sc, char *cmd); double scope_get_double(struct scope *sc, char*cmd); void update_scope_measurements(struct scope *sc); int update_scope_status(struct scope *sc); +char *scope_get_data(struct scope *sc, char *source, int *len);