tao_z
2022-08-23 989919a73c5ebd46368991b6c3ff6959e32490b6
USBCAN.py
@@ -420,7 +420,7 @@
        USBCAN_DLL.VCI_Transmit(self.device, self.device_index, self.channel,
                                byref(raw_message), 1)
    def Receive(self, len=10, timeout=None):
    def Receive(self, len=1, timeout=None):
        raw_message = (VCI_CAN_OBJ * len)()
        timeout = -1 if timeout is None else c_int(timeout * 1000)