Programme en labview

avec labview je veux quand la lampe clignote on commence à calculer la durée pendant laquelle on a cet états et nous donne le moment ou on avait l'arrêt de même si on a l'état contraire on calcule la durée et nous donne l'instant de démarrage et je veux que les résultats s'affiche dans un tableau ou on a  le moment d'arrêt , la durée d'arrêt ,le moment de démarrage et la durée de marche , et le cumulé des arrêts.
j'ai fais une présentation avec Paint j'espére que vous comprenez ce que j'essaye de vous clarifiez et vue que je suis débutante en labview j'aimerais bien que vous m'aidez à modifiez ça de telle sorte que j'aurais la durée exacte et le moment de marche  et la durée exacte et le moment d'arrêt qui sont insérés dans le tableau
j'ai ci-joint la présentation avec Paint ainsi que le programme
Pièces jointes :
essai new.vi ‏48 KB
fgv_elapsedtime_format.vi ‏18 KB
remarquez ici.png ‏65 KB

SAMUEL_NIF :
 Merci D'avoir lu mon message! Alors je cherche a realisrer un robot virtuel sur labview c'ad une interface graphique (sur la face-avant Bien sur !) qui est commande par des boutons de controles!
Pièces jointes :
PumaLabViewThumbNail.jpg ‏10 KB

