]> git.zerfleddert.de Git - rigol/blob - scope.h
2f3a61ab3d21c3ff3856f1b4e71033303f469460
[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 struct usbtmc_capabilities *cap;
10 } usb;
11 char idn[128];
12 };
13
14 int sendscpi(struct scope* sc, char* cmd, unsigned char *resp, int resplen);
15 struct scope* initscope(void);
16 void closescope(struct scope* sc);
17 void claimscope(struct scope* sc);
18 void releasescope(struct scope* sc);
19 void resetscope(struct scope* sc);
20 char *scope_idn(struct scope *sc);
Impressum, Datenschutz