From 61563ff639b45dfcc80e1768163e5e575bd55aa6 Mon Sep 17 00:00:00 2001 From: Alexander Mueller Date: Fri, 11 Jan 2019 12:46:26 +0100 Subject: [PATCH] Allow simultaneous access to IXXAT cards --- can/interfaces/ixxat/canlib.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/can/interfaces/ixxat/canlib.py b/can/interfaces/ixxat/canlib.py index 91f846554..e48323e01 100644 --- a/can/interfaces/ixxat/canlib.py +++ b/can/interfaces/ixxat/canlib.py @@ -123,6 +123,8 @@ def __check_status(result, function, arguments): raise VCIRxQueueEmptyError() elif result == constants.VCI_E_NO_MORE_ITEMS: raise StopIteration() + elif result == constants.VCI_E_ACCESSDENIED: + pass # not a real error, might happen if another program has initialized the bus elif result != constants.VCI_OK: raise VCIError(vciFormatError(function, result))