Comment flasher un pic à travers LabVIEW

Bonjour,
je suis entrain de programmer un microcontrolleur STM32w108 (sous IAR). Est-il possible de flasher le pic à travers LabVIEW? 
Merci,

There is no native way to flash a processor from LabVIEW.  You'll either need to call an external program to do it (if you have access to such a program, you can use System Exec to run it), or you'll need some code already on the processor that can receive new code over some interface (serial, CAN, etc) and write it to the processor's flash memory.  I've seen sample code for this for Microchip's dsPIC processors, perhaps similar sample code exists for your system.
If you happen to have access to the LabVIEW Embedded Toolkit, and it supports your processor, then there may be an easier way to do this.

Similar Messages

  • How to detect USB Flash Drive name in LabVIEW

    Hi there
    I was looking for how to detect a USB Flash Drive name in Labview
    appearently every time i insert USB Flash Drive in a computer, windows assign it a different name
    once "J:" and sometimes "M:"
    Is there anyway to obtain USB Flash Drive name programmatically in Labview ?
    Because in my program an user shouldn't be able to access HDD Drives except his USB Flash Drive (for inserting some file ...)
    thank you and excuse me for my poor english 

    I was able to get the demo.vi to load, but it could not load the other two because there is no block diagram associated with those.  I'm not sure why this is.  I haven't had any issues with other llbs before.
    Reese, (former CLAD, future CLD)
    Some people call me the Space Cowboy!
    Some call me the gangster of love.
    Some people call me MoReese!
    ...I'm right here baby, right here, right here, right here at home

  • I have a sony bravia, trying to get netflix to stream through my iPad, but only getting flashes of pic every few seconds...am i doing or not doing something?

    I have a sony Bravia, and am trying to stream netflix through my iPad. have the AV and HDMI hooked up, but only getting flashes of pic every few seconds....no picture while movie is playing on netflix...???

    The poster said: AV and HDMI
    bhazel wrote:
    what cord are you using to connect with your tv

  • On my iphone 4s, when I try to take a pic it flashes the pic, but the pic doesn't ever show up. It is assigned a number like a pic is there, but it is just white. When I try to share the pic, it shares post with blank white in place of pic.

    On my iphone 4s, when I try to take a pic it flashes the pic for a second, but then the pic doesn't ever show up. It is assigned a number like a pic is there, but it is just a blank white space. When I try to share the pic, it shares the post with blank white in place of the pic.

    See https://bugs.downthemall.net/ticket/2147
    Google Search Bug
    Reported by: openid:nathan wride Owned by:
    Priority: major Milestone:
    Component: Polish/Usability Version: 2.0.10
    Keywords: Google search instant save bug Cc:
    Operating System: Windows
    Description
    Hi Guys
    I have found a bug/annoying thing that occurs frequently on google. When searching, DTA trys to download the search...
    I'll try to attach a screenshot.
    Attachments
    [https://bugs.downthemall.net/attachment/ticket/2147/Screenshot.png Screenshot.png] Download (113.0 KB) - added by openid:nathan wride 4 weeks ago.
    The screenshot that shows the bug.

  • Comment out some sections of Labview programs during debuging

    In other programming such as VC or VB, we can always comment out some sections of our program so that the commented section are not executed during debuging. Is there any way to comment out some sections of Labview program during debugging?

    YanWong wrote:
    You can use a case structure to surround the section of the program you do not want to execute and then wire a false constant into the input so the case will never execute.
    Also remember that doing this will only work if the code you "commenting" out must be executable. A broken run arrow will still be there after you put it in the Case Structure. If you are trying to comment out some broken code, you're out of luck, at least now.
    Ed
    Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
    Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.

  • Can i add a sound alert or message when someone comments on a pic of a photo stream when i am only another participant (not owner of the photstream)?

    Hi,
    How can i add a sound alert or message when someone comments on a pic of a photo stream when i am only another participant (not owner of the photstream)? Thank you. Joana

    Joana,
    that should be automatic.
    See: http://help.apple.com/iphoto/mac/9.4/#pht884a8908
    When you like or comment on a photo in a shared stream, a notification is sent to all the Apple devices of the photo stream’s creator and subscribers. You can delete comments you added to a photo by placing the pointer over the comment and clicking the Delete button that appears.
    Usually the problem is the other way round - how to prervent spamming all subscribers to a shared stream from being alerted to each comment on a photo in the stream. Quite a few subcribers have cancelled their subscriptions to shared streams, because they have continously been sent alert messages and could not disable them. It can get rather annoying - there is no way to silently add a few comments to photos and then send only one alert.

  • Comment transposer une arborescence sous LabVIEW

    Bonjour à tous,
    Je voudrais transposer l'arborescence présente en pièce jointe en programmation LabVIEW.
    Je récupère de mon VI actuel les paramètres suivants (que l'on retrouve en entrée de l'arborescence, à gauche) :
    - Cycle de fonctionnement : Ouverture / Fermeture
    - Courant : Augmente / Diminue
    - Phase de fonctionnement : Phases Ouverture / Phases Fermeture
    - Variations autres paramètres (Tension, Vitesse, etc...) : Augmente / Diminue
    - Degré d'importance : /
    En fonction des valeurs que prennent ces entrées, on suit différents chemins qui nous font remonter vers des numéros (pastilles de couleurs sur l'image).
    Je voudrais savoir par quels moyens je pourrais modéliser cette arborescence sous LabVIEW ??? Est-ce qu'il existe des applications déjà existantes ???
    J'espère avoir été assez clair.
    Cordialement.
    Pièces jointes :
    Arborescence.jpg ‏230 KB

    Bonjour Simon,
    En fait j'avais pensé utiliser ce genre d'outil mais j'ai quelques problèmes avec ce que je veux faire vraiment (voir pièce jointe).
    Par exemple, en entrée de la case structure principale, j'ai plusieurs variables "DériveVerr++_S1", "DériveVerr+_S1", etc...Certaines vont avoir comme valeurs "VRAIE" et d'autres "FAUSSE".
    Je voudrais, à travers cet imbriquement de case structure, récupérer en sortie un message global (du texte qui s'affiche) et qui regroupe toutes les variables qui sont "VRAIE".
    En fait, il faudrait balayer l'état des variables dans les case structure et à la fin, en fonction des variables qui sont vraies, définir un message singulier (représenté par les pastilles de couleur sur la première pièce jointe)
    Le soucis, c'est qu'il y a une dizaine d'entrée et donc pleins de combinaisons possibles entre celles qui sont "VRAIE" et les autres qui sont "FAUSSE". Et c'est sur ce point que je me pose des questions sur l'utilisation des case structure et sur comment gérer autant d'informations différentes.
    SimonD31 a écrit:
    Qu'est-ce que tu souhaite avoir en sortie? Tes numeros sous quelle forme? une chaîne de caracteres?
    Les sorties seront en fait des messages textes qui feront la synthèse des états des variables d'entrée.
    J'espère avoir été clair dans mes propos...
    Cordialement.
    Pièces jointes :
    Structure.JPG ‏137 KB

  • Using a segger's flasher 5 programmer in labview

    I want to use labview to send and receive commands to a Flasher 5 programmer made by Segger.  It comes with ASCII command sets, and I was unsucessful in getting the return information using the basic serial read and write, labview example, error states that is timeout on the read.  When you send a AUTO  command the programmer is suppose to erase, program and verify the microcontroller, in which it sends back response when it completes each step.  The port is setup correctly, because when the auto command is sent, the programmer lights blink, but having problems with the read.  Anyone familiar with this particular programmer and could give me some pointers, it would be much appreciated.
    Solved!
    Go to Solution.

    I was using the basic serial read and write in the labview examples, so its a common VI, the issue was getting the response back from the programmer.  Listed below is the command set when using the programmer in serial mode.
     #AUTO
    The Auto command behaves exactly as the start button or external remote control input.
    ·    Flasher starts clearing target, if “automatic clear before program“ option was set.
    ·    Flasher programs target CPU
    ·    Flasher verifies target CPU
    ·    Flasher verifies its internal CRC to validate the programming operation.
    Finally, Flasher responds with
    ·    #OK if no error occurred
    ·    #ERRxxx if any error occurred during operation. xxx represents the errorcode, normally replied to Flasher PC program. The #ERRxxx message may be followed by an additional error text.
    During execution of the AUTO command, Flasher automatically sends “status” messages via RS232 to reflect the state of execution. Typically during execution of #AUTO command, Flasher will reply the following sequence of messages:
    #ACK
    #STATUSTART CMD
    #STATUS:CONNECTING
    #STATUS:CLEARING
    #STATUS:WRITING
    #STATUS:VERIFYING
    #STATUS:VERIFY FLASHER CRC
    #OK
    or no staus until end:
    #AUTO NOINFO
    This command may be used instead of AUTO, if no status messages from Flasher should be sent during execution.
    The command ends with #OK or #ERRxxx 
    EACH command sent ends in an ASCII 13 ("CR").
    Labview is timing out before the response even if I increase the time.

  • Comment lire un exemple sous labview 2010 avec labview 2009

    Bonjour,
    On trouve aujourd'hui de plus en plus d'exemples ou de réponse sous Labview 2010. Mais comment faire pour pouvoir les ouvrir lorsque l'on ne possède que la version 2009?
    Merci d'avance.
    Il m'est impossible de faire acheter une nouvelle version tous les ans...

    Bonjour,
    Vous pouvez faire une demande de conversion vers une version précédente ici : http://forums.ni.com/ni/board/message?board.id=170&thread.id=473172
    Ou installer (sur une machine virtuelle si vous ne voulez pas avoir de problèmes avec vos développement) la version d'évaluation de LabVIEW 2010 pour faire la conversion en 2009.
    Cordialement,
    Da Helmut

  • Comment savoir si une fenetre Labview est au premier plan

    Comment savoir si une fenetre est Labview au premier plan ?
    Sans passer par l'API WIN32 (GetWindowInfo et WINDOWINFO)
    Sinon comment on fait pour recuperer la structure WINDOWINFO
    Merci

    Bonjour Lunik,
    Merci d'avoir posté sur le forum National Instruments.
    Il est possible d'utiliser le noeud de propriété VI>>Feneêtre face-avant>>au premier plan afin de savoir si la fenêtre LabVIEW du VI en question se situe au premier plan des fenêtres LabVIEW. Par contre pour savoir si la fenêtre est au premier plan par rapport à toutes les fenêtre Windows tu dois utiliser la fonction GetForegroundWindow (SetForegroundWindow pour la mettre au premier plan) de la DLL User32.dll.
    Voici un VI qui te montre comment utiliser ces différents éléments. Pour faire un test rapide ouvre le VI et click sur exécuter depuis la face-avant puis click sur exécuter depuis le diagramme. Le nom renvoyé change en fonction de la fenêtre qui est au premier plan.
    Benjamin R.
    R&D Software Development Manager
    http://www.fluigent.com/
    Pièces jointes :
    GetForeground.vi ‏10 KB

  • Communication PIC-SERVO/LabVIEW

    someone could help me Im working in the control of the motor using the PIC-SERVO board, to comunication using the SSA-485v2 adapter board and the functions for this in LabVIEW2014, using USB interfaz. but to run the program(PIC-SERVO TESTER) I have a trouble to comunication I installed the driver to SSA-485v2 to Windows 8.1 I using this. To run the Vi I have this error:
    I set the port COM3 and is ok
    I review the Measurement & Automation Explorer and
    I found this the COM3 is ok but there the error view this picture
     Someone can hep me
    thanks for your support

    Duplicate - http://forums.ni.com/t5/LabVIEW/PIC/m-p/3158198#M910626

  • Commander un moteur pas à pas à travers labview

    Bonjour, 
    Je voudrais commander un moteur pas à pas à partir d'un circuit intégré SAA1027. Sauf que je ne sais pas comment faire pour écrire un programme de commande sur labview (je ne sais même pas si c'est possible).
    L'algorithme du programme:
    Entrer le nombre de pas N du moteur
    Entrer le temps K d'arrêt du moteur 
    Choisir le sens de rotation R du moteur 
    Faire tourner le moteur à N pas dans le sens R
    Puis, s'arrêter pendant K secondes 
    Reprendre la rotation du moteur avec les mêmes paramètres N et R
    Fin du programme (en cliquant sur un stop)
    Merci de m'aiguiller un peu

    Bonjour,
    Je vous transmet le .zip en pièce jointe. Il contient les sous VIs et VIs correspondant au StateMachine.
    Brice S.
    National Instruments France
    Pièces jointes :
    statemachine.zip ‏214 KB

  • Help with inserting Flash/Media/Pics.

    Good day!
    Im kinda frustrated already on how to get my problem solved since i  cannot find a read-me help on the net already. I have attached 2 images,  the first is my sliced image made in Photoshop then exported to  dreamweaver, im trying to insert a flash photo gallery on the blank  space but everytime i try, the layout is destroyed as shown in the 2nd  image. Please please what should i do to get this done? Many many many  thanks in advance!

    Hi
    Using photoshop to create your html code will create nothing but incompatible code and problems such as you are now experiencing.
    The only real and permanent solution is to convert your code to html/css, see -
    http://www.adobe.com/devnet/dreamweaver/articles/table_to_css_pt1.html
    http://www.adobe.com/devnet/dreamweaver/articles/table_to_css_pt2.html
    http://www.adobe.com/devnet/dreamweaver/articles/dw_fw_css_pt1.html
    PZ

  • Comment récupérer avec Labview des données délivrées par un autocollérateur via la port série ( RS232)

    Bonjour à tous,
      J'écris pour solliciter une aide car je dois recupérer avec Labview des données délivrées par un autocollérateur via la port série ( RS232). Sera la bienvenue, des sites, des cours,  des codes ds d'autres langages, tout ce qui peut m'aider.
       Merci d'avance à touste et à tous
    j'attends avec impatiance votre réponse

    Bonjour,
    comme l'a très bien dit "tbob", il existe de nombreux exemples de communication série fourni avec LabVIEW.
    Si vous débutez en LabVIEW, il existe des ressources pédagogiques sur le site de National Instruments qui vous aideront à commencer à programmer avec LabVIEW.
    Ci-joint un lien depuis lequel vous pourrez accéder à ces différents tutoriaux :
    http://www.ni.com/academic/lv_training/how_learn_lv.htm
    De plus, il existe dans le "Developper zone" du site de NI, un grand nombre de bibiothèque de fonctions spécialement dévéloppées pour le contrôle instruments, un grand nombre d'instruments possède sa librairie, peut-être y trouverez vous le votre.
    http://sine.ni.com/apps/we/niid_web_display.drv_search
    En espérant que ces différents liens vous aideront,
    Cordialement,
    Benjamin M
    NIF

  • Flash moving pics in a frame

    I've imported a PSD file with layers into Flash. Now I want
    to create a movie file with photos moving and changing within a
    masked frame on the page. Is this possible?

    Hi Gerald,
    I did try both of those options, but I am still only moving the box..I have tried switching to the direct selection tool..taking my time holding it down on the box...but, still I get the box or the box on top. I know what you are saying about the layers, but it is merely a giant text box over a smaller box with a vector image in it...I just want to move the vector image and not mess with the text...I have to say I love InDesign, but quark did this so much easier....
    oy.........
    thanks for all your-help...if-you think of anything else...please let me know...
    thanks!
    babs

Maybe you are looking for