Skip to content

Commit c819526

Browse files
XelaRellumhardbyte
authored andcommitted
Allow simultaneous access to IXXAT cards (#488)
1 parent 1a74330 commit c819526

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

can/interfaces/ixxat/canlib.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,8 @@ def __check_status(result, function, arguments):
123123
raise VCIRxQueueEmptyError()
124124
elif result == constants.VCI_E_NO_MORE_ITEMS:
125125
raise StopIteration()
126+
elif result == constants.VCI_E_ACCESSDENIED:
127+
pass # not a real error, might happen if another program has initialized the bus
126128
elif result != constants.VCI_OK:
127129
raise VCIError(vciFormatError(function, result))
128130

0 commit comments

Comments
 (0)