04-11-2017 08:45 AM
Hi,
I am loading a application using System Exec.vi.
Is it possible to provide a input to the same while loading.
For example if the application has control 'IP address' I would like to set the IP address while locading the application.
The application is in .exe format.
Thanks,
Bharath
04-11-2017 08:52 AM
Look for a property node for the Application class that is called Command Line Arguments.
04-11-2017 10:17 AM
Also watch the build specification for the executable. There is an option somewhere in there for accepting command line arguments. Make sure that is enabled. Then in your code, you can use the Application->Arguments property.
04-12-2017 08:55 AM
Hi,
Thanks for update.
I am trying to open RT Console View programattically using System Exec.vi
upon running I am getting the Console view window.
I am looking to provide input for Target Machine/IP dynamically.
Thanks,
Visuman
04-12-2017 09:25 AM
You originally asked for an input while it was loading.
Now you say "dynamically" and I assume that means when it has already loaded and while running.
There is no direct way to do that. Are you sure there isn't another way to do what you want to do? Rather than trying to create a hack to work with an existing executable, it is probably better to program that functionality directly in your LabVIEW application.
One thing you could try to do is manipulate the executable's window through a program like AutoIT.
04-12-2017 11:55 PM
Hi,
Requirement is same.
Need to provide the IP Address input while Console View is loading.
Its not dynamic.
Thanks,
Visuman