1fdb515fe42a62741b9527472b0b993ae6477a09
[rigol] / scope.h
1 struct scope {
2 struct {
3 struct usb_dev_handle *dev;
4 int ep_bulk_out;
5 int ep_bulk_in;
6 unsigned int wMaxPacketSize_in;
7 unsigned char bTag;
8 int brokenRigol;
9 } usb;
10 char idn[128];
11 };
12
13 int sendscpi(struct scope* sc, char* cmd, unsigned char *resp, int resplen);
14 struct scope* initscope(void);
15 void closescope(struct scope* sc);
16 void claimscope(struct scope* sc);
17 void releasescope(struct scope* sc);
18 char *scope_idn(struct scope *sc);
Impressum, Datenschutz