Clarification on PCI CAN

Hello,
I am having NI CAN PCI-CAN/2 card. Also i am having NI CAN 1.5
and MAX 2.2.Since my application is running in Lab view 5.1, i am using this
version. After installing the drivers I mentioned above, I couldn’t able to see
CAN device in MAX. Also is it
possible to do auto detecting CAN devices in Lab view programmatically (like
detecting other PCI DAQ cards)?
Regards,
Natarajan.

Hi
Version 1.5 didn't have MAX support back then. You need to run the configuration tool from your START menu to assign port names.
There is no autodetection within labview. Just use the portnames for the configuration function to create a handle.
DirkW

Similar Messages

  • How do I get my PCI-CAN card to work in my Dell computer?

    I am trying to get a PCI-CAN card working in a Dell GX110 computer. The computer quits right after the initial Dell spalsh screen goes away. After that point, I only get a flashing cursor in the top left corner. NI support suggested a bios upgrade, but the computer is already at the latest bios rev. When I remove the card, the computer boots fine. What do I try next?
    Lars

    The problem may be related to a specific chip ( MITE) on the PCI CAN card. Please call us at 512-795-8248 with the part no and the serial of the PCI CAN card, so that we can verify whether the CAN card may have a hardware problem and have you send the card back to us for repair or to get a replacement.

  • Are there any PCIE CAN Cards Compatible with Labview RT?

    Hi,
    I am looking for a mini PCIE CAN card or PCIE 1X CAN card that will run under Labview RT.  Are any of you using a PCIEC AN card with Labview RT?
    Thanks,
    Phillip

    Hello Phillip,
    I do not believe that we have any PCIe CAN cards. Here is a link to the PCI CAN cards that will work on LabVIEW Real Time(http://sine.ni.com/np/app/main/p/bot/no/ap/icomm/lang/en/pg/1/sn/n24CI,n21:17,n17:icomm,n19:Real%20T...). Please let me know if you have anymore questions. Have a great day!
    Best Regards,
    Adam G 
    National Instruments
    Applications Engineer

  • Will PCI-CAN card work with only 2 wires?

    If I'm using my PCI-CAN card configured for internal power, do I need to connect anything other than CAN-L & CAN-H to my CAN network? I'm doing this right now and am able to correctly receive packets thru the card. However, it appears that my transmitted packets are not being seen by the other nodes. I'll know more when my CANalyzer arrives, but I was wondering if my cabling is OK as-is.

    I currently have a connection set up with only CAN-L and CAN-H wires connected. I am able to transmit and receive with no problems at 500kbs, so it should work as long as the lines are properly terminated. (120ohm resistor bridging the wires at both ends)

  • Need information regarding PCI-CAN????

    Hi,
             This is Harish Chincholi, new to this community.... Currently I am doing my master's programme(M.Tech)... I have been assigned a project on PCI-CAN... its Cross Channel data link using PCI-CAN... In which there are around 4 PC's Connected and data needs to be transmitted by 1 PC and simultaneously should recieve by rest 3 PC's... So I need to know how many PCI-CAN cards do i need to perform this demo. and any particular model(PCI-CAN type).. keeping in mind the cost factor...
    Thanks & Regards,
    Harish Chincholi,
    Project Trainee.. 

    Hello Harish,
    Please see the answer to your first post here.
    O. Proulx
    National Instruments
    www.ni.com/support

  • Is NI-CAN v2.3 & NI PCI-CAN/XS2 with Frame API Thread Safe?

    Hi, I'm downloading a file from the host computer to the modules. When I downloaded the data to the four module at the same time (with 4 threads), I'm getting communication failure ~ 20% of the time. When I synchronized the software, so it will download two modules at a time (using one port from each card at a time). The communication failure disappeared. I just wonder if the NI-CAN software & PCI-CAN/XS2 are thread-safe. I'd appreciate if anyone have any suggestion.
    Information of the software & hardware
    - Computer: Pentium4 2.8GHz, 512M Ram
    - OS: Windows 2000
    - Development Tool: Borland C++ Builder v5
    - NI-CAN v2.3 - The application is using Frame API
    - PCI-CAN/XS2 (SW-Selectable CAN, 2 Ports)
    - CAN bus: 500k High Speed
    Thanks
    Eric

    The NI-CAN software does support threads. What's the specific error
    you're getting that 20% of the time? It may be due to something besides
    the multi-threading.
    Regards,
    Matt S.
    LabVIEW Integration Engineer with experience in LabVIEW Real-Time, LabVIEW FPGA, DAQ, Machine Vision, as well as C/C++. CLAD, working on CLD and CLA.

  • Need PCI-CAN/2 Series 1 card

    Anyone know where I can find an obsolete PCI-CAN/2 Series 1 card?  I need one that will run with the NI-CAN v1.5 driver. 

    Hi Russ,
    You can still get the NI Series 1 CAN cards from National Instruments.  We still recommend using Series 2 now that Series 1 is obsolete, but we do realize that some customers still use old versions of the driver.  Please call 1-866-275-6964 and reference request number 966567 for details on the Series 1 card.  I will try to get some details sent to you as well.
    If you have any questions or trouble getting into contact with anybody, let me know.
    Have a great day!
    Chris R.
    Applications Engineer
    National Instruments

  • LabVIEW using PCI-CAN, Error -2147136366

    Here is a little bit of background. I am trying to use LabVIEW with an old PCI-CAN device. I am using the DNet toolkit for industrial communication. This device has been used by my customer with a LabWindows application which uses the devicenet functions, and is functioning correctly. The first step of the LabWindows application is to call Open DeviceNet Interface, and this is where LabVIEW errors out.
    I was originally using example VIs provided by NI to get the device up and running, however did not have any luck. I finally stripped this down to the simplest version possible and this is what I get. When using the Open DeviceNet Interface.vi and all of the configurations matching the LabWindows application (which runs correctly), I get error code -2147136366. The error message states that the device handle is invalid and to try using the handle created by "Open DeviceNet Interface.vi" (which is the VI I'm trying to run). I have attached the application and error message.
    Any help would be appreciated. Thanks.
    Attachments:
    Block Diagram.PNG ‏12 KB
    Error Details.PNG ‏15 KB
    Front Panel.png ‏19 KB

    Hi kcollier
    Could you let us know exactly which PCI card are you trying to use and which version of LabVIEW and the DeviceNET are you using?
    Since the VI seems like a really simple test, and you connected all the required inputs in it, I can inly think that:
    - The card is not supported by that version of the DeviceNET driver, or
    - The environment is not recognizing the card as a DeviceNET interface
    WenR

  • NI PCI-CAN/XS2 with HP computer.

    I have tried connect a NI PCI-CAN/XS2 into a HP computer (AThlon 64) and it is not recognized. This same board is recognized easily in another computer (DELL, INTEL).
     Could is there a issue with HP Computer ?
    I have the same issue with a  NI DAQ board 6509.
    Thanks a lot.
    Nelson Sartori Junior
    Test Engineer Magneti Marelli Brazil

    Olá Nelson,
    Qual o sistema operacional você está utilizando no computador que não reconhece as placas? No seu post, você disse ser um Athlon 64 bits, e infelizmente ainda não temos drivers desenvolvidos para plataformas 64 bits. Caso você esteja utilizando um computador 64 bits com um sistema operacional 32-bits, as placas devem funcionar adequadamente.
    Which operating system are you using in the computer that doesn't recognize the boards? In your post, you said that it's a Athlon 64 bits, but unfortunately we don't have drivers to 64 bits PCs yet. if you are using a 64 bits computer with a 32 bits OS, the boards might operate without problems.
    Alisson Kokot
    NI BRAZIL

  • Pci can drivers fail to install for ni-can 2.3.3

    after upgrading to labview 8.2, i realized that i needed to upgrade my
    version of ni-can in order to access my pci can interface.  the
    pci can card had been working fine with labview 8.0 and ni can 2.3.2 up
    to this point.  i left the card in the machine, downloaded ni can
    2.3.3, and ran the installer.  however, when i rebooted and the
    "found new hardware" wizard launched, it was unable to locate the
    driver files.  after selecting to let the system locate driver
    files automatically, i recieved the error message:
    there was a problem installing this hardware
    an error occurred during the installation of the device
    the system cannot find the file specified
    i then attempted uninstalling ni can, removing the card, reinstalling
    the software, and THEN reinstalling the card; however this produced the
    same results.  any ideas on what i need to do to get drivers
    installed that will work with labview 8.2?
    thanks.
    Ben.

    Hi
    First of all you need to act with administrator rights.
    It seems something went wrong during driver upgrade. Right now the situation is that you have the 2.3.2 driver installed and the device is in the computer too?
    If not uninstall 2.3.3 and reinstall 2.3.2 and the CAN device and reboot.
    Now remove the CAN device first and after booting again uninstall the driver and delete the NI CAN folder if still available.This will hopefully remove all hardware related information from the registry.
    Then boot again and install the 2.3.3 driver, then boot again and install the device.
    Hope that helps.
    DirkW

  • Kann man die NI PCI-CAN Karte auch in Diadem einbinden ??

    Hab eine Messaufgabe für Diadem, und bekomme die Daten über den Can-Bus geschickt. Erst wollte ich die Daten über OPC an Diadem weiterleiten aber ich dachte mir ich kann den OPC-Server sparen und vieleicht direkt über die NI PCI-CAN Karte die Daten in Diadem auslesen.

    Hallo Curtis!
    Mit der Version 8.1 (+ entsprechender Patch) ist es möglich über den NI-CAN 2.0 Treiber direkt zu kommunizieren (über die Channel API). Auch in der aktuellen Version 9 ist die direkte Kommunikation möglich. Weitere Informationen findest in der Hilfe von DIAdem 9.
    Hope it helps.
    Stefan
    Impossible is nothing - nothing is impossible

  • TI 2407 DSP TO PCI-CAN 2 (high speed card)

    I'm trying to interface the national instruments PCI-CAN2 (high-speed CAN) to the texas instruments TMS320LF2407 CAN module. How can I make the two CAN modules communicate(c Lang)? Also the TMS320LF2407 DSP does not support the RTDX interface so the dsp toolkit will not be useful in my app since I'm not allowed to use memo i/o to monitor. What do I need to do in the code composer environement to communicate back and forth with the can on dsp board (any example code or docs in c will be appreciated)
    could anybody please point me to a starting point
    Thank You very much

    Hello,
    I am not familiar with your TI CAN module but I can help you with the configuration of the National Instruments PCI-CAN Card. A helpful reference is the PCI-CAN user manual located here:
    http://digital.ni.com/manuals.nsf/websearch/6BF779​10C5528D4486256D63004EDE1F?OpenDocument&node=13210​0_US
    You first need to physically wire the two devices together as shown in chapter 4. Next, you should use some of the example programs to get you started programming in your desired language.
    The CAN standard will allow you to communicate between your TI module and your PCI-CAN card, but the format of the data is up to the TI module. You might need to send a "remote CAN frame" to get data back, or the TI module might send data continuously. The data that you
    receive will need to be somehow interpretted, and this is where you will need the help of TI.
    Hope this gives you a place to start. Even if you do not have the card at this point in time, you can download the driver and take a look at the API and the example programs by downloading it here:
    http://digital.ni.com/softlib.nsf/websearch/A84EE3​49DAAEF6A486256E7B00561281?opendocument&node=13207​0_US
    Hope this helps.
    Scott B.
    Applications Engineer
    National Instruments

  • NI PCI-CAN/2 Serie 2 100% Busload

    Hi all,
    I'm trying to generate 100% "NI PCI-CAN/2 Serie 2" card, but I'm only able to reach 60% with 8byte CAN frames and 35% with 1byte CAN frames. I'm using the "CAN Transmit Multiple" example:
    loop:
       //write the frames to the board    
       Status = ncWriteMult (TxHandle0, sizeof(Transmit0), Transmit0);
       //wait until the last frame is send out            
       Status = ncWaitForState (TxHandle0, NC_ST_WRITE_SUCCESS, 2000, 0);
       //This is faster than using ncWaitForState (TxHandle0, NC_ST_WRITE_MULT, 200, 0)
    However there is always a ~85uS gap between the CAN frames. (I'm looping back to the second CAN channel of the card.)
    Does anyone have an idea how to fix this?
    Regards,
    mskr
     

    Sorry for not posting the whole code but only the loop fragment - but here it is:
    CAN Transmit multiple.c
    Demonstrates how to transmit multiple CAN Frames in one Burst via the Network Interface.
    Time Difference is related to the first frame which always has to have a timestamp of zero.
    In Timestamp Mode, these frames will be sent out using the specified time differences.
    In Immediate Mode all frames will be send out back to back in one burst.
    #include <stdio.h> // Include file for printf
    #include <stdlib.h> // Include file for strtol
    #include <windows.h> // Include file for Win32 time functions
    #include <conio.h> // Include file for _getch/_kbhit
    #include <string.h>
    #include "Nican.h" // Include file for NI-CAN functions and constants
    #define NUM_TX_CNT 256
    /* NI-CAN handles */
    NCTYPE_OBJH TxHandle=0;
    /* Print a description of an NI-CAN error/warning. */
    void PrintStat(NCTYPE_STATUS status, char *source)
    char statusString[1024];
    if (status != 0)
    ncStatusToString(status, sizeof(statusString), statusString);
    printf("\n%s\nSource = %s\n", statusString, source);
    // close object handle, then exit.
    ncCloseObject(TxHandle);
    exit(1);
    int getch_noblock()
    if (_kbhit())
    return _getch();
    else
    return -1;
    int main ()
    NCTYPE_CAN_STRUCT Transmit[NUM_TX_CNT];
    NCTYPE_UINT32 TXMode = 0;
    NCTYPE_ATTRID AttrIdList[8];
    NCTYPE_UINT32 AttrValueList[8];
    NCTYPE_UINT32 Baudrate = 1000000;
    NCTYPE_STATUS Status;
    char Interface[7] = "CAN0";
    int NumFrames = NUM_TX_CNT;
    int iDataLoop, iLoop;
    int ch;
    int frame_id_curr, frame_id_cnt;
    unsigned int packet_cnt = 0;
    /* Configure the CAN Network Interface Object */
    AttrIdList[0] = NC_ATTR_BAUD_RATE;
    AttrValueList[0] = Baudrate;
    AttrIdList[1] = NC_ATTR_START_ON_OPEN;
    AttrValueList[1] = NC_FALSE;
    AttrIdList[2] = NC_ATTR_READ_Q_LEN;
    AttrValueList[2] = 0;
    AttrIdList[3] = NC_ATTR_WRITE_Q_LEN;
    AttrValueList[3] = NumFrames;
    AttrIdList[4] = NC_ATTR_CAN_COMP_STD;
    AttrValueList[4] = 0;
    AttrIdList[5] = NC_ATTR_CAN_MASK_STD;
    AttrValueList[5] = NC_CAN_MASK_STD_DONTCARE;
    AttrIdList[6] = NC_ATTR_CAN_COMP_XTD;
    AttrValueList[6] = 0;
    AttrIdList[7] = NC_ATTR_CAN_MASK_XTD;
    AttrValueList[7] = NC_CAN_MASK_XTD_DONTCARE;
    Status = ncConfig(Interface, 8, AttrIdList, AttrValueList);
    if (Status < 0)
    PrintStat(Status, "ncConfig");
    /* open the CAN Network Interface Object */
    Status = ncOpenObject(Interface, &TxHandle);
    if (Status < 0)
    PrintStat(Status, "ncOpenObject");
    for(iLoop = 0; iLoop < NUM_TX_CNT; iLoop++)
    Transmit[iLoop].ArbitrationId = iLoop;
    Transmit[iLoop].DataLength = 8;
    Transmit[iLoop].FrameType = NC_FRMTYPE_DATA;
    //Transmit[iLoop].Timestamp.HighPart = 0;
    /* The Timestamp resolution is ms, so only the low part is needed as multiple of 100ns */
    //Transmit[iLoop].Timestamp.LowPart = time_dff[iLoop]*10000;
    /* print out the instructions to the I/O window */
    printf("\nRunning on CAN0 ...\n\nPress 't' to transmit the frames timestamped (PXI/PCI/PCMCIA only)");
    printf("\n\nPress 'n' to transmit the frames back to back\n\nPress 'q' to quit\n\n");
    /*Transmit frames each time the user selects to*/
    frame_id_curr = 0;
    do
    ch = _getch();
    if (ch == 'n')
    int ch1;
    //Start Communication with ncAction
    Status = ncAction (TxHandle, NC_OP_START, 0);
    if (Status < 0)
    PrintStat(Status, "ncAction");
    frame_id_curr = 0;
    frame_id_cnt = 0;
    packet_cnt = 1;
    do {
    ch1 = getch_noblock();
    for (iLoop = 0; iLoop < NUM_TX_CNT; iLoop++)
    Transmit[iLoop].ArbitrationId = frame_id_curr++;
    memset(Transmit[iLoop].Data, 0, 8);
    *((unsigned int *)(Transmit[iLoop].Data)) = packet_cnt++;
    if (frame_id_curr == 0x800)
    frame_id_curr = 0;
    frame_id_cnt++;
    //write the frames to the board
    Status = ncWriteMult (TxHandle, sizeof(Transmit), Transmit);
    if (Status < 0)
    PrintStat(Status, "ncWrite");
    //wait until the last frame is send out
    Status = ncWaitForState (TxHandle, NC_ST_WRITE_SUCCESS, 2000, 0);
    if (Status < 0)
    PrintStat(Status, "ncWaitForState1");
    //wait until there is free space
    //do {
    // Status = ncWaitForState (TxHandle, NC_ST_WRITE_MULT, 200, 0);
    //} while (Status < 0);
    } while (ch1 == -1);
    //wait until the last frame is send out
    Status = ncWaitForState (TxHandle, NC_ST_WRITE_SUCCESS, 2000,0);
    if (Status < 0)
    PrintStat(Status, "ncWaitForState");
    //stop communication to set the TXMode for the next write
    Status = ncAction (TxHandle, NC_OP_STOP, 0);
    if (Status < 0)
    PrintStat(Status, "ncAction");
    Sleep(100);
    } while (ch != 'q');
    /* Close the Network Interface Object */
    Status = ncCloseObject(TxHandle);
    if (Status < 0)
    PrintStat(Status, "ncCloseObject");
    return 0;

  • Query on PCI-CAN????

    Hi,
             This is Harish Chincholi, new to this community.... Currently I am doing my master's programme(M.Tech)... I have been assigned a project on PCI-CAN... its Cross Channel data link using PCI-CAN... In which there are around 4 PC's Connected and data needs to be transmitted by 1 PC and simultaneously should recieve by rest 3 PC's... So I need to know how many PCI-CAN cards do i need to perform this demo. and any particular model(PCI-CAN type).. keeping in mind the cost factor...
    Thanks & Regards,
    Harish Chincholi,
    Project Trainee.. 
    Kudos! Thanks!

    Hello Harish,
    You will need a PCI-CAN card in each PC.  A single port high speed card should be fine for this application.  If cost is an issue, you can also look at the USB-CAN modules.  Please note that these modules do not support the Channel API, so if you just want to send raw CAN frames from one computer to the three others, this would do.
    Please let me know if you have any other questions or need more information to make your decision.
    Have a great day.       
    O. Proulx
    National Instruments
    www.ni.com/support

  • Looking for Pinout - PCI-CAN 18472E-02 DSUB 9pin

    Hello,
    I've got a PCI-CAN card from 2003 that I can't seem to find much information about:
    NI CAN Series 1 card. Connector is 9-pin D-Sub -   Part Number: 184726E-02 
    Anyone have a pinout or know if this follows the normal NI CAN 9pin output?  There's nothing in MAX and nothing from Google or NI from what I was able to search.
    Thank you!
    Solved!
    Go to Solution.

    Hi Waterppk,
    The pinout of the 9-pin D-Sub CAN connector is basically identical for Series 1/2, PCMCIA, PCI, PXI, AND USB interfaces (differences center around the usage of pin 9: "V+" ).
    You can find the most recent version of the manual here: NI-CAN Hardware and Software Manual and Specifications
    Chapter 4 'Connectors and Cables' describes the pinout in detail (see page 4-2) .
    -B2k

Maybe you are looking for

  • Time Machine says both of my external hard drives require reformatting to case insensitive. What do I do?

    I have been successfuly using Time Machine to back my iMac  to an external hard drive (via usb) and everything has been fine for the last year. I have been using TM to back up to a HD called Terra LaCie via usb. A week ago, my iMac hard drive was ful

  • Trying to get old data off a g4 tower

    Hi- I am trying to get old data off a g4 tower using macbook and firewire but I am not succeeding. My old monitor doesn't seem to work. Any suggestions greatly appreciated. I also have a Gdrive if that might work.

  • Disadvantage of PreparedStatement

    I dont see how a sequence can be used with prepared statement... If I want to set pstmt.setInt(1,sequence.nextval) ?? This cant be done without creating another query to check the nextval of the sequence... In a normal Statement I can do this.... INS

  • My ipod touch fourth generation keyboard and unlock button are not working

    my ipod touch fourth generation was working at one moment and then when i went to unlock the screen and type in the passcode it would not let me swype the unlock button and when i turned it off and back on again and the passcode section popped up it

  • Problems with Manifest building jar file

    Hello all, i try to deploy my application in a jar file. I also have some libs to deploy with my application. My app.jar and my lib.jar are in the same directory. My Manifest looks like: Manifest-Version: 1.0 Main-Class: parser.Parser Class-Path: lib