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;
} timebase;
struct {
+ char mode[32];
+
/* TODO */
} trigger;
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);