03-25-2009 01:49 AM
I suggest you to start a new thread.
Why am telling this is the person who started this thread Jimmy, was not going to be online anymore. So this thread will remain not marked as a solved one.
Instead if you started a new thread now and once you solved the problem, please mark solution so that it will be useful in future for young developers.
Thanks for your understanding,
Mathan
12-16-2016 02:39 PM
Just so future folks know,
You can get command line arguments into LV (if you're buidling an EXE/DLL/something that needds them when called from a command line) simply by using the following format shown in the attached paint.
In text, use a reference to the current Application (this can be gotten as the "VI Server Reference" from the Application panel under Programming from the "Functions Pallette"; after dropping it on the block diagram, right click on it and tell it to use the Application rather than the VI) to create a property node (by right clicking; second paint) for appliation to use the "Command Line Arguments". This will give you an array of strings to work with. Each element will be a command line argument in the order they're provided from the command line in.
To test operation after making your VI I recommend building it into an EXE and then calling it from the command line with some arguments. You should see your string array populate accordingly.
Good Luck!
Josh