NI CAN 8473

Olá pessoal, 
entäo estou tentando instalar o NI usb 8473, porem näo esta funcionando, e eu näo sei o por que, instalei o driver NI-CAN2.7.3, mas quando chega no passo de reconhecer a porta, ele até reconhece no programa measurement &  Automation, porem quando chega quando eu clico em ferramentas>>NI-CAN>>configuracäo do RT-Hardware ele pede um IP, porem eu näo sei qual IP que é esse?
e outra pergunta seria, por que quando eu vou em exemplos no LABview näo aparece os exemplos do NI can, e muito menos consigo ter os componente para fazer um programa para minha NICA 8473?
Grato

Bom Dia riquemd, beleza??
Vamos às suas dúvidas...
riquemrd escreveu:
(...) porem quando chega quando eu clico em ferramentas>>NI-CAN>>configuracäo do RT-Hardware ele pede um IP, porem eu näo sei qual IP que é esse?
Essa instrução é usada quando você está usando targets Real-Time como o compactRIO ou o PXI-RT. Eu acredito que você esteja conectando seu USB CAN 8473 diretamente no PC, certo? Se for, essa não é a instrução ocorreta.
Dá uma olhada na página 2-3 do NI-CAN Hardware and Software Manual,  no tópico Verify Installation of CAN and LIN Hardware como fazer a detecção, teste e configuração dos canais CAN. É bem tranquilo!
riquemrd escreveu:
e outra pergunta seria, por que quando eu vou em exemplos no LABview näo aparece os exemplos do NI can, e muito menos consigo ter os componente para fazer um programa para minha NICA 8473?
Isso não deveria acontecer, cara. Quando você instala o NI-CAN, são instalados exemplos no LabVIEW que poderão ser encontrados no NI Example Finder. Você inclusive pode filtrar os exemplos pelo seu dispositivo, assim como eu fiz na figura abaixo para o seu dispositivo.
Se você não está conseguindo acessar os exemplos mesmo assim, pode ter acontecido um erro na instalação do Driver. Neste caso eu sugiro que você repare sua instalação.
Atenciosamente.
Felipe Flores
Engenharia de Aplicações
National Instruments Brasil

