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.

Tags: NI Products

Similar Questions

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

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


    Example: Single Point in Session with endpoints Set ON

  • 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

  • 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

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

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

  • 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

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

  • 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

  • Is it possible to save a configuration with NOR-XNET Bus Monitor?

    I'm trying to transition to use Vector canoe to use NOR-XNET Bus monitor.

    In Bus monitor is it possible to save the settings of the interface and the signals tab setting?

    Do not think that as Bus monitor, it's more like a low level tool to see if things work.  Very little effort seems to have entered the user experience or user interface.  OR prefer generally to develop tools, which you can use to request a wonderful, they generally don't do this wonderful application themselves.

    I would look at a few examples in LabVIEW, by going to help > find examples to see if any of these get close to the functionality you're looking for.  Then you can use as a starting point for your own application.

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

  • Executable cannot find the custom error code file

    I'm building a LabVIEW 2013 application on a Windows 7 computer and deploying it to a Windows XP computer. My application has a custom error code file, stored in -- errors.txt, but my executable on the Windows XP machine can't find the custom error file and returns only the string of appeal for all errors that occur.

    When you use is not an installer, I tried to copy the error code at all locations listed here: http://digital.ni.com/public.nsf/allkb/6077DBEDA4F9FEE3862571F600449501 but the application still does not load the custom errors. I have the box checked to "Error Codes customized Include" in the construction specifications.

    When an executable of construction and the development of Windows 7 to XP, where do I put the custom error code file? It is found in Program Files (x 86), but find not because it's XP?

    It's been a few months that I posted this question and I do not know if someone cares about this track, but the solution I found was to put the custom in error code file \National Instruments\Shared\Errors\English\

    There are other places that the runtime will look for the custom error codes (I tried all the ones listed above), if the same error codes exist in 2 places the error popup will appear two error messages. Error default 1, it looks like:

    LabVIEW: An input parameter is not valid. For example if the input is a path, the path can contain a character not allowed by the operating system such as? or @.
    =========================
    NOR-488: Command requires GPIB controller charge controller.

    So if you have a custom error code file and it is available in 2 places that LabVIEW RTE check error codes, you will get the same message before and after the =.

    List the error as "still included" file when building the executable or by checking the box to include files in error did not tour, obviously. Unless you create a Setup program to distribute the application, the error code file must be moved manually. Shared\Errors file works best for me because it's a place that makes sense.

    Also, don't worry - it doesn't me taken 5 months to understand this point, I do not update all my loyal followers (ha) with a solution.

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

  • Is it possible to simulate a XNET CAN device in MAX?

    I ordered one material OR 2 ports 9860-selectable OR XNET C Series Module and 2-wire transceiver capable of CAN - FD.  Of course, my time line for implementation is tight.  I would like to write the driver I need before that happens the hw.  For the many materials OR I can go to MAX and simulate the device.  It seems that this option is not available for communication devices series like the one I ordered.

    Is it possible to simulate my device in order to create a session and debug my driver?

    Thank you

    Mick

    Hi sherlieferdilus,

    There is no way to simulate actual XNET like DAQ hardware modules. For our simulated DAQ hardware, we are able to return dummy data (for example, a simple sinusoid to the analog inputs), but XNET will have something completely different on all buses and behave differently on this basis. More, to use a XNET database for tests must be frames or signals corresponding to the information contained in the database from your CAN Bus.

    That being said, OR XNET is fairly simple to use with a large number of examples in our search example LabVIEW for you to investigate and begin to work from. Also, you should be able to start working on your OR-XNET database, if you have not already and that you plan to use a (this is required by all Sessions of XNET except framework flow Sessions). If you are not already familiar with XNET, I would take this time to study some of the examples and take the time to view our material OR XNET and the manual of the software. In particular, learn about the different types of Session and the types of synchronization you can use so that you are already familiar with them once you receive your material.

    NOR-XNET Hardware and software manual: http://www.ni.com/pdf/manuals/372840l.pdf
    Introduction to NOR-XNET: http://www.ni.com/product-documentation/12375/en/

Maybe you are looking for

  • There was an error in the App Store. Please try again later. (20)

    After you have created a new Apple ID (my previous one makes use of an e-mail address that no longer exists) and change the password (for security), I tried to download an update from the App Store. First, I got the message: 'there was an error in th

  • MCP73M01H1 (NAPA) - using 2 + 4 GB of RAM 6400

    Hi all many motherboards can handle more than the official maximum RAM. Found a 4 GB on Ebay module and want to update my old confidence Pavilion (model 2008, Nvidia 9300 graphics, CPU E4700 processor). I'm looking an E 8400 CPU and give him an SSD a

  • HP LaserJet Pro M225dw MFP: HP LaserJet Pro M225dw MFP scan file format

    Hello. I just bought HP LaserJet MFP M225dw Pro. Then I learned that it scans the file to only PDF, JPEG, and PNG.  But I need to scan in "TIFF" files very often.  Is there a solution to my very important problem?

  • problem with the window update

    After putting to date of windows 8 to 8.1, my pc window has been activated to turn on. I own a laptop of pavilion g6 C5T69EA #BH5, when this was the case a message appeared on my screen saying that my pc has a problem. Then my previous window has bee

  • pictures import do not Flash card__

    When I used to insert my flashcard windows would automatically open a window to import the photos... its not to do now Help