NI-CAN for NOR-XNET delphi application migration

I want to migrate a NI-CAN for NOR-XNET application. My application running on a NOR-PCI-CAN Series 2 and I need work on an NI PXI-8512.

I develop with delphi.
I followed the tutorial 'NI-CAN NOR-XNET Applications migration': http://www.ni.com/white-paper/9717/en/
I can see the map to the MAX as explain in the tutorial.

I realized a small application that displays the data. This application works well with my first card, but did not work with the new.

It draws in the NI-CAN, I use: ncConfig, ncWaitForState, ncOpenObject and ncRead.

I want that my request of NI-CAN work on my new card without touching the source code. Is this possible?

This tutorial is only for LabVIEW. I think you need to edit your source to use the new card.

Tags: NI Products

Similar Questions

  • Can API-NOR-XNET

    Hi guys, Im the NOR-XNET driver download now but it take a long time. Is there an API call there I can use to send the payloads (frames)?

    Hello JoVMo,

    Please do not post the same question twice.

    You can find the answer to your question on the following link: http://forums.ni.com/t5/LabVIEW/Transmit-payload-NI-XNET-CAN/m-p/1328171/highlight/false

    Kind regards

    Nico

    National Instruments

  • Error 0xBFF62133 with NI-CAN on NOR-XNET

    My C application was written with the NI-CAN Channel API and works very well on the old cards PCI - CAN. Now he runs on a PCI-8512 OR XNET 1.3.0 with the NI-CAN 2.7.2 compatibility library and falsely, it gives this error: "NI-CAN: (Hex 0xBFF62133) you set an attribute that is not supported when Virtual Bus Timing is off." Refer to the section of frame channel Conversion of the NI-CAN manual for a list of the attributes that return an error when Virtual Bus Timing is false. Solutions: 1) Set Virtual Bus Timing true (or leave as default). "(2)"do not set the attribute not supported."

    My application does not frame channel Conversion or the virtual Bus to use directly, it turns to speak directly on the bus hardware CAN0 via the channel API. Use the compatibility library the virtual Bus?

    How can I avoid this error?

    Thank you.

    So the actual error you see is 0xBFF63133, not 0xBFF62133 (starting with 0xBFF63 - error codes are errors OR XNET). This is due to a bug in the way the database is imported (several threads all try to create a cluster with the same name, where the error "name of the cluster in double").

    While the bug will be fixed in the future, in the meantime, you need to make calls to sequential nctInitStart. I recommend a small function that catches a global mutex and then calls nctInitStart. Sorry for the inconvenience.

  • NOR-XNET and CAN - FD

    Hello

    The OR Web site mentioned the XNET interfaces are compatible CAN - FD. Could you tell me which are the XNET interfaces with FD CAN 11898 - standard 2:2015?

    Kind regards

    Hello SmileBoB,

    Supported devices:

    In general, the family of NOR-XNET CAN interfaces of is designed to be high performance modules that are easily adaptable to new standards and protocols. Since the physical layer CAN FD is very similar to that of high-throughput CAN, all interfaces CAN of NOR-XNET that support high-speed CAN communication also support FD CAN with bit rates up to 8 Mbit/s.

    The list of NOR-XNET interfaces that support communication CAN FD is below:

    PXI


    • OR PXI-8513/2

    • OR PXI-8513

    • OR PXI-8512/2

    • OR PXI-8512

    PCI


    • OR PCI-8513/2

    • OR PCI-8513

    • OR PCI-8512/2

    • OR PCI-8512

    CompactDAQ or CompactRIO


    • NEITHER 9862

    • OR high-speed/FD CAN cable transceiver for us with the NI CompactDAQ and NI 9860 compatible controllers

    For X-NET 15.0 OR > http://digital.ni.com/public.nsf/allkb/588B7A1E9F2419B086257F1D00667F8D?OpenDocument

    For NOR-XNET 15.5 and 16.0 > allows customers to choose between ISO CAN FD and non - ISO CAN FD in the software.

    Understanding CAN with data Flexible rate (CAN FD) > http://www.ni.com/white-paper/52288/en/

    I hope this helps!

    Best regards

  • Update 11.0.07 causes crash on Delphi applications ActiveX

    In the 11.0.07 version acropdf.dll behaviour change there. An exception occurs when the application calls the method "SetClientSite' of the dll. I don't know if there is a relationship, the dll is now call for 'GetContainer' method Delphi applications.

    We have a system of office used by thousands of businesses, which allows you to view the pdf in our application. With the automatic update this new version we have several phone calls and duty install older versions on thousands of stations.

    Is there something I can do? I appreciate all help.

    solution for users of Delphi.

    Copy oleCtrls.pas to oleCtrlsAdobe.pas.

    then remove to TOleControl:

    -IServiceProvider
    -function QueryService (...): HResult; STDCALL;
    -function TOleControl.QueryService (.): HResult;

    the definition is as follows:

    TOleControl = class (order Twin, IUnknown, IOleClientSite,
    IOleControlSite, IOleInPlaceSite, IOleInPlaceFrame, IDispatch.
    IPropertyNotifySink, ISimpleFrameSite)

    then replace in the OleCtrls of AcroPDFLib_TLB.pas of OleCtrlsAdobe unit.

  • NOR-XNET CAN custom interface code in VeriStand

    Hello

    I work with NI Labview/VeriStand 2011 and I recently received a Council XNET/XS 8513 with my controller PXI - 8106 RT.

    I noticed a great NOR - XNET.dll (about 10 MB) download in the file system on the system deployment definition PXI. Therefore, there is a greater load on the processors during execution compared to the case when I used the jury CAN 84681. I think that the reason is the extension name to FlexRay and Lin (?) protocols.

    I'm trying to reduce the load, so I create a custom model of labview for the CAN communication only, XNET with message transmission. I tested it directly with LabView on PXI, without a VeriStand deployment; The result is a correct message, reading of the CAN bus.

    Then I try to do a project veristand, deactivation of the NOR-XNET interface on the system definition file and loading the labview simulation model (builds from /Tools/NI VeriStand/generate NI Veristand) model vi; but I can't read/write in real time any new value, despite a successful deployment.

    Is there some VeriStand dependencies that I forgot? How can I use the old source NI - XNET Device Custom code for this?

    Thank you

    Giulio

    OK, I solved the problem: inport VeriStand cannot be a digital control of LabView inside a while loop time.

    Now the application is running well.

  • Properties of the NOR-XNET CAN frame timing type

    Hi all

    I have a problem of timing of the CAN. I start to read / write CAN bus every 10ms. I am using loops timed for this and I usually see 9ms / 10ms loop intervals of itteration, that's fine. However, sometimes my comms CAN down completely and that the loop can take 5 seconds to turns off once. The work rate of the cpu (from the Task Manager) does not seem too badly loaded)<>

    I noticed in the editor of database of NOR-XNET, I have the choice of the type of calendar. I am currently using the event data, but I was wondering if there was something I could do to use some kind of hardware timing for my transmissions CAN? Curiously, neither aid seems fairly limited for the calendar type (where my post here). Any help on what means the type of calendar options, and if a is likely to strengthen my time 10ms loop and (hopefully) stop my bus CAN lock up risks would be apprciated.

    Thank you very much.

    georgeofthejungle wrote:

    I use 'Framework in single point' for my readings and 'Unique exit point' for my writing.

    I chose the type of cyclic calendar with a time limit for the transmission of 10ms in my NOR-XNET database. It seems to be better now, - I haven't seen 1 instance of my may lock up repeatedly. I still have my loop timed to 10ms containing my NOR-XNET write VI.

    I'm not using a queued session, - if I understand correctly, the queue will hold managers and they will be released sequentially at intervals of 10 ms? The only point & cyclic timing so I understand that if a new image is written so the same frame will be published every 10ms. - it fits my needs for now.

    After reading the help, point one looks like it will work enough for you.  Keep in mind that if you finish writing twice before the next transmission 10 ms, you can miss an update signal.  This can happen if your software update of 10ms is not quite of the transmission of material 10 ms.

    With the type of cyclic calendar and Frame in single point, are my transmissions CAN timed material now? -They seem more regularly now and I have not had a case of the loop CAN lock up.

    The cyclical schedule will force the transmissions timed HW of the controller CAN then Yes, you're now HW timed for transmission.

    Thanks again for your help.

    I'm glad that your CAN bus seems to be much happier now.  Feel free to post if you have something else.

  • How can I read reviews of applications on the App Store for Apple TV?

    How can I read reviews of applications on the App Store for Apple TV?

    It is even possible to read or write reviews of applications on Apple TV?

    Access is not for the comments on Apple TV. You need to get the title in iTunes or the App Store on an iOS. Reviews of iTunes can often be found using your favorite search engine.

    TT2

  • What are the causes of error - OR-XNET: the NOR-XNET driver is no longer can communicate with the device.

    Hello

    I use X-NET-PCI8512, OS: Windows 7, C++ (middle of the QT interval).

    I'm pooling of card data (StreamIn member function) to ~ 100 Hz. card reading time (ReadStatus) to ~ 100 Hz.

    After about 40 min (depends on the amount of data in) I get this error:

    (Hex 0xBFF630B2) The NOR-XNET driver cannot communicate with the device. Solution: Make sure that the device was not removed from the computer.

    What are the causes of this error?

    Thanks in advance,

    Aviad

    Hello aviadCielo,

    When you get this error, what does do to make it work again? If you restart your program, start all this work?

    Secondly, what version of NOR-XNET do you use? It's maybe a software problem that could be resolved by upgrading to NOR-XNET 1.6.

    Finally, can you reproduce this problem with a simple program? If so, you can join the program you use?

  • Hello. Recently, I buy the suite adobe for students. I also paid for two months. But in my profile it says I have a free plan for testing applications. And I can't get the entire application. How can I solve this?

    Hello. Recently, I buy the suite adobe for students. I also paid for two months. But in my profile it says I have a free plan for testing applications. And I can't get the entire application. How can I solve this?

    Your subscription to cloud shows correctly on your account page?

    https://www.adobe.com/account.html for subscriptions on your page from Adobe

    If you have more than one email, you will be sure that you use the right Adobe ID?

    .

    If Yes

    Sign out of your account of cloud... Restart your computer... Connect to your paid account of cloud

    -Connect using http://helpx.adobe.com/x-productkb/policy-pricing/account-password-sign-faq.html

    -http://helpx.adobe.com/creative-cloud/kb/sign-in-out-creative-cloud-desktop-app.html

    -http://helpx.adobe.com/x-productkb/policy-pricing/activation-network-issues.html

    -http://helpx.adobe.com/creative-suite/kb/trial--1-launch.html

    -ID help https://helpx.adobe.com/contact.html?step=ZNA_id-signing_stillNeedHelp

    -http://helpx.adobe.com/creative-cloud/kb/license-this-software.html

    .

    If no

    This is an open forum, Adobe support... you need Adobe personnel to help

    Adobe contact information - http://helpx.adobe.com/contact.html

    Chat/phone: Mon - Fri 05:00-19:00 (US Pacific Time)<=== note="" days="" and="">

    -Select your product and what you need help with

    -Click on the blue box "still need help? Contact us. "

  • I can't access my cloud applications creative adobe correctly for the plan of photography. I used to have the full plan and move in terms of photography, and now I can't access my apps under the creative cloud. He said to uninstall and reinstall I tried t

    I can't access my cloud applications creative adobe correctly for the plan of photography. I used to have the full plan and move in terms of photography, and now I can't access my apps under the creative cloud. He said to uninstall and reinstall I have tried to do without success and still get the same error.

    Check your account indicates the subscriptions that you expect (and that the adobe, used in the next step id is correct) by logging in here and checking the status of your subscription, https://www.adobe.com/account.html

    then, if it's current, disconnect and then back to your client application using the adobe with the link above in cc id: http://helpx.adobe.com/creative-cloud/kb/sign-in-out-creative-cloud-desktop-app.html

  • Cannot figure out how to "add-in" for the 2013 Outlook application... said the loading behavior is not loaded. How can I fix it?

    Cannot figure out how to "add-in" for the 2013 Outlook application... said the loading behavior is not loaded. How can I fix it?

    Hi amandab9126792,

    2013 Outlook does not work with Acrobat X because they are not compatible. Please check the compatibility to https://helpx.adobe.com/acrobat/kb/compatible-web-browsers-pdfmaker-applications.html.

    Kind regards

    Nicos

  • How can I replace my app on iTunes Connect with a new version with air for iOS and app Loader?, how do I replace my app on iTunes Connect with a new version with AIR for iOS and the Application Loader?

    How can I replace my app on iTunes Connect with a new version with air for iOS and app Loader?, how do I replace my app on iTunes Connect with a new version with AIR for iOS and the Application Loader? I got an error that the version number needs to be updated. I created a new record in iTunes Connect with version 1.1 and I took ownership of my current app 1.1 in air for iOS section in Flash.

    Check your descriptor file to make sure that it shows the updated version, too.

  • Hello, I agree with Adobe. I reconfigured my Apple and reinstalled Adobe. But I can't not find my applications (photoshop/lightroom). I wonder for my series of numbers, I can't find. Please help me...

    Hello, I agree with Adobe. I reconfigured my Apple and reinstalled Adobe. But I can't not find my applications (photoshop/lightroom). I wonder for my series of numbers, I can't find. Please help me...

    If you have CC desktop application installed and then try to connect and insert it again.

    Otherwise, install as you did initially.  Download/install the desktop application, connect and install applications subscription.

    Creative cloud to desktop
    https://helpx.Adobe.com/creative-cloud/help/creative-cloud-desktop.html

    Sign out, sign in | Creative office cloud app
    http://helpx.Adobe.com/creative-cloud/KB/sign-in-out-creative-cloud-desktop-app.html

    Install, update, or uninstall applications
    http://helpx.Adobe.com/creative-cloud/help/install-apps.html

  • You can search for specific classifications for elements of web application

    I was wondering if it is possible to have a search box with the drop-down menu, so that users can search for items to web application with specific classifications/categories?

    for example: search for 'all, info, resources, discussion' and users can choose one of these categories, then enter their search query in the search box and it will filter the answers with this category

    Hey Trina,.

    If you insert a search party app said are categories and other filters for custom filters and so on.

Maybe you are looking for