Skip to content

Commit 5943750

Browse files
authored
Merge branch 'develop' into message-class-changes
2 parents e1070db + de94772 commit 5943750

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

can/interfaces/usb2can/usb2canInterface.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,8 @@ def __init__(self, channel, *args, **kwargs):
119119

120120
self.handle = self.can.open(connector.encode('utf-8'), enable_flags)
121121

122+
super(Usb2canBus, self).__init__(channel=channel, *args, **kwargs)
123+
122124
def send(self, msg, timeout=None):
123125
tx = message_convert_tx(msg)
124126
if timeout:

doc/interfaces/usb2can.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ WINDOWS INSTALL
2626
1. To install on Windows download the USB2CAN Windows driver. It is compatible with XP, Vista, Win7, Win8/8.1. (Written against driver version v1.0.2.1)
2727
2. Install the appropriate version of `pywin32 <https://sourceforge.net/projects/pywin32/>`_ (win32com)
2828
3. Download the USB2CAN CANAL DLL from the USB2CAN website. Place this in either the same directory you are running usb2can.py from or your DLL folder in your python install.
29+
Note that only a 32-bit version is currently available, so this only works in a 32-bit Python environment.
2930
(Written against CANAL DLL version v1.0.6)
3031

3132
Interface Layout

0 commit comments

Comments
 (0)