You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2023-03-21 00:23:16,808 INFO [virtualcan::server] Starting virtual can server at: 0.0.0.0:18881
2023-03-21 00:23:16,811 INFO [virtualcan::server] Bound to 0.0.0.0:18881
Iam Using VS code to run the Python example file,
Once i run this I am getting below error
[Running] python -u "e:\Data\00_Projects\SiriAB\VCAN.py"
Traceback (most recent call last):
File "e:\Data\00_Projects\SiriAB\VCAN.py", line 3, in
bus = can.Bus(interface='virtualcan', channel='localhost:18881')
File "C:\Users\Rajesh\AppData\Roaming\Python\Python310\site-packages\can\interface.py", line 108, in new
kwargs = load_config(config=kwargs, context=context)
File "C:\Users\Rajesh\AppData\Roaming\Python\Python310\site-packages\can\util.py", line 192, in load_config
bus_config = _create_bus_config(config)
File "C:\Users\Rajesh\AppData\Roaming\Python\Python310\site-packages\can\util.py", line 211, in _create_bus_config
raise CanInterfaceNotImplementedError(
can.exceptions.CanInterfaceNotImplementedError: Unknown interface type "virtualcan"
The text was updated successfully, but these errors were encountered:
I think the interface should be virtual instead of virtualcan
bus = can.Bus(interface='virtual', channel='localhost:18881').. Once i change i see in the terminal as Done..
If I want to send the CAN data and see the data that is being sent ...
Do you have any example file to see like CAN Tx and Rx ?
In Back end cargo run --release -- --port 18881 is running in cmd
2023-03-21 00:23:16,808 INFO [virtualcan::server] Starting virtual can server at: 0.0.0.0:18881
2023-03-21 00:23:16,811 INFO [virtualcan::server] Bound to 0.0.0.0:18881
Iam Using VS code to run the Python example file,
Once i run this I am getting below error
[Running] python -u "e:\Data\00_Projects\SiriAB\VCAN.py"
Traceback (most recent call last):
File "e:\Data\00_Projects\SiriAB\VCAN.py", line 3, in
bus = can.Bus(interface='virtualcan', channel='localhost:18881')
File "C:\Users\Rajesh\AppData\Roaming\Python\Python310\site-packages\can\interface.py", line 108, in new
kwargs = load_config(config=kwargs, context=context)
File "C:\Users\Rajesh\AppData\Roaming\Python\Python310\site-packages\can\util.py", line 192, in load_config
bus_config = _create_bus_config(config)
File "C:\Users\Rajesh\AppData\Roaming\Python\Python310\site-packages\can\util.py", line 211, in _create_bus_config
raise CanInterfaceNotImplementedError(
can.exceptions.CanInterfaceNotImplementedError: Unknown interface type "virtualcan"
The text was updated successfully, but these errors were encountered: