We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 035ba95 commit 1cf2077Copy full SHA for 1cf2077
usbtmc/usbtmc.py
@@ -312,9 +312,7 @@ def open(self):
312
313
self.connected = True
314
315
- self.reset()
316
-
317
- time.sleep(0.01) # prevents a very repeatable pipe error
+ self.clear()
318
319
self.get_capabilities()
320
@@ -326,13 +324,6 @@ def close(self):
326
324
327
325
self.connected = False
328
329
- def reset(self):
330
- if not self.connected:
331
- return
332
333
- if os.name == 'posix':
334
- self.device.reset()
335
336
def is_usb488(self):
337
return self.iface.bInterfaceProtocol == USB488_bInterfaceProtocol
338
0 commit comments