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