Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

can bus

Hello,
Im trying to aquire data from 2 CAN interfaces on same card, I've written this programme (see attached) which works most of the time but is prone to giving me the internal driver error -1074388990.
Is there any reason why the code would do this and can I improve the code so I dont get the error?
Many Thanks,
Tom
0 Kudos
Message 1 of 3
(6,039 Views)
Hello Tom,

please follow the steps in this Knowledge Base entry:

http://digital.ni.com/public.nsf/allkb/25A1726C45E10F48862568F700715733?OpenDocument

If you still see the same error, please post your NicanErr.txt file as described in the article.

Regards,
Johannes

NI Germany 644838
0 Kudos
Message 2 of 3
(6,025 Views)
If you have at least LV 7.1 available you should install the newest NI-CAN driver 2.5.2. Your internal error is most likely related to an older driver version.
Besides you could try to run the get names and initialize functions for both ports sequentialy. That might help.
 
DirkW
0 Kudos
Message 3 of 3
(6,022 Views)