Skip to content

[question] possible cause for vector XL_ERR_INVALID_HANDLE #1588

@danielhrisca

Description

@danielhrisca

Describe the bug

I setup several buses on a VX1135 device
vector hardware config

Each bus is being handled in a dedicated Python process.
I am able to start the buses and acquire CAN data, but when I want to shutdown the buses I often get this error:

Traceback (most recent call last):
  File "d:\daxil\xil\devices\can_device.py", line 1727, in _acquire
  File "d:\Tools\_venv\pyvenv_daxil2_Python310_x64\lib\site-packages\can\interfaces\vector\canlib.py", line 629, in shutdown
  File "d:\Tools\_venv\pyvenv_daxil2_Python310_x64\lib\site-packages\can\interfaces\vector\xldriver.py", line 37, in check_status_operation
can.interfaces.vector.exceptions.VectorOperationError: xlDeactivateChannel failed (XL_ERR_INVALID_HANDLE) [Error Code 155]

image

Do you know what can cause this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions