Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

bff62002 internal error occurred in the ni-can driver

I should add that the internal error only happened once.  Since then, the ncGetHardwareInfo calls work properly, but we're back to the earlier problem that CAN0 never receives the frame sent by CAN1.

You expressed concern about the two processes.  You should also be aware that there are several threads operating within each process.  The ports are opened and closed in one thread.  Frames are sent in another thread, and frames are received in a third thread created by your library.


0 Kudos
Message 11 of 17
(4,569 Views)

John,

no concerns about the multiple threads. Could you try the attached example which is hardcoded to CAN4 and 0x80004980 baudrate. It worked with my USB CAN.

DirkW

0 Kudos
Message 12 of 17
(4,558 Views)
We also have the problem that we get the Error -1074388990 (Hex 0xBFF62002). We use a PXI-System and a DeviceNet Card (PXI-8461), LabVIEW 8.5, NI-DNET 1.6.1 and NI-CAN 2.5.2.

The problem occurs in the first VI trying to establish a connection to the CAN Device. We tried all the recommended things like installing the newest NI-CAN version (both on the Windows computer and the PXI-System) or changing the slot of the PXI-Card.

Has anybody a solution?
Thanks for help, dave
0 Kudos
Message 13 of 17
(4,539 Views)

This is not the way you should work on this forum. You posted the same problem to four different threads. Don't do that. Instead you should open your own thread and deliver as much information as possible.

The 0xBFF62002 error is internal and there is not that much you can do. Whenever this error occures a nicanerr.txt file is generated to the following location:

\\Program Files\National Instruments\NI-CAN\bin

Attache this file to your own thread and if possible add ashort example showing this error, so we can reproduce it here.

If you work that way, i am pretty sure we can help.

DirkW

0 Kudos
Message 14 of 17
(4,530 Views)

Hi,
There is a KnowledgeBase article on this error here.
Can you run the MAX Self-test on your CAN card?
Try resetting your device in MAX also before running your code.

Let us know if this helps.

 
Christian A
National Instruments
Applications Engineer
0 Kudos
Message 15 of 17
(4,529 Views)
DirkW,

I'm sorry for the long delay in answering, but I was called away to work on an unrelated urgent problem.

I finally tried your example program, and it worked.  Unless you have more ideas, I'll try to construct a simple program of my own that reproduces the problem.

Thanks for continuing to help.

John Gourlay
0 Kudos
Message 16 of 17
(4,503 Views)
DirkW,

I've put together an example with which you might be able to reproduce the problem we're having with your USB CAN board.  Please go to the Bauer Controls ftp site, ftp.bauercontrols.com, and download the files in the subdirectory ni_usb_can.  Included there is a readme.txt file that explains in detail what you need to do.

If you do reproduce the problem, let me know and I'll help you with more details.

John Gourlay
0 Kudos
Message 17 of 17
(4,481 Views)