Exemples de code bus CAN avec l'API C

Bonjour,
Je suis débutant en bus CAN et je dois utiliser le module NI-USB-8473 pour commander un périphique.
Alors est ce vous savez où je pourrais trouver des exemples de code en C qui utilsent l'API C pour controler mon module NI-USB-8473?
Merci
Résolu !
Accéder à la solution.

Si vous n'avez pas ce répertoire, cela signifie que els drivers CAN ne sont pas installés. Vous pouvez les télécharger à l'adresse suivante:
NI-CAN 2.7.4 - PharLap, VxWorks, Windows 7 64-bit/7 32-bit/XP (SP3) 32-bit
http://joule.ni.com/nidu/cds/view/p/id/3152/lang/en
Quand á votre application, je ne peux malheureusement pas vous conseiller. Le driver CAn est composé de deux API: Une basée sur les cannaux (CAN Channel API) et une sur les frames (CAN Frames API). Les cartes USB 847x n'ont par leur architectures qu'un support limité pour les Frames. Il est impossible de répondre quand aux implications que celá aura sur votre projet sans en connaître la documentation complète. Même avec cette documentation, je ne pense pas que quelqu'un du forum prennent plusieurs heures pour faire une étude de cas sur cette documentation: ce travail vous reviens.
Si cette limitation se révèle décisive pour votre application, il fauidra peut être changer le Hardware: les modules 9861 et 9862 peuvent aussi être connecté par USB et supportent les derniers Drivers de National instruments: XNET (API Générale de gestion de communications CAN, LIN et FlexRay).
Plus d'infos sur les features des différents produits de la gamme:
NI CAN Product Compatibility and Feature Table
http://www.ni.com/white-paper/5859/en
Cordialement
Florian Abry
Application Engineer Group Leader
NI Germany

