LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

erreur lors de la création d'un exe

Bonjour, Lors de la création d'un programme avec utiliation des fonction rapport excel, le programme source fonctionne sans erreur alors que le programme . exe ne fonctionne pas.

en exemple le fchier test rapport.vi

qui utilse le fichier excel testreport.xltx

l'application est créée avec tous les paramètres par défaut.

 

Download All
0 Kudos
Message 1 of 2
(3,022 Views)

Hi Clément,

 

This the English speaking part of the forum, please post in the French section next time if you want to interact in French 😉

 

As for your application, I don't see any problem, it actually runs the way it's meant to run.

When you run the program in the development environment, you give your VI the path of the .xltx file and then start your VI.

When you run your .exe, you don't have time to select a file path. Thus you try to open a file with an empty path, getting an error.

 

Try to add a while loop or an event structure in order to wait for the user to fill the path command.

 

Some help about event structures : http://zone.ni.com/reference/en-XX/help/371361K-01/glang/event_structure/

 

Feel free to ask for some more info 😉

Maxime L
Certified LabVIEW Architect
National Instruments
0 Kudos
Message 2 of 2
(2,982 Views)