CANalyst-II is a USB to CAN Analyzer device produced by Chuangxin Technology.
pip install "python-can[canalystii]"
Windows, Linux and Mac.
The backend driver depends on pyusb <https://pyusb.github.io/pyusb/> so a
pyusb backend driver library such as
libusb must be installed. On Windows a tool such as Zadig <https://zadig.akeo.ie/> can be used to set the Canalyst-II USB device driver to
The USB protocol transfers messages grouped by channel. Messages received on channel 0 and channel 1 may be returned by software out of order between the two channels (although inside each channel, all messages are in order). The timestamp field of each message comes from the hardware and shows the exact time each message was received. To compare ordering of messages on channel 0 vs channel 1, sort the received messages by the timestamp field first.
The backend driver module canalystii <https://pypi.org/project/canalystii> must be installed to use this interface. This open source driver is unofficial and based on reverse engineering. Earlier versions of python-can required a binary library from the vendor for this functionality.