I'm Getting Error -1074388699 Using NI CAN Card

Updated Dec 13, 2017

Reported In

Hardware

  • USB-8473

Software

  • LabVIEW Professional

Driver

  • NI-CAN

Operating System

  • Windows

Issue Details

I created a code where I'm sending data using CAN bus and I'm getting the error - 1074388699:
NI-CAN:  (Hex 0xBFF62125) NI-CAN copies received CAN frames from the card to a large kernel-level queue.  There is one queue for each interface (port). If your application does not read fast enough to empty this queue over time, the newest frames are lost.  Solutions: Call Read more frequently (such as by reducing user-interface code); Avoid running other applications during your test (screen savers, MAX, ...); use Series 2 Filter Mode to filter incoming traffic.

Solution

The error -1074388699 is caused by the buffer on the card that is in an overflow. You should make sure, that all data which you are sending have time to be sent.
Add to your code a ncWaitForState.vi function, which will check if the task created for an object is already done.


 

Additional Information

Use NI Help to properly configure ncWaitForState.vi inputs.

WAS THIS ARTICLE HELPFUL?

Not Helpful