Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

NI-CAN driver error

I'm using version 1.5.1 of the NI-CAN driver in a multi-threaded application.

When I attempt to ncWaitForState in two different threads (one waiting on a write to finish, one waiting on a new message to read) I get a "driver error" return code.
0 Kudos
Message 1 of 4
(4,215 Views)
Have you tried the latest CAN driver 1.6 available from ni.com > Support > Product Reference > Drivers and Updates > Current Versions? Hope this helps.
0 Kudos
Message 2 of 4
(4,215 Views)
I just updated to 1.6 and am seeing the same results.
0 Kudos
Message 3 of 4
(4,215 Views)
There's a NIcanerr.txt file in the Windows folder. This file is always generated if an 'internal driver error' happens. Could you attach that file?
0 Kudos
Message 4 of 4
(4,215 Views)