NI-CAN, error 0xbff620ad

I am currently working on an application of "feedforward" soft real-time in which a USB of NI-CAN interface is used as a sniffer of CAN frames. The idea is to read frames as fast as possible (~ 50 Hz ncReadMulti call) in order to apply a correction (on some power supplies) whose value is calculated using the motor encoders encapsulated in data frames.  This application works very well in terms of performance, but I get a error NI-CAN 0xBFF620AD something like 10 times per hour. I went from NI-CAN 2.5.1 to 2.6.3, but it does not solve the problem.

For the moment, I'm just trying to recover by resetting / raising the CAN interface. This action usually takes around 12ms to complete – which is 'acceptable' as a temporary workaround. However, I really want to solve the problem.  So my question is: what is the best configuration of driver NI-CAN for such a 'listen only' CAN application?

Here is my current setup:

NCTYPE_ATTRID can_attribute_names [NUM_CAN_ATTRS];
NCTYPE_UINT32 can_attribute_values [NUM_CAN_ATTRS];
//- set baudrate -----------------------------------------
can_attribute_names [0] = NC_ATTR_BAUD_RATE;
can_attribute_values [0] = 500000;
//- start option -----------------------------------------
can_attribute_names [1] = NC_ATTR_START_ON_OPEN;
can_attribute_values [1] = NC_FALSE;
-length of the CAN incoming frames Q -.
can_attribute_names [2] = NC_ATTR_READ_Q_LEN;
can_attribute_values [2] = 0;

//- no writting ------------------------------------------
can_attribute_names [3] = NC_ATTR_WRITE_Q_LEN;
can_attribute_values [3] = 0;
//--------------------------------------------------------
can_attribute_names [4] = NC_ATTR_CAN_COMP_STD;
can_attribute_values [4] = 0;
//--------------------------------------------------------
can_attribute_names [5] = NC_ATTR_CAN_MASK_STD;
can_attribute_values [5] = NC_CAN_MASK_STD_DONTCARE;
//--------------------------------------------------------
can_attribute_names [6] = NC_ATTR_CAN_COMP_XTD;
can_attribute_values [6] = 0;
//--------------------------------------------------------
can_attribute_names [7] = NC_ATTR_CAN_MASK_XTD;
can_attribute_values [7] = NC_CAN_MASK_XTD_DONTCARE;
-Listen only (no write)-
can_attribute_names [8] = NC_ATTR_LISTEN_ONLY;
can_attribute_values [8] = NC_TRUE;

I tried to play with the attribute, but it doesn't have any influence on my problem.

Thanks for your help.

NL

I finally found a solution (or at least a stable solution).

I used to call in order to avoid calling , while the input buffer is empty. Removing the call to seems to solve the problem of error <0xBFF620AD>. I made the change last Friday and everything works smoothly (so far) on the RTE of NI-CAN based systems running 7/7-24/24 in our accelerator control system.

NL

Tags: NI Products

