]>
Commit | Line | Data |
---|---|---|
713be7a4 | 1 | struct scope { |
7906b395 MG |
2 | struct { |
3 | struct usb_dev_handle *dev; | |
fc648ed8 | 4 | int ep_bulk_out; |
fc648ed8 MG |
5 | int ep_bulk_in; |
6 | unsigned int wMaxPacketSize_in; | |
7b575069 MG |
7 | unsigned char bTag; |
8 | int brokenRigol; | |
90e416c4 | 9 | struct usbtmc_capabilities *cap; |
7906b395 | 10 | } usb; |
713be7a4 MG |
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); | |
10ca7ea8 | 19 | void resetscope(struct scope* sc); |
713be7a4 | 20 | char *scope_idn(struct scope *sc); |