From 13f74b3b0a3e236a8e23250f735be0dfa385bea8 Mon Sep 17 00:00:00 2001 From: Andrea Zanotti Date: Fri, 18 Oct 2019 09:53:55 +0200 Subject: [PATCH] If the device is bk precision 8600, activate remote mode at self.open() --- usbtmc/usbtmc.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/usbtmc/usbtmc.py b/usbtmc/usbtmc.py index 93b7d55..b33035b 100644 --- a/usbtmc/usbtmc.py +++ b/usbtmc/usbtmc.py @@ -485,6 +485,10 @@ def open(self): if self.device.idProduct == 0x04ce: self.rigol_quirk_ieee_block = True + # BK Precision 8600 + if self.device.idVendor == 0x2ec7 and self.device.idProduct == 0x8800: + self.device.ctrl_transfer(bmRequestType=0xA1, bRequest=0xA0, wValue=0x0001, wIndex=0x0000, data_or_wLength=1) + self.connected = True self.clear()