Can't use CAN2 on PXI-8513/2

I am using NI-XNET CAN in a VeriStand model running on "NI Real-Time Phar Lap ETS 13.1" (inherited project).  It is currently working using CAN1 configured as 'Frame Out Stream' but fails when I try to use CAN2 instead.  The error code (as far as I can tell) is zero.
One thing that I noticed is that there are no ports configured in the VeriStand System Definition file (but both ports are defined as shown in MAX though).  I thought that maybe this was the cause and was planning on this being my first troubleshooting step.  However, when I tried to add the port(s) to my System Definition file, it wouldn't let me not have a database (because I don't have a database for my purposes).
So, any ideas as to why I wouldn't be able to use CAN2?  If adding it to the VeriStand definition is a requirement, how do I add the port without a database?

I tried to add a CAN port with the example database to my system definition and it failed to load to to the RT Controller (that was the only thing that I changed).  So, I decided to go back to basics and perform a loopback test as shown here but I get the same error.  Prior to the error, it spends several minutes on "Processing Action on Deploy VIs..." and then finally continues and fails.  Error 1 is the seems like the worst error because it seems to be the "catch all" error.
• Start Date: 3/18/2015 11:06 AM
• Loading System Definition file: C:\Users\Public\Documents\National Instruments\NI VeriStand 2013\Projects\CAN Loopback Test\CAN Loopback Test.nivssdf
• Initializing TCP subsystem...
• Starting TCP Loops...
• Connection established with target CAN Loopback Controller.
• Preparing to synchronize with targets...
• Querying the active System Definition file from the targets...
• Stopping TCP loops.
Waiting for TCP loops to shut down...
• TCP loops shut down successfully.
• Unloading System Definition file...
• Connection with target CAN Loopback Controller has been lost.
• Start Date: 3/18/2015 11:06 AM
• Loading System Definition file: C:\Users\Public\Documents\National Instruments\NI VeriStand 2013\Projects\CAN Loopback Test\CAN Loopback Test.nivssdf
• Preparing to deploy the System Definition to the targets...
• Compiling the System Definition file...
• Initializing TCP subsystem...
• Starting TCP Loops...
• Connection established with target CAN Loopback Controller.
• Sending reset command to all targets...
• Preparing to deploy files to the targets...
• Starting download for target CAN Loopback Controller...
• Opening FTP session to IP 192.168.0.15...
• Processing Action on Deploy VIs...
• Deploying XNET database: NIXNET_example
• Gathering target dependency files...
• Downloading CAN Loopback Test.nivssdf [50 kB] (file 1 of 4)
• Closing FTP session...
The VeriStand Gateway encountered an error while deploying the System Definition file.
Details:
Error 1 occurred at Project Window.lvlib:Project Window.vi >> Project Window.lvlib:Command Loop.vi >> NI_VS Workspace ExecutionAPI.lvlib:NI VeriStand - Connect to System.vi
Possible reason(s):
LabVIEW: An input parameter is invalid. For example if the input is a path, the path might contain a character not allowed by the OS such as ? or @.
=========================
NI-488: Command requires GPIB Controller to be Controller-In-Charge.
=========================
NI VeriStand: TCP Write in NI_FTP.lvlib:FTP Command.vi:5860050->NI_FTP.lvlib:FTP [MKD].vi:3150001->FTP.lvlib:FTP MKD Recursively.vi->System Definition Deployment.lvlib:FTP Target Files.vi->System Definition Deployment.lvlib:Check and Deploy Files.vi->System Definition Deployment.lvlib:Deploy Target Files.vi->System Definition Deployment.lvlib:Deployment Dialog.vi->NI VeriStand Server.lvlib:NI VeriStand Server.vi->NI VeriStand Gateway.lvlib:VeriStand Server Wrapper.vi
• Sending reset command to all targets...
• Stopping TCP loops.
Waiting for TCP loops to shut down...
• TCP loops shut down successfully.
• Unloading System Definition file...
• Connection with target CAN Loopback Controller has been lost.

