LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Exécution d'application

Solved!
Go to solution

Bonjour,

 

Est ce qu'il est possible d'ouvrir une application LabVIEW sans l'exécuter ?

Est ce qu'il est aussi possible de mettre les boutons Exécuter et Stop sur le Front Panel ?

 

Merci d'avance

Maxime

0 Kudos
Message 1 of 4
(155 Views)

if you are talking about an executable, yes you can

 

1. To avoid Running when opening the EXE:

Before generating the Executable, on the original Vi  right click on the VI icon and select VI Properties ->Execution

ensure that the option "Run when Opened" is NOT Checked.

LVNinja_2-1711641422162.png

2 To show Run and Stop 

ON the Vi properties, select -> Windows Appearance then click on CUSTOMIZE

LVNinja_1-1711641338394.png

on the next window

Ensure that the options:

Show Tool bar when running and

Show Abort button and Show Run Button are selected. 

 

 

LVNinja_3-1711641686810.png

 

 

 

0 Kudos
Message 2 of 4
(134 Views)
Solution
Accepted by topic author MaximeBrrr

@MaximeBrrr wrote:

(translated by google)

Is it possible to open a LabVIEW application without running it? Is it also possible to put the Run and Stop buttons on the Front Panel?


A build application should always be running and built as a proper state machine, so your question is questionable. 😄

A proper state machine starts out in an idle state and waits for user actions after initialization. That way you can place any controls you want and code for them (e.g. to start an experiment, or close the program) 

 

You can change the build specifications to e.g. show the toolbar or not to run when opened, but these are not reasonable choices. (build specs, source file settings)

 

altenbach_0-1711644319287.png

 

0 Kudos
Message 3 of 4
(126 Views)

Merci pour vos réponses, ça fonctionne ! 

J'avais besoin de faire cela pour la sélection des port Com et la sélection de l'emplacement avant de faire tourner l'application.

 

Maxime

0 Kudos
Message 4 of 4
(66 Views)