Problème de connection carte Arduino Uno : Erreur 5005

Bonjour,
Dans le cadre de notre projet de licence pro AII (Automatimes et Informatique Industriel), nous devons faire communiquer une carte Arduino UNO avec le logiciel LabVIEW.
-Nous avons donc téléchargé via VI Package Manager le package : "LabVIEW Interface for Arduino".
-Installé le logiciel Arduino.
-Installé les pilotes de la carte Arduino UNO, trouvés dans le répertoire : "C:\Program Files\Arduino\drivers".
-La carte est bien visible depuis le panneau de configuration Windows, elle est defini sur le port "COM2".
-Compilé et transféré le fichier "LIFA_Base.ino" sur notre carte avec succes.
Lorsque nous essayons d'utiliser un des programmes exemple, le programme nous renvoie l'erreur 5005 si on utilise le bloc "auto detect arduino" :
Et si on défini le port "COM2" en constante nous avons une autre erreur : "-1073807342" :
Comment pourrions nous faire communiquer la carte avec LabVIEW?
Cordialement,
Théo Vandewiele.

Bonjour Théo,
En cherchant "error 5005 ardruino" sur google, le premier résultat est un document qui pourrait vous aider :
Why Do I Get Error 5005 When Using the LabVIEW Interface for Arduino?
http://digital.ni.com/public.nsf/allkb/3DFDB07DC04B036686257885005981E1
Bon courage,
Pierre V, Application Engineer
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;}
LabVIEW Tour
Journées Techniques dans 10 villes en France, du 4 au 20 novembre 2014

