Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

Why do I get an error of B2010002, when I open an NI-CAN object?

I am using the configuration of the property page to setup the PCI-CAN card. I am using Extended Arbitration Number of 0xFEF100. My code is in VB 5.0. The code works with a number less than 0xFFFFF. The B201002 is an Implentation-specific error in NI-CAN driver. As soon as I try to open the CAN object this error is generated.
0 Kudos
Message 1 of 2
(3,940 Views)
Hello-

A Status code of hex ....0002 tells us that it's a driver error (NC_ERR_DRIVER).

Here's some solutions:
-Be sure the card passes NI-CAN Diagnostics
-Map Port1 to CAN0 and Port2 (if exists) to CAN1. This is done in the NI-CAN configuration utility in Win NT/2000 or through Device Manager in Win 9X/ME.
-We have a limit of 50 CAN objects and 150 frames in the queues of these objects. It may be necessary to readjust these settings.

Kim L.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(3,940 Views)