Similar Questions

  • How can error: 213.19 I do?

    How can error: 213.19 I do?

    You don't mention any detail (what product/version, what action causes the error etc.), so it is difficult to help, but this or related links on the page could be useful
    http://helpx.Adobe.com/Photoshop-elements/KB/licensing-problem.html

  • How can error code 66A I fix this__

    help me solve my computer whenever I try to do my windows updates, I get an error code 66A, how can I fix

    See the Srinivas R response to a previous post about the error code:

    http://social.answers.Microsoft.com/forums/en-us/vistawu/thread/31151006-dfd4-4B93-85EC-26ac470df87c >

  • How can error 10, I solve this problem

    I've upgraded to windows 7. started having a few problems. returned to windows vista. now, the driver does not start. shows error 10. need help

    Hello

    Visit this link to solve problems:

    Description of errors related to the 10 Code that generates the Device Manager in Windows on the computers http://support.microsoft.com/kb/943104/

    ==================================

    This is my generic how updates of appropriate driver:

    This utility, it is easy see which versions are loaded:

    -Free - DriverView utility displays the list of all device drivers currently loaded on your system.
    For each driver in the list, additional useful information is displayed: load address of the driver,
    Description, version, product name, company that created the driver and more.
    http://www.NirSoft.NET/utils/DriverView.html

    For drivers, visit manufacturer of emergency system and of the manufacturer of the device that are the most common.
    Control Panel - device - Graphics Manager - note the brand and complete model
    your video card - double - tab of the driver - write version information. Now, click on update
    Driver (this can do nothing as MS is far behind the certification of drivers) - then right-click.
    Uninstall - REBOOT it will refresh the driver stack.

    Repeat this for network - card (NIC), Wifi network, sound, mouse, and keyboard if 3rd party
    with their own software and drivers and all other main drivers that you have.

    Now in the system manufacturer (Dell, HP, Toshiba as examples) site (in a restaurant), peripheral
    Site of the manufacturer (Realtek, Intel, Nvidia, ATI, for example) and get their latest versions. (Look for
    BIOS, Chipset and software updates on the site of the manufacturer of the system here.)

    Download - SAVE - go to where you put them - right click - RUN AD ADMIN - REBOOT after
    each installation.

    Always check in the Device Manager - drivers tab to be sure the version you actually install
    presents itself. This is because some restore drivers before the most recent is installed (sound card drivers
    in particular that) so to install a driver - reboot - check that it is installed and repeat as
    necessary.

    Repeat to the manufacturers - BTW in the DO NOT RUN THEIR SCANNER device - check
    manually by model. Search manually on the sites of the manufacturer drivers - and the manufacturer of the device
    sites.
    http://pcsupport.about.com/od/driverssupport/HT/driverdlmfgr.htm

    How to install a device driver in Vista Device Manager
    http://www.Vistax64.com/tutorials/193584-Device-Manager-install-driver.html

    If you update the drivers manually, then it's a good idea to disable the facilities of driver under Windows
    Updates, that leaves about Windows updates but it will not install the drivers that will be generally
    older and cause problems. If updates offers a new driver and then HIDE it (right click on it), then
    get new manually if you wish.

    How to disable automatic driver Installation in Windows Vista - drivers
    http://www.AddictiveTips.com/Windows-Tips/how-to-disable-automatic-driver-installation-in-Windows-Vista/
    http://TechNet.Microsoft.com/en-us/library/cc730606 (WS.10) .aspx

    Hope these helps.

    Rob - bicycle - Mark Twain said it is good.

  • can error of Bex-how I fix

    When I open the original application crashes and this is the error I get

    Signature of the problem:
    Problem event name: BEX
    Application name: Origin.exe
    Application version: 9.4.7.2799
    Application timestamp: 534f0142
    Fault Module name: MSVCR100.dll
    Fault Module Version: 10.0.40219.325
    Timestamp of Module error: 4df2be1e
    Exception offset: 0008af3e
    Exception code: c0000417
    Exception data: 00000000
    OS version: 6.1.7601.2.1.0.256.1
    Locale ID: 1033
    Additional information 1: GOS
    More information 2: bdef3e751f8d48c704aa1bfdedba3960
    3 more information: 91aa
    Additional information 4: 91aaffdf0d9e7487eed3b3abde1217bb

    Things I've already tried: uninstallation / reinstallation of origin, reinstall Microsoft visual c ++, also tried check disk

    I can't add this in the dep.

    my computer is uptodate, all updates installed. no virus and also antivirus enabled as an exception

    I managed on the basis to resolve this problem. I downloaded pc cleaner full version and went to the active Manager x who has checked all the files and solved my problem.

  • How can error code # 16 - I reinstall Abobe CC 2015 on the same computer?

    I had problems with my software Adobe installed subscription is not able to open or open files (weather created in this version or CS5).

    Now none of the programs will be launched, and the error message says uninstalling and reinstalling Adobe. And said reference Code error # 16

    Can anyone provide instructions here?

    Thank you!

    Error 16: Creative Suite help / Error Configuration 16 | CC, CS: http://helpx.adobe.com/x-productkb/policy-pricing/configuration-error-cs5.html

    Exit 11,14,15,16,19,20,21,22,25,26,27,28,29,30,31,32-code

    Installation and launch log errors | CS5, CS5.5, CS6, CC -.

    https://helpx.Adobe.com/x-productkb/global/installation-launch-log-errors-creative.html

  • Can error code 0 - you help me?

    When I try to save my document, I get this pop up.

    Screen Shot 2014-01-22 at 2.23.04 PM.png

    When I tried to export my document as XML or IDML, InDesign has crashed.

    How the problem started:

    I'm designing a brochure from a separate file which fonts were missing/outdated [Gotham Gotham "BOLD", Gotham narrow, etc.]. When I imported the fonts in the library from my Mac OS fonts from a file my company provided, errors of "missing fonts" disappeared and I got the green light.

    I tried to save this document, but kept getting "error 1 Code" pop-up. I decided to move on, will not record it, and just started to create my own folder in a new tab.

    In creating my document, I copied and pasted from some images and text of the previous brochure. When I tried to save this document, I got the answer of pop-up displayed above.

    After that my InDesign crashes, I opened and it exit properly. Reopening of the app, tried to create and save a completely new document... Now, I get the same message pop up with different numbers after "DBTmp".

    I have read the advice and tried various solutions.

    .. .particularly locate my folder InDesign recovery in my Mac library under user, but the file or item does not appear. It is listed in my Photoshop file, however.

    I'm at a loss and need my InDesign to work properly. Can you help me please?

    Recovery for ID file is hidden. User library files see hidden access | Mac OS 10.7 Lion and replace your preferences

    I expect files throw this error are toast, but try the blind export explained here .idml: community Adobe: InDesign 6 crashes when you try to open a specific document. All others are open OK.

  • can error code 8e5e03fe-how I fix it?

    error code 8e5e03fe, how do I fix?

    Uninstall msn messenger first and download and install once again. In this case always reset of your router, the router may itself changed to strict so just reset
    I hope this helps. Good day.

  • How can errors during the isntalation I fix?

    Exit code: 6

    Please see the faults and warnings below for troubleshooting. For example, ERROR: DF012, DF024... WARNING: DF054...

    -------------------------------------- Summary --------------------------------------

    -0 fatal Error (s), 16 (s), 4 warning (s)

    -Payload: {DE7C6FA1-AF75-48A8-B495-CFAD529BCC3D} recommended Installation of common fonts 2.0.0.0.

    WARNING: DF054: failed to read the version of the Adobe file for the file path ' C:\Windows\Fonts\CharlemagneStd-Bold .otf '(Seq 27)

    ERROR: DF012: cannot find the file (Seq 27)

    ERROR: DF024: impossible to preserve the original in 'C:\Windows\Fonts\CharlemagneStd-Bold.otf' error 32 the process cannot access the file because it is being used by another process. (Seq 27)

    ERROR: DW063: ARKDeleteFileCommand of command failed. (Seq 27)

    -Payload: {8085C16A-3148-40B4-BC8B-12ED59C9C478} recommended Installation of common fonts x 64 2.0.0.0.

    WARNING: DF054: failed to read the version of the Adobe file for the file path ' C:\Windows\Fonts\CharlemagneStd-Bold .otf '(Seq 28)

    ERROR: DF012: cannot find the file (Seq 28)

    ERROR: DF024: impossible to preserve the original in 'C:\Windows\Fonts\CharlemagneStd-Bold.otf' error 32 the process cannot access the file because it is being used by another process. (Seq 28)

    ERROR: DW063: ARKDeleteFileCommand of command failed. (Seq 28)

    -Payload: {311CDC89-AC18-4344-9EC9-0225328C73D3} necessary Installation of common fonts 2.0.0.0.

    WARNING: DF054: failed to read the version of the Adobe file for the file path ' C:\Windows\Fonts\MinionPro-Bold .otf '(Seq 34)

    ERROR: DF012: cannot find the file (Seq 34)

    ERROR: DF024: impossible to preserve the original in 'C:\Windows\Fonts\MinionPro-Bold.otf' error 32 the process cannot access the file because it is being used by another process. (Seq 34)

    ERROR: DW063: ARKDeleteFileCommand of command failed. (Seq 34)

    -Payload: {63594DD4-0241-422A-93A5-B6530040E1C7} necessary Installation of common fonts x 64 2.0.0.0.

    WARNING: DF054: failed to read the version of the Adobe file for the file path ' C:\Windows\Fonts\MinionPro-Bold .otf '(Seq 35)

    ERROR: DF012: cannot find the file (Seq 35)

    ERROR: DF024: impossible to preserve the original in 'C:\Windows\Fonts\MinionPro-Bold.otf' error 32 the process cannot access the file because it is being used by another process. (Seq 35)

    ERROR: DW063: ARKDeleteFileCommand of command failed. (Seq 35)

    ERROR: DW050: the following payload errors were found during the installation:

    ERROR: DW050:-Installation of common fonts required: installation failed

    ERROR: DW050:-common x 64 required font Installation: installation failed

    ERROR: DW050:-Installation of fonts common x 64 recommended: installation failed

    ERROR: DW050:-Installation of recommended common fonts: installation failed

    -------------------------------------------------------------------------------------

    also here is my sytem Info

    OS nameMicrosoft Windows 7 Home Premium
    Version6.1.7601 SP1 Build 7601
    Other OS DescriptionNot available
    Manufacturer of operating systemMicrosoft Corporation
    Name of the systemJOE - PC
    System manufacturerDell Inc.
    System modelStudio 540
    Type of systemPC x 64
    ProcessorIntel (r) Core (TM) 2 Quad CPU Q8200-2.33 GHz, 2336 Mhz, 4 Lossnay, 4 logical processors
    Version of the BIOS/DateDell Inc. 1.0.9, 12/25/2008
    SMBIOS version2.5
    Windows directoryC:\Windows
    System directoryC:\Windows\System32
    Boot device\Device\HarddiskVolume3
    Regional settingsUnited States
    Layer of HALVersion = "6.1.7601.17514".
    UsernameJoe-PC\Joe
    Time zonePacific daylight time
    Physical memory (RAM) installed4.00 GB
    Total physical memory4.00 GB
    Available physical memory1.68 GB
    Total virtual memory8.00 GB
    Available virtual memory4.98 GB
    Page file space4.00 GB
    Swap fileC:\pagefile.sys

    my graphics card is the radeon ati 5450 1 GB

    Errors ' Exit Code: 6, "" Exit Code: 7 ".

    In your case, you will need to the permissions of the fonts listed in the errors of difficulty and/or to know what program is actively using them during installation.

    Mylenium

  • Loss of communication with CAN

    Run a program that monitors the parts using USB-8473 and CAN.  Is it necessary to close, then reopen the CAN of communication between the parties so that I do not receive the message CAN errors?  The program opens the CAN communication but runs continuously with closing until the program stops so parts are disconnected and reconnected then in without closing CAN inbetween.  I have I think mayneed to write a program to stop the communicative between the parties but wanted to check if this is correct?

    Thank you!

    If you're just make read only followed, you probably don't need to close the communication.

    It may be advisable to do it just so that you can keep the distinction between the parties.

    If your monitor is any transmission, then you will need to stop transmitting when you detach your listeners to avoid entering a State of Bus Off.

  • I'm new with CAN and having a problem with the VI attached

    Normally when I run the VI attached, it works as expected. But sometimes I get the error:

    {Error 1074388985 occurred at NI - CAN Configure Network Interface object
    {(ncConfigCANNet.vi) NI-CAN: (Hex 0xBFF62007)}

    {You tried to set an attribute of configuration during execution of the object.

    Solution: Configure the attributes before the opening of the object; Stop and restart communication as needed so that you can update the configuration attributes.}

    Once I get this error that I keep getting whenever I run the VI. Only by closing the VI and unplug the network CAN then recharge and reconnect I can get things to work once more. Any suggestions on how to prevent this error, or what that means?

    Thank you

    Chuck

    Hi Chuck,

    The error is described in the following article in the knowledge base on the site of NOR.

    NI-CAN error-1074388985 (BFF62007)

    Essentially, what happens, is that you try to set a property after the interface port has already begun. This is often seen when the configuration is done in the While loop. This is not the case for your vi because it seems to follow the recommended configuration of place outside of the loop. However, I have noticed that your error lines were divided outside the while loop. He wouldn't be possible if an error were to occur, it would be closed properly the reference. Try to place the error indicator after the ncClose.vi

    Kind regards

    Glenn

  • error msg "mcafee.exe is not a valid Win32 application". Why? How to fix?

    How can error msg "mcafee.exe is not a valid Win32 application" I solve?

    Hello

    ·         You are able to install other applications?

    I suggest you to contact McAfee technical support and check out:

    http://service.McAfee.com/TechSupportHome.aspx?LC=1033&SG=TS

    Alternatively, you can try to install the latest Microsoft Security essential and check if it helps.

    Microsoft Security Essentials is free and designed to be simple to install and easy to use. It works quietly and efficiently in the background if you do not have to worry about interruptions or perform updates.

    http://Windows.Microsoft.com/en-us/Windows/products/security-essentials

  • What does it mean when windows 7 can't copy the files required for installation?

    I tried to install windows 7 on my Dell.I have xp on it, but when I run the first step of copying the files it stops to 60% and says "windows cannot copy files required for installation. Make sure all files required for installation are available, and restart the installation. How can error code 0 x 80070001"I fix?

    See if this post is of no help: http://answers.microsoft.com/en-us/windows/forum/windows_7-windows_install/error-0x80070001-cannot-copy-files-needed-for/e2b51d33-adad-43a1-b37f-19537bdfee2a

    J W Stuart: http://www.pagestart.com

  • But HP recovery discs I get error 0 x 4001100200001005

    Hi I just installed a new HDD on my HP Pavilion a6451.uk, I tried to install Vista via the HP recovery disks, but I'm can error 0 x 4001100200001005 a help for this problem

    Hello

    For problems when you use the HP recovery disks, you will need to contact HP directly, or ask their Support Forums.

    This is the HP recovery process you use to re - install the operating system, not Microsoft.

    http://h30434.www3.HP.com/

    See you soon.

  • Error code 0x800106ba trying to open Windows Defender

    clarifying title: Error Code 0x800106ba trying to open Windows Defender.I didn't have McAfee but I uninstalled it. Windows Defender does not always work and always gives the same error code. I'm sick of it. Can someone please!

    Can error 0x800106ba on any attempt to open code I Defender. I also acquired McAfee at some point, but I uninstalled it hundreds of years ago but I still have the same error message whenever I try to open Windows Defender. Help, please

    Hello

    Did you run the McAfee removal tool?

    McAfee removal tool
    http://service.McAfee.com/FAQDocument.aspx?ID=TS100507

    =======================================

    Troubleshooting of Windows Defender
    http://support.Microsoft.com/kb/555957

    "%ProgramFiles%\Windows Defender\MsAsCui.exe" is the folder of the default Defender

    Start - type in the search box-> Windows Defender - find top - make a right click on it.
    RUN AS ADMIN

    If no joy using Start - computer or Windows Explorer to access this folder and create a
    Shortcut to put on the desktop and the Start Menu. You can also right click on a shortcut this and
    see if they point to here.

    Goal
    "%ProgramFiles%\Windows Defender\MsAsCui.exe".

    Start in
    "%ProgramFiles%\Windows defender.

    How to enable or disable the Windows Defender
    http://www.Vistax64.com/tutorials/93118-Windows-Defender-off.html

    --------------------------------------

    Maybe something here if necessary:

    What is display / causing the error message? Some anitvirus/security/antispyware products can
    cause this error. On those who use you, including those that your never had even those
    uninstalled (the remnants can cause problems). McAfee is just an example of what many can do.

    Start - type in the search box - Services - find top - Right Click - Run as Admin

    Windows Defender - value STARTED and AUTOMATIC

    or set MANUAL and STOPPED if necessary

    Fix for the problem of 800106ba.
    http://support.Microsoft.com/kb/931849

    Error (an example) of McAfee report.
    http://service.McAfee.com/faqdocument.aspx?ID=TS100610&lang=en_US&prior_tid=2&AnswerID=16777216&Turl==http://KB.McAfee.com/InfoCenter/index?page%3Dcontent%26id%3DTS100610%26actp%3Dsearch

    Check also:

    http://social.answers.Microsoft.com/forums/en-us/vistasecurity/thread/574fb871-034C-4B42-B800-328af16a9177

    I hope this helps.

    Rob Brown - MS MVP - Windows Desktop Experience: Bike - Mark Twain said it right.

Maybe you are looking for