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.

Tags: NI Software

Similar Questions

  • 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?

  • 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.

  • Unable to deploy the NOR-XNET database on target RT

    Currently, I am expierencing trouble with NOR-XNET databases on an RT target deployment.

    When I check my alias on my local computer, all right. The problem is the target, it is stuck on the alias used previously, and I can't add new ones.

    When I open "Manage aliases" database editor and enter the target IP, the program crashes. Same thing with LabView; When I click on "Manage the deployment of the database" in the drop-down list where I choose LabView crashes database files. When I simply click 'Browse for database file', nothing happens. With the databases that are currently in memory, I get a dropdown list out all signals in this database.

    Who knows what could cause the link broken between my computer and the target, it is impossible to deploy new database?

    I'm using Labview 2010 SP1 with NOR-XNET 1.5, and I've attached all drivers installed on the target.

    Thierry,

    Disabling the firewall did the trick! I could update all the databases on the target, and the two problems have disappeared.

    So, if you can't deploy a NOR-XNET database, disable the windows firewall!

  • NOR-xNET CAN interface queue/single Point / Stream


    Example: Single Point in Session with endpoints Set ON

  • 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

  • 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

  • No signals appear on the tab of NOR-XNET Bus Monitor signals

    Hi, I am using a NI 9862 USB to read a PGN J1939.  I'll choose PGN 65265 (CCVS1), 84 SPN (speed of the wheel base vehicle) for example.  In the NOR-XNET Bus monitor Monitor tab, I see the meter of images increases at the rate provided for this ID, and the column name of the frame is completed with my custom text.  A few weeks ago, I was able to click on the tab of signals and displays the payload of the signal that I had defined technical units converted.  Now, nothing appears in the signals tab.  I used Add/Remove signals to select the signal of interest to the list of "signals in the view.  Any ideas?  I recently swap on a bad NI 9862 for a new, but I don't see how that would be linked to this issue.

    Add/Remove signals, I see signals 34 in 'Database signals'.  I am able to search by name of Signal.

    It turns out that I could 'fix' by removing all the signals and then add them all back.  Who must have something updated.

    Nothing has changed on "Interface and the database settings" (I think that most of the things are by default with the exception of the Alias name/cluster.

  • XNET read frame CAN

    Hello

    I use Veristand 2011 and I worte a device custom for the reading of the electronic can over reading XNET CAN frame

    now my problem is, who is unable to retrieve the CAN-Messages.

    I could install my custom device CAN-Frame, but there is no information can.

    On the other hand, I've defined a XNET Session on exploring system with CAN1. That would be the problem?

    Or maybe my RT pilot?

    Help, please.

    Kind regards

    YesB

    Hello

    your device does not work correctly. and I can see frames. I made the following changes:

    It is possible that you have seen the error image. But you have several frames on the Bus. This means that you must write all the frames in the RT FIFO. I would recommend to use XNET Read RAW Frame. It is an array of U8 you can better manage that work with groups and so on.

    Kind regards

    Philippe

  • How can I change the properties of the image to a picture fill?

    I have several images that are inserted in a gallery using the "fill" method However, when I click on the image to select this option to change the properties of the image, I can not select the image. I get the solid red border around the box, but when I double click in the hope of seeing the red dotted lines or tan border border indicating that I have selected the image, nothing happens. When I right click on the solid red border, it only allows me to change the properties of the image because I did not really choose the image, only the holder of the box.

    Any help on how to change the properties of the image to a picture fill?

    Thank you!

    Anita

    It is not possible to apply settings to an image set as a background fill, the image is applied using CSS.

    David

    Creative muse

  • PXI-8512/2 XNET CAN stops when bus errors occur on Spadina

    Hello, I use the PXI-8512/2 in a noisy electrical environment so I often get errors on the CAN bus. I noticed that often 8512 stops communicate. In my dual port 8512/2, 4, # LED that flashes normally will eventually turn off. However, I have other devices listening on the same bus; report errors, they continue to stay alive. Is there anyway that I can get the 8512 continue to work in the presence of errors? I use the custom device XNET for VeriStand 2009 and do not see the error handling options. In fact, I don't get any notification of errors at all. I just noticed that my incoming CAN stop signals and my leavers have no effect. Thank you.

    Hello

    You shouldn't have to remove from your devices.  Just update the configuration and engine llbs and restart the Explorer system, save your configuration and redeployment.  Let me know if you see problems.

    (There are new files also copied into the directory of device custom if you want to use the bus monitor function... so you can replace the entire record of the NOR-XNET if it's easier).

  • NOR-XNET Bus Monitor does not detect port

    Hi all

    I need somehelp. I have 2 PXI-8512 and assembla CAN1 CAN2, CAN3 and MAY 4.
    I want to control my XNET data traffic. Yes, they are available in MAX. But once I open the monitor of Bus OR-XNET, every channel I have are not detected.  Interface name box is empty, does not show anything.

    Here is a screenshot.

    Someone knows what's the problem?

    Thanks for help.

    Rajamodol

    Hey Rajamodol, Nicola.

    I'm sorry, but this is a limitation of the distant targets in XNET bus monitor. See the following Knowledge Base article:

    Why can I not see my NOR-XNET CAN interface on my remote target in Bus monitor? -National Instruments
    http://digital.NI.com/public.nsf/allkb/92F10284E8061FB68625793600484D79?OpenDocument

    The article also mentions an alternative, where you use an example VI for a similar feature.

    Best regards

    Christoph

  • Problem with sending of master header with XNET API instead of CAN frame API

    Hi nice guys.

    I am using the XNET API to switch Master slave with LIN Protocol task. Since I have no prior experience, there is something problem as the Interface of the NI USB-8476 s cannot be detected. Gifts of windows prompted the following information:

    Error-1074384758 is produced in .vi:1 XNET create Session (single-point output Signal)

    Possible reasons:

    NOR-XNET: (Hex 0xBFF6308A) the name of the interface does not specify a valid and existing interface. Solution: Use a valid and existing interface. These can be obtained by using MAX, XNET properties of the system, or the name of LabVIEW XNET Interface IO. If you use CompactRIO, see the topic "Getting started with CompactRIO" in aid of software and hardware OR XNET.

    but in the MAX of NOR, the device is detected as "LIN0. Even control interface entry in the examples NOR displays the error. But if I take the CAN API of frame, it works well.

    Does anyone have an idea. I'm so appreciate. Tanks in advance.

    Best regards

    Melo

    Dummy me, know that the XNET API still do not support the NI USB-8476 s, which I am applying.

    Kind of hard to use the API NEITHER of MAY to get the feature I need, that seems easy to get with the XNET API.

    Problem solved!

  • [XNET] [CVI2013] Search for the periodic signal CAN

    Hello

    I use CVI 2013 and the toolkit NOR automobile 1.1 command the diagnostic value.

    OR PXI-8513 to edge (2 CAN bus)

    I want to know how to check if a periodic signal is currently subject to be sent?

    Best regards

    Blue

    I couldn't find an example of CVI that illustrates the use of the nxGetProperty function to get the calendar type and pass the time of a framework. If I have time Monday I'll try to create a.

    In the meantime, I can provide a quick snippet of LabVIEW to illustrate the general idea of how to get these properties of a session reference:

  • Impossible to deploy the database of NOR-XNET to target RT PC

    Hello

    I am trying to deploy a XNET database to a target RT PC simply by following the tutorial here: http://digital.ni.com/public.nsf/allkb/9847EF6F2D867BC186257DCE00626236

    However, when I click on deploy nothing happens; I get no error message and the database alias does not appear as present in the aim of RT (the entire list is empty for the RT target). If I run my code, he complains about the database not being is not present, so I don't know that it isn't here.

    I checked with Max OR and target a NI-XNET 1.6.0 installed. I'm using LabVIEW 2015. I have no problem connecting to the target. I tried an another new database created with LabVIEW 2015, without going. I tried to disable the Windows Firewall as suggested in a similar position (http://forums.ni.com/t5/Automotive-and-Embedded-Networks/Unable-to-deploy-NI-XNET-Database-to-RT-Tar...), but that no longer works.

    Help!

    Thank you

    Hello

    It seems that I have the latest version of XNET on my target and the crowd at the beginning, but just to try something I did the following:

    • I have reinstalled XNET on the target using NOR-MAX. I had to uninstall dependency package "nor-xnet for NI-CAN compatibility library", before doing this.
    • I have uninstalled and installed the last XNET on target as well.

    After that, things worked!

    Thank you

Maybe you are looking for

  • URL address box does not display the current page.

    With the 4.0.1 update, the URL address box does not display the current page. All that shows is the text: «Go to web site» To now see the url of the current page, you need to make a right click the empty space is the address box and press the button

  • Portege R500 is seriously defective

    It was first the CTRL dying.Went to the office with him and they they replaced all keyboard because they said it was almost burnt. SECOND, I remember first to get this laptop brand new costed me more than my monthly salary, I was pretty happy with it

  • How to reset the supervisor password?

    How can I reset my laptop satellite supervisor BIOS password?

  • View .lvm files

    Hello I was wondering how I could see the .lvm files I recorded my signals with. LabVIEW gives me an error (something like "... is not a valid file of LabVIEW") when I try to open it. Also, is it possible to write results directly in an Excel file?

  • How to add shortcut icon more in XP?

    Does anyone know how to download several icons shortcut (icon file) in XP? Thanks in advance for your suggestions