Similar Messages

  • Mac does not show UBS as a serial port option for Arduino Uno

    Hi,
    My Macbook Air with Mavericks will not show a USB connection to Arduino Uno Rev 3. I have tried installing the drivers from: http://www.ftdichip.com/Drivers/VCP.htm but still no luck. Any suggestions appreciated.
    Regards,
    Alex

    I'm running Yosemite on a Late 2011 MacBook Pro...
    I've used Arduino IDE 1.0.5 and have recently upgraded to Arduino IDE 1.6.1
    I've never had to install special USB drivers.
    I simply connect the Arduino UNO R3 to the USB port.
    In Terminal, perform the following command
    ls -al /dev/tty.usb*
    This command will list the USB port for the Arduino, e.g. /dev/tty.usbmodemfa131
    Sure enough, this device appears under Arduino -> Tools -> Port
    Make sure the Arduino is connected to the USB port.

  • Programmer une carte arduino sous labview

    Bonjour
    s'il vous plait j'ai une carte arduino uno que je vais l'utiliser pour l'acquisition des donner j'aimerais que vous m'aidiez a la programmer avec labview .
    j'ai branché ma carte avec un switch qui va me donner soit l'état 0 soit 1 ;
    changement de 0 à 1 = marche
    changement de 1 à 0 = arret
    mon programme labview doit détecter le changement d'état et calculer la durée pendant laquelle on a cette état et insère ces résultats dans un tableau ou on a l'instant du marche , la durée de marche , instant d'arret , la durée d'arret

    L'utilisation de LIFA est interessant mais elle déporte le traitement sur le PC et on perd la capacité de traitement qu'a la carte arduino. 
    Il me semble plus interessant de développer la partie traitement  (au moins celle qui a besoin de "temps réel" )  au sein de la carte arduino puis de communiquer via la liaison série les données à afficher et/ou les données de commande.
    Pour cela, je cherche un exemple de VI et le programme arduino correspondant qui gère cette liaison série
    Pour mieux cibler ma demande, je travaille avec ce petit robot http://www.geeros.com/fr/accueil.html
    et je voudrais pouvoir reconstruire avec labview l'interface qui permet de communiquer avec une des expériences embarquées
    http://blog.3sigma.fr/arduino/tutoriel-arduino-ass​ervissement-en-vitesse-dun-moteur-a-courant-contin​...
    (l'interface actuelle se trouve lahttp://www.3sigma.fr/Telechargements.html)
    cordialement
    Sinon on attend toujours soit un compilateur labview pour adruino, soit une carte équivalente à faible coût compatible labview  (une évolution du MyDaq)
    Robert Papanicola
    http://sciences-indus-cpge.papanicola.info/
    http://www.medicalistes.org/~maxime-plus/

  • HT201210 Mon iphone affiche la prise et itunes sur l' ecran ?   je restaure mais il finit toujours par   iphone non retauré et erreur 21    .  COMMENT Résoudre ce problème Je pense à un problème de connection avec la batterie ?

    Mon iphone affiche la prise et itunes sur l' ecran ?   je restaure mais il finit toujours par   iphone non retauré et erreur 21    .  COMMENT Résoudre ce problème Je pense à un problème de connection avec la batterie ?

    Illustrator CC uses the Pantone Plus series, there is no CMYK definition for the spot colours in these series.
    The CMYK conversion is now based on the CMYK profile in your Color Settings.
    This is a good thing, since most of the Pantone colours cannot be accurately reproduced in CMYK, colour management provides a way to simulate the spot colours as close as possible for your combination of ink, paper and press.
    The CMYK values that were previously given by Pantone were just one way of simulating the spot colours and would give different results when another ink, paper, press combination was used.
    Sometimes the CMYK values from Pantone were completely off and you give a perfect example with the Pantone 1797 U colour.
    Printing that ink on uncoated stock would never give you such a bright saturated red as the Pantone provided CMYK values would suggest
    If you want to have a better preview of the colour, use the Overprint Preview option, that comes closer to the final printed result. The Overprint preview in CC and CS versions give s you an almost identical preview (almost because the Lab values differ slightly).
    There are ways to use the old libraries, but why should you if Pantone itself stopped giving CMYK numbers?

  • How to connect an Arduino Ethernet Shield on my MacBook?

    I have a plan that is to create an alarm with an Arduino.
    I have an Arduino Uno and Arduino Ethernet shield. I want to communicate with my arduino by ethernet connection to my MacBook Pro Yosemite (not a router).
    I use with the Arduino IDE the basic program (WebServer) but it does not show what it should show. I should get an HTML page as the first image in step 2 of this site: http://www.instructables.com/id/ServDuino-Arduino-Webserver/?ALLSTEPS but that prints "It works!".
    I don't understand. I configured Ethernet by putting the same IP address as the one I put in the program.

    Hi msmitheyowen,
    Welcome to the Support Communities!
    This article will explain how to change your Messages settings:
    iOS and OS X: Link your phone number and Apple ID for use with FaceTime and iMessage
    http://support.apple.com/kb/HT5538
    Cheers,
    - Judy

  • Communication problem with Arduino UNO R3

    Hello,
    I'm using Labview 2011 to automate a part of the line used to sample's preparation linked to a mass spectrometer. I'm using an Arduino UNO R3 which is linked to valves and I'm supposed to talk to it via numerical signal in order to open or close valves. 
    This Arduinbo is linked to computer via an extension USB cord (almost 10m) and is detected as a COM Port.
    Communication works well when I've just rebooted computer, but when some time have passed the communication seems to degrade and the following errors appear :
    - "Ressource is valid but VISA cannot access to it" when the port COM isn't detected anymore neither by Labview nor by Arduino software wheras Windows can detect it. As advised at this adress (http://digital.ni.com/public.nsf/allkb/936298454061FE5886256C2A0060B321) I executed the first test (desabling of COM port) but not the second one as there is no more Hyperterminal on Windows 7. I dowloaded the equivalent software called Hyperterminal private edition but I don't know the computer control sentences to use to verify if the dialog is of good quality. 
    - Error 5002 also appear, but I verified all the possible reasons enumerated at this address and it cannot be that : http://digital.ni.com/public.nsf/allkb/15AE7F234C5B966886257884006DF1CD
    These bugs appears randomly, this can be just after first launch of .vi or two hours later. 
    Can it be a degradation of numerical signal?
    I put in attachment of the email, reports that were send to me during some of these bugs. 
    Thanks a lot.
    Attachments:
    420dc8d6-e465-4d52-970e-f5c95118fd04.zip ‏74 KB
    452c6aea-2264-4d7e-8554-7095a72ec168.zip ‏36 KB

    Without repeater the USB cable is specified only up to 5m.
    Have run a test with a short cable?
    Greetings from Germany
    Henrik
    LV since v3.1
    “ground” is a convenient fantasy
    '˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'

  • How to install LVIFA_BASE in ARDUINO UNO.

    I am using arduino uno with LABVIEW 2012 EVALUATION VERSION. I had installed LIFA in my win7. I want to control servo motor using LABVIEW .
    I had put the sketch of LVIFA_BASE.pde on arduino software. Then i uploaded LVIFA_BASE on arduino.
    I open the code for controllingservo in labview. and run. It shows ERROR 5002.
    please tell me how to use LVIFA_BASE and control servo and d.c. motors from LABVIEW using arduino.
    arduino>>>file>>> open>>> LVIFA_BASE_2.1.1.69>>> LVIFA_BASE.pde>>> ?????????
    what to do next. and how to control using LABVIEW

    Looks like he's opted to continue this one Gerd. I'll put a duplicate notification on the second thread.
    Chakslord: The latest version of LIFA is 2.2.0 which was updated 31 Aug 2012 to include support for LabVIEW 2012 - are you sure that you are using this latest version? (probably not, looking at the changelog on your screenshot). Update your LIFA version and hopefully this will solve the issue you are seeing.
    An easy way to keep up to date with new versions is to use VIPM.
    -CC
    "If anyone needs me, I'll be in the Angry Dome!"

  • How to enable 2 or more analog input pin in arduino uno labview simultaneo​usly for voltage analysis?

    Hi everyone,
    i am new to labview and using arduino uno board for measuring microwave analysis in my project. i want to measure the refflection coefficient by dividing two analog input received to arduino (Vref and Vin) to obtain so. problems come where i just can analyze only one analog input pin only. please, kindly helped to figure it out.i've try the others solution where i create two while loops for different analog pin. u can refer to my circuit in the attachment below.i really2 appreciate ur help, thank you.=)
    Attachments:
    reflection coefficient and Vswr.vi ‏665 KB
    front panel.PNG ‏66 KB
    block diagram.PNG ‏40 KB

    Try this if you have a POT around hook it up to the arduino than use the AnalogInSerial.pde and  load it to your arduino exit out of the arduino platform and  than try my VI see if this helps you.
    Harold Timmis
    [email protected]
    Orlando,Fl
    *Kudos always welcome
    Attachments:
    TalkToArduino.vi ‏28 KB

  • Lorsque je branche mo i phone sur l'itunes de mon ordinateur le message itunes n'a pu se connecter à cet iphone. une erreur inconnue s'est produite (0xE8000084)

    Itunes ne se connecte pas à mon iphone. erreur 0xE800004

    Restauration des paramètres d’usine de votre iPod: http://support.apple.com/kb/HT1339?viewlocale=fr_FR
    Si ça marche, vous pouvez faire la restauration à la fois de la dernière sauvegarde accomplie:
    après avoir connecté votre appareil iOS à l’ordinateur que vous utilisez normalement pour effectuer une synchronisation: Cliquez avec le bouton droit de la souris (ou maintenez la touchez Contrôle enfoncée tout en cliquant) sur l’appareil et choisissez Restaurer à partir d’une copie de sauvegarde. 
    Aussi, aux USA (et je crois beaucoup d'autres pays), on peut télécharger d'achats effectués antérieurement.  Voyez ici: http://support.apple.com/kb/HT2519?viewlocale=fr_FR

  • Programmer une carte arduino sous labview h

    j'ai la carte arduino pour l'acquisition des données je veux lire la valeur du Pin 7 et cette valeur c'est elle qui  va contrôler le event structure ç a d suite a cette valeur je veux soit lancer le GET Time on soit le Get Time off
    la newVal que j'ai doit se référer sur la valeur lue dans le Pin 7
    j'ai ci_joint une image pour bien comprendre 
    merci de vérifer et de m'apporter votre aide
    Pièces jointes :
    fgv_elapsedtime_format.vi ‏17 KB
    essai3.vi ‏33 KB
    sans lifa.vi ‏27 KB

    Bonjour habibahamri,
    Merci de ne pas prendre les gens pour des columbidés. 6 posts pour le même sujet c'est (vraiment) beaucoup. C'est de plus complètement contreproductif dans la mesure ou tout le monde ne lis pas tous les posts et les réponses peuvent se superposer.
    Les sujets incriminés sont:
    http://forums.ni.com/t5/Discussions-au-sujet-des-autres/programme-labview/td-p/2415808
    http://forums.ni.com/t5/Discussions-au-sujet-des-autres/labview/td-p/2414336
    http://forums.ni.com/t5/Discussions-au-sujet-des-autres/labview/td-p/2414328
    http://forums.ni.com/t5/Discussions-au-sujet-des-autres/Re-programmer-une-carte-arduino-sous-labview...
    http://forums.ni.com/t5/Discussions-au-sujet-des-autres/Programmer-une-carte-arduino-sous-labview/td...
    De plus, quand on demande de l'aide, on essaie de se montrer poli: on dit bonjour dans son premier post et on remercie les participants qui prennent de leur temps pour aider (je fais notemment références aux réponses presque rudes formulés à Bastauss qui a essayé de vous aider en vous programment un VI d'exemple).
    Cordialement
    (signé le redresseur de tort)
    Florian Abry
    Application Engineer Group Leader
    NI Germany

  • Labview visa getting slow when connected to arduino

    visa in labview when connected to arduino prog gets slow
    i have checked it passes the required codde but action is slow
    and most important every time to get the o/p i need to stop the prog then start again.
    i tried doing a new prog with only one string constant and visa in  singlw while loop thinking this was due to lenghty progs but still things are not working as i want i.e. fast n without stopping the prog. i have attached my files n images of required portion of block diag
    i have used a string of lenght 10 char n i my program and just one visa write.
    Solved!
    Go to Solution.

    Ranjeet_Singh my requirement is to send 10 character srting from visa write to arduino. When i change the controller index and click on my led's which i have designed to transmit my code( only if true) using case selctor the code must reach arduino. It reaches but there is a delay of 2 to 3seconds everytime i send. and next time when i change th index and click the led to send the code it is not passed. when i run the program again it is passed. I have added all my code in a single while loop which runs continously.
    I have made a code in arduino for my hardware. when i send codes from arduino my hardware runs successflly.
    n yes only command response operation is involved.
    regarding 2011 i wont be able to i guess.but i am copy pasting my prog in labview 7.1. except visa everythig is pasted i guess.
    i have attached images of my block diagram for further reference.
    my harware is: two 8bit DAC, DDS an i.c. which accepts code and generates sinwave, digital potentiometer which accepts code and takes a value between 0 to 10kohm and 12 relays take thier control signal from this code.
    crossrulz m using port 18 of my p.c and connecting usb to arduino mega 2560. 
    my harware is: two 8bit DAC, DDS an i.c. which accepts code and generates sinwave, digital potentiometer which accepts code and takes a value between 0 to 10kohm and 12 relays take thier control signal from this code.
    i judge labview goes slow because when i dont connect arduino n run the prog the hex code indicator going to visa displays code exactly at the instant when i press led for transmission of code.
    as per ur sugesstion  i checked arduino board i found thr transmission and recieve led's are on continously.and as per my labview prog my transmission should actually start only when i click the led.may due to continues transmissiion its getting slow. 
    but what can i do then? 

  • Sending float to arduino uno using VISA

    Hi guys,
    Basically i am trying to send a float to arduino uno.
    I use for that a string .I send at first its length  then i send the numbers.
    For the arduino side ,here is the code.I can see that the board Rx/tx leds blinks when i start the Vi.Unfortunately, the led which  doesn"t blink as it should be.
    Here is a quick look at my arduino code.
    void setup() {
    //Initialize serial and wait for port to open:
    Serial.begin(9600);
    pinMode(13,OUTPUT);
    // Serial.flush();
    // prints title with ending line break
    int i=0;
    int j=0;
    int longu=0;
    char data='F';
    String data2="";
    float val=0;
    int posVir=0;
    void loop()
    if (i==0)
    delay(10);
    data=Serial.read();
    longu=(int)data;
    while (j<longu+1)
    {data=Serial.read();
    data2=data2+data;
    delay(10);
    j=j+1;
    val=data2.toFloat();
    i=1;
    delay(50);
    if (val==22.5)
    digitalWrite(13,HIGH);
    delay(1000);
    digitalWrite(13,LOW);
    delay(1000);
    if (val==315)
    digitalWrite(13,HIGH);
    delay(4000);
    digitalWrite(13,LOW);
    delay(4000);
    val=0;
    Attachments:
    Sending data toarduino V2.vi ‏18 KB

    Basically a rehash of http://forums.ni.com/t5/LabVIEW/Synchronisation-with-arduino-and-Labview-using-visa/m-p/3110008

  • Build the connection between Arduino and Flex 4.0 via JSON

    Hi,
    I try to make a connection between arduino and Flex 4.0, I included the JSON lib and also as3corelib.swc to Flex. When I run the Flex file the connection between PC to arduino is working (I can see it in SERPROXY window) and also I don't have any problems in Flex window, I added the SWF file of Flex to the list at //http://www.macromedia.com/support/documentation/tr/flashplayer/help/settings_manager04.htm l, Bu the reading result is not shows in the SWF,    I couldn't understand why !, thanks for help
    here the code
    package
    import com.adobe.serialization.json.JSON;
    import flash.display.Sprite;
    import flash.errors.*;
    import flash.events.*;
    import flash.net.Socket;
    import flash.text.TextField;
    public class deneme extends Sprite
    {private var magnetic:Socket=new Socket("localhost",5331);
      private var magneticValue:Number=0;
      private var distance:Number;
      private var newText:TextField=new TextField();
      private var listText:TextField=new TextField();
      private var MNx:Number;
      private var MNy:Number;
      private var MNz:Number;
      private var d:Object={"x":null, "y":null, "z":null};
      public function deneme()
       socketDataHandler();
      private function socketDataHandler():void
       newText.text=magnetic.readUTFBytes(magnetic.bytesAvailable);
       d= JSON.decode(newText.text);
       MNx=d["x"];
       MNy=d["y"];
       MNz=d["z"];
       listText.x=10;
       listText.y=10;
       listText.width=600;
       listText.height=100;
       listText.text=newText.text;
       addChild(newText);

    package
    {    import com.adobe.serialization.json.JSON;
    import flash.display.Sprite;
    import flash.errors.*;
    import flash.events.*;
    import flash.net.Socket;
    import flash.text.TextField;
    import mx.rpc.events.ResultEvent;
        public class deneme2 extends Sprite
            private var newText:TextField=new TextField();
            private var listText:TextField=new TextField()
            private var magnetic:Socket=new Socket("localhost",5331);
            private var MNx:Number;
            private var MNy:Number;
            private var MNz:Number;
            private var d:Object={"x":null, "y":null, "z":null};
            public function deneme2()
                 magnetic.addEventListener(ProgressEvent.SOCKET_DATA,getDATA);
             private function getDATA(event:ProgressEvent):void
                newText.text=magnetic.readUTFBytes(magnetic.bytesAvailable);
                d= JSON.decode(newText.text);
                MNx=d["x"];
                MNy=d["y"];
                MNz=d["z"];
                listText.x=10;
                listText.y=10;
                listText.width=600;
                listText.height=100;
                listText.text="X="+String(MNx)+" Y="+String(MNy)+" Z="+String(MNz);
                addChild(listText);

  • [MacBook Pro] Gros problème de connection internet par cable

    Bonjour a tous ,
    J'ai mon mac depuis +1ans , je me suis jamais connecter a internet via Cable ethernet .
    J'ai voulu tester ma connection fibre via Cable ethernet mais lors du branchement pas d'internet .
    Je rentre dans les réglages je suis connecter mais les dns ne sont pas trouver .
    Après 1 heures de recherche je trouve rien j ai appeler apple , j ai ue droit a un reboot de la carte internet marche toujours pas .
    J ai eu droit au démarrage tout en gardant appuyer ( cmd+R ) je vais sur aide en ligne et la quand le cable et brancher wifi éteint tout marche .
    Et la apple me dit que pour résoudre le problème je doit débourser 49€.
    Es que vous avez une soluc ?.?????
    Je suis sur macbook pro 13
    Je suis chez sfr fibre 1Giga/s
    Les ordi sous windows marche tres bien et ma wifi mac aussi .

    Bonjour a tous ,
    J'ai mon mac depuis +1ans , je me suis jamais connecter a internet via Cable ethernet .
    J'ai voulu tester ma connection fibre via Cable ethernet mais lors du branchement pas d'internet .
    Je rentre dans les réglages je suis connecter mais les dns ne sont pas trouver .
    Après 1 heures de recherche je trouve rien j ai appeler apple , j ai ue droit a un reboot de la carte internet marche toujours pas .
    J ai eu droit au démarrage tout en gardant appuyer ( cmd+R ) je vais sur aide en ligne et la quand le cable et brancher wifi éteint tout marche .
    Et la apple me dit que pour résoudre le problème je doit débourser 49€.
    Es que vous avez une soluc ?.?????
    Je suis sur macbook pro 13
    Je suis chez sfr fibre 1Giga/s
    Les ordi sous windows marche tres bien et ma wifi mac aussi .

  • Problème de connection Airport Express avec réseau wifi

    Bonjour,
    J'essaie de connecter mon airport express à mon réseau wifi numéricable.
    Petite spécificité de celui-ci: lorsque je veux me connecter à mon réseau avec un nouvel ordinateur.iphone... je dois saisir le nom du réseau car il ne me le propose pas de lui-même dans la liste des réseaux disponibles.
    J'effectue donc le paramétrage normal (j'ai quand même du inscrire moi-même mon nom de réseau car il ne me le proposait pas) mais au moment du redémarage de mon airport après la programmation de celle-ci, j'ai un message d'erreur disant que ma borne n'arrive pas à déceler le réseau wifi, à quoi est ce du selon vous?
    Merci de votre aide.
    Louis

    Bonjour,
    Air port capsule revient au voyant lumineux orange après 3 ou 4 jours de fonctionnement au vert. Je le débranche et il fonctionne à nouveau  pendant 3 ou 4 jours. Que se oasse-t-il?
    Avez-vous reçu des réponses qui me permettraient de résoudre mon problème?
    Merci
    René Blouin

Maybe you are looking for

  • Time Machine worked- with caveats- but worked

    Ok, TIme Machine rocks! I screwed with some applications, I tried to make the dock and desktop my own and F'd things up. What I was trying to do was to create stacks in doc. I wanted stacks for apple apps, stacks for business apps, stack for art, and

  • Problems using version set in Elements 9

    Hi! I have problems using the version set. When saving files in the Element 9 editor I can not mark the "version set" option, its not highlighted and not possible to mark or use. Is there a basic setting that I´m missing or??? I have the MAC version

  • X1900 XT goes black during games

    My roommate started reporting this first, but now I'm getting it fairly often as well. After a little while playing any "difficult" 3D game (Halo, Quake, etc) the screen will turn black and not come back. I'm assuming it's heat related, but I have no

  • Original iPhone Better than iPhone 4?

    I have been using the very original iPhone for years, and upgraded to the iPhone 4 as soon as I could. The day I switched phones I lost all coverage inside my office. I now have the new bumper from Apple, but it's still not even close to the awesome

  • Samples template for oracle 10g reports

    Hi, I need a oracle 10g reports sample templates were we need to make modifications and use it. if any body has the sample templates can share with me or where can i get the sample templates. Please advice.