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

Similar Messages

  • How I can change this query, so I can display the name and scores in one r

    How I can change this query, so I can add the ID from the table SPRIDEN
    as of now is giving me what I want:
    1,543     A05     24     A01     24     BAC     24     BAE     24     A02     20     BAM     20in one line but I would like to add the id and name that are stored in the table SPRIDEN
    SELECT sortest_pidm,
           max(decode(rn,1,sortest_tesc_code)) tesc_code1,
           max(decode(rn,1,score)) score1,
           max(decode(rn,2,sortest_tesc_code)) tesc_code2,
           max(decode(rn,2,score)) score2,
           max(decode(rn,3,sortest_tesc_code)) tesc_code3,
           max(decode(rn,3,score))  score3,
           max(decode(rn,4,sortest_tesc_code)) tesc_code4,
           max(decode(rn,4,score))  score4,
           max(decode(rn,5,sortest_tesc_code)) tesc_code5,
           max(decode(rn,5,score))  score5,
           max(decode(rn,6,sortest_tesc_code)) tesc_code6,
           max(decode(rn,6,score))  score6        
      FROM (select sortest_pidm,
                   sortest_tesc_code,
                   score,
                  row_number() over (partition by sortest_pidm order by score desc) rn
              FROM (select sortest_pidm,
                           sortest_tesc_code,
                           max(sortest_test_score) score
                      from sortest,SPRIDEN
                      where
                      SPRIDEN_pidm =SORTEST_PIDM
                    AND   sortest_tesc_code in ('A01','BAE','A02','BAM','A05','BAC')
                     and  sortest_pidm is not null 
                    GROUP BY sortest_pidm, sortest_tesc_code))
                    GROUP BY sortest_pidm;
                   

    Hi,
    That depends on whether spriden_pidm is unique, and on what you want for results.
    Whenever you have a problem, post a little sample data (CREATE TABLE and INSERT statements, relevamnt columns only) for all tables, and the results you want from that data.
    If you can illustrate your problem using commonly available tables (such as those in the scott or hr schemas) then you don't have to post any sample data; just post the results you want.
    Either way, explain how you get those results from that data.
    Always say which version of Oracle you're using.
    It looks like you're doing something similiar to the following.
    Using the emp and dept tables in the scott schema, produce one row of output per department showing the highest salary in each job, for a given set of jobs:
    DEPTNO DNAME          LOC           JOB_1   SAL_1 JOB_2   SAL_2 JOB_3   SAL_3
        20 RESEARCH       DALLAS        ANALYST  3000 MANAGER  2975 CLERK    1100
        10 ACCOUNTING     NEW YORK      MANAGER  2450 CLERK    1300
        30 SALES          CHICAGO       MANAGER  2850 CLERK     950On each row, the jobs are listed in order by the highest salary.
    This seems to be analagous to what you're doing. The roles played by sortest_pidm, sortest_tesc_code and sortest_test_score in your sortest table are played by deptno, job and sal in the emp table. The roles played by spriden_pidm, id and name in your spriden table are played by deptno, dname and loc in the dept table.
    It sounds like you already have something like the query below, that produces the correct output, except that it does not include the dname and loc columns from the dept table.
    SELECT    deptno
    ,       MAX (DECODE (rn, 1, job))     AS job_1
    ,       MAX (DECODE (rn, 1, max_sal))     AS sal_1
    ,       MAX (DECODE (rn, 2, job))     AS job_2
    ,       MAX (DECODE (rn, 2, max_sal))     AS sal_2
    ,       MAX (DECODE (rn, 3, job))     AS job_3
    ,       MAX (DECODE (rn, 3, max_sal))     AS sal_3
    FROM       (
               SELECT    deptno
               ,          job
               ,          max_sal
               ,          ROW_NUMBER () OVER ( PARTITION BY  deptno
                                              ORDER BY          max_sal     DESC
                                )         AS rn
               FROM     (
                             SELECT    e.deptno
                       ,           e.job
                       ,           MAX (e.sal)     AS max_sal
                       FROM      scott.emp        e
                       ,           scott.dept   d
                       WHERE     e.deptno        = d.deptno
                       AND           e.job        IN ('ANALYST', 'CLERK', 'MANAGER')
                       GROUP BY  e.deptno
                       ,           e.job
    GROUP BY  deptno
    ;Since dept.deptno is unique, there will only be one dname and one loc for each deptno, so we can change the query by replacing "deptno" with "deptno, dname, loc" throughout the query (except in the join condition, of course):
    SELECT    deptno, dname, loc                    -- Changed
    ,       MAX (DECODE (rn, 1, job))     AS job_1
    ,       MAX (DECODE (rn, 1, max_sal))     AS sal_1
    ,       MAX (DECODE (rn, 2, job))     AS job_2
    ,       MAX (DECODE (rn, 2, max_sal))     AS sal_2
    ,       MAX (DECODE (rn, 3, job))     AS job_3
    ,       MAX (DECODE (rn, 3, max_sal))     AS sal_3
    FROM       (
               SELECT    deptno, dname, loc          -- Changed
               ,          job
               ,          max_sal
               ,          ROW_NUMBER () OVER ( PARTITION BY  deptno      -- , dname, loc     -- Changed
                                              ORDER BY          max_sal      DESC
                                )         AS rn
               FROM     (
                             SELECT    e.deptno, d.dname, d.loc                    -- Changed
                       ,           e.job
                       ,           MAX (e.sal)     AS max_sal
                       FROM      scott.emp        e
                       ,           scott.dept   d
                       WHERE     e.deptno        = d.deptno
                       AND           e.job        IN ('ANALYST', 'CLERK', 'MANAGER')
                       GROUP BY  e.deptno, d.dname, d.loc                    -- Changed
                       ,           e.job
    GROUP BY  deptno, dname, loc                    -- Changed
    ;Actually, you can keep using just deptno in the analytic PARTITION BY clause. It might be a little more efficient to just use deptno, like I did above, but it won't change the results if you use all 3, if there is only 1 danme and 1 loc per deptno.
    By the way, you don't need so many sub-queries. You're using the inner sub-query to compute the MAX, and the outer sub-query to compute rn. Analytic functions are computed after aggregate fucntions, so you can do both in the same sub-query like this:
    SELECT    deptno, dname, loc
    ,       MAX (DECODE (rn, 1, job))     AS job_1
    ,       MAX (DECODE (rn, 1, max_sal))     AS sal_1
    ,       MAX (DECODE (rn, 2, job))     AS job_2
    ,       MAX (DECODE (rn, 2, max_sal))     AS sal_2
    ,       MAX (DECODE (rn, 3, job))     AS job_3
    ,       MAX (DECODE (rn, 3, max_sal))     AS sal_3
    FROM       (
                   SELECT    e.deptno, d.dname, d.loc
              ,       e.job
              ,       MAX (e.sal)     AS max_sal
              ,       ROW_NUMBER () OVER ( PARTITION BY  e.deptno
                                           ORDER BY       MAX (sal)     DESC
                                          )       AS rn
              FROM      scott.emp    e
              ,       scott.dept   d
              WHERE     e.deptno        = d.deptno
              AND       e.job                IN ('ANALYST', 'CLERK', 'MANAGER')
                  GROUP BY  e.deptno, d.dname, d.loc
              ,       e.job
    GROUP BY  deptno, dname, loc
    ;This will work in Oracle 8.1 and up. In Oracle 11, however, it's better to use the SELECT ... PIVOT feature.

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

  • A charicteristic  exists in a query,but i can't  find it in the cube from

    Hi:
    There is a charicteristic  in a query, but i can't  find it in the char list in the multiinfocube from which the query retrieve data.  so  why did the charicteristic exist in the char list of the query?

    Hi Guixin,
    A navigational attribute allows you to include data from this attribute independantly in the query and use it in all navigation functions. It behaves exactly like a characteristic in a query, but unlike a characteristic, the values for the navigational attribute are not stored in the InfoCube; the values are pulled from the master data tables. Lets say you have Customer info coming in as transactional data and have Customer included in your cube. Now you also want to filter by country of Customer, but Country is not provided in the transactional data. You can include Country from the Customer attributes (navigational) as a navigational attribute in your cube, and use it in your queries.
    Hope this helps...

  • 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

  • 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

  • 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

Maybe you are looking for