LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to start an application with parameters

Solved!
Go to solution

Hello together,

 

I have written an application which is stored on a network. People from different computer start it to work with it. Now I have the problem, that I need some different configurations on each computer.

 

Is it possible to start a labview application with parameters, like: application.exe -User_1

 

The application should check the parametes and should switch to the needed configuration.

 

Thanks a lot and best regards,

Michael

0 Kudos
Message 1 of 2
(2,448 Views)
Solution
Accepted by topic author MichaGue_01

Hi Michael,

yes it is possible. First you have to activate the data transfer of your parameters. You can do it in the application builder. It is something like "send command line parameters to exe" which you have to activate. You will get the parameter in your program with the property "App.Args". It is an array with the exe name as the first element and one entry for each additional linked parameter.

 

Hope it helps.

Mike

Message 2 of 2
(2,444 Views)