NI-CAN BUS MONITOR

I am using the NI-CAN bus monitor in measurement and automation explorer. I would like to observe all frames on the network. However, if multiple frames use the same Arb. ID it only displays the last frame received. Is there a setting that will enable me to see every CAN frame as they appear on the network. I know that you can use the ID logger window to display all frames of a particular ID but I would like to be able to see every frame. Is there a way to do this?
Thanks
Kyle

Hi Kyle,
Aside from using the ID logger, you could stream all the CAN data to a file (Options » Streaming Setup).
Would that do the trick?
-B2k

Similar Messages

  • Is it possible to programmatically start the CAN Bus Monitor?

    Is it possible to programmatically start the CAN Bus Monitor?  I was unable to find the executable, so either I'm not looking in the right place or it's built into NI-CAN or MAX.
    Message Edited by FlamingYawn on 05-24-2007 06:19 PM
    Robert C. Mortensen
    Certified LabVIEW Architect
    Certified LabVIEW Embedded Systems Developer
    Endigit

    Indeed it is.  I found the executable at c:\Program Files\National Instruments\NI-CAN\bin.  It won't run by simply clicking on it, you must call it with the can port (e.g. CAN0) as the first paramenter.
    Robert C. Mortensen
    Certified LabVIEW Architect
    Certified LabVIEW Embedded Systems Developer
    Endigit

  • Graphical applicatin NI-CAN bus monitor

    I am looking for an appliction much like the NI-CAN bus monitor, that will show CAN network utilization, bandwidth information (what percentage of bandwidth certain types of CAN messages are taking up) in a more graphical nature - much like an ethernet network utilization found in windows task manager. If anyone knows if any kind of application like this is out there, let me know!
    Thanks in advance,
    JB

    You could try using CANalyzer, it is a program capable of many of the things you need, including busload calculation, and advanced programming of scripts and displays. They also have an optional package that lets you tie Labview and DIADem into them.
    take a look at their website for details.
    The bad news:
    Right now, CANalyzer only works with Vector CANcards, it WILL NOT work with NI CANcards.
    Hopefully you are sitting down when you look at Vector's pricelist, their prices are shockingly high.
    Other than that, I would suggest writing your own.
    >

  • NI-CAN Bus Monitor Application does not launch

    I have just installed a PCI-CAN Series-2 Card. I tested the card installtion through MAX (by running the Self Test). The card passes the test. However, when I try to launch the Bus Monitor Application, there is no response. No error message is displayed, and the application does not launch.
    Does anybody know why this would occur? Something that I am missing out during the installation?
    Any help will be greatly appreciated.
    Thanks.

    Hello,
    Generally to get the Bus Monitor Application open, all you have to do is right click on the CAN interface that you want to monitor (in MAX) and click on Bus Monitor. If this is what is failing for you, consider trying the following things:
    -First, make sure that you have updated information about installed hardware in MAX by pressing the F5 key.
    -Run NI-Spy to see if any CAN calls are being made to the NI-CAN Driver. See information about using NI-Spy here: http://zone.ni.com/devzone/conceptd.nsf/webmain/C31BC5FB34DBC0EF86256ADF007B8A47?opendocument
    -What version and revision of the CAN driver is currently installed? You check this in Measurement and Automation by expanding the Software branch and clicking on NI-CAN.
    -If you can watch your
    processes as you try to start Bus Monitor, does a process named nican_bm.exe ever start?
    -Additionally, try starting bus monitor from the command prompt by running C:\Program Files\National Instruments\NI-CAN\bin\nican_bm with parameter CAN0 so your command is (without quotes): "nican_bm CAN0".
    -If you have a 2 port card, have you successfully been able to run Obj2Obj? I'm curious if your CAN interface is working properly at all. From the NI-CAN\utilities directory, run obj2obj.exe with a correctly terminated cable connecting both ports of your CAN card.
    Let me know the results of this if you are still having problems.
    Thanks,
    Scott B.
    Applications Engineer
    National Instruments

  • Can we monitor the CAN bus load through a vi

    Is there a way to monitor the CAN bus load through a vi? I am using USB 8473 to establish a CAN communication.
    Thank You,
    -Raghu

    Hi Raghu,
    Are you referring to fuctionality similar to the percentage bus load the NI CAN Bus Monitor shows?
    If so, there are no built-in LabVIEW VIs that access this information.  You would have to use the available CAN VIs and implement it yourself. 
    Alternativly, if you only need this for testing, you can use another NI CAN device on the bus to monitor the bus load and then simply remove this device for deployment.
    Hope this helps!

  • PCMCIA CAN and MAX Bus Monitor

    I have a series 1 PCMCIA CAN Controller Card (184272F-01) and Series 1 CAN Cable (184354B-01) attempt to communicate with a DDC RPC CAN Interface (29bit arbitration ID, 250K Baud)
    Command:  Version ID?: 0000 0000 0000 001B
    29bit ArbID: 0x18EFE3E1
    1-First does MAX actually wrap the remainder of the Full CAN message, for example the CRC checksum?
    2-Can I run the Bus Monitor and send out the message with Test Panel at the same time? 
    thanks in advance,
    JS

    1. Yes it does.
    2. Yes you can.
    Have Fun.
    DirkW

  • No signals appear in Signals tab of NI-XNET Bus Monitor

    Hi, I am trying to use a NI 9862 USB to read a J1939 PGN.  I will choose PGN 65265 (CCVS1), SPN 84 (Wheel Based Vehicle Speed) as an example.  In the Monitor tab of NI-XNET Bus Monitor, I can see that the Frame counter is increasing at the expected rate for that ID, and the Frame Name column is filled in with my custom text.  A couple weeks ago, I was able to click on the Signals tab and see the payload for the Signal I had defined listed converted to engineering units.  Now, nothing is appearing in the Signals tab.  I have used Add/Remove Signals to select the signal of interest to list in the "Signals in View".  Any ideas?  I did recently swap out a bad NI 9862 for a new one, but I don't see how that would be related to this issue.
    Solved!
    Go to Solution.

    Hello barkeram
    If you are at the add/remove signals, when you select names to search=signals, Are you getting results?
    Is the frame view still working fine? did you change any setting like Interface and Database?
    Regards
    Frank R.

  • Using CAN bus to transport and play the stream audio data

    hello,
    Just want to build a PC-Based control network using CAN bus (Ethernet not considered).The system is separated two parts , one is the front unit(FU), and the other is the centeral unit(CU). FU performs dialing-up number to the CU , and play the stream audio media data come from CU, CU monitor the telephone call activated from FU's user , send rm or mp3 data to the FU . I'd like to know if CAN bus could realize this function? if it can , which hardware must be supplied ? Is there any suggestion that not use PBX to realize the voice (telphone) communication ? Please give an solution , your advise is greatly appreciated . Thanks.
    David

    Hi David,
    the CAN protocol essentially just gives you the ability to transfer (broadcast) up to eight data bytes across the network at a maximum data rate of 1 Mbit/s.
    There are so-called higher level (or layer) protocols that further specify the data exchange between a data producer can the consumer (DeviceNet, CANopen, etc.).
    If your application is not tied to any of those protocols, that means you have the freedom to design all (CAN) nodes of your network, you can implement your own protocol based on the eight data bytes and the arbitration ID CAN offers.
    For more information on the CAN protocol, take a look at appendix B of the NI-CAN Hardware and Software Manual, or visit the web site of CAN in Automation (CiA).
    For your particular application you would need a CAN port on both the FU and the CU (preferably high-speed physical layer) and a PCI interface CAN card for you development.
    -B2k

  • Read all raw data out of the CAN bus

    Hello,
    our company has purchased a complete CAN bus HW; chasis 9174 and module 9862. I am using NI-DAQmx 9.5.5, NI-XNET 1.5.
    I have connected the module (CAN High, CAN Low, Vsupp 12V - Car battery, GND - Car battery) to the ABS CAN bus segment.
    Using Osciloscope on CAN High and CAN Low wires I can see communication rolling when I start the car ignition.
    I had no success using the Bus Monitor utility.
    I made a very simple read VI hoping to monitor some traffic.
    All VIs run without error, but the Read VI is returning same data (Ignition off or on), I do not know what am I supposed to recieve, what kind of data is the output.
    I think it is wrong, since I get the same data out of it no matter what the CAN bus traffic is.
    The array of frames is filled with two frames with message identifiers that should be transmitted. I added two frames into emopty database and no signals.
    1) From my understanding, the Bus Monitor utility monitors only those messages that I specify in the database, so that no messages/frames = no traffic monitored, is this correct ?
    2) Is there any way, how to read all raw data from the bus ? What VI palettes to use... ?

    Problem solved, the company that was preparing the car made wrong labels (swapped CAN H with CAN L)

  • USB-8473s Bus Monitor Won't Start

    Hello
    I have an 8473s USB CAN module I am trying to get working.
    I have MAX 5.5 and CAN 2.7.5 on Windows 7
    The 8473s sometimes starts with a nice yellow USB light, sometimes with one that flashes green-yellow, sometimes one that flashes in a pattern yellow two short two long (I think, it's been a while since this one happened and I didn't take good notes on the pattern)
    I can expand Devices and Interfaces, and then NI-CAN Devices, and then USB-8473s. Then in the right pane I click on Bus Monitor. And that's the last thing I can do before I have to task kill MAX.
    Sometimes I am able to Self Test the unit, sometimes not. Bus Monitor used to take a long time then pop up a confusing message: "NI-CAN: (Hex 0xBFF62103) The firmware of the CAN or LIN hardware no longer responds to commands from the Windows driver, usually due to frequent CAN/LIN or timer interrupts. Solution: For CAN, use comparator/mask (filter) properties to reduce received trafic." After that the Bus Monitor would show it's user interface, but if I tried to Start, it would go Not Responding and never come back (or at least not after a half an hour).
    I have two 8473s units, and both respond the same. I have tried different USB ports with no difference. I have tried to repair the CAN 2.7.5 driver, and it did not help.
    What else should I do to get Bus Monitor to work?
    I wish I had a PCI CAN interface. I don't trust the USB.
    Thanks
    Keith

    Thanks for the input.
    The machine that is the subject of the original post is the customer equipment. It is an Advantech industrial PC.
    I tried it on my development system, a Lenovo Laptop, and it works perfectly.
    My current best guess is an incompatibility with the Advantech, some kind of motherboard driver or USB thing. Ugh.
    Unfortunately at the moment there's a different fire pulling me away for a little bit here.
    I did get an "nicanerr.txt" dump, if it is useful:
    [OSINFO_SECTION]
    OS=Workstation
    Service_Pack=Service Pack 1 (Build 7601)
    [DRIVER_VERSION_SECTION]
    NICAN.DLL_VERSION=12.6.2f3
    NICANFRM.DLL_VERSION=12.6.2f3
    DRIVERS\NICANPK.DLL_VERSION=12.6.2f3
    NICANPU.DLL_VERSION=12.6.2f3
    NICANTSK.DLL_VERSION=12.6.2f3
    NICANCFQ.DLL_VERSION=2.6.0f0
    NCVI.DLL_VERSION=2.7.4.12288
    NICAN_S1.NFW_VERSION=2050300
    NICAN_S2.NFW_VERSION=2050300
    [CURRENT_SECTION]
    Section_Index=5
    [INDEX_0]
    Local_Time=
    Err_Status=
    Function=
    [INDEX_1]
    Local_Time= 11/13/2014 16:46:27.130
    Err_Status= Status:0xb1080002-Location:0x30000000-Internal:0x01080000
    Function= ncConfig-CAN0
    [INDEX_2]
    Local_Time= 11/13/2014 16:47:47.131
    Err_Status= Status:0xb1080002-Location:0x30000000-Internal:0x01080000
    Function= ncConfig-CAN0
    [INDEX_3]
    Local_Time= 11/13/2014 16:49:07.132
    Err_Status= Status:0xb1080002-Location:0x30000000-Internal:0x01080000
    Function= ncConfig-CAN0
    [INDEX_4]
    Local_Time= 11/14/2014 08:49:01.922
    Err_Status= Status:0xb1340103-Location:0x30000000-Internal:0x01340000
    Function= ncAction-CAN0
    [INDEX_5]
    Local_Time= 11/14/2014 09:02:41.046
    Err_Status= Status:0xb2e70002-Location:0x30000000-Internal:0x02e70000
    Function= ncConfig-CAN0
    Thanks again
    Keith

  • NI-XNET Bus Monitor doesn't detect port

    Hi All,
    I need somehelp. I have 2 PXI 8512 and set them to CAN1, CAN2, CAN3, and CAN 4.
    I want to monitor data traffic from my XNET. Yes, they are available in MAX. But once i open NI-XNET Bus Monitor, all the channel i have are not detected.  Interface Name box is empty, doesn't show anything.
    Here is a screenshot.
    Anyone knows what the problem is?
    Thanks for help.
    Rajamodol
    Solved!
    Go to Solution.

    You are a great...
    I have followed the pictures...
    installing NI-XNET 1.6 my problem seems resolved.
    Looking the png attached is possible to see that with vers. XNET 1.6 PXI 8512 is supported(this was my issue).
    Now i can connect with varistand to CAN port.
    Thanks again and bye
    Nicola
    Attachments:
    forum1.PNG ‏166 KB

  • Basic CAN BUS question

    I'm using a CAN BUS for the very first time and would like to have some explanations on something that seems to be a normal behavior. I used the CAN Transmit - event based.vi with NI-Spy to monitor the outputted CAN frame.
    I've set the baudrate to 1MB, the Arbitration Id to 0x8, the data length to 4 (see attached Front Panel Settings.jpg). When I look at the captured input and buffer I can see that the input data size is 14 and that the buffer contains the arbitration Id 08 followed by four 00 bytes, the data lenght value 04, the four data bytes 01 02 03 04 and then four 00 bytes.
    These results doesn't seems to be compliant with the CAN frame specification (see attachment CAN FRAME Bosch.png). Can somebody explain this to me?
    Thanks,
    Ben
    Attachments:
    CAN Transmit - event based.png ‏48 KB
    Front Panel Settings.jpg ‏44 KB
    CAN Spec Bosch.png ‏162 KB

    Hi Ben,
    What's the exact hardware you are using with this? Have you checked with the Bus Monitor instead of NI Spy to see if the frames are read correctly. It's generally a lot more difficult to make sense of the frames in NI Spy. You can launch Bus Monitor from MAX by right clicking the specific CAN interface. If you have a 2 port CAN device or have 2 CAN ports that you can access, then you can write out of one and read from the other using the Bus Monitor to make sense of what's being written on the bus.
    Raj
    National Instruments
    Applications Engineer

  • Can bus activity

    Hi all,
    I'm using all ports of a PCI series 2 CAN card and I would like to monitor the bus activity using without opening bus monitor.
    Does anyone know how to detect if the CAN bus is still sending messages or not using channel-API?
    Sometimes the bus seems to freeze after a while and not showing any changes at all. I have to stop the vi and run again to see the change value.
    I am trying to read lots of messages (each contain maximum 64 channels). I use Multi-Chan Single-Samp 1D Dbl type to read.
    Thank you
    -bm-
    Attachments:
    Single Sample Input.vi ‏57 KB

    Please direct all replies to the following post:
    http://forums.ni.com/ni/board/message?board.id=30&​message.id=1457
    Logan S.

  • CAN bus errors

    I have an application that monitors up to 11 different DUTs at a time. My LabVIEW program utilizes the USB CAN device at 125k speed. The moment I connect more than 6 DUTs, the CAN bus starts to fault (error out) and will not read from anymore DUTs.
    I can connect all 11 DUTs and run the CAN Test Panel in MAX with no errors. Any thoughts what might be happening??
    Thanks,
    Kevin

    What's the fault or error message?  Are you trying to communicate with all of the devices simultaneously?  Do the devices all broadcast when connected, or do you need to address them individually?  Can you share your code?  Is there any possibility two devices are trying to use the same arbitration ID at the same time?  I currently have a system running with 12 devices on the CAN bus connected to a NI USB CAN device with no issues, so I doubt it's purely an issue of the number of devices.

  • Can bus HELP

    I am working on the zebra battery and i need some help that how i use the can bus. I need to interface the zebra battery with pc and to automize it using LABVIEW. The zebra battery is using a can protocol. I have NI-USB-8473. I go thorught labview stuff. But i donot know from where i start. What should i do. Any advice?

    What are you trying to do ? Send CAN messages and monitor the response or do some diagnostic activities ? USE NI CAN VI's to do all kinds of activities., as far as I can see you are trying to work on battery management systems where you might have to monitor cell voltage values, charging, discharging and others. Send CAN message in proper 11 bit or 29 bit format. Pls let us know what you need to do in specific and what kinds of problem are facing in your try, forum people are there to guide you.

Maybe you are looking for