]>
git.zerfleddert.de Git - rigol/blob - scope.h
a74809b3985af1d4d4c9a532ccd85dc8c83a05a2
43 struct usb_dev_handle
*dev
;
46 unsigned int wMaxPacketSize_in
;
49 struct usbtmc_capabilities
*cap
;
98 double delayed_offset
;
123 int sendscpi(struct scope
* sc
, char* cmd
, unsigned char *resp
, int resplen
);
124 struct scope
* initscope(void);
125 void closescope(struct scope
* sc
);
126 void claimscope(struct scope
* sc
);
127 void releasescope(struct scope
* sc
);
128 void resetscope(struct scope
* sc
);
129 char *scope_idn(struct scope
*sc
);
130 char *scope_get_string(struct scope
*sc
, char *cmd
, int maxlen
);
131 int scope_get_truth_value(struct scope
*sc
, char *cmd
);
132 int scope_get_int(struct scope
*sc
, char *cmd
);
133 double scope_get_double(struct scope
*sc
, char*cmd
);
134 void update_scope_measurements(struct scope
*sc
);
135 int update_scope_status(struct scope
*sc
);
136 char *scope_get_data(struct scope
*sc
, char *source
, int *len
);