Acquisition point par point commandée par un bouton

Bonjour
je veux acquérir point par point, c'est à dire faire 1 seule mesure a chaque fois que je tape une touche sur le clavier ou que j'actionne un bouton sur la face avant de labview.7 et ensuite afficher sur un graphe l'ensemble des mesures.
peut on envisager une solution simple avec un assitant DAQMX ?
merci

Bonjour,
Oui c'est tout a fait faisable, il suffit de mettre votre assistant configuré en mode d'acquisition single point dans une structure condition.
Cordialement,
ClémentG

Similar Messages

  • Déclenchement d'un événement par plusieurs boutons

    Bonjour 
    J'utilise une structure évenement dans laquelle un des évenements peut être activé par plusieurs boutons. 
    Est il possible de savoir lequel des deux boutons a été actionné pour déclencher l'évenement. Ainsi en fonction du bouton appuyé je change qu'une constante dans mon programme.
    L'inspecteur d'événements me permet de le savoir mais j'aimerai y a voir accès directement dans le diagramme et non pas dans une fenêtre externe.
    J'aurais pu faire évidement créer un événement par bouton, mais cela alourdi fortement le diagramme
    Merci d'avance
    Résolu !
    Accéder à la solution.

    à l'entrée de ton "event" tu as le "data node" ... tu y trouveras la Reference du controle qui a provoqué l'event.
    avec cette référence et un noeud de propriété "label.text" .... tu auras le nom du contrôle responsable de l'event.

  • InDesign CS4 Convert Point Commands

    I have a multi-segment path. When selecting one of the points (not one of the end points) with the Direct Selection tool, and choosing Object > Paths > Convert Point, none of the options seem to do anything or change the path in any way: Line End, Corner, Smooth, Smooth, Symmetrical. Can someone enlighten me?
    I know how to change points using the Pen tool and the Convert Anchor Point tool, but these commands in the menu don't seem to work.

    That's becasue they don't do quite what you expect, I think. At least they didn't work the way I thought they would when I tried them, so I checked the help file and found this:
    To convert points, you can also use the Direct Selection tool to select a point, and then choose a command from the Object > Paths > Convert Point menu. For example, you can select the smooth point at the bottom of a “U” shape and choose Object > Paths > Convert Point > Line End. Doing so removes the direction lines and makes a “V” shape. Choose Corner to create a point with direction lines that can move independently of each other. Choose Smooth Symmetrical to create a point with handles of equal length. Choose Smooth to create a point with handles that can have unequal lengths.
    So it appears that they actually do work, but not necessarily in a useful way all the time. It seems to depend on the type of point you start with, i.e converting a line end point to a smooth point won't add control handles and change the shape, but converting a smooth point to a line end will remove the control handles and make a sharp corner. I found once I'd used the menu commands I still needed to use either the convert anchor point tool to drag control handles where none previously existed, or the direct selection tool to move a control handle, so I'm afraid I don't see any more use for those commands than I do for the hidden tools under the pen tool itself. I learned long ago that when the pen tool is active pressing Alt (opt) brings up the convert andhor point tool, Ctrl (Cmd) brings up Direct select, and if a path is active the the add or delete anchor point tools are automatic.
    The only reason I can think of for using the menu command is that you already have the direct select tool active and you want to convert smooth points to corners without having to change tools.

  • Sortir d'une boucle while par un bouton extérieur à cette boucle

    Bonsoir,
    question bête...lorsque l'on se trouve dans une boucle while existe-t-il un moyen pour sortir de cette boucle en actionnant un bouton qui ne se trouverait pas intégré à la boucle ?
    Merci d'avance pour vos réponses.
    Cordialement.

    Hi SyP,
    Thanks for posting on the National Instruments Forum. 
    This part of the Forum is in English, please post here in English and over there in French. 
    It is possible to create a local variable to implement what you want to do. Please find below an example where you have 2 While loops in parallel and one Boolean control which interact in both loops using right click on the stop control>>Create>>Local Vairbale.
    Message Edité par BenjaminR le 08-13-2009 03:58 AM
    Benjamin R.
    R&D Software Development Manager
    http://www.fluigent.com/

  • Comment realiser un robot en graphique et le commander par un programme Labview!

    Salut a tous! est ce que quelqu'un peut m'aider pour realiser un robot en graphique(dans labview) et le commander par un programme Labview!

    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

  • Mise à l'échelle automatique en fonction des points prédéfénies

    Bonjour,
    Je viens vers vous car j'ai réalisé un programme dont voici son fonctionnement : 
    J'ai crée un cluster de 2 éléments ou l'on renseigne les points par lesquels le graph passera ( fréquence et amplitude ) . Par exemple, si je rentre les points suivants : 
    fréquence : 25      fréquence : 150      fréquence : 1500     fréquence :  2500
    amplitude : 0.1     amplitude : 1           amplitude : 1            amplitude : 0.1
    J'obtiens ceci : 
    Mon problème, c'est que pour réaliser ce graphe je passe dans un premier temps par une structure evenement, avec un bouton ajouter et supprimer pour ajouter des points de cassures et un bouton "fin" qui me permet de sortir de la boucle while pour par la suite rentrer dans une autre boucle while ou est réalisé la mise à l'échelle de mon graphe. 
    Boucle while et boucle evenements ( ajout de points de cassures ) :
    Voici la partie ou est réalisée la mise à l'échelle : 
    --> Mon but, c'est de pouvoir modifier mon graphe en ajoutant ou supprimant des points de cassures et que le graph se mette à l'échelle au fur et à mesure de l'ajout et la suppression de mes points.
    Car actuellement je devais rentrer mes points, valider pour avoir l'apparence de mon graphe et si j'avais validé et que le graphe ne correspond pas à mes attentes alors je devais arreter le programme complétement pour ensuite le relancer... pas pratique..
    J'ai essayé jusqu'a présent d'integrer la partie encadrée en rouge à la première boucle while mais cela ne fonctionne guère..  
    Comment faire ?
    Cordialement

    Salut,
    Il suffit de mettre ta mise à l'échelle derrière ta structure event: à chaque event, ton cluster "control point out" et mis à jour, et tu l'utilise pour faire la mise à l'échelle....
    Francis M | Voir mon profil
    Certified LabVIEW Developer

  • GPRM-based button with Start at Loop Point Troubles

    First of all, I'm running DVD Studio Pro 4.2.1 on OS X 10.4.11
    I'm trying to finish a project where when a video ends, it jumps back to the menu directly to the next button in order. This menu also has a loop point set in order to skip an opening animation. So I wrote the following script to accomplish this:
    1: mov GPRM 0, SPRM 8
    2: div GPRM0, 1024
    3: add GPRM0, 1
    4: jump "menu name"(Loop) [GPRM 0]
    When I simulate the disc, everything works fine. However, a burned disc fails to return to the loop point. It will start on the next button when the highlights appear at the loop point, but the menu will begin from the beginning animation, not at the loop point.
    Is there some conflict between the GPRM based button command and the start at loop point command? I did perform a test with the GPRM based button commands left out and the start at loop point function worked perfectly.
    Edit: The "GPRM 0" at the end of the script shouldn't be a link but in brackets instead... the forum changed it to a link by default.
    Message was edited by: brazzamHD

    Given lines 1, 2 and 3, it is very unlikely that GPRM0 will ever be zero...
    What your lines are saying, roughly, is:
    "find the value of the last button that was pressed on a menu, and reduce it to a simple integer we can work with. Add '1' to the button number and then jump to the loop point on the menu IF the value in GPRM0 is '1'"
    The problem is that it will never be '1' because of line 3. The lowest value it could be is '2' when you keep that line in there.
    Also, you don't specify which GPRM you are evaluating in either version of line 4 - I assume GPRM0, as that is the one you are working with in lines 1, 2 and 3.
    If you want to return to the loop point of a menu depending on the button the user previously selected being the first button then the code is this:
    mov GPRM0, SPRM8
    div GPRM0, 1024
    Jump MenuName (Loop) If (GPRM0 = 1)
    However, you might want to simply start at the loop point of the menu but make sure that the user is on the same button they were on previoulsy, in which case the code would be:
    mov GPRM0, SPRM8
    div GPRM0, 1024
    Jump MenuName (Loop) \[GPRM0\]
    To do this you \must make sure that you have checked the GPRM based button checkbox in the property inspector.
    If you want to go to the next logical button after the one the user was on previoulsy, then you would need to add a '1' to it. The code looks like this:
    mov GPRM0, SPRM8
    div GPRM0, 1024
    add GPRM0, 1
    Jump MenuName (Loop) \[GPRM0\]
    Note that the bracket shapes are important... a GPRM based button jump means that you will go to a button which has a value the same as that in the specified GPRM. The square brackets signify it is this kind of move, and not a simple evaluation of true or false.

  • Autocad 2011, copy / copywith base point dose not work

    i installed autocad 2011 on my mac book pro
    and i encountered a problem with it
    Copy with basepoint or copy command in autocad dosenot work
    I tried copying and object from one cad drawing to the other. to paste the object i have to used the command paste for atleast ten time to paste one object. And if i try to copy multiple objects with copy with base point command, it hangs. i have to force quit autocad
    I uninstalled autocad and reinstalled it, but i have the same problem
    Please suggest a solution
    Sujana

    Hi Sujana,
    How much RAM do you have installed?
    How much free space do you have available on the HD?
    Exactly which MBP do you have/what are it's specs?
    It sounds like you may be copying very large files, and either the RAM is lacking, there is not enough HD space for virtual RAM, or that's just as fast as the machine runs, and you'll have to wait for it.

  • Can the "join points" function default be set to "smooth"?

    I have hundreds of "join points" (command-J) operations to do and they all need to be set to "smooth" - which means that my workflow speed is seriously slowed by having to click on the radio button next to "smooth" because the default is "corner". Is there any way to set the default to "smooth" so I won't have to click this button?

    Bill,
    The JET_JoinNearest script by James, should do it if the end Anchor Points have handles.
    He has made it available here: http://www.illustrationetc.com/AI_Javascripts/PathScripts.htm

  • Link Points of Vector Drawings?

    I have 2 closed path vecotor drawings. Each drawing has 2 points that need to touch 2 points on the other drawing.
    I can align these manually but im wondering if theres a method of linking the points together for ease of resizing, etc.
    Thanks

    When you have the two paths aligned, and selected, hit Ctrl/Command + J to Join them together. In the Layers Panel, you will see your (previously closed paths) become a single 'Composite Path' Layer.
    Ctrl/Command + Shift + J if you need to split them apart again to two separate Path/Object Layers.
    PS: You can't join points of separte paths that are already closed. They have to be open Paths.
    You can open the Window > Other > Paths Panel. Select the Points and use the 'Knife on Points' in the Edit area of the Paths Panel.
    Then use the 'Join Points' command in the same 'Edit Points' area of the Path Panel.
    A little trickier but may offer a solution:
    Shift + click the points (to multiSelect them), then in the Paths Panel, Edit Points section, use the 'Scale' option (it's on the first row of icons).
    h

  • Comment déclencher une mesure par bouton poussoir ?

    Bonjour,
    Je souhaiterais faire l'acquisition d'une mesure à chaque appui sur un bouton poussoir, et cela 10-20 ou 30 fois si il le faut. Cependant, je ne sais pas trop comment m'y prendre.
    Ma structure actuelle avec une boucle Condition ne fonctionne pas, je pensais utiliser une Boucle For mais je ne sais pas comment faire.
    Pouvez-vous m'aider svp ?
    Cordialement,
    Attachments:
    MicromètreKEYENCE.vi ‏28 KB

    Bonjour themick89,
    en plaçant votre boucle while autour de la struture condition, votre programme devrait avoir le comportement escompté (voir vi joint).
    Pour utiliser la structure évènement, il faut lié chaque sous diagramme de la structure à un évènement sur un indicateur (exemple : click gauche sur le bouton Démarrage/Arrêt2). Vous trouverez plus d'information sur cette structure aux deux adresses suivantes :
    http://www.ni.com/white-paper/3331/en
    https://decibel.ni.com/content/docs/DOC-5347
    Cordialement,
    Audrey_P
    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;}
    Journées techniques : des fondamentaux aux dernières technologies pour la mesure et le contrôle/comm...
    Attachments:
    MicromètreKEYENCE-2Modify.vi ‏36 KB

  • The tabs have been moved to the top of the screen. I want to move them to the bottom like before. I am having a continuous battle with my drop down webcamera command box dropping over my tabs.

    The Firefox tabs used to be at the bottom of my screen. Now they are at the top and as I open more sites the tabs walk from left to right across the top. There comes a point where the pointer command triggers a drop down web camera box to appear. This box does not disappear quickly nor can I can access to the tabs under the camera command box. No, I can move the camera command box as then it is in the way on either the right or left hand side of the screen impacting other commands.

    For some reason it's the new FF default. Follow this menu chain to toggle it off. <br />
    For Mac:<br />
    View | Toolbars | Tabs on Top. <br />
    For Win:<br />
    Control-Click on any empty area of the Tab Strip to bring up the Customize Toolbar window.<br />
    Click Tabs on Top.<br />
    Now is also a good time to move the Home, Refresh and Stop icons back over to the left. Click Customize ... , grab them, drag them over, click Done.<br />
    Cheers.

  • Libération des broches de commandes d'un moteur pas à pas

    Bonjour,
    Je voudrais savoir comment libérer les broches de commande d'un moteur pas à pas par l'intermédiaire des transistors à collecteur-ouvert.
    Deuxiement, je voudrais savoir si il est possible que la commande de moteur pas à pas crée des interférences sur des sorties anaologiques d'un autre axe ?
    Merci

    En fait, tout ca je connaissais deja; ou du moins pour la plupart. Cependant, cela ne répond pas à mes questions. J'explique alors plus en détails :
    Il se trouve que la carte motion pilote une interface de puissance où il est possible de commander les moteurs manuellement par des boutons et ce seulement lorsque INHOUT n'est pas activée, mais alors les broches STEP et DIR (surtout DIR) impose un sens de déplacement à l'interface et ce meme aux commandes manuelles. Je voudrais donc pouvoir libérer ces deux broches en commandant les transistors à collecteurs ouverts sans utiliser la broche INHOUT qui doit rester impérativement inactive pour que la commande manuelle des moteurs reste active.
    Voila, en espérant que cela vous aide à mieux comprendre.
    Merci pour vo
    s réponses.

  • Acquisition video avec webcam sous labview

    Bonjour
    Je souhaite avec Labview réaliser un essai (acquisition analogique) et filmer l'essai en même temps (acquisition video par webcam USB)
    Ensuite lors de l'affichage des résultats sur graphe, je veux pouvoir afficher l'image correspondant à l'instant désigné par le curseur
    et donc lier le visuel à la valeur mesurée.
    Je ne souhaite pas utiliser IMAQ et matériel adapté pour cause de budget.
    De plus, dernière contrainte il faudrait une vitesse d'acquisition relativement élevée (jusqu'à 90 FPS).
    Sinon quel est le maximum de FPS que je peux atteindre?
    Si quelqu'un peut me conseiller merci d'avance

    Salut
    Pour une appliquation de ce type je te conseillerai d'utiliser les drivers videoocx (http://www.videoocx.de/index.htm?/sourcecap.htm) Il s'agit en fait d'un contrôle activX qui te permet de récupérer tes images de ton appareil USB (webcam, grabshow...). Ensuite par utilisation de noeud de propriété et de méthode tu peiux contôler ton acquisition vidéo, ton extraction d'images....Par contre pour les débits faut te renseigner sur le site.
    Kamal
    NIF

  • Synchroniser les acquisitions d'une carte PCI6225 et un chassis cDAQ 9188

    Bonjour,
    je cherche à synchroniser les acquisitions faites par une carte 6225 et un chassis 9188.
    Les exemples classiques trouvés sur le forum ne fonctionnent pas : la carte 6225 étant très limitée coté synchro. Par exemple, l'exportation du signal start trigger sur le PFI0 ne fonctionne pas.
    Quelqu'un aurait-il une idée ?

    Bonjour,
    Quels sont les exemples que vous avez consultés?
    Cordialement
    Paolo_P
    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;}
    Travaux Pratiques d'initiation à LabVIEW et à la mesure
    Du 2 au 23 octobre, partout en France

Maybe you are looking for

  • Urgent, DEADLINE : Editable Flash field in Director

    Hi Following problem we have Flash Textfields in Director At start the are not editable, then on demand they are made editable - . If there is some text in the field, it becames selected. Not when I enter some text from keyboard, the text in flash fi

  • Upgrading From The Free Trial The Cheaper Way!!

    Hi, I've currently have Aperture 3 running well within the 30 day trial period. I've imported 9000 plus photo's from my iPhoto library and busy moving them into nice folders, and organising them in a better way that iPhoto could do. I like Aperture a

  • Connecting wireless broadband dongle through USB p...

    Is it possible to connect (and use) a USB broadband modem (dongle) to an E63? Specifically the Huawei E180E.

  • Adobe form interactive with web dynpro

    I wanna get the user typed text from the form into web dynpro but get none. After user typed the comment in a input field and press the button in the web dynpro, the program will get the pdf source from the context and parse it. The program get other

  • Customize KM Document

    hi experts, how do i customize  KM document iview  we get the following structure u can see when u open Contant Management-->Documents under Documents -- Systems    DeveloperContent    Discussion    Links    News    Public Documant    Quick poll my ?