Similar Messages

  • Where can I find the original code for class in Java API

    I am learning Java programming and wanted to see how professionals handel all cases. Can anyone tell me where I can find the original implementation code for classes in Java API? It would be a great help for me.

    the basic source is where you installed java in a file called java.src, its either in the main dir of one of the sub dirs ( mmm ), contains all the source code for all the classes in the api.

  • Can't locate API module structure `mod_auth_ntlm_winbind'

    Hi, I am trying to use modauth_ntlmwinbind with OS X Server 10.5.7. I can compile it for the four architectures with:
    sudo ./configure APXS_CFLAGS='-arch ppc -arch ppc64 -arch i386 -arch x86_64' APXSLDFLAGS='-arch ppc -arch ppc64 -arch i386 -arch x86_64' --with-apxs=/usr/sbin/apxs
    otool -fv modauth_ntlmwinbind.so
    Fat headers
    fat_magic FAT_MAGIC
    nfat_arch 4
    architecture ppc7400
    cputype CPUTYPEPOWERPC
    cpusubtype CPUSUBTYPE_POWERPC7400
    capabilities 0x0
    offset 4096
    size 22792
    align 2^12 (4096)
    architecture ppc64
    cputype CPUTYPEPOWERPC64
    cpusubtype CPUSUBTYPE_POWERPC64ALL
    capabilities 0x0
    offset 28672
    size 23000
    align 2^12 (4096)
    architecture i386
    cputype CPUTYPEI386
    cpusubtype CPUSUBTYPE_I386ALL
    capabilities 0x0
    offset 53248
    size 22336
    align 2^12 (4096)
    architecture x86_64
    cputype CPUTYPE_X8664
    cpusubtype CPUSUBTYPE_X86_64ALL
    capabilities 0x0
    offset 77824
    size 22872
    align 2^12 (4096)
    When I start Apache with httpd or apachectl I get:
    httpd: Syntax error on line 93 of /private/etc/apache2/httpd.conf: Can't locate API module structure `modauth_ntlmwinbind' in file /usr/libexec/apache2/modauth_ntlmwinbind.so: dlsym(0x100200560, modauth_ntlmwinbind): symbol not found
    It is not fixed by commenting out the DYDLDLIBRARYPATH env variable.
    line 93 in httpd.conf
    LoadModule modauth_ntlmwinbind libexec/apache2/modauth_ntlmwinbind.so
    LoadModule authnfilemodule libexec/apache2/modauthnfile.so
    line 94 works and is included to show it is the same. I'm stumped. What symbol is it looking for?
    Thank you for any help.

    It really doesn't matter that the other libraries/modules are built as UBs. The OS is going to load only those portions that work with the specific hardware/OS capabilities. It will not load/run a x86_64 binary on a PPC64 machine.
    A question; are you trying to compile an x86 module on a PPC machine or a PPC module on a PPC64 machine? If you are you aren't going to get this to work without cross-compiling. The module may build correctly but won't load/run because the machine code is going to be wrong.

  • NI sbRIO 9636 utilisatio​n de 2 bus CAN

    Bonjour,
    Pour mon projet, j'aurais besoin de faire de l'acquisition de données et de la communication vers 2 BUS CAN distinct.
    J'ai opté pour une carte NI sbRIO 9636.
    Dans les datasheets j'ai pu voir que cette carte disposait d'un connecteur CAN, j'ai aussi trouvé des broches CAN (GP_PORT : O, 1 et 5) sur le connecteur RMC.
    Ma question est de savoir est-ce que les broches CAN du connecteur RMC correspondent au même bus CAN que celui du connecteur CAN.
     - Si ce n'est pas le cas, est-il possible de les utiliser les deux simultanément tout en respectant le fait que les deux soient distinct
     - Si c'est le cas, existe t-il des cartes de type sbRIO incluant deux bus can, sinon il y a t-il un moyen d'étendre la carte afin d’intégrer un deuxième port de communication CAN
    En vous remerciant par avance
    Nassim

    Hello,
    Il y a un bien un connecteur CAN intégré sur certaines sbRIO. Ce dernier utilise un driver à part entière et le microprocesseur associé au port CAN est en fait le processeur de la sbRIO. Le connecteur RMC permet d'ajouter une carte fille potentiellement personnalisable pour rajouter des fonctionnalités à la sbRIO. Effectivement certaines I/O du connecteur peuvent être utilisées pour faire du CAN, mais :
    - il faut créer la carte-fille de toute pièce.
    - il faut créer le driver pilotant les I/Os du connecteur via le FPGA.
    En soit, c'est donc possible mais fastidieux et peu documenté (solution réservée majoritairement à nos clients/partenaires qui font de l'OEM). Comme décrit implicitement, dans ce cas, les ports CAN ne seraient pas reliés.
    Autre solution : Depuis LabVIEW 2013 (RIO 13.0), le module 9853 est supporté sur sbRIO : il est donc possible via la carte-fille NI-9693 de rajouter un (voire 2!) module CAN à 2 ports. Vous aurez ainsi jusqu'à 3 ports CAN sur la sbRIO. Les examples et drivers existent déjà, donc peut de choses à redévelopper. L'inconvénient vient plutot du facteur de forme, puisqu'on rajoute un peu d'encombrement avec la 9693 et le 9853
    Liens :
    - http://sine.ni.com/nips/cds/view/p/lang/en/nid/210​790
    - http://sine.ni.com/nips/cds/view/p/lang/en/nid/201​972
    Cdt,
    Eric M. - Application Engineering Specialist
    Certified LabVIEW Architect
    Certified LabWindows™/CVI Developer

  • How can i turn a photoshop file into a website with knowing code? can i upload Muse or DreamWeaver?

    How can i turn a photoshop file into a website with knowing code? can i upload Muse or DreamWeaver?
    I created a few images (pages for a site) on photoshop and want to turn them into HTML code for a website- Can i Just upload the file into one of these programs and make a file with the correct code imediatly?
    I was reading about using EDGE Reform but i did not understand if i can create the code with it, in the end it says it still needs to be sent to website developer after?

    You need to look at Dreamweaver as a code editor. You need to learn to create good, clean HTML code with style sheets to make websites with Dreamweaver.
    There are tutorials that will take you from a layered .PSD file to HTML. Here's a good one:
    http://net.tutsplus.com/tutorials/site-builds/from-psd-to-html-building-a-set-of-website-d esigns-step-by-step/
    Adobe's Muse is a semi-WYSIWYG website layout creator for small websites (1-5 pages). But there is no way you can go from a .PDS file to Muse, you have to start the site in Muse.
    I have seen a few Muse sites and they're OK, but there is some code that Muse creates that is kind of odd. If you want a good, clean website that will work for you or your business, Dreamweaver is the best choice. Alternatively, you could hire a pro.
    -Mark

  • The company code 5000 can no longer be initialized

    Hi,
    In omsy, i need to change the year from 2012 to 2011 but is not able to do so and gives the error MM011 (the company code 5000 can no longer be initialized). I have the materials and PO but GR is not done. Kindly help
    << Priority normalized >>
    Regards,
    Edited by: Rob Burbank on Jan 5, 2012 10:18 AM

    Hi,
    Please search on net before posting on net
    check following link for your query
    [LINK|http://www.google.co.in/search?q=thecompanycode+cannolongerbeinitialized&hl=en&source=hp&gbv=2&gs_sm=e&gs_upl=640l640l0l1140l1l1l0l0l0l0l0l0ll0l0&oq=thecompanycode+cannolongerbeinitialized&aq=f&aqi=&aql=]

  • TS1292 hi, I've got itunes music card for my birthday and when I scratch the back to redeem the code everything gone, so no code, what can I do?

    hi, I've got itunes music card for my birthday and when I scratched the back to redeem the code everything gone, so no code, what can I do? I've been to tesco to customer service and they told to contact itunes support

    These are user-to-user forums. If the page that you posted from doesn't help then you can try contacting iTunes Support via this page (you will probably need to give them images of the front and back of the card, and possibly its receipt) : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then iTunes Cards And Codes

  • I have a ipod nano 1st and 2nd generation and am trying to put music on it but every time windows says one of the usb devices attached to this computer has malufunctioned and windows does not recognize it code 43 can someone help me please

    i have a ipod nano 1st and 2nd generation and am trying to put music on it but every time windows says one of the usb devices attached to this computer has malufunctioned and windows does not recognize it code 43 can someone help me please

    Try putting it into "Disk Mode" http://docs.info.apple.com/article.html?artnum=93651
    Then with it in this mode connect it to the PC and try to run the latest iPod updater to do a restore and update software if you have the option. the latest iPod updater is 2006-03-23 and can be downloaded here http://www.apple.com/ipod/download/

  • I installed Adobe Photoshop Elements 11 in my computer before. Right now I'm not using that computer anymore and want to re-install the software to a new computer. I still have the redemption code. Can you please provide me the download link or which ever

    I installed Adobe Photoshop Elements 11 in my computer before. Right now I'm not using that computer anymore and want to re-install the software to a new computer. I still have the redemption code. Can you please provide me the download link or which ever way I can re-install the software to the new computer? Thank you.

    Hi,
    Please go to the link below to download Photoshop elements 11
    http://helpx.adobe.com/photoshop-elements/kb/photoshop-elements-10-11-downloads.html
    To get your serial number from redemption code click on the link below
    https://redeem.licenses.adobe.com/getserial/s/redeem
    Thank you,
    Mohd. Naseem

  • My iphone 3g is in reset mode and i tunes will not reset. it pops an error message with no code. how can i get i tunes to rest my phone?

    my iphone 3g is in reset mode and i tunes will not reset. it pops an error message with no code. how can i get i tunes to rest my phone?

    No need to Double Post... It is considered impolite.
    https://discussions.apple.com/message/20652820#20652820

  • I cannot remember my access code. how can I find it, or turn it off to put in a new code?

    i cannot remember my access code. how can I find it, or turn it off to put in a new code?

    (click to enlarge)
    Connect it to a computer
    click sync
    then click restore
    than restore with the backup created when you synced

  • Can you help? I lost my code and can't pay for a song.

    I have $8.51 in itunes but can't use it because I don't have my code. Can you help me please?
    Thanks

    Pressing "Yes" when iTunes brings up the dialogue window asking whether you want to replace the songs on your iPod with the songs in this iTunes unfortunately does exactly what it says. If you linked to an iTunes with only a few or completely different songs it will have erased your original iPod song list. There are some data recovery programs on the market. I've no personal experience of them so I can't say how effective they are, here's an example: iPod Data Recovery</a
    None of the recovery programs are particularly cheap so you have to decide if in your particular circumstances it's worth it to get your songs back. It may be if you have a lot of purchased tracks which you will have to pay to download again. If they came primarily from your CDs then it's most likely not as you can re-rip them.

  • Error code 1611 can anyone help

    hi their just got my iphone 4 home then tried to sync with my hp laptop then get this error code 1611 can anyone help thanks

    yeh tried that already still no joy the iphone sync with my old laptop and works fine but my old laptop is on its last legs thats why i dont want to use that one

  • HT201210 i bought a iphone 3g from market yesterday and the phone is showing a usb an also itunes logo on the screen, the ive tryed restore and update, but once this has finished it gives me erra code (1015) can anybody help me plz

    i bought a iphone 3g from market yesterday and the phone is showing a usb an also itunes logo on the screen, the ive tryed restore and update, but once this has finished it gives me erra code (1015) can anybody help me plz

    Error 1015: This error is typically caused by attempts to downgrade the iPhone, iPad, or iPod touch's software. This can occur when you attempt to restore using an older .ipsw file. Downgrading to a previous version is not supported. To resolve this issue, attempt to restore with the latest iPhone, iPad, or iPod touch software available from Apple. This error can also occur when an unauthorized modification of the iOS has occurred and you are now trying to restore to an authorized, default state.
    http://support.apple.com/kb/TS3694#error1015.

  • Java Code  that can find all the specified functions in a sql statement

    If i pass a string like
    SELECT CONCAT(region_name,store_name) , length( region_name) , region_name || store_name, region_name, store_name FROM Geography
    WHERE store_name = 'Boston';
    Then my code should return
    CONCAT(region_name,store_name)
    length( region_name)
    region_name || store_name
    i.e all function related stuff. Is there any parser in java that can parse all the functions a sql or ny code that can d that. Any help is highly appreciated

    I suspect a regular expression may be able to handle this, or 'grep'. Why do you need to do it in Java?

Maybe you are looking for

  • IMessage beta loose all saved conversations when I open and close a window.

    iMessage beta looses all saved conversations when I open and close a window. Just reporting this bug... Could not find anyother place to do it. Jonathan

  • Problem with post_login after Upgrade to 4.1.1.00.23

    Hi, i upgraded the APEX environment from 4.1 to 4.1.1.00.23 via p13331096_112020_Generic.zip. And now the page sentry NTLM via PL/SQL (see http://jastraub.blogspot.com/2008/03/ntlm-http-authentication-and.html) doesn't work :-( I think the cookie via

  • BW Variable as Prompt values in Xcelsius

    Hi Experts, We want to create Xcelsius report based on BW Query. We can't use direct connection BW/Xcelsius because we haven't stack Java installed. So we have used the other method : - Universe on Query result - QaawS on this universe - Connection w

  • Mac Mini 2005 is very slow

    Hello, My uncle gave me a free Mac Mini 2005 model when he purchased a newer model. The wireless wasn't working with it so I fixed it. From what he said the Mac was always slow, but lately my Mac has gotten a lot slower than normal. I don't know what

  • Few Problems

    I have a few problems and i dunno how to contact apple. - One of the pixels in my screen is burnt (or however you say that) and it looks red all the time. - The audio output (for headphones) doesn't work right, every time i plug in some headphones y