Я получаю следующую ошибку при выполнении кода ниже:
File "D:/evs_framework/tests/Integration/testcases/can_vec.py", line 7, in <module>
receive_own_messages=True)
File "C:\LegacyApp\Python36\lib\site-packages\can\interface.py", line 127, in __new__
return cls(channel, *args, **kwargs)
File "C:\LegacyApp\Python36\lib\site-packages\can\interfaces\vector\canlib.py", line 125, in __init__
hw_channel, vxlapi.XL_BUS_TYPE_CAN)
File "C:\LegacyApp\Python36\lib\site-packages\can\interfaces\vector\vxlapi.py", line 207, in check_status
raise VectorError(result, xlGetErrorString(result).decode(), function.__name__)
can.interfaces.vector.exceptions.VectorError: xlGetApplConfig failed (XL_ERROR)
Мой код
bus = VectorBus(channel=3, bitrate=500000, fd=True, data_bitrate=2000000, app_name="CANoe")
addr = isotp.Address(isotp.AddressingMode.Normal_11bits, rxid=0x3C1, txid=0x3E)
stack = isotp.CanStack(bus, address=addr, error_handler=my_error_handler, params={'can_fd': True})
stack.send(data)