Boutton ouvre un sous vi pendant l'execution

bonjour,
je suis une débutante en Labview.
je suis en train de réaliser une interface sur labview, et je voudrais mettre un boutton dans mon programme pour appeler un sous VI pendant l'execution et sur lequel je peux controler des valeurs grace à des controleurs.
merci de me donner les étapes à suivre
(j'utiliser labview 2011) 

Bonjour,
Placez un bouton sur l’interface. Ce bouton (suivant son état : pressé ou pas)
retourne une valeur ou bien vrai ou bien faux. Si vous connectez ce
bouton a la marque d’interrogation d’une structure de cas (case
structure en englais), vous pourrez atteindre votre but. La structure
fonctionne différemment en fonction du résultat du bouton : si le
bouton est pressé, la version « vraie » de la structure exécutera, si
le bouton ne l’est pas, la version « fausse » exécutera. Vous pouvez
alors placer votre sous VI dans la version « vraie » de la structure:
cette partie de ton code ne s’exécutera que lorsque le bouton est
pressé.
Blake C.
National Instruments
Blake C.
Applications Engineer
National Instruments
www.ni.com/support
Attachments:
ForumHelp.png ‏263 KB

Similar Messages

  • Executer un sous VI independamment pendant l'execution du VI principal

    Bonjour,
    Je suis étudiant, dévellopant un programme sur Labview 2010.
    Je souhaiterais pouvoir intégrer un sous-VI dans mon VI principal, et choisir de l'executer ou non a partir de la face avant durant l'execution du VI principal.
    Est-ce possible?
    Merci d'avance.

    Salut Gabouch,
    Je pense qu'avec une structure "évènement" gérée par une commande boléenne disposée sur ta face avant tu devrais pouvoir t'en sortir. Je t'ai joint un exemple si cela peut t'aider.
    Cordialement
    Jean-Baptiste C.
    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;}
    >> Téléchargez dès maintenant toutes les présentations techniques !
    Pièces jointes :
    Exemple.vi ‏8 KB

  • Laisser tourner un sous-vi pendant le reste du programme

    Bonjour,
    J'aimerai savoir s'il est possible de laisser tourner un sous-vi sans avoir a le quitter et de pouvoir continuer de générer le reste du code principal. (Par appel dynamique peut-être??)
    Merci d'avance pour votre aide et le temps que vous y avez consacre.

    Je vais essayer d'expliquer ca le plus clairement possible.
    En fait lors de mon arrivée, il existait un système qui contrôle des LED. Pour le faire fonctionner, on devait ouvrir un 1e programme labview (ICL) qui envoie a une interface gérée par une carte arduino différents paramètres (intensité, temps, itérations...). Ce programme ICL doit rester ouvert. Je ne sais pas pour quelles raisons d'ailleurs. On ouvrait ensuite un deuxième programme labview qui lorsqu' appuye sur start contrôle les LED pendant le nombre d'itérations demandées.
    Mon maître de stage ma demander alors de programmer de 1 a 15 paramètres différents a générer le même nombre de fois de façon aléatoire durant un certain nombre d'iteration.Pour schématiser avant on avait 1 paramètre, si on avait 5 itérations ca donnait 1-1-1-1-1
    Maintenant dans mon cas par ex avec 5 paramètres et 10 itérations j'aurait par exemple 3-1-5-4-2-5-3-1-2-4 (chaque chiffre représentant un paramètre différent)
    J'ai réussi a faire ca a l'aide de scilab entre autre. Mes paramètres s'envoie sans soucis dans ICL (1e programme que j'ai inclut sous le forme de sous VI). Le problème est que vu que ce programme doit rester ouvert (ICL, le sous VI), quand je lance mon programme, la fenêtre de l'ICL s'ouvre avec et tant que je ne lui dis pas de quitter, je n'ai pas accès a mon second programme qui contrôle mes LED.
    Est-ce plus clair?

  • Recuperer le chemin de l'application pendant l'execution

    Bonjour,
    Dans le code Labview , y-a t il moyen de faire reference au chemin de l'application au moment où elle sera executée ?
    Par exemple quand j'execute une application , je souhaiterais creer un fichier texte dans le repertoire où se situe l'application sans le connaitre à l'avance ...
    Dans l'aide on trouve une propriété  "App.Rép" mais je ne vois pas comment l'utiliser 
    Cordialement. 

    Merci sérgio,
    Le lien m'a bien aidé.
    J'ai pu retrouver les elements utilisés dans la palette de fonction .
    Il faut utiliser:
    Programmation > Controle d'application > Ouvrir une reference d'application 
    Programmation > Controle d'application > Noeud de propriété
    puis Creer > Propriété de la classe application > Application > Chemin du repertoire 
    Cordialement
    Gregory 

  • Redimensionner unVI en cours d'execution

    Bonjour,
    Sous LabVIEW 8.6, je cherche un moyen pour redimensionner un VI (agrandir ou retrecir) lorsqu'il est en cours d'execution.
    J'ai essayé de jouer sur les propriétés du VI mais les éléments du VI ne se redimensionnent pas correctement.
    Cela fonctionne pourtant très bien avec Labwindows CVI.

    Bonjour,
    Si vous souhaitez donner à l'utilisateur la capacité de redimmensionner la fenêtre pendant l'execution de l'application, allez dans les propriétés du VI, choisissez la catégorie "Apparence de la fenêtre", cliquez sur le bouton "Personnaliser..." et cocher la case "Autoriser l'utilisateur à redimensionner la fenêtre" à droite dans la fenêtre qui vient de s'ouvrir.
    Je pense que c'est le comportement que vous attendiez. Si vous voulez modifier certains éléments spécifiques de la face-avant en fonction du redimensionnement de la fenêtre, faites un clic droit sur les objets en question dans le VI (quand celui-ci n'est pas en execution) et cliquez sur "Mettre l'objet à l'échelle du panneau".
    Enfin, si vous souhaitez que TOUS les éléments se redimensionnent proportionnellement à la taille de la fenêtre, allez dans les propriétés du VI, choisissez la catégorie "Taille de la fenêtre" et cochez la case "Mettre à l'échelle tous les objets de la face-avant lors du redimensionnement de la fenêtre".
    Cordialement,
    Jérémy C.
    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

  • VI fonctionne en execution animé et plante LV2013 en execution normale

    Bonjour à tous(tes), et merci d'avance pour vos lumières.
    Voilà je vous explique mon problème.
    J'ai un VI qui appelle un sous_VI et lorsque celui-ci s'execute, labview plante complètement.
    Hors lorsque je met ce sous-VI en mode "execution animé" , le VI foctionne, et je peux même enlever le mode animer pendant les l'execution il continue de fonctionner normalement.
    Le problème c'est uniquement au départ si je suis en mode execution normale.
    Voilà, si vous avez une idée alors n'hésitez pas!!! et encore merci
    VI Principale
    le sous-vi est celui entouré
    SOUS-VI
    Message d'erreur
    Résolu !
    Accéder à la solution.

    Bonjour
    Effectivement, il doit y avoir un problème de cadencement de ton VI. Quand tu animes l'exécution, celle ci est fortement ralenti par l'animation du diagramme.
    Je pense éaglement que cabler les erreurs serait un vrai plus dans ton VI, cela te permettra de mieux gérer le flux de donner sur la manipulation des tes objets et de la même simplifier la mise en palce de temporisation si nécessaire.
    Cordialement.
    .mesLeft{float:left} .mesInfo{border-left:solid 1px #989898;font-size:x-small;color:#989898} .mesLogo{float:right;opacity:0.18} .mesLogo:hover{opacity:0.9}
    Maxime R.  
      CLD - Certified LabVIEW Developer / Développeur LabVIEW Certifié  
      CLAD - Certified LabVIEW Associate Developer   

  • Arreter execution VI

    Bonjour,
    J'ai un sous VI dans un VI lorsque j'appuie sur un bouton, celui ci ouvre le sous vi. Sans le sous VI lorsque j'appuie sur un bouton cela revient au premier VI. J'ai suivi les instruction sur ce forum pour fermer mon sous VI mais le problème, c'est que le noeud de propriété ferme la face avant mais n'interrompt pas l'exécution du sous VI. Ainsi, une fois revenu au premier VI, je ne peut pas accéder au sous VI ou encore quitter Labview (à l'aide du bloc quitter Labview).
    Pouvez vous m'aider ?
    Résolu !
    Accéder à la solution.

    Bonjour,
    Voici le VI manquant.
    Il faudrait nous communiquer un numéro d'erreur pour que l'on puisse vous aider plus amplement.
    Cordialement,
    Da Helmut
    Pièces jointes :
    vi.Force.Fermeture.Face.Avant.vi ‏28 KB

  • Probleme d'initiali​sation entre MAX et une PCI 7340

    bonjour,
    je rencontre un problème de temps d'execution dû à une mauvaise initialisation de ma carte PCI7342
    J'ai réalisé un executable via labwindow CVI qui initialise la carte et qui lit 1000 fois la voie ananlogique 2.
    Le temps pour executer les 1000 lectures est de 7.78 secondes
    N'ayant que la voie analogique 2 activée et que le temps de scan est de 50 µs je devrais normalement executer mes  1000 lectures en 50 ms.
    Par contre si j'ouvre MAX et le referme avant de lancer mon executable, mon temps de lecture est réduit à 1.18 s.
    J'utilise NI motion 8.2, Max 4.7 et Labwindow CVI 7.0.
    J'ai installé les derniers firmwares pour la carte et aucune erreur n'est retournée pendant l'execution du programme.
    Mon système d'exploitation est un Windows XP pro 32 bits
    Merci d'avance pour les réponses qui j'éspère pourront solutionner mon problème

    Bonjour Romain
    Merci d'avoir répondu
    Pour répondre à vos questions:
    Non je ne fais pas appel à Max dans mon programme
    Lorsque j'ouvre Max ma carte est toujours reconnu et la ma configuration de paramètres est toujours présente
    Après quelques recherches, j'ai découvert que le temps d'execution pour une commande de lecture est de l'ordre de 1,4 ms sur une carte type PCI 7340, donc je ne suis plus surpris lorsque j'obtiens un temps d'execution de l'ordre de 1,4 s pour 1000 mesures ( à rappeler que j'obtiens ce temps que si j'ouvre MAX au démarrage de mon PC)
    en pièce jointe, vous trouverez le programme en C que j'execute sous labwindow
    cordialement
    Pièces jointes :
    prog.txt ‏2 KB

  • Erreur exe - impossible de trouver la librairie error.lib

    Bonjour,
    Quand je compile un projet avec uniquement un gestionnaire d'erreur simple pour générer l'exe tout est OK, mais le projet génère beaucoup de dépendances.
    Puis, à l'execution, il ne trouve pas :
    NotFoundDialog.vi
    DetailsDisplayDialog.vi
    SetStringValue.vi
    Si j'ignore ces éléments, une fenetre s'ouvre avec :
    Sous VI SetStringValue manquant dans VI GeneralErrorHandler CORE.vi
    Sous VI DetailsDisplayDialog manquant dans VI GeneralErrorHandler CORE.vi
    Sous VI NotFoundDialog manquant dans VI GeneralErrorHandler CORE.vi
    L'exe n'est évidemment pas fonctionnel.
    Que faire ? Dois je inclure des vi ou lib à la compilation ? Merci.

    Bonjour,
    Pouvez vous m'indiquer quelle est votre version de LabVIEW ?
    Avez vous essayé de faire une compilation de masse : Outils » Avancé » Recompiler
    Cordialement,

  • Alimenter fichier excel

    Bonjour à tous.
    Je vous explique mon problème.
    J'ai un programme qui ouvre un fichier excel et qui alimente ce fichier avec certaines valeurs ( date, nom de l'opérateur ... ).
    Mon problème est qu'à chaque exécution du programme, un nouveau fichier Excel s'ouvre alors que j'aimerais alimenter le fichier Excel ouvert pendant l'execution précédente.
    Je pense qu'en ouvrant mon fichier, il faut lire le nombre de ligne déjà écrites m, et écrire à la ligne m+2 par exemple mais je ne sais pas comment faire.
    Ou si vous avez d'autres idées pour m'aider je suis preneur.
    Je vous met mon diagramme en piece jointe.
    Merci à vous.
    Nicolas
    Pièces jointes :
    Sans titre 2.vi ‏14 KB

    Bonjour,
    Si je comprends bien votre problème, vous voulez utiliser systématiquement
    le même fichier Excel. Vous pouvez pour cela vous inspirer de ce lien:
    http://decibel.ni.com/content/docs/DOC-3546
    et utiliser en particulier le bloc « ouvrir/créer/remplacer un fichier » dans Labview,
    en passant pour constante « open or create » et en donnant un nom de
    fichier fixe.Vous ajouterez ainsi vos données toujours dans le fichier dont
    vous donnez le chemin.
    Mathieu B
    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;}
    Forum Aéronautique, Spatial et Défense. Avec la participation exceptionnelle de Bernard DUPRIEU, Res...

  • The dreaded "could not find the Main Class, Program will exit", how?

    Hello all,
    I am trying to run my .jar file and I get this error message.
    I want to mention I googled and searched for it, without success: There is so many different explanations!
    I tried this:
    Adding some lines in a manifest.fm file...
    Manifest-Version: 1.0
    Ant-Version: Apache Ant 1.7.0
    Created-By: 10.0-b19 (Sun Microsystems Inc.)
    X-COMMENT: Main-Class will be added automatically by build
    I have Netbeans 5.5.
    Also I noticed my "build.xml" file is empty" and my "manifest.fm" nearly empty. I have also added "project, main class" in the options...
    Here is my "build":
    {code}<?xml version="1.0" encoding="UTF-8"?>
    <!-- You may freely edit this file. See commented blocks below for -->
    <!-- some examples of how to customize the build. -->
    <!-- (If you delete it and reopen the project it will be recreated.) -->
    <project name="BetaCourseworkJava3d_Final" default="default" basedir=".">
    <description>Builds, tests, and runs the project BetaCourseworkJava3d_Final.</description>
    <import file="nbproject/build-impl.xml"/>
    <!--
    There exist several targets which are by default empty and which can be
    used for execution of your tasks. These targets are usually executed
    before and after some main targets. They are:
    -pre-init: called before initialization of project properties
    -post-init: called after initialization of project properties
    -pre-compile: called before javac compilation
    -post-compile: called after javac compilation
    -pre-compile-single: called before javac compilation of single file
    -post-compile-single: called after javac compilation of single file
    -pre-compile-test: called before javac compilation of JUnit tests
    -post-compile-test: called after javac compilation of JUnit tests
    -pre-compile-test-single: called before javac compilation of single JUnit test
    -post-compile-test-single: called after javac compilation of single JUunit test
    -pre-jar: called before JAR building
    -post-jar: called after JAR building
    -post-clean: called after cleaning build products
    (Targets beginning with '-' are not intended to be called on their own.)
    Example of inserting an obfuscator after compilation could look like this:
    <target name="-post-compile">
    <obfuscate>
    <fileset dir="${build.classes.dir}"/>
    </obfuscate>
    </target>
    For list of available properties check the imported
    nbproject/build-impl.xml file.
    Another way to customize the build is by overriding existing main targets.
    The targets of interest are:
    -init-macrodef-javac: defines macro for javac compilation
    -init-macrodef-junit: defines macro for junit execution
    -init-macrodef-debug: defines macro for class debugging
    -init-macrodef-java: defines macro for class execution
    -do-jar-with-manifest: JAR building (if you are using a manifest)
    -do-jar-without-manifest: JAR building (if you are not using a manifest)
    run: execution of project
    -javadoc-build: Javadoc generation
    test-report: JUnit report generation
    An example of overriding the target for project execution could look like this:
    <target name="run" depends="BetaCourseworkJava3d_TestsBACKUPSUNDAY05April-impl.jar">
    <exec dir="bin" executable="launcher.exe">
    <arg file="${dist.jar}"/>
    </exec>
    </target>
    Notice that the overridden target depends on the jar target and not only on
    the compile target as the regular run target does. Again, for a list of available
    properties which you can use, check the target you are overriding in the
    nbproject/build-impl.xml file.
    -->
    </project>
    {code}
    my Manifest:
    {code}Manifest-Version: 1.0
    Ant-Version: Apache Ant 1.7.0
    Created-By: 10.0-b19 (Sun Microsystems Inc.)
    X-COMMENT: Main-Class will be added automatically by build
    {code}
    And my whole code (although I have like 4 .JAVA files in my project):
    {code}
    package courseworkjava3d;
    import java.awt.*;
    import java.awt.event.*;
    import com.sun.j3d.utils.geometry.*;
    import com.sun.j3d.utils.universe.*;
    import javax.swing.*;
    import javax.media.j3d.*;
    import javax.vecmath.*;
    import javax.media.j3d.PositionPathInterpolator;
    import javax.media.j3d.Alpha;
    import javax.media.j3d.BoundingSphere;
    import com.sun.j3d.utils.applet.MainFrame;
    import java.applet.Applet;
    import java.awt.event.WindowAdapter;
    import javax.swing.Timer;
    import com.sun.j3d.utils.image.*;
    public class Simple3D extends JFrame implements ActionListener, KeyListener
    private TransformGroup objTransxx;
    private Button go = new Button("Press to start the Bouncing Ball. Press A and S to move the ball Left and Right once it started!");
    private Transform3D transxx = new Transform3D();
    private float height=0.0f;
    private float sign = 1.0f; // aller vers le haut ou vers le bas
    private Timer timer;
    private float xloc=-2.25f;
    public Simple3D()
    setSize(800, 800);
    GraphicsConfiguration graphicsConfig = SimpleUniverse.getPreferredConfiguration();
    Canvas3D canvas = new Canvas3D(graphicsConfig);
    getContentPane().add("Center", canvas);
    BasicUniverse universe = new BasicUniverse(canvas, 8.0f);
    // Rotate the view platform by PI/4 radians about X in the BasicUniverse
    TransformGroup viewTransform = universe.getViewPlatformTransform();
    Transform3D transform = new Transform3D();
    transform.rotX(-Math.PI / 4.0);
    Transform3D currentTransform = new Transform3D();
    viewTransform.getTransform(currentTransform);
    transform.mul(currentTransform);
    viewTransform.setTransform(transform);
    // Add something to display
    BranchGroup scene = createCubeGraph();
    universe.addBranchGraph(scene);
    /* //ultra important! comment theses lines otherwise it bugs!
    //Merde
    setLayout(new BorderLayout());
    GraphicsConfiguration config =
    SimpleUniverse.getPreferredConfiguration();
    Canvas3D c = new Canvas3D(config); */
    add("Center", canvas);
    //i messed up te code, i replaced canvas c by "canvas" as i already had one!
    canvas.addKeyListener(this);
    timer = new Timer(75,this);
    //timer.start();
    Panel p =new Panel();
    p.add(go);
    add("North",p);
    go.addActionListener(this);
    go.addKeyListener(this);
    // Cr�er une sc�ne simple et l�ajouetr � l�univers
    //BranchGroup scene2 = createCubeGraph();
    //SimpleUniverse u = new SimpleUniverse(c);
    //u.getViewingPlatform().setNominalViewingTransform();
    //u.addBranchGraph(scene2);
    //End Merde
    public BranchGroup createCubeGraph() {
    BranchGroup Humanoid = new BranchGroup();
    //Debut Ball REBOUND
    // Create the root of the branch graph
    //BranchGroup objRoot = new BranchGroup();
    objTransxx = new TransformGroup();
    objTransxx.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
    Humanoid.addChild(objTransxx);
    // Cr�er une forme simple et l�ajouter au graph de sc�ne
    Sphere spherex = new Sphere(0.85f);
    objTransxx = new TransformGroup();
    objTransxx.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
    Transform3D pos1 = new Transform3D();
    pos1.setTranslation(new Vector3f(-2.0f,0.0f,-2.0f));
    objTransxx.setTransform(pos1);
    objTransxx.addChild(spherex);
    Humanoid.addChild(objTransxx);
    BoundingSphere boundsx =
    new BoundingSphere(new Point3d(0.0,0.0,0.0), 100.0);
    // I messed up the colors: I have applied 2 times some colorslights to the same BranchGroup
    Color3f light1Colorx = new Color3f(1.0f, 1.0f, 1.0f);
    Vector3f light1Directionx = new Vector3f(4.0f, -7.0f, -12.0f);
    DirectionalLight light1x
    = new DirectionalLight(light1Colorx, light1Directionx);
    light1x.setInfluencingBounds(boundsx);
    Humanoid.addChild(light1x);
    // R�gler la lumi�re ambiante
    Color3f ambientColorx = new Color3f(1.0f, 1.0f, 1.0f);
    AmbientLight ambientLightNodex = new AmbientLight(ambientColorx);
    ambientLightNodex.setInfluencingBounds(boundsx);
    Humanoid.addChild(ambientLightNodex);
    // END BallRebound
    // Apparence BODY
    // Configurer les couleurs
    Color3f blackbody = new Color3f(0.0f, 0.0f, 0.0f);
    Color3f whitebody = new Color3f(1.0f, 1.0f, 1.0f);
    Color3f redbody = new Color3f(0.8f, .85f, .85f);
    // Configurer la texture
    //if I want it in Black and white i need to replace RGB by LUMINANCE
    TextureLoader loaderbody = new TextureLoader("C:\\java3d\\body.jpg", "RGB", new Container());
    Texture texturebody = loaderbody.getTexture();
    texturebody.setBoundaryModeS(Texture.WRAP);
    texturebody.setBoundaryModeT(Texture.WRAP);
    texturebody.setBoundaryColor( new Color4f( 1.0f, 1.0f, 0.0f, 0.0f ) );
    // Configurer les attributs de la texture
    // Param�tres possibles : REPLACE, BLEND ou DECAL (ici, MODULATE)
    TextureAttributes texAttrbody = new TextureAttributes();
    texAttrbody.setTextureMode(TextureAttributes.MODULATE);
    Appearance apbody = new Appearance();
    apbody.setTexture(texturebody);
    apbody.setTextureAttributes(texAttrbody);
    //Configurer le mat�riau
    apbody.setMaterial(new Material(redbody, blackbody, redbody, blackbody, 1.0f));
    // Cr�er une sph�re pour y appliquer les textures
    int primflagsbody = Primitive.GENERATE_NORMALS + Primitive.GENERATE_TEXTURE_COORDS;
    // End Apparence BODY
    // Apparence BODYHEAD
    // Configurer les couleurs
    Color3f blackbodyH = new Color3f(0.0f, 0.0f, 0.0f);
    Color3f whitebodyH = new Color3f(1.0f, 1.0f, 1.0f);
    Color3f redbodyH = new Color3f(0.8f, .85f, .85f);
    // Configurer la texture
    //if I want it in Black and white i need to replace RGB by LUMINANCE
    TextureLoader loaderbodyH = new TextureLoader("C:\\java3d\\head.jpg", "RGB", new Container());
    Texture texturebodyH = loaderbodyH.getTexture();
    texturebodyH.setBoundaryModeS(Texture.WRAP);
    texturebodyH.setBoundaryModeT(Texture.WRAP);
    texturebodyH.setBoundaryColor( new Color4f( 1.0f, 1.0f, 0.0f, 0.0f ) );
    // Configurer les attributs de la texture
    // Param�tres possibles : REPLACE, BLEND ou DECAL (ici, MODULATE)
    TextureAttributes texAttrbodyH = new TextureAttributes();
    texAttrbodyH.setTextureMode(TextureAttributes.MODULATE);
    Appearance apbodyH = new Appearance();
    apbodyH.setTexture(texturebodyH);
    apbodyH.setTextureAttributes(texAttrbodyH);
    //Configurer le mat�riau
    apbodyH.setMaterial(new Material(redbodyH, blackbodyH, redbodyH, blackbodyH, 1.0f));
    // Cr�er une sph�re pour y appliquer les textures
    int primflagsbodyH = Primitive.GENERATE_NORMALS + Primitive.GENERATE_TEXTURE_COORDS;
    // End Apparence BODY HEAD
    //for the trunk c le corps
    TransformGroup fortheTrunk = new TransformGroup();
    //will allow to modify object wgile executing
    fortheTrunk.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
    //alpha rotation time related
    Alpha rotationAlpha2=new Alpha(-1,9000);
    //behviour for our rotation
    RotationInterpolator rotator2= new RotationInterpolator(rotationAlpha2,fortheTrunk);
    // area where rotation will be
    BoundingSphere bounds2=new BoundingSphere();
    rotator2.setSchedulingBounds(bounds2);
    fortheTrunk.addChild(rotator2);
    //end of rtotation
    Alpha transAlphahuman=new Alpha(-1,600);
    //transform 3d trans for the interpolatipon HUMANOID
    Transform3D transhumanoid=new Transform3D();
    //matrix for 2positions
    Point3f[] cheminhuman=new Point3f[3];
    cheminhuman[0]=new Point3f(0.8f,0.0f,0.0f);
    cheminhuman[1]=new Point3f(-0.8f,0.0f,0.0f);
    cheminhuman[2]=new Point3f(0.8f,0.0f,0.0f);
    //matrix of floats to make the dots match with timeline
    float[] timePositionhuman={0.0f,0.50f,1.0f};
    PositionPathInterpolator interpolhuman=new PositionPathInterpolator(transAlphahuman,fortheTrunk,transhumanoid,timePositionhuman,cheminhuman);
    BoundingSphere bounds4=new BoundingSphere();
    interpolhuman.setSchedulingBounds(bounds4);
    fortheTrunk.addChild(interpolhuman);
    //add the trunk to the branchgroup
    Humanoid.addChild(fortheTrunk);
    TransformGroup zeTrunk = new TransformGroup();
    zeTrunk.addChild(new com.sun.j3d.utils.geometry.Box(.55f,.80f,.50f,
    primflagsbody,apbody));
    //t3D for the head= bouge up
    Transform3D T3DHead = new Transform3D();
    T3DHead.set(new Vector3f(0f,1.1f,0f));
    //create a tranform group for this t3Dhead
    TransformGroup fortheHead = new TransformGroup();
    fortheHead.setTransform(T3DHead);
    //add the box head
    //fortheHead.addChild(new com.sun.j3d.utils.geometry.Box(.20f,.20f,.10f, primflagsbody,apbody));
    fortheHead.addChild(new com.sun.j3d.utils.geometry.Sphere(0.35f,primflagsbodyH,apbodyH));
    /* I dont need that anymore it was for putting a flat texture on a face. I chose a sphere instead!
    //transform 3D for the face
    Transform3D T3DFace = new Transform3D();
    T3DFace.set(new Vector3f(0f,0f,.14f));
    //create a TransformGroup for this Face
    TransformGroup Face = new TransformGroup();
    Face.setTransform(T3DFace);
    //add the child box to the face;
    Face.addChild(new com.sun.j3d.utils.geometry.Box(.20f,.20f,.2f,
    primflagsbodyH,apbodyH));
    //add this face to the head as a child
    fortheHead.addChild(Face);
    //tranform3d left arm
    Transform3D T3DArmL = new Transform3D();
    T3DArmL.set(new Vector3f(-0.79f,0.73f,0f));
    //create Tranform Group for the leftarm
    TransformGroup fortheArmL = new TransformGroup();
    fortheArmL.setTransform(T3DArmL);
    //add the group for upperarm
    TransformGroup ArmL = new TransformGroup();
    ArmL.addChild(new com.sun.j3d.utils.geometry.Box(.25f,.14f,.10f,
    primflagsbody,apbody));
    fortheArmL.addChild(ArmL);
    //create a transform3D for the forearmleft
    Transform3D T3DForearmL = new Transform3D();
    T3DForearmL.set(new Vector3f(-.51f,0f,0f));
    //create the tranformgroup for the forearmleft
    TransformGroup ForearmL = new TransformGroup();
    ForearmL.setTransform(T3DForearmL);
    //add the child box to forearm
    ForearmL.addChild(new com.sun.j3d.utils.geometry.Box(.20f,.14f,.10f,
    primflagsbody,apbody));
    ArmL.addChild(ForearmL);
    //create transform 3d for the lefthand
    Transform3D T3DHandL = new Transform3D();
    T3DHandL.set(new Vector3f(-.42f,0f,0f));
    //create the child tranform group for the box of the hand
    TransformGroup HandL= new TransformGroup();
    HandL.setTransform(T3DHandL);
    //add the child hand to the forearm
    ForearmL.addChild(HandL);
    //create the box for the handLeft
    HandL.addChild(new com.sun.j3d.utils.geometry.Box(.10f,.140f,.10f,
    primflagsbody,apbody));
    //Right Arm
    //tranform3d right arm
    Transform3D T3DArmR = new Transform3D();
    T3DArmR.set(new Vector3f(0.79f,0.73f,0f));
    //create Tranform Group for the right arm
    TransformGroup fortheArmR = new TransformGroup();
    fortheArmR.setTransform(T3DArmR);
    //add the group for upperarm right
    TransformGroup ArmR = new TransformGroup();
    ArmR.addChild(new com.sun.j3d.utils.geometry.Box(.25f,.14f,.10f, primflagsbody,apbody));
    //com.sun.j3d.utils.geometry.Box.GENERATE_NORMALS,new Appearance()));
    fortheArmR.addChild(ArmR);
    //create a transform3D for the forearmright
    Transform3D T3DForearmR = new Transform3D();
    T3DForearmR.set(new Vector3f(.51f,0f,0f));
    //create the tranformgroup for the forearmright
    TransformGroup ForearmR = new TransformGroup();
    ForearmR.setTransform(T3DForearmR);
    //add the child box to forearmright
    ForearmR.addChild(new com.sun.j3d.utils.geometry.Box(.20f,.14f,.10f, primflagsbody,apbody));
    ArmR.addChild(ForearmR);
    //create transform 3d for the righthand
    Transform3D T3DHandR = new Transform3D();
    T3DHandR.set(new Vector3f(.42f,0f,0f));
    //create the child tranform group for the box of the hand
    TransformGroup HandR= new TransformGroup();
    HandR.setTransform(T3DHandR);
    //add the child hand to the forearmright
    ForearmR.addChild(HandR);
    //create the box for the handright
    HandR.addChild(new com.sun.j3d.utils.geometry.Box(.10f,.14f,.10f, primflagsbody,apbody));
    //Left Leg
    //tranform3d left leg
    Transform3D T3DLegL = new Transform3D();
    T3DLegL.set(new Vector3f(0.43f,-1.23f,0f));
    //create Tranform Group for the leftleg
    TransformGroup fortheLegL = new TransformGroup();
    fortheLegL.setTransform(T3DLegL);
    //add the group for uppeleg
    TransformGroup LegL = new TransformGroup();
    LegL.addChild(new com.sun.j3d.utils.geometry.Box(.16f,.35f,.10f, primflagsbody,apbody));
    fortheLegL.addChild(LegL);
    //create a transform3D for the downlegleft
    Transform3D T3DDownLegL = new Transform3D();
    T3DDownLegL.set(new Vector3f(0f,-.70f,0f));
    //create the tranformgroup for the downegleft
    TransformGroup DownLegL = new TransformGroup();
    DownLegL.setTransform(T3DDownLegL);
    //add the child box to downlegm
    DownLegL.addChild(new com.sun.j3d.utils.geometry.Box(.16f,.25f,.10f, primflagsbody,apbody));
    LegL.addChild(DownLegL);
    //create transform 3d for the leftfeet
    Transform3D T3DFeetL = new Transform3D();
    T3DFeetL.set(new Vector3f(.0f,-.45f,0f));
    //create the child tranform group for the box of thefeet
    TransformGroup FeetL= new TransformGroup();
    FeetL.setTransform(T3DFeetL);
    //add the child hand to the downleg
    DownLegL.addChild(FeetL);
    //create the box for the feetLeft
    FeetL.addChild(new com.sun.j3d.utils.geometry.Box(.16f,.10f,.15f, primflagsbody,apbody));
    //Right Leg
    //tranform3dright leg
    Transform3D T3DLegR = new Transform3D();
    T3DLegR.set(new Vector3f(-0.43f,-1.23f,0f));
    //create Tranform Group for the righttleg
    TransformGroup fortheLegR = new TransformGroup();
    fortheLegR.setTransform(T3DLegR);
    //add the group for uppelegR
    TransformGroup LegR = new TransformGroup();
    LegR.addChild(new com.sun.j3d.utils.geometry.Box(.16f,.35f,.10f, primflagsbody,apbody));
    fortheLegR.addChild(LegR);
    //create a transform3D for the downlegright
    Transform3D T3DDownLegR = new Transform3D();
    T3DDownLegR.set(new Vector3f(0f,-.70f,0f));
    //create the tranformgroup for the downegright
    TransformGroup DownLegR = new TransformGroup();
    DownLegR.setTransform(T3DDownLegR);
    //add the child box to downlegRight
    DownLegR.addChild(new com.sun.j3d.utils.geometry.Box(.16f,.25f,.10f, primflagsbody,apbody));
    LegR.addChild(DownLegR);
    //create transform 3d for the rightfeet
    Transform3D T3DFeetR = new Transform3D();
    T3DFeetR.set(new Vector3f(.0f,-.45f,0f));
    //create the child tranform group for the box of thefeetright
    TransformGroup FeetR= new TransformGroup();
    FeetR.setTransform(T3DFeetR);
    //add the child feet right to the downleg
    DownLegR.addChild(FeetR);
    //create the box for the feetright
    FeetR.addChild(new com.sun.j3d.utils.geometry.Box(.16f,.10f,.15f, primflagsbody,apbody));
    //rajoute la box zetrunk et des fils
    fortheTrunk.addChild(zeTrunk);
    fortheTrunk.addChild(fortheHead);
    fortheTrunk.addChild(fortheArmL);
    fortheTrunk.addChild(fortheArmR);
    fortheTrunk.addChild(fortheLegL);
    fortheTrunk.addChild(fortheLegR);
    //DEBUT CUBE
    //beginning of rotation
    TransformGroup objSpin=new TransformGroup();
    //create transform 3d for box which spin
    Transform3D T3DobjSpin = new Transform3D();
    T3DobjSpin.set(new Vector3f(-2.50f,.45f,0f));
    //create the child tranform group for the box which spin
    objSpin.setTransform(T3DobjSpin);
    //will allow to modify object while executing
    objSpin.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
    //alpha rotation time related
    Alpha rotationAlpha=new Alpha(-1,900);
    Alpha transAlpha=new Alpha(-1,900);
    //transform 3d trans for the interpolatipon
    Transform3D trans=new Transform3D();
    //matrix for 2positions
    Point3f[] chemin=new Point3f[3];
    chemin[0]=new Point3f(-2.8f,0.40f,1.0f);
    chemin[1]=new Point3f(-0.8f,0.40f,1.0f);
    chemin[2]=new Point3f(-2.8f,0.40f,1.0f);
    //matrix of floats to make the dots match with timeline
    float[] timePosition={0.0f,0.50f,1.0f};
    PositionPathInterpolator interpol=new PositionPathInterpolator(transAlpha,objSpin,trans,timePosition,chemin);
    BoundingSphere bounds3=new BoundingSphere();
    interpol.setSchedulingBounds(bounds3);
    objSpin.addChild(interpol);
    //behviour for our rotation
    RotationInterpolator rotator= new RotationInterpolator(rotationAlpha,objSpin);
    // area where rotation will be
    BoundingSphere bounds=new BoundingSphere();
    rotator.setSchedulingBounds(bounds);
    objSpin.addChild(rotator);
    //end of rtotation
    //add transform group objspin to branchgroup humanoid
    Humanoid.addChild(objSpin);
    //test a cube which heritate of this rotation?
    objSpin.addChild(new ColorCube(0.25));
    //test
    //module cube + transparency
    // create an ALPHA transparency apparence (invisible)
    Appearance app0x=new Appearance();
    app0x.setColoringAttributes(new ColoringAttributes(new Color3f(0.3f,0.2f,1.0f),ColoringAttributes.SHADE_GOURAUD));
    app0x.setTransparencyAttributes(new TransparencyAttributes(TransparencyAttributes.NICEST,0.5f));//0.5f represente 50% de transparence
    // create the blue sphere which rotate
    Transform3D transsphere=new Transform3D();
    transsphere.set(new Vector3f(0.0f, -0.1f, 0.3f));
    TransformGroup TGsphere=new TransformGroup(transsphere);
    TGsphere.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
    objSpin.addChild(TGsphere);
    //objRotatecube.addChild(TGsphere);
    TGsphere.addChild( new Sphere(0.3f,app0x) );
    //End Module Cube + Transparency
    //END CUBE
    //DEBUT WHOLE BIRD
    //beginning of Rotation for Bird
    TransformGroup Bird=new TransformGroup();
    //will allow to modify object while executing
    Bird.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
    //alpha rotation time related
    Alpha rotationAlphaBird=new Alpha(-1,400);
    Alpha transAlphaBird=new Alpha(-1,5990);
    //transform 3d trans for the interpolatipon
    Transform3D transBird=new Transform3D();
    //create transform 3d for the Bird
    transBird.set(new Vector3f(1.90f,-.45f,0.9f));
    //create the child tranform group for the Bird Box
    Bird.setTransform(transBird);
    //matrix for 2positions
    Point3f[] cheminBird=new Point3f[3];
    cheminBird[0]=new Point3f(1.95f,0.0f,-6.8f);
    cheminBird[1]=new Point3f(1.95f,0.90f,-0.8f);
    cheminBird[2]=new Point3f(1.95f,0.0f,5.8f);
    //matrix of floats to make the dots match with timeline
    float[] timePositionBird={0.00f,0.50f,1.0f};
    PositionPathInterpolator interpolBird=new PositionPathInterpolator(transAlphaBird,Bird,transBird,timePosition,cheminBird);
    BoundingSphere bounds3Bird=new BoundingSphere();
    //BoundingSphere bounds3Bird= new BoundingSphere(new Point3d(0.0, 0.0, -50.0), 0.5);
    interpolBird.setSchedulingBounds(bounds3Bird);
    Bird.addChild(interpolBird);
    //behviour for our rotation
    RotationInterpolator rotatorBird= new RotationInterpolator(rotationAlphaBird,Bird);
    // area where rotation will be
    BoundingSphere boundsBird=new BoundingSphere();
    rotatorBird.setSchedulingBounds(boundsBird);
    Bird.addChild(rotatorBird);
    //end of rotation For Bird
    //add transform group objspin to branchgroup humanoid
    Humanoid.addChild(Bird);
    //debut test APPARENCE Wing Left
    //test textures
    // Configurer les couleurs
    Color3f blackx = new Color3f(0.0f, 0.0f, 0.0f);
    Color3f whitex = new Color3f(1.0f, 1.0f, 1.0f);
    Color3f redx = new Color3f(0.7f, .75f, .75f);
    // Configurer la texture
    TextureLoader loaderx = new TextureLoader("C:\\java3d\\pois.jpg", "RGB", new Container());
    Texture texturex = loaderx.getTexture();
    texturex.setBoundaryModeS(Texture.WRAP);
    texturex.setBoundaryModeT(Texture.WRAP);
    texturex.setBoundaryColor( new Color4f( 0.0f, 1.0f, 0.0f, 0.0f ) );
    // Configurer les attributs de la texture
    // Param�tres possibles : REPLACE, BLEND ou DECAL (ici, MODULATE)
    TextureAttributes texAttrx = new TextureAttributes();
    texAttrx.setTextureMode(TextureAttributes.REPLACE);
    Appearance apx = new Appearance();
    apx.setTexture(texturex);
    apx.setTextureAttributes(texAttrx);
    //Configurer le mat�riau
    apx.setMaterial(new Material(redx, blackx, redx, blackx, 1.0f));
    int primflagsx = Primitive.GENERATE_NORMALS + Primitive.GENERATE_TEXTURE_COORDS;
    //End test APPARENCE Wing Left
    //test a cube which heritate of this rotation?
    // Bird.addChild(new ColorCube(0.8));
    //test bird body
    // Bird.addChild(new com.sun.j3d.utils.geometry.Box(.25f,.22f,.45f,
    // com.sun.j3d.utils.geometry.Box.GENERATE_NORMALS,new Appearance()));
    Bird.addChild(new com.sun.j3d.utils.geometry.Box(.25f,.22f,.45f, primflagsx,apx));
    //test WingRightBird
    //create a transform3D for the BirdWIngR
    Transform3D T3DBirdWingR = new Transform3D();
    T3DBirdWingR.set(new Vector3f(0.45f,.0f,-0.35f));
    //create the tranformgroup for the BirdWIngR
    TransformGroup BirdWingR = new TransformGroup();
    BirdWingR.setTransform(T3DBirdWingR);
    //add the child box to BirdWIngR
    // BirdWingR.addChild(new com.sun.j3d.utils.geometry.Box(.43f,.07f,.22f,
    // com.sun.j3d.utils.geometry.Box.GENERATE_NORMALS,new Appearance()));
    //End test WingRightBird
    ////////comments/////////
    //beginning of Rotating WINR
    //----------------------d�but de la cr�ation de la rotation--------------------------------
    TransformGroup WinRSpin=new TransformGroup();
    // permet de modifier l'objet pendant l'execution
    WinRSpin.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
    // on cr�e un fonction de rotation au cours du temps
    Alpha rotationAlphaWinRSpin=new Alpha(-1,1000);
    Transform3D rot = new Transform3D();
    rot.rotX((float)Math.PI/- 2.0f);
    //rot.rotX(-45);
    //rot.rotX((-Math.PI / 4.0)+30);
    //rot.rotZ((-Math.PI / 4.0));
    //rot.rotX(-Math.PI / 4.0);
    //rot.rotY(-Math.PI / 4.0);
    // rot.rotZ(-Math.PI / 4.0);
    // rot.rotY(00);
    //rot.rotZ(45);
    // on cr�e un comportement qui va appliquer la rotation � l'objet voulu
    // on d�finit la zone sur laquelle va s'appliquer la rotation
    //RotationInterpolator rotatorWinRSpin=new RotationInterpolator(rotationAlphaWinRSpin,WinRSpin, rot, 0.50f,(float)(2.0*Math.PI));
    RotationInterpolator rotatorWinRSpin=new RotationInterpolator(rotationAlphaWinRSpin,WinRSpin, rot, 25,26);
    BoundingSphere boundsWinRSpin=new BoundingSphere(new Point3d((Math.PI / 4.0), 0.0, 0.0), 0.5);
    // boundsWinRSpin.setCenter(new Point3d((Math.PI / 4.0),0,0));
    boundsWinRSpin.setCenter(new Point3d(-10,0,0));
    //boundsWinRSpin.setCenter();
    //test put a t3d to a boundingsphere??
    //Transform3D T3Dbounding = new Transform3D();
    // T3Dbounding.set(new Vector3f(5.00f,0.0f,0.00f));
    //WinRSpin.setTransform(T3Dbounding);
    //end test put a t3d to a boundingsphere, not working
    rotatorWinRSpin.setSchedulingBounds(boundsWinRSpin);
    // test BoundingSphere of BODY BIRD rotatorWinRSpin.setSchedulingBounds(boundsBird);
    WinRSpin.addChild(rotatorWinRSpin);
    //----------------------End de la cr�ation de la rotation--------------------------------
    BirdWingR.addChild(WinRSpin);
    // on cree un cube qui h�rite de la rotation
    //WinRSpin.addChild(new ColorCube(0.5));// de rayon 50 cm
    WinRSpin.addChild(new com.sun.j3d.utils.geometry.Box(.43f,.07f,.22f, primflagsx,apx));
    //End of Rotating WINR
    //////// END comments/////////
    //I commented the following, that was the TEST sinusoidal, rotation which help me understood how to rotate wingR
    // -----------d�but de cr�ation de la rotation--------------------------------------------------
    TransformGroup objSpinxx=new TransformGroup();
    // permet de modifier l'objet pendant l'execution
    objSpinxx.setCapability(TransformGroup.ALL

    Thank you very much!
    I cant believe this little comment has been so helpful!
    But yes it is:
    I explain, despite my efforts to find, googled it, forums, faqs, etc...
    no where it mentionned the manifest.fm file is... INSIDE the .jar!
    Your comment "a zip" made me attempt to open it with winrar, and I found a manifest.fm file inside!
    So far I was editing the one at the "source" of my project and rebuilding it with netbeans.
    I am going to try that now.
    Actually.... :( no its mentionning my main class!
    Manifest-Version: 1.0
    Ant-Version: Apache Ant 1.7.0
    Created-By: 10.0-b19 (Sun Microsystems Inc.)
    Main-class: courseworkjava3d.Simple3D
    Class-Path:
    X-COMMENT: Main-Class will be added automatically by buildWell I have no problems uploading you the .jar, it is for a coursework it is not a private project or whatever:
    http://www.uploading.com/files/CM2LKWYU/BetaCourseworkJava3d_Final.jar.html
    Oh and I felt on your comment "dont ask us" as if I was suppose to know... i'm a beginner, I did not know that! And I tried to give you so many infos so you dont lose your time if you want to help, especially as after my own research I found many, many results for this "main class" and I tried a few solutions!
    Edited by: CupofTea on Apr 13, 2008 3:28 AM

  • Problème depuis la mise à jour d'illustrator CC 17.0.1

    Impossible d'ouvrir Illustrator sous mac depuis la mise à jour de ce matin. Pouvez-vous m'aider ?

    Une mise-à-jour n'est jamais anodine.
    C'est quelque chose que je ne fais jamais si j'ai un boulot urgent en cours et/ou si je n'ai pas un autre ordinateur (portable) à disposition comme roue de secours.

  • Comment désinstaller puis réinstaller Photoshop elements 10 sur le même ordinateur?

    Bonjour, j'ai perdu quelques fonctions de ce logiciel et souhaiterais le désinstaller puis le réinstaller sur le même ordinateur. Comment faire?
    Mon problème est que Photoshop Elements 10 n'apparaît plus dans la fenêtre "ouvrir avec" sous windows7.Y a-t-il une autre solution?
    Remerciements

      Windows 7 :
    Tous les utilisateurs : C:\Program Files (x86)\Adobe\Photoshop Elements 11\PhotoshopElementsEditor.exe

  • Problème d'import de vidéo dans Presenter 10

    Bonjour,
    J'utilise Presenter 10 avec Powerpoint 2007, Windows 7 Pro pack service 1, AME CS6 et Quicktime 7.
    Lorsque j'importe une vidéo, AME se lance mais il ne se passe rien et j'obtiens le message d'erreur "l'encodage du fichier a échoué".
    Par contre l'import de SWF fonctionne.
    J'ai essayé avec différents formats de vidéo (MP4, AVI, FLV ...) et dans différents fichiers, y compris un nouveau fichier sans autre contenu.
    Merci d'avance pour votre aide.

    Bonjour Kyokushin,
    La fonction utilisée dans votre programme Tick Count.vi vous renvoi une information codé en U32 et représentant un temps en ms.
    Ce VI est souvent utilisé pour réaliser des opérations de benchmark, c'est à dire connaitre le temps écoulé pendant l'execution d'une partie de votre programme comme le montre cet exemple.
    Aussi si ce qui vous interesse est un Horodatage, vous pouvez utilisez la fonction présentée dans le précedent post. Aussi, si vous désirez enregistrer ces données dans un fichier, vous pouvez vous inspirer de cet exemple ou celui-ci.
    Autrement, je vous encourage également à prendre connaissance du lien ci-dessous, ce qui vous permettra de comprendre les concepts important concernant LabVIEW:
    Getting Started with NI LabVIEW Student Training
    http://zone.ni.com/devzone/cda/tut/p/id/7466
    Cordialement,
    Rémi D.
    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;}
    >> Les rencontres techniques de NI - Mesures et acquisition de données : de la théorie à la mise en ...

  • Problème d'écriture de données

    Bonjour,
         Je suis en doctorat et je suis en train d'apprendre à utiliser LabView 2011. Mon banc expérimental est très simple ainsi que mon utilisiation de LabView.
    Description du banc expérimental :
    - Je fais l'acquisition en temps réel (1 mesure par seconde) de deux signaux (en mA) à travers deux NI4065 USB 
    - Ces signaux sont assez faible (de 4mA à 20mA) 
    - La précision de l'acquisition est 10-6 Ampères 
    J'ai mon programme qui fonctionne très bien, j'ai 2 courbes pour mes 2 signaux et j'ai une petite case qui me donne la lecture instantanée des valeurs acquises avec la précision souhaitée (10-6 Ampères) 
    Lors de l'écriture dans fichier DAT je rencontre 2 problèmes :
    1) je ne trouve que des valeurs à 10-3 Ampères 
    2) la partie temps m'afficher des valeurs bizarres du type 7594348 mais qui s'incrémente tout de même
    J'ai essayé de modifier dans les propriètés mais je ne trouve rien 
    Pouvez vous m'aider SVP?
    Merci d'avance

    Bonjour Kyokushin,
    La fonction utilisée dans votre programme Tick Count.vi vous renvoi une information codé en U32 et représentant un temps en ms.
    Ce VI est souvent utilisé pour réaliser des opérations de benchmark, c'est à dire connaitre le temps écoulé pendant l'execution d'une partie de votre programme comme le montre cet exemple.
    Aussi si ce qui vous interesse est un Horodatage, vous pouvez utilisez la fonction présentée dans le précedent post. Aussi, si vous désirez enregistrer ces données dans un fichier, vous pouvez vous inspirer de cet exemple ou celui-ci.
    Autrement, je vous encourage également à prendre connaissance du lien ci-dessous, ce qui vous permettra de comprendre les concepts important concernant LabVIEW:
    Getting Started with NI LabVIEW Student Training
    http://zone.ni.com/devzone/cda/tut/p/id/7466
    Cordialement,
    Rémi D.
    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;}
    >> Les rencontres techniques de NI - Mesures et acquisition de données : de la théorie à la mise en ...

Maybe you are looking for