Création d'installeur (setup.exe) sous Labview

Bonjour à tous,
Je suis nouveau dans ce forum et je viens de finir mes études aussi lol.
J'ai réaliser un gros projet sous labview avec des centaines de VI.
J'aimerai savoir comment créer un installeur afin que mon soft soit distribuable ?
En gros, avoir une icone setup.exe qui permet d'installer mon soft sur n'importe quel PC même non équipé de l'IDE LabView...
Merci d'avance.

Bonjour,
Il existe un forum supplémentaire si vous souhaitez publier en français.
S'il vous plaît le trouver ici -> Discussions de produit de NI
Christian

Similar Messages

  • Comment contruire un installeur (setup.exe)

    Bonjour à tous,
    Je suis nouveau dans ce forum et je viens de finir mes études aussi lol.
    J'ai réaliser un gros projet sous labview avec des centaines de VI.
    J'aimerai savoir comment créer un installeur afin que mon soft soit distribuable ?
    En gros, avoir une icone setup.exe qui permet d'installer mon soft sur n'importe quel PC même non équipé de l'IDE LabView...
    Solved!
    Go to Solution.

    Salut,
    Il y a une section FR c'est mieux si tu postes en français.
    Sinon une fois ton exe construit.
    Dans build specifications, click droit new=>installer
    sa ouvre une fenetre ou tu pourras configurer ton installeur, qui fera ce que tu souhaites
    prend bien le temps de lire ce qui est demandé et placer les fichiers sources au bon endroit.
    A+
    Rodéric L
    Certified LabVIEW Architect

  • How to Launch a "setup.exe" with LabVIEW app? No luck with System Exec.vi

    I've got an application that I'm trying to update with a separate LabVIEW application (the "Updater"). It's the "Check for Updates" capability you see on other major apps.
    Here's the glitch: When the Updater tries to launch "setup.exe" using "System Exec.vi", The installer seems to catch the attempt and pops a dialog titled "Windws XP Setup" saying "Please go to the Control Panel to install and configure system components".  The install does not begin and the installer closes (if it was ever open!).
    Running the same installer by double-clicking the "setup.exe" file from windows runs just fine.
    Here's the question: "How can a LabView app launch an installer?" 

    Could you show the code.
    Look at the path where you want to run the code.
    Ton
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

  • Compilation sous LabVIEW 2009 et windows XP

    Bonjour,
    J'ai besoin d'une info :
    Est-il possible de compiler un exe sous LabVIEW 2009 et windows XP et le faire tourner sous windows 7 ?
    Merci d'avance.
    Philippe B.
    Certified Associate Developer / Dépt Moyens d'essais
    www.ingenia-system.com

    Bonjour,
    Oui c'est possible
    Le run-time de LabVIEW 2009 est compatible avec Windows 7.
    Tant que vous ne souhaitez pas creer un executable 64 bits cela reste possible.
    Que vous compiliez un executable sous Windows XP ou Windows 7 sa structure reste la meme.
    Cordialement,
    Da Helmut

  • Getting "setup.exe has stopped working" message when trying to install labview 2011 or 2012 on a windows 7 machine

    I am getting a "setup.exe has stopped working" message when trying to install labview 2011 or 2012 on a windows 7 machine. I already tried running setup.exe as an administrator with the same results. I have Microsoft .NET Framework 4.5.1 installed on the affected machine. Could this be the cause of this issue? Or does someone know the root cause of such error?
    Solved!
    Go to Solution.

    Hi - are you getting it at the start of installation, during or after 100% progress has finished?
    Is it just LabVIEW you're installing, or is it drivers too, in which case, what was the last large package that was installing at the time?
    This could be caused by the NVIDIA chipset driver :
    https://decibel.ni.com/content/message/46299?tstar​t=-130
    Thanks
    Sacha
    // it takes almost no time to rate an answer

  • Création d'un executable sous Labview

    Bonjour à tous,
    Ayant consulté l'aide NI pour créer un executbale (http://www.ni.com/white-paper/12930/fr/) , je me pose plusieurs interrogations.
    Notamment, lorsqu'on établie un chemin par défaut pour charger des configurations, comment cela est-il gérer ?
    De plus, l'application sera plus vite exécutée que sous Labview ?
    Cordialement
    Résolu !
    Accéder à la solution.

    aznnath11 a écrit :
    Notamment, lorsqu'on établie un chemin par défaut pour charger des configurations, comment cela est-il gérer ?
    C'est au développeur de le gérer, une pratique courante est d'avoir un dossier "support" ou "config" à côté de l'exe et aussi à côté du code source (chemin relatif identique qu'on soit en source ou en exe) et de mettre les fichiers de config dedans.
    Pour ça, on utilise le vi "application path" qui se trouve dans la palette fichier (ou une de ses sous-palettes).
    aznnath11 a écrit :
    De plus, l'application sera plus vite exécutée que sous Labview ?
    Ce n'est pas toujours le cas, mais si l'application est corretement développée (= gestion de la mémoire et de tempo) alors on peut attendre un bonus de l'ordre de 10%, c'est en gros ce que j'ai dans des applications avec acquisition et traitement d'image.
    When my feet touch the ground each morning the devil thinks "bloody hell... He's up again!"

  • Récupération d'event lors du lancement d'un exe développer en C sous LabView

    Je lance un exe par la fonction Systen exe.vi, celui ci génére un event que je souhaite récupérer sous LabView 8.2.
    Est ce possible et si oui comment faire pour se synchroniser sur cet event.
    La fonction que j'utilise en C est "hEvent = OpenEvent(SYNCHRONIZE,TRUE,"event1");
    Par avance merci pour votre aide

    Hi,
    To use the OpenEvent function, you have to call the Win32 API in LabVIEW as it is a Windows Event. In order to do that, you have to use the Call Library Function Node in LabVIEW.
    Here is a link to the LabVIEW 8.2 Help of this function. This link might also be useful to help you understand how call to a Win32 API can be done : Example 3: Call the Win32 API. Here is a link for the OpenEvent function details in the MSDN Library. And finally this is a forum post from a user who is using the Call Library Function Node to call CreateEvent which will give you a good example on how to use it.
    I hope this will help you,
    Charlotte F. | CLAD
    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;}
    >> "Du 11 octobre au 17 novembre, 2 sessions en parallèle : bien démarrer - approfondir vos connais...

  • Erreur lors de la création d'un executable sous LabVIEW SP1

    Bonjour,
    Je travaille actuellement sur un projet relativement imposant sous LabVIEW 2010 SP1.
    Le projet étant assez imposant,j'ai voulu en faire un exécutable.
    J'ai alors la fenêtre suivante qui apparaît (voir piéce jointe):
    "Une erreur est survenue lors de l'appel de l'éditeur des régles de construction. Veuillez vérifier si les VIs sont brisés dans le répertoire du gestionnaire correspondant."
    Mon Vi fonctionne trés bien lorsque je l'éxecute, donc je ne comprends pas. De plus j'ai déja créer d'autres exécutables sans probléme jusqu'a présent.
    Quelqu'un aurait-il une idée pour solutionner ce probleme?
    Merci d'avance.
    Résolu !
    Accéder à la solution.
    Pièces jointes :
    erreur.JPG ‏11 KB

    @Ramses:
    Je pense que Julien utilise une option du menu Outils (je ne sais plus son nom, et elle n'apparait pas sur mon PC car je n'ai pas l'application builder), qui permet de préparer son VI pour un exécutable. A ce moment, cela va créer automatiquement un projet avec une spécification de construction.
    Cependant, je suis de l'avis de Ramses. Il est préférable de se créer son projet et de travailler dedans, puis de créer les spécifications de construction par la suite...
    Et désolé, mais je n'ai pas d'explication à votre problème, à part éventuellement des dépendances particulières. Lorsque vous ouvrez votre VI, LabVIEW vous demande-t-il de charger des fichiers particuliers?
    Cordialement
    Olivier L. | Certified LabVIEW Developer

  • Problème de ralentisse​ment sous LabVIEW 7.0

    Bonjour,
    nous rencontrons actuellement un phénomène de ralentissement sur une application développée sous LabVIEW 7.0.
    Description des ressources et de la configuration utilisée (pour info) :
    LabVIEW 7.0
    NI-DAQ 8.0.1
    2 cartes PCI-6229 avec :
    une acquisition analogique à 10 kHz - échantillons prélevés par bloc de 1000
    une acquisition de type codeur
    des entrées/sorties TOR
    2 cartes PCI-6528 (entrées/sorties TOR)
    1 carte MOXA C168H (carte ISA 8 ports série)
    2 cartes Exotest PCI pour dialogue LIN et Ligne K
    L'application tourne en mode debug (= il ne s'agit pas d'un exécutable)
    Application d'environ 350 VIs
    Utilisation (a priori à bon escient) de la réentrance, du parallélisme, de sémaphores, ... (en bref, il s'agit d'une application multi-tâches classique)
    Description des symptômes :
    Le ralentissment constaté n'est pas systématique. L'application tourne en général parfaitement, mais parfois, dès le lancement de celle-ci, parfois après 10 minutes, parfois après une heure, et parfois plus, nous constatons un fort ralentissement de l'application. Cela se traduit par le ralentissement du déroulement de notre séquenceur (il s'agit d'une application pour un banc de test).
    Nous ne constatons aucune augmentation du taux d'occupation du CPU, et aucune augmentation de mémoire.
    La difficulté principale de notre problème est que nous ne savons absolument ce qui peut provoquer un ralentissement si soudain, si imprévisible et qui ne se traduit pas par un taux d'occupation du CPU élevé.
    Actions déjà faites :
    Nous avons utilisé l'outil d'observation de profil des VIs (Outils > Avancé > Optimisation de VIs...) mais n'avons rien constaté d'aberrant.
    Nous avons lu (et appliqué) les principes de la documentation suivante : http://forums.ni.com/attachments/ni/250/7849/1/prf​rmnc.pdf
    La (les) question(s) :
    Un tel phénomène a-t-il déjà été rencontré ?
    Avez-vous des conseils particuliers (autres que ceux contenus dans le document ci-dessus) ?
    Pensez-vous à une action particulière à réaliser ?
    Merci par avance !

    Bonjour,
    Obtenez vous un code d'erreur? A quelle étape s'arrête la création de votre executable ?
    je vous envoie un lien qui traite de probleme d'executable avec les boitiers USB
    http://digital.ni.com/public.nsf/websearch/129BE1A90E522E3886256F24007606F4?OpenDocument
    Cordialement
    Alexandre D
    NIF

  • Récupérer l'adresse de stockage d'un tableau sous LabVIEW

    Bonjour à tous,
    Je viens à vous pour résoudre le problème suivant:
    J'utilise une DLL en LabVIEW. Cette DLL possède une fonction qui passe (notamment) un pointeur de tableau en argument. J'ai remarqué que l'assistant "Importation d'une bibliothèque partagée" a choisi une variable chaîne à la place de ce pointeur de tableau, ce qui sous-entend que la fonction s'attend à l'adresse du premier élément du tableau...
    De fait, pour utiliser la fonction sous LabVIEW, je dois créer un tableau (jusque là, ça va) puis surtout récupérer l'adresse de son premier élément. Et c'est là que le bât blesse:
    - Existe-t-il un VI renvoyant l'adresse d'une variable ?
    - Et d'ailleurs, la création d'un tableau en LabVIEW se fait-elle de la même façon que la création d'un tableau en C (au niveau de l'adressage, j'entends) ?
    Merci d'avance !
    Résolu !
    Accéder à la solution.

    Tu dois "passer" un Tableau à une fonction contenue dans une DLL .... c'est bien ça ?
    un tableau de quoi ? ...
    voici un (tout petit) exemple avec un Tableau de U8.
    Tu cables directement le Tableau à l'entrée du Noeud "Call Library Function Node"
    mais "avant", tu dois configurer cet appel (clic droit sur le noeud ... "configure")
    et là tu peux demander à LV de passer l'adresse du Tableau
    Dans ce cas LV passera l'adresse (pointeur) du premier élément du Tableau

  • Icones DAQMX sous Labview

    Bonjour,
    après avoir installé Labview V9, le patch f3, et les fichiers DAQMX pour ma carte USB6009, je n'ai pas les icones "DAQ", "DAQMX" etc... disponibles sous Labview.
    Ma carte marche (auto test OK, acquisition possible par SignalExpress par exemple), mais Labview semble ne pas avoir détecté la présence de ma carte.
    D'après ce que je vois sur les forums, ça pourrait venir des drivers DAQMX (télecharger les nouvelles versions ???). Ou bien faut il faire une manip pour que Labview reconnaisse ma carte (ex: copier des fichiers .lib dans un répertoire ?
    Merci pour votre aide.

    Je tenterais une réinstallation personnalisée des drivers de périphériques en prenant soin d'activer le support pour LV 9 dans la boîte de configuration de l'installeur.

  • Comment créer une dll sous labview avec plusieurs fonctions venant du même VI et possédant un tabcontrol ?

    Comment créer une dll sous labview avec plusieurs fonctions venant du même VI et possédant un tabcontrol ?

    Bonjour,
    L’utilisation d’une « commande d’onglet », ou « tabcontrol », ne pose pas de problème pour la définition d’une DLL à partir d’un VI.
    Selon la version de LabVIEW que vous utilisez, le processus de création de DLL sera différent.
    Si vous utilisez une version antérieure à la v8, vous pouvez vous reporter à ce lien : Construire une DLL avec LabVIEW 7.0.
    Sinon, vous devez enregistrer votre VI dans un projet, puis définir le connecteur de votre VI avec les paramètres d’entrées/sorties (cette opération est indépendante des différentes « commandes d’onglet » que vous avez pu implémenter).
    Sélectionnez, dans le projet les « spécifications de construction » dans le projet (via un click droit), pour créer une DLL. Dans la boite de dialogue qui s’ouvre alors, à l’onglet « fichiers source », vous pouvez ajouter votre VI parmi les « VIs exportés » et configurer, en fonction des E/S câblées sur le connecteur de votre VI, les fonctions contenues dans la DLL.
    J’espère que ces quelques éléments auront pu vous éclairer.
    Cordialement,
    Guillaume H.
    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;}
    >> NIDays 2011, le mardi 8 février au CNIT de Paris La Défense

  • \\SERVER\Clients\Setup\setup.exe with Windows Vista Error

    I added the first Vista client to an SBS 2003, SP1 domain.  Until now, all clients were WinXP, SP2.  Office 2003 is installed on the XP clients, and the Vista client, which may not be pertinent to this problem.
    As is normal, "\\SERVER\Clients\Setup\setup.exe /s SERVER" is executed when a user logs on to any domain client.  On the Vista client, I always get the dialog -- regardless of the account privilege -- asking for permission to run Setup.exe.  It is annoying.  Occasionally, the Program Compatiblity Assistant will appear and advise there's a known compatiblity issue with Setup.exe.  It points to KB article 926505 for resolution.  The title of the KB is, "Windows Small Business Server 2003: Windows Vista and Outlook 2007 compatibility update."
    When I run the SBS2003SP1-KB926505-X86-ENU.EXE fix, I get the error:  "This update cannot be installed.  Either it is already installed as part of an existing service pack, or it requires a more recent service pack.  For more information, see the systems requirements on the download page."
    I installed Windows Server 2003 SP2 and run the KB926505 fix, but I get the same error  "This update cannot be installed.  Either it is already installed as part of an existing service pack" After a reboot of te SBS server the same  problem on the Vista client, I always get the dialog -- regardless of the account privilege -- asking for permission to run Setup.exe.  It is annoying.  Occasionally, the Program Compatiblity Assistant will appear and advise there's a known compatiblity issue with Setup.exe.  It points to KB article 926505 for resolution.
    The problem is Windows Vista Business, because all windows XP clients have no problem at all.

    PNP,
    You do not say whether if you accept the permission dialog whether the setup continues or not, but the short answer to the question revolves around UAC.
    Remember that EVERY user (except the actual Administrator account) has only Standard user rights regardless of group.  When a task that requires Admin rights is executed, one of three things will happen: 1) If you are THE Administrator, then your task will continue.  2) If you have Admin rights, you will be prompted that a process is trying to use elevated rights and ask for permission, or 3) If you are a Standard user, you will either be denied flatly or prompted to supply credentials.  Which of these happen depend on GPO settings, but the default is to prompt.
    In any event, I believe that this is what you are running into, and is one of the big feature improvements in Vista.  Yes, it can be a bit annoying (Try deleting an "All Users" icon from the Start Menu!) but is there to place one more barrier between virus and malware writers and your OS.
    If it's TOO annoying to bear, you can turn off UAC by going into your profile and disabling it. (It requires Admin rights, of course. )  It is not recommended as you do a very effective job or nutering the Vista Security Model by doing so.
    If it, of course, your choice.  we IT Admins have a lot more issues with this than the standard user, but for me, I gladly take the tradeoff because I worry a lot less about those few I HAVE to give Admin rights to.
    Good luck!

  • Photoshop CS4 Setup.exe gets Setup Error on Windows 8.1

    First: I've paid for Photoshop and upgrades for many years. However, when time came to upgrade from CS4 to CS6 last year, Adobe had shut that avenue off, and didn't want my money.
    I now have a new computer, and need to re-install Photoshop CS4. I followed the CS4 download instructions in this forum (because Adobe has also removed those instructions -- even though they sold the CS4 upgrade as a download!)
    When I run the Setup.exe file, three things happen right away:
    1) It says "Checking System Profile"
    2) It says "Setup Error -- Setup hs encountered an error and cannot continue. Contact Adobe Customer Support for assistance."
    3) It pops up a dialog and asks for a serial number.
    This happens even when I Run As Administrator.
    Trying to contact Adobe Customer Support just re-directs me to these forums.
    Help!

    The problem is not with activation, because the Setup Error happens before I enter any serial number.
    I am downloading from Adobe, using the download suggestions found in another thread.
    I have the discs for CS2, but not CS4, as CS4 was bought as a downloadable upgrade.
    It turns out that, if I ignore the setup error and dismiss that dialog, and enter my serial number (and that of the previous version, because it's an upgrade,) it goes ahead and installs, so the "error must quit" is apparently not quite accurate.

  • 8i EE Setup.exe crash - XP Pro and AMD X2 CPU

    When trying to install 8i on my XP Pro (SP2) box with and AMD X2 3800+, setup.exe crashes as soon as it is run. I've tried the fix for P4s (renaming the symcjit.dll instances), but to no avail. This happens wherever the setup.exe is run from.
    Has anyone encountered this problem and managed to fix it?

    Hope you realize that Microsoft has changed a number of the kernel APIs with XP. Oracle8i was written to older APIs and you may experience crashes, possibly at random, simply because you are trying to run things in an incompatible way.
    (I see this as a bit like buying a new car chassis and putting in an old engine and transmission - there is a lot of tinkering required to get the motor mounts to match.)
    In my experience, people who have made 8i work on XP Pro have generally upgraded XP from an older OS and have been lucky enough to have the old APIs still lying around.
    Suggest you try moving up to a newer version of Oracle and, if necessary, use the compatibility parameter to keep compatibility.

Maybe you are looking for