Similar Messages

  • NI USB CAN 8473 with real time engine

    i am using NI USB CAN 8473, its driver version 2.5.2 and labview 8.2. I havle all these installed in one laptop and i am able to send and receive can messages. Now i built the .exe of the same vi and trying to run it another laptop which doesn't have Labview installed in it. But i have installed run time for 8.2 and same NI-USB-CAN driver 2.5.2
    But still it is not working in the second laptop. Can any one support me for the same...
    Regards
    Mahesh

    Hi Manhesh,
    I think you meant to say, "Does the USB CAN 8473 work with the LabVIEW Run Time Engine?" LabVIEW Real-Time Module and Engine are not the same thing as the LabVIEW Run-Time. (Just a side note that the USB CAN devices do NOT work on LabVIEW Real-Time OSes).
    Can you tell us a little more on how it is not working? Is the executable loading, but you don't see CAN traffic? Is this your LabVIEW VI that you builting into an EXE, or an example? Does an example CAN program from the example finder built into an EXE work OK? Do other LabVIEW built EXE work OK? Does your USB CAN device show in MAX?
    Joshua B.
    National Instruments
    NI Services
    NI Support Resources
    NI Training Resources

  • NI USB CAN 8473s

    Hello everibody sorry my English is not very good but in think you could understant my ask.
    I must create a program only with Labwindows/CVI with an USB CAN 8473s that could display a XY graph with the information that my canbox will read. But I don't know if it's feasible because of the incompatibility within Frame API functions and Channel API functions? Is there a possibility to do that program with Labwindows with NI functions or others functions?

    Hello Shizuo,
    I've posted on your french topic.
    Regards,
    Mathieu P. | Certified LabVIEW Associate Developer
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    Journées techniques : des fondamentaux aux dernières technologies pour la mesure et le contrôle/comm...

  • CAN 8473 Not working with Test Panel in Max

    Hello all.  I am working with a USB-8473s CAN unit.  I have it connected to the bus and can see the can traffic through the bus monitor. So everything is working properly there.  I am trying to send a certain message so I set up a message and channel in MAX but when I go to the test panel I get an error saying that the "Test Panel cannot run since no CAN ports are available. Make sure you have at least one NI CAN card inserted into your computer".  What is going on? I thought that the USB can unit was the CAN card?  I'm on Win XP.

    You're not going to like the answer.  The 8473 only supports the frame API and not the channel API.  No messages in MAX.
    http://sine.ni.com/nips/cds/view/p/lang/en/nid/203​384  >> specification tab >> API Support
    I ran into this same problem.
    You'll either have to use the frame API or purchase a different unit that supports the Channel API.
    Robert C. Mortensen
    Certified LabVIEW Architect
    Certified LabVIEW Embedded Systems Developer
    Endigit

  • CAN 8473 CCP DAQ Rate

    I'm using the NI-CAN USB 8473 to monitor an engine ECU.  I'm trying to set the sample rate for the measurement DAQ list.  The mc daq init.vi has an input labelled sample rate, but this is not exactly what I need.  It specifies how often the .vi returns data.  It does not seem to control how often the ECU transmits data on the datalink.  Is there a way to set the ECU's broadcast rate?  I need to slow it down to reduce the datalink's busload.  I tried using the vi's sample rate with various settings between 0 and 1000.  Nothing I did had any effect on the busload. 

    the Samplerate relates to the rate the CCP measurement data are "resampled" when they have been received to compare them e.g. with sampled DAQ data.
    As you are looking to reduce the rate the data are transmitted there are typicaly 2 ways, but those need to be supported by the ECU.
    1) check if there is another eventchannel available, which transmits the CCP data not as often
    SampleRate specifies the timing to use for the samples of the (NI-CAN) task. The sample rate is specified in Hertz (samples per second). A sample rate of zero means to sample immediately. For a DAQMode of mcDAQModeDAQList, SampleRate of zero means that  MC DAQ Read.vi returns a single sample from the most recent messages received, and  greater than zero means that MC DAQ Read.vi returns samples timed at the specified rate. For DAQMode of mcDAQModePolling, SampleRate is ignored.
    2) check if the prescalar is support by the ECU which relates to a specific Event Channel. To allow a reduction of the desired
    transmission rate, a prescaler may be applied to the event channel. The prescaler value factor must be greater than or equal to 1 and can be set using
    MC Set Property.vi using the DAQ Prescaler property.

  • Run CAN 8473 on with full bus

    Using Borland C++ and a CAN USB-8473, I'm trying to watch a full CAN bus and put the data into an STL map.
    The CAN/PC can't keep up.  I have the 8473 configured as a Frame
    I have observed that the Config option NC_ATTR_READ_Q_LEN does not appear to work.  I have set the value to 1000000, which is about 3X more then the amount of data that I sent, but I still get buffer overflows.  I get buffer overflows after about 10000 messages, which should be 100X before I run out of buffer.

    I get the following response ncRead::NI-CAN: (Hex 0xBFF62125 NI-CAN copies received CAN frames from the card to a large kernel-level queue.  There is one queue for each interface (port).  If your application does not read fast enough to empty this queue over time, the newest frames are lost.  Solutions:  Call Read more frequently (such as by reducing user-interface code).  ...
    Is there a hard set size for the queue?  I've been using read (not mult).  

  • NI USB CAN 8473 write single frame and log all frame of network with read notification on the same port

    Hello,
    I am trying to code an application which:
    - Write sometime (button click) a frame on a CAN network
    - Log all frame of CAN NETWORK
    My hardware is NI USB 8473 (1 port).
    1/ After reading NI help about CAN APIs, I think it is not possible to do "log all CAN frame" with Channel API because I need to install a asynchronous callback to read all message, and this functionality is only present in frame API.
    Anyone can confirm?
    2/ No problem let's use Frame API
    I have tried "CAN Receive with Notification" example delivered with NI-CAN driver, configured on virtual CAN256.
    I start other sample program to generate some frame on virtual CAN257, no problem, everything is working.
    So, i have tried to modify "CAN Receive with Notification" to add write function. I have mixed this source with "Transmit Receive same Port" sample (which works fine alone on CAN256).
    My program is running, but nothing appens when I click on WRITE button.
    I suppose some attribute are not confired, but which one.
    Anyone can help? (source of my modified sample is joined to this post).
    Thanx.
    PS: please note im a newbie with CAN
    Attachments:
    CAN Receive with Notification.zip ‏10 KB

    Hi,
    Thank you for posting your question on National Instruments' Forums.
    I'm a little puzzled by your question.
    If I understood well, you just want to receive every frame reaching the port and sometime write something through the port. Am I correct ?
    You are right when you state that the NI USB 8473 can only work with frame API. However, if the operation you want to make is the one I discribed above, I can't see where you encounter a difficulty.
    Indeed, for such a case, the example you mentionned in your post is perfectly suited. "Transmit Receive same Port" allows you to receive the frames reaching the port and write we needed too.
    I think this example shoudl do the trick.
    Or have you a more specific application in mind ?
    I hope this information will help you.
    Best regards,
    Guillaume H.
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    >> NIDays 2011, le mardi 8 février au CNIT de Paris La Défense

  • USB-CAN 8473 and Diadem/MAX

    Hello,
    I have a USB 8473 which I would like to use with Diadem.  Under Max I can see the devices and create channels which refer to these two devices.  However in Diadem all the channels are visble but not available (red Xs).  Any ideas here as to what I am doing incorrectly here?
    Thanks,
    Jeff

    Hello Jeff,
    there are two APIs for NI-CAN, the channel API and the frame API. The DIAdem driver for NI-CAN is based on the channel API of NI-CAN. Unfortunatelly this API is not supported by the USB-CAN modules. These modules support only the frame API of NI-CAN. Thus DIAdem does not support the USB-CAN modules.
    Unfortunatelly in MAX you can assign a CAN message to a USB-CAN port so that you might think everything is fine with this setup. But if you launch the Testpanel, you will see that you cannot run it on the USB-CAN ports.
    Rainer

  • USB CAN 8473 goes crazy

    Hi, guys, my CAN USB8473 goes crazy.
    I use CVI  8.5  to communicate with USB 8473. The software done by using CVI works all right before, when i use another USB 8473.
    However, now, when i just try to initialise the CAN0, i find that the USB CAN is keeping sending CAN frames, then i open the NI-Spy, there is no action observed in spy,which means my soft doesnt give the order to send messages, but the CAN port just keep sending messages(i use a very good scope to get the active can activity). When i call the function to reset the CAN, it stop sending frames, but after i try to send just another frame, it starts  sending frames endless which always goes with ACK error.
    from what could i know if is my hardware problem? I dont want to believe the problem is my hardware, because it is a quite new USB 8473. 
    What is wrong?

    Hi,
    If you send a Frame and there is no receiver connected acknowledging the frame the can controller would transmit the frame over and over again until it becomes acknowledged or the driver closes the handle for the port. 
    The re-transmit ishandled by the can controller onboard automatically and it doesn't require api call, thus it doesn't show up in NI-SPY.
    But you should be able to stop this, by closing the handle.
    DirkW

  • CAN USB-8473

    hi,
    im using the NI-CAN 8473 to communicate with the CAN bus on my car through an OBDII connector.
    im using for this the Automotive Diagnostic Command Set. I tried a simple code to get the supported PIDs in the car, but there was no communication between the CAN-USB and the car ECU.

    My understanding is that the Automotive Diagnostic Command Set works with all vehicles. To my knowledge this is a standard interface which works with all vehicles 2008 and later utilizing CAN. You can reference the SAE J1979 spec document/spec by googling. It will show you the standard CAN pins for all vehicles which should be the same (CAN+, CAN-, and gnd). This standard provides for the legislative pids which are mandated by the government so the guy on the corner garage can diagnose your trouble codes. Like when you go to your local Auto parts and the guy brings out his tester to tell you your trouble code and reset your engine on light. He's accessing the trouble codes and also the legislative pids. The transmit ID is normally 7E0 and the receive ID is 7E8. That's also in the spec.
    Now for my problem, I can't get the Automotive Diagnostic Command Set to work with my USB 8473s. I'm using the engine example that comes with the kit trying to measure RPM, TPS, and ECT on a 2010 Ford Escape. Here's my question:
    Should the Automotive Diagnostic Command Set work with Windows7 64 bit and LabVIEW 2010 32 bit?
    I installed it on my machine and it installed in the LabVIEW 2010 directory. I can't get it to work on any of the vehicles I tried. I have checked the wiring and confirmed the pinouts of the OBDII connector. The USB led is a steady yellow and the OBD lights flash green on the USB 8473s but the sofware hangs in the OBD Open.vi. I've checked with our CAN communication OBDII engineering team and confirmed the transmit and rcv adrresses. I have the baud rate set to 500K. Any help would be most appreciated! I've been told the toolkit is Plug & Play. Mine Plugs, but won't play!

  • CAN interface using XNET

    Hello I am just wondering and I am new in Labview development using CAN IF, I will be glad if someone can explain this.
    We have a project wherein we got 1 NI XNET and 1 NI CAN 8473 connected.
    When i tried to run two VI from examples(CAN Frame Input Single Point and CAN Frame Output Single Point) and selected CH1 as the interface (NI XNET)
    nothing happens to it, however when I tried to open the Bus monitor (CH0) which is the NI CAN 8473, the values on CAN Frame Input vi keep updating.
    Can anyone explain why does it need to have the other interface to be opened to have the value updated based on the cyclic timing?
    Thank you very much.

    Start Here:
    Migrating from NI-CAN to NI-XNET
    I've been going through much of the same process and it's been working out pretty well.  Post if you get hung up on any particular part.

  • Getting channel units and length from .dbc file

    Can any one help me out. I was wondering how to get Channel units and channel size from the CAN db file similarly like getting channel names from Get Channel Names by Id vi.
    Thank you,
    Shanth.

    can you pls guide me to use this vi for my application
    i want to read the dbc    using NI CAN 8473
    i am getting error
    Attachments:
    USBCANBasicInput.vi ‏43 KB

  • C code generation for VI

    Hi,
            I need to genearte C code for CAN Receive.VI we have got after NI-CAN 8473. Does anyone has an idea for this??
    Thanks,
    Vivek

    Hi Vivek,
    In the following folder on your computer, you should find a C version of CAN Receive.
    C:\Program Files\National Instruments\NI-CAN\MS Visual C\Frame API examples\CAN Receive
    I hope this helps!
    Regards,
    Rima
    Rima H.
    Web Product Manager

  • Automotive diagnostic command set

    Hello Everyone,
    I started to use "Automotive Diagnostic Command Set" for LabView with NI USB CAN 8473 and I have a fundamental problem: I can not see the answers of the ECU.
    The messages are properly sent and my ECU responds (see him with another tool that acts as a sniffer on the network), but are not able to review the responses of the ECU
    What I'm doing wrong?
    In attachment the screenshot of my very elementary project
    thank you very much
    monica
    Solved!
    Go to Solution.
    Attachments:
    DIAG.jpg ‏141 KB

    Hello Monica,
    You can check the example in Labview "Transmit Receive same port.vi"
    I think it shows exactly what you would like to do.
    Antonios
    Attachments:
    Transmit Receive same Port.vi ‏27 KB
    Transmit Receive Same Port.txt ‏1 KB

  • Is is possible to access channels from a CAN database in labview with NI USB 8473s

    Hello,
    I would like to know whether is possible to access a CAN database, which is uploaded through MAX, in labview.
    More specifically, I have uploaded my CAN database in MAX and I want to have access to each specific channel in labview.
    i.e according to picture, I would like to have access  to n_Motor_InsRpm channel of E1_L0_1 (motor speed) in Labview, so I can set and transmit a speed value through CAN. Could that be possible with NI USB 8473 s? If yes, is there any simple example in Labview ?
    Thanks for your Help
    Charis
    Solved!
    Go to Solution.
    Attachments:
    CANdb.jpg ‏11 KB

    There are several ways to get database information without needing hardware. Here is one I did a while ago.
    https://decibel.ni.com/content/docs/DOC-39793
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

Maybe you are looking for