Similar Messages

  • Can I control PIC programmer using LabVIEW

    Can I program a PIC microcontroller entirely in Labview Environment using a commercial PIC Programmer?
    Could everyone give me any advices? Thank you

    Here is a link to another post asking the same questions.
    Here

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

  • How can I control PIC programmer with LabVIEW

    I need to control a PIC Programmer (MPLAB PM3) with LabVIEW. How to do this?

    Hi Paul.
    I am working on a project that is using LabVIEW to communicate via serial communication with 4 programmers (Com 1, 2, 3, & 4). I am currently using the Microchip PM3 programmer DOS utility PM3CMD.exe to send/receive commands from the system exec.vi in LabVIEW. I am attempting to program simultaneously with 4 programmers, but the PM3 programmers are returning a database error if I try and communicate with more-than 2 programmers at a time. I noticed that you have some experience with some drivers from Microchip and using serial commands.
    Do you have any suggestions that may help me.
    Thanks.

  • Problem beim Laden älterer Programme in LabView 6.1 - kein Blockdiagr​amm

    Beim Laden von LabView 6i-Programmen mit Labview 6.1 wird ein Ladefehler 11 ausgegeben: Programm besitzt kein Blockdiagramm. Hängt offensichtlich mit den CAN-Modulen zusammen. Was ist zu tun?

    Die VIs sind ohne Blockdiagramm abgespeichert worden (über das Menü Speichern mit Optionen...). Somit ist der Quellcode der Programme nicht verfügbar. Beim Landen in eine neue Version müssen die VIs neu kompiliert werden, was ohne den Quellcode natürlich nicht funktioniert.
    Arbeiten Sie mit Backup Versionen Ihrer Programme weiter, in welchen die Blockdiagramme nicht entfernt wurden.
    http://digital.ni.com/public.nsf/3efedde4322fef198​62567740067f3cc/28c4cb0cf83e1a1d862566e2007a2a9c?O​penDocument
    Ingo Schumacher
    Application Engineering
    National Instruments

  • How can I insert a C++ programm in labview 5.1;

    I am using Labview 5.1 to read data from sensors (analog input), but I would like to read data from a serial RS232 port. How I can do this;If I write a C++ program, how can I insert this in labview;

    Ah, I think I understand.
    Your ECU is sending a stream of six bytes...
    FF,data1,data2,data3,data4,data5
    And I guess it just does this continuously.
    So, you probably want to continuously read the data and update a data structure that shows all of your engineering data (such as what state the throttle and other things are in).
    There are a variety of ways you could handle the reading of data. E.g., you could just read all available data and search for 0xff, or you could read one byte at a time until you find 0xff. You could also just set your termination character to 0xff.
    Anyway, once you get your data into LabVIEW as a string, you can use the String to Byte Array function to create an array of int8's. (You could then search i
    n there for a -1 value for your synchronization byte.)
    Once you have an array of int8's, you can index it and use Number to Boolean Array to convert each int8 into an array of Booleans. This will get you the individual bits that come from the ECU.
    Hopefully this makes sense and gets you far enough along.
    Brian

  • Write Elvis Programms on Labview

    Hello,
    first i am new on Labview.
    I wanted to write a Program on Labview for NI Elvis II.
    But i didnt find anyy possibility using and input from the Elvis Board.
    Do i need to install some special Libs? If yes where are they?
    Thanks
    Greetings
    Nikolai

    Launch LabVIEW, then run Help >> Example Finder and search for Elvis.  Many examples should be installed.  Also go to your palette on the block diagram and search for Elvis and you'll find the palette with all the function calls.
    If you are new to LabVIEW you may want some free training.
    3 Hour Introduction http://www.ni.com/white-paper/5243/en/
    6 Hour Introduction http://www.ni.com/white-paper/5241/en/
    LabVEW Basics http://www.ni.com/gettingstarted/labviewbasics/
    Self Paced training for students http://www.ni.com/academic/students/learn/
    Self Paced training beginner to advanced, SSP Required http://sine.ni.com/myni/self-paced-training/app/main.xhtml
    LabVIEW Wiki on Training http://labviewwiki.org/LabVIEW_tutorial#External_Links
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

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

  • LabView Programmer needed

    Programmer with LabView and Intellution needed for contract opening in
    South Carolina. Please send e-mail to [email protected] to
    request more information.

    I have a lot of experience with LV, what the contract?
    Mike...
    [email protected]
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • How to create a pushbutton delay in the FPGA module in Labview 8.2

    I am a very inexperienced programmer of Labview, and I have what I thought would be a simple problem. I have a CompactRIO system that utilizes Labview 8.2 as well as RT and FPGA modules. I am running an end of line tester that uses a pushbutton to start the test. I am looking to force an operator to hold the test start pushbutton for one second before testing begins. If the pushbutton is released before the second is up, the test will not start. In the FPGA module, I cannot figure out how to accomplish this. I have tried using both flat sequence and while loops, but I cannot get the program to work as stated above. With the flat sequence there is not a way, that I could see, to break out of the sequence should the pushbutton be released. Using the while loop, I was closer to a solution, but could not get the program to read the input consistently. I did verify that the 24Vdc signal is getting to the input card whenever the pushbutton is pressed. The program worked fine without trying to add the delay when I was just looking for a transistion to 24Vdc on the input card when the pushbutton was pressed.
    Any ideas?  Thanks!

    Here's how you might do it with a button on-screen in LabVIEW for Windows.  If you need more specific help, post your code, or a small portion of it that demonstrates the bit that you can't get working.  (The snippet is in LabVIEW 2009 since that's what I'm using, but the attached VI is saved for 8.2)
    Attachments:
    Hold 1 Second.vi ‏8 KB

  • Is there an easy way to program a PIC16F77 via LabVIEW 7.1 and a DAQ?

    I am a student working on a senior design project that requires us to program a PIC16F77.  I have no experience with PIC programming, and was hoping for an easy way to do this in LabVIEW.  If anyone has done this before I would appreciate a few pointers, or maybe even an example program.  Thanks.

    Greetings,
    I would recommend using an embedded bootloader (protected block) and programming the PIC serially with your application (normal production use).  Use a max232 chip for the TTL to RS232 conversion or alternatively use an Silicon Labs or FTDI usb chip with the virtual serial port drivers (VCP).  Access the PC's serial port from LabView using VISA (numerous examples) to send the hex file.  The bootloader is normally programmed into the microprocessor with a standard programmer (PICStartPlus, ICD2, ICDU40, etc).
    I have used the CCS C Compiler for PICs with exceptional results (easy to use, not extremely expensive, numerous examples, library of functions).  Hi-tech also provides a demo of their C compiler with example code posted on Microchip's website.  The protocol and hex file format should be apparent from the bootloader example code (CCS bootloader.h/c loader.c).  The best source of information is Microchip's website.  They provide data sheets, application notes, etc.
    Hopefully I haven't mis-interpretted your posting and your goal isn't to emulate a device programmer from LabView.  If I have, my bad.  Microchip has numerous data sheets on the programming spec (voltage levels, bit timing, sample circuits, etc).
    Cheers,
    JMA_eng

  • Problème arrêt programme

     Je me permets de vous contacter pour un problème de programme sur lequel je bute depuis une semaine. Vous trouverez en fichier le programme sous labView 2009.
    Pour résumé, ce programme fait l'acquisition de trois tensions analogiques et une entrée numérique DIO0 via un boitier USB6009 et la programmation d'une tension analogique sur la voie AO0.
    J'ai une première boucle de lecture des valeurs qui s'opère toute les 500ms
    J'ai une structure évenement "Start Process" qui me permet de tracer un graphique X,Y avec X le temps en cours et Y une valeur analogique
    Mon problème principal est le suivant:
    Lorsque le programme "Process" se termine, la seule boucle qui continue à tourner est la boucle d'acquisition des tensions et d'affichage des tensions analogiques sur des indicateurs en face avant.
    Lorsque je clique alors sur le bouton "Cancel", j'obtiens un sablier sur le PC et je n'ai plus la main sur le PC même en fermant LabView, je dois rebooter!! je n'arrive pas à voir et à isoler le problème même en phase animation de l'execution ( ampoule)? ou alors l'erreur est tellement grosse que je ne la vois pas!!
    Pouvez vous m'aider car je commence à m'arracher les cheveux
    Autre petit détail, moins important celui-là, je n'arrive pas à trouver la procédure pour effacer un graphique afin qu'il n'y en ait qu'un seul de visible sur le graphe?
    En vous remerciant d'avance...
    Attachments:
    MonProjet.ZIP ‏185 KB

    Dupliqué >> http://forums.ni.com/t5/Discussions-de-produit-de-NI/Probl%C3%A8me-arr%C3%AAt-programme-acquisition-...

  • Problème arrêt programme acquisition USB6009

    Je me permets de vous contacter pour un problème de programme sur lequel je bute depuis une semaine. Vous trouverez en fichier le programme sous labView 2009.
    Pour résumé, ce programme fait l'acquisition de trois tensions analogiques et une entrée numérique DIO0 via un boitier USB6009 et la programmation d'une tension analogique sur la voie AO0.
    J'ai une première boucle de lecture des valeurs qui s'opère toute les 500ms
    J'ai une structure évenement "Start Process" qui me permet de tracer un graphique X,Y avec X le temps en cours et Y une valeur analogique
    Mon problème principal est le suivant:
    Lorsque le programme "Process" se termine, la seule boucle qui continue à tourner est la boucle d'acquisition des tensions et d'affichage des tensions analogiques sur des indicateurs en face avant.
    Lorsque je clique alors sur le bouton "Cancel", j'obtiens un sablier sur le PC et je n'ai plus la main sur le PC même en fermant LabView, je dois rebooter!! je n'arrive pas à voir et à isoler le problème même en phase animation de l'execution ( ampoule)? ou alors l'erreur est tellement grosse que je ne la vois pas!!
    Pouvez vous m'aider car je commence à m'arracher les cheveux
    Autre petit détail, moins important celui-là, je n'arrive pas à trouver la procédure pour effacer un graphique afin qu'il n'y en ait qu'un seul de visible sur le graphe?
    En vous remerciant d'avance
    Pièces jointes :
    MonProjet.ZIP ‏185 KB

    Première chose, quand tu remets ton booléen à la fin du programme c'est mieux de le faire en début de programme, au cas ou tu ai un problème lors d'une éxécution, sinon tu as un bug aussi à l'exécution suivante.
    Pourquoi n'utiliserais tu pas une occurence pour synchroniser tes boucles?
    Sinon d'un point d evue graphique tu pourrais améliorer ton programme afin qu'il soit plus facile à maintenir (commentaires, sous VI, label sur les cables, merger les erreurs, j'aurais aussi récupéré le status des erreurs pour la condition d'arrêt avec un ou pour s'ajouiter à ton bouton stop)
    Rodéric L
    Certified LabVIEW Architect

  • Labview 2013 executable works only on develoment machine?

    Hi all
    I created an executable so as to distribute my test software but it only runs on the development machine. I have successfully distributed my executables before with labview 2012 on target machines by simply creating the .exe in project explorer and then installing the nessary labview drivers and run time engine without problems. Now I created a new test programme with Labview 2013 and I can't get my new .exe test software application to run on the target machine. Has anyone seen this type of problem before?  Any assistance will be appreciated.
    Thanks
    Solved!
    Go to Solution.

    In addition to the run-time engine you are likely missing some other installers.  Lets say you used RS-232 code in your EXE well now you need to install VISA run-time on the new machine.  Did you use DAQ?  Now you need DAQmx.  Did you use NI-Scope? NI-DMM? NI-Power? NI-Switch?  You'll need to install those as well.
    In 2013 the process of making an installer can detect what installers you need.  In previous versions you just have to know which you used and select them in the Additional Installers section.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

  • Comment envoyer un fichier depuis port serie avec Labview

    Bonjour,
    Je veux envoyer le fichier de configuration au programmateur avec labview mais j'arrive pas à trouver la commande Labview qui me permet d'envoyer un fichier via un port série.
    Y a t'il une solution?
    Merci.

    Hello,
    Palette : Instrument I/O -> VISA -> Advanced.
    Cdt,
    --Eric
    Eric M. - Application Engineering Specialist
    Certified LabVIEW Architect
    Certified LabWindows™/CVI Developer

Maybe you are looking for

  • What makes a GT70-0NE not able to be upgraded to WIn 8.1?

    Its on the non-upgradable section for Windows 8.1 Anyone know why or what problems? I was going to update via the anytime upgrade from 8... Seems this rocking laptop has enough for the task. Michael MSI GT70 0NE-276US 9S7-176212-276 Gaming Notebook -

  • Passing parameters in the f?p URL

    Hi, I am trying to add a link from a Bar Chart to a report such that information from the chart "context" can be passed to the report page. (Following the "Create a drill down pie chart" How-to) The sql for the bar chart is like this: select 'f?p=' |

  • HT4718 I have a new MACBOOK PRO and after running updates IPhoto does not work

    After installing Iphoto 9.4.1 from the MACSTORE updates Iphot will not run.  I downloaded (.4.1 again and tried to install but it says that the update must be done from the Mac store.  But I do not show any updates when checking the mac store and do

  • No Communication IDOC generating for MATMAS --- Urgent

    Hi, I have two systems in the Landscape; one is DA1 and other is DA3. Both systems are exactly identical. When I am triggering idoc of message type MATMAS from bd10 in DA1 systems, it successfully generating MATMAS idoc and I am able to see that idoc

  • A development consideration.

    Hey there, I am developing an Flash application, that is going to interact with a facebook application. It is supposed to get text and image from the facebook application and merge in an swf for the facebook Surfers. I wanted to ask what is best way