Similar Messages

  • How can I use the NI PXI-6508 with Lab View 7? what are the first steps to get started??How can I use the channels with lab view 7????

    I have a 8 slot PXI system with 2 NI PXI 6508 and 1 DMM 4070 in it. I want to get started with programming the digital I/O cards (6508)! How can I use this cards with LabView 7?what is the best way to get started, or where can I get examples showing how to use the several channels?
    Thanks!
    Philipp

    Philipp,
    The best way to get started is to decide if you want to use traditional NI-DAQ or NI-DAQmx. Recently we released NI-DAQ 7.1 which provides NI-DAQmx support for the PXI-6508. In my opinion, NI-DAQmx is more efficient and much easier to use.
    To get started with examples, simply launch LabVIEW and go to Help>>Find Examples. Then expand Hardware Input and Output>>DAQmx and select the appropriate digital group for your application. This should help get you started.
    Please repost if you need addition assistance. Good luck with your application!

  • CAN Single Wire using NI PXI-8513/2

    I used the C Code from the attached file to create the 2 VI's to Write and Read over CAN Single Wire using the PXI-8513. so far I don have communication. is there any other VI sample to send/receive frames using the Single Wire CAN ?
    Attachments:
    NI XNET CAN Single Wire .c ‏11 KB
    CAN Single Wire Frame Write.vi ‏21 KB
    CAN Single Wire Frame Read.vi ‏21 KB

    Hi rgomez7408
    Any of the examples of xnet can work with single wire unless the bandwith restricts them. You need to change the property of your PXI card transciever to work single-wire and after this you can use any of the examples. The property node is located in the Functions Palettes>>Measurement I/O>>XNET>>Session Node. This node has a property called Interface>>CAN>>Transciever Type. You can set this property to SW and this means that it configures the PXI card to work with singlewire. After this you can use any example from the XNET folder.
    I´m sending you also the XNET Manual in case you need more information
    http://digital.ni.com/manuals.nsf/websearch/6394B500F99CF28886257A45004BA241
    Juan Arguello
    National Instruments México y Latinoamérica
    Applications Engineer

  • Can i use PXIe-1073 with an embedded PXIe controller PXIe-8108

    I have a PXI express chassis PXIe-1073 with an integrated controller MXI-Express controller PCIe-8361. I now want to use the chassis as a standalone system with an embedded controller.
    (a)Can i use PXIe-1073 chassis with PXIe-8108 embedded controller
    (b)Can i use a windows based laptop to control the PXIe-1073 via the PCIe-8361 integrated controller.

    Hello kanad,
    The PXIe-1073 is a MXI-integrate chassis.  This means that the MXI card that would normally go into the controller slot (slot 1) is built into the chassis.  The PCIe-8361 or Expresscard8360 are placed into the desktop or laptop, respectively, and connect to the chassis.  The cards in the PXIe-1073 then appear as if they are part of the desktop of laptop.
    Since the controller is built into the chassis, the PXIe-1073 does not have a slot 1.  Controllers, such as the 8108 can only be plugged into slot 1.  Therefore, the PXIe-1073 can only be controlled by the desktop or laptop MXI link.  It cannot run standalone with an embedded controller.
    Consider reading page 1-3 and 1-6 in the manual below:
    NI PXIe-1073 User Manual and Specifications
    Regards, 
    George T.
    Applications Engineering Specialist
    National Instruments UK and Ireland

  • Whether PXI can be used for Event data logging in an electrical Substation ?

    Whether the NI PXI system can be used for recording digital event data with 1 ms accuracy ?Whether its DI boards support onboard timestamping ? Whether PXI can be synchronized with time pulses from a GPS receiver ?

    Yes indeed, there is a digital event recorder example in developer zone, search for "digital time interval" on NI developer zone, or follow this link: http://sine.ni.com/apps/we/niepd_web_display.DISPLAY_EPD4?p_guid=B45EACE3DCA356A4E034080020E74861&p_node=DZ52336&p_submitted=N&p_rank=&p_answer=&p_source=External
    In addition, we have done additional work to create a template for the LabVIEW FPGA, http://sine.ni.com/apps/we/nioc.vp?cid=11829〈=US
    which has 96 digital I/O lines as well as 8 analog in. With the NI-7831R you are able to combine analog and digital events in the electrical substation.
    Further, using PXI, we can synchronize with a GPS time stamp such as IRIG-B, and perform these functions all in a headless - real-time OS LabVIEW.
    I woul
    d be happy to discuss your application in more detail and offer a complete solution, or a recipe to create the solution yourself.
    Thanks for the question,
    Preston Johnson
    Business Development Manager - Industrial Applications
    National Instruments
    512-683-5444
    [email protected]
    Preston Johnson
    Principal Sales Engineer
    Condition Monitoring Systems
    Vibration Analyst III - www.vibinst.org, www.mobiusinstitute.com
    National Instruments
    [email protected]
    www.ni.com/mcm
    www.ni.com/soundandvibration
    www.ni.com/biganalogdata
    512-683-5444

  • Can I use data files to control the analog out of PXI-6733?

    Hello,
    I am new to NI products. I'd like to know if I can use data files(like txt file which contains some amount of data) to generate arbitrary waveform. If this can be done, are there any other file formats can be used to generate arbitrary waveforms?
    Thanks,
    NA

    Yes you have do read the file in LabVIEW and convert that into waveform and send it to the PXI target. Normally we use to generate arbitrary waveform (non standard waveform) in this method only then send the waveform data to the target.
    The best solution is the one you find it by yourself

  • How can I use the pulse train from a 6602 to trigger an niFGEN and niSCOPE on each rising edge of the pulse train?

    Hello,
    Here is my application: I need to use a 6602 counter/timer to generate a pulse train of certain frequency and duty cycle. On each rising edge of this pulse train, I need to output an arbitrary waveform on Ch. 0 of an niFGEN (5422) AND acquire data from CH. 0 of an niSCOPE (5124). I also need to synchronize the niFGEN and the niSCOPE to the same clock used for the pulse train (6602/ctr0). This process needs to continue until the user stops the system.
    I can generate the pulse train using the 6602 just fine using ctr0, but the pulse train shows up on OUT0 by default. When setting up the niFGEN and niSCOPE to trigger on rising/positive slope edge, OUT0 is not an option for either device as a source for the digital rising edge (pulse train). The main options for both are PFI0-3 and RTSI lines.
    Questions:
    1.) Is there a way that I can direct the pulse train to a location (such as an RTSI line) where BOTH the niFGEN and the niSCOPE can use it as a start trigger for each rising edge? I noticed in MAX that a route can be made between ctr0's internal output and a trigger line and others. If this is a solution, could you please explain how to accomplish this?
    2.) Once I configure the niFGEN and niSCOPE to be triggered on a digital rising edge, how can I effectively have this happen for every rising edge from the pulse train? In other words, can I just initiate the FGEN outside of the while loop and it will generate a waveform for each rising edge it sees at the source until the while loop is exitted?
    3.) Is setting a reference clock for the niFGEN and the niSCOPE the same thing as synchronizing both devices using the same clock that generated the pulse train? It is not clear to me the difference, and why it would necessarily be useful.
    Images of my current front panel and block diagram are attached. If you would rather have the actual VI's just let me know. Any help and/or explanation on this is greatly appreciated. Thanks in advance.
    Attachments:
    Front_Panel_Control.jpg ‏278 KB
    Block_Diagram_Control.jpg ‏263 KB

    Hello Cgifford,
    Welcome to National Instruments Forums.
    To output your signal to the PFI lines,
    you can use external connectios between OUT0 and PFI lines. You can also use
    the backplane to do so by routing into the same RTSI line.
    1)
    On the SCOPE and FGEN, the name of the
    terminals are actually “PXI Trigger Line x/RTSIx” but on the 6602 you might
    need to route the signal using the property:
    You can also use the DAQmx route signal which perform the same opperation.
    2)
    This will depend on the frequency of
    your pulse train. If this is lower than about 10 ms, then you can probably
    place this on a loop and start and stop the acquisition every time. If the
    frequency is higher than this, you will have to use:
    -       Scripting on the FGEN side (read more)
    -       MultiRecord Fetch (more information in the scope help file
    section “Acquisition Functions Reading versus Fetching”).
    3)
    The short answer is yes. The longer one
    might depend on how tight you need the synchronization to be (us, ns, ps). For
    very tight synchronization, you should look into here.
    Message Edited by Yardov on 06-18-2007 03:14 PM
    Gerardo O.
    RF Systems Engineering
    National Instruments
    Attachments:
    property.JPG ‏7 KB

  • How come you can not use more than 126GB of a 1.5TB diskdrive with LabVIEW Real Time?

    How come you can not use more than 126GB of a 1.5TB diskdrive with LabVIEW Real Time?
    This is only 8.3% of the available disk drive space!
    http://digital.ni.com/public.nsf/allkb/E7E2F5657B6​026358625750B007201A6?OpenDocument
    National Instrument's solution is either reformat you drive to less than 126GB or replace the drive with one less than that size.
    Please NI, tell me you are going to fix your LabVIEW Real Time soon, and that we won't have to wait for LabVIEW RT 9.2.1 in 2011 for this one to be fixed.
    http://upload.wikimedia.org/wikipedia/commons/9/90​/Hard_drive_capacity_over_time.svg
    Drives as large as 126GB or more have been around since about mid 2002.  That's about 7 Years now and LabVIEW Real Time STILL can't use drives larger that 126GB!  Please NI.  Do something.
    We deserve fixes to the old versions of LabVIEW RT.  How about updates to LabVIEW RT.  Such as 7.0.2, 7.1.2, 7.6.2, 8.0.2, 8.2.2, 8.6.2.
    We don't need new features or versions of LabVIEW RT such as 9.0 until we have some of bugs fixed in the existing versions. 
    Kevin. 
    Message Edited by kmcdevitt on 05-29-2009 03:39 PM
    Solved!
    Go to Solution.

    Coq rouge wrote:
    NI is not making the Real Time OS in house. I do not remember which firm that is making it. Anyway you are allowed to use a hard drive that has been partitioned. And 126GB is some space is it not? I remember Bill Gates declared one time that 640Kb ram should be more than enough for any PC application also in the future 
    Coq Rouge (formerly t06afre),
    The RealTime OS is an NI Product that is purchased from NI.
    NI may or may not outsource design, developement, or manufacturing of the products that it sells under its own Company name.
    For this reason I would be concerned if I were a PXI Embedded Controller designer/developer in the United States. 
    Yes, 126GB is some space.  I see that there are now 2TB drives available.  126GB would be 6.3% of a new 2TB drive.  Should we all be happy with being able to use 6.3% of the available drive space.  Moore's Law seams to be alive and well.  Drives larger than 126GB have been readily available for 5 or 6 Years.  This should not be a surprise to NI.  Why don't they do something about it.
    Thanks for the trivia on Bill Gates.  I must have missed that one since I don't try to keep up with Microsoft.  I believe that he is a wonderful person and he and his family are doing wonders for the world in their "retirement".   The world needs more like him.
    What I do remember is Steve Jobs telling us that we would never need more that 128MB and that we would never to need to do anymore software development because everything was already in the "ToolBox".
    McKevin.  

  • Can I use NI TestStand for testing ZigBee and Bluetooth transceivers and processors

    Hi , I should create , maintain snd excute  software test plans for testing low power wireless networks such as ZigBee, Bluetooth  using Python scripts and QA Methodology .The test design includes testing 
     RF transceivers, RF transmitters, RF receivers, System-on-Chips, Front Ends, ZigBee Processors, Bluetooth LE Processors, and RFID reader
    I am a LabVIEW Developer and familiar with testing RF Components using NI Hardware such as PXIe system but I am new to TestStand and Python. Can I use Teststand to develop and deploy the tests for this purpose and also LabVIEW instead of Python
    If it is possible could you please let me know that are the advantage and disadvantage of using LabVIEW and NI Test Stand for these kind of test design and implementation.
    I greatly appercaite your help and advice on this matter .Many thanks.

    Hi en99,
    I am unsure what you mean by usign LabVIEW instead of Python - what part of the system would LabVIEW replace? Usually if you were using Python in automated test, it would be to handle the test processing, which in this case is done by TestStand.
    As for advantages of TestStand over LabVIEW, the main one which SunRS mentioned is that TestStand has a test management engine, which covers result logging and passing test parameters to the various test modules, which can be written in many languages. As I mentioned above, it is Python which is commonly used to write alternative test managament engines. It is possible to write one in LabVIEW, but for good results it must be carefully architected and is typically a very time-consuming task if you want to keep it modular and use it for other applications. TestStand also has a number of built in tools which help to monitor various aspects of the test sequences, as well as provide multithreading optimisations.
    I hope this helps 

  • Can I use Labview real time with PCI 6013?

    How much does Labview real time cost?
    Do i need to have some additional hardware to use labview real time with PCI 6013?

    You can not use the PCI-6013 board with LabVIEW Real-Time.
    We offer three platforms for LabVIEW Real-time. PXI embedded controllers, 7030 data-acquisition plug-in boards (7030/xxxx) and FieldPoint. For more information on these options go to www.ni.com/products and then choose Real-Time from the menu on the left. There are PCI versions of the 7030 boards. Each 7030 board has a data-acquistion board attached to it (6030E, 6040E or 6533). When you embed a LabVIEW Real-Time program on the 7030 you will be able to access the daughter board. You can not access other boards from the embedded program. If you want to use several daq cards in your real-time system I would recommend a PXI chassi and PXI daq boards.

  • How can I use the PCI-4451 installed in a laptop?

    I would like to configure a sound level meter using a laptop and PCI-4451. I need a portable and rugged system to be used in the field. What are my options? Can I use the Configurable Signal Conditioning Enclosure CA-1000?
    Thanks again.

    Hello,
    The CA-1000 does not contain a PCI bus interface for cards like the PCI-4451. The CA-1000 accepts a variety of signal conditioning modules and is then connected by cable to an acquisition device.
    To use the 4451 with a laptop, you would need a Cardbus to PCI expansion chassis, such as those offered by MAGMA and other companies. I mention MAGMA only because I have a small amount of experience with their products. I'm sure there are others that are equally suitable.
    If you're not 100% attached to the 4451, there are a couple other options. You could use a 1394 based DAQ device such as the NI DAQPad-6052E for FireWire, which could then be co
    nnected to something like the CA-1000 if necessary, depending on your signal specs. Keep in mind that even though both the 4451 and 6052E are nominally 16-bit boards, the 4451 would be more suitable for audio measurements, particularly if you need simultaneous measurements on more than one channel.
    Finally, a portable PXI system with the 4472 would make an ideal platform for precision audio measurements, if this fits within your budget and your definition of portable.
    Regards,
    Brent R.
    Applications Engineer
    National Instruments

  • Can vector CANoe software can be used to integrate with NI XNET?

    Can vector CANoe software can be used to integrate with NI XNET hardware?, Is there drivers available for NI XNET PXI card to communicate and talk to Vector CANoe software?. Please help. This would help us reduce creating the Database using LAbVIEW.
    _Ventakesswaran

    CANoe is essentially made to integrate Vector hardware, so you can't directly use NI-XNET interfaces into your CANoe system. There are still a few ways to communication between LabVIEW (or CVI) and CANoe if you need to share data. It includes :
    - Using the ActiveX server of CANoe in LabVIEW. It allows LabVIEW to automate most tasks in CANoe and notably write/read data.
    - Writing a server/client code based on TCP or UDP to send and receive data. In LabVIEW, it just uses the primitives in the Data Communication palette. In CANoe, the communication can be handled by some code written in a CAPL node.
    The first way is slower, but does not require to write code in CANoe. There are also a few examples going around the web :
    - https://decibel.ni.com/content/docs/DOC-16844
    Regards
    --Eric
    Eric M. - Application Engineering Specialist
    Certified LabVIEW Architect
    Certified LabWindows™/CVI Developer

  • Can we use IF statement in PDF templates

    Hi,
    I developed a PDF template. I need to underline ang bold the records based on a specific condition. Can we use IF conditon in PDF templates. Please suggest.
    Thanks...

    Billy  Verreynne  wrote:
    The case syntax is a bit funny though as there's not a single condition evaluation (like a DECODE or case structs from some other languages).
    This is what I would expect a typical case struct to look like - evaluating a single condition:
    case <condition>
    when <value-1> then return <result-1>
    when <value-n> then return <result-n>
    else
    return <return-z>
    end
    ?:| You mean like this...?
    SQL> ed
    Wrote file afiedt.buf
      1  select empno, ename, deptno
      2        ,case deptno
      3           when 10 then 'This is Department 10'
      4           when 20 then 'And department 20'
      5           when 30 then 'And of course department 30'
      6         else
      7           'Blimey it is something else!'
      8         end as dept_desc
      9* from emp
    SQL> /
         EMPNO ENAME          DEPTNO DEPT_DESC
          7369 SMITH              20 And department 20
          7499 ALLEN              30 And of course department 30
          7521 WARD               30 And of course department 30
          7566 JONES              20 And department 20
          7654 MARTIN             30 And of course department 30
          7698 BLAKE              30 And of course department 30
          7782 CLARK              10 This is Department 10
          7788 SCOTT              20 And department 20
          7839 KING               10 This is Department 10
          7844 TURNER             30 And of course department 30
          7876 ADAMS              20 And department 20
          7900 JAMES              30 And of course department 30
          7902 FORD               20 And department 20
          7934 MILLER             10 This is Department 10
    14 rows selected.

  • In alv report can i use control break events? if no .whay?

    Hi all,
    in alv report can i use control break events? if no .whay?

    hi,
    you can use control break statements in ALV report.
    for example: if one PO is having more than one line item, that time you need to display PO only once.

  • HT1751 I need to uninstall and reinstall iTunes (it won't let me update). So, how do I copy or back up my iTunes library of over 1,500 songs? Can I use a Flash Drive to do so?

    I need to uninstall and reinstall iTunes (it won't let me update). I have IE 8 on Windows XP, and iTunes 10 something. In my Program files list I see iTunes and iTunes (2) and even iPod and iPod (2) where a tech had to back up and do this for me before. I'm just trying to fix it all. I keep getting the "The feature you are trying to use is on a network resource that is unavailable. Click OK to try again, or enter an alternate path to a folder containing the installation package 'iTunes.msi' in the box below." I can even run a search and find the folder, but it gives me the same error message. I was planning on using the Microsoft Fix-It tool  to help uninstall then Reinstall iTunes. But I need to backup my library. So, how do I copy or back up my iTunes library of over 1,500 songs? Can I copy the folder to desktop or can I use a Flash Drive to backup my music? I don't want to do anything until I know for sure how I can backup my songs, and then reinstall them into iTunes. Thanks for any help.

    Ok, thanks that helps. I don't have an external hard drive though. What about backing up through 'the cloud'? I'm just wondering since my husband syncs his iPod to the PC through iTunes and he's worried that he will lose all the songs on his iPod if the library is lost from iTunes and he tries to 'sync' it up again. I'm not exactly sure how to  'copy the entire iTunes folder' either. I kinda suck at this unless I have step by step instructions, which I haven't found yet on iTunes help or other sources.
    The only way I know how to back anything up is by going back to a restore point, etc. (as stated before, we don't have an external hard drive.)
    Thanks for the info.

Maybe you are looking for

  • HT1414 i wanted to reset my iphone from the phone settings and i started with no problem but now my i phone got stuck i can only see the apple logo  and my phone does not start what to do please help

    i wanted to reset my iphone 4 from the phone settings and everything started okay until i realised it was not working at all now my phone is tuck with the apple logo and won't start can not connect to the itunes store as well what to do please help

  • Report for Invoiced Documents

    Hi Experts, We got a new requirement from Finance department for a report.They got a requirement like this. 1.Invoice Document 2.Invoice amount 3.Invoice date 4.All Taxes in detail for each invoice 5.Vendor Name and Vendor Number 6.Reference Document

  • Audiobooks disappears from Audiobook folder

    I have a 8gb 2gen ipod nano and the problem is that when I start my iPod I can see my audiobooks in the audiobook folder but as soon as I play any music the audiobooks disappears from that folder but can still be seen from artist folder. This only ha

  • A simple media player problem

    Hi there, The following code is a simple media player applet. Now I try to change it to an application. import java.applet.Applet; import java.awt.*; import java.awt.event.*; import java.lang.String; import java.net.URL; import java.net.MalformedURLE

  • Image Borders

    When my page loads in IE, I get small dark blue lines between the images(I'm talking about the top banner). In FF, it looks seamless, but for some reason in IE, there are small gaps, almost like a border. I went though and set the border equal to 0fo