diff --git a/can/interfaces/vector/xldriver.py b/can/interfaces/vector/xldriver.py index 5027cb9e6..ef4d53fa1 100644 --- a/can/interfaces/vector/xldriver.py +++ b/can/interfaces/vector/xldriver.py @@ -31,7 +31,7 @@ def check_status(result, function, arguments): - if result > 0: + if result not in [0, 1, 10]: # success, pending and empty queue raise VectorError(result, xlGetErrorString(result).decode(), function.__name__) return result