06-18-2012 03:16 AM
I want to make a VI that accepts command line arguments and prints out the result on stdout.
I also want it to be runnable on cmd.exe.
I want such a command as "A.vi arg1 arg2 arg3" to produce some texts on stdout.
Is it possible?
Solved! Go to Solution.
06-18-2012 03:48 AM
Hi
You can use some ideas from the following link http://digital.ni.com/public.nsf/allkb/17C3AD70493CE0208625666A00763364 to pass arguments to labview.
Using System Exec.vi you can view the output of the command on the stdout terminal.
Regards
Javed
06-18-2012 04:11 AM
Also, have a look at this:-
06-18-2012 04:20 AM
The VI is in labview version 4. Can you convert it to a later version (8 or above)?
06-18-2012 07:57 AM
@iCat wrote:
I want to make a VI that accepts command line arguments and prints out the result on stdout.
I also want it to be runnable on cmd.exe.
I want such a command as "A.vi arg1 arg2 arg3" to produce some texts on stdout.
Is it possible?
See this post regarding using the console: http://forums.ni.com/t5/LabVIEW/Call-Library-Node-with-Console/m-p/2024248#M663187