LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

question about system exce.vi

Hi Mike,
 
Have another look at the help message for system exec.vi. You'll see that there is an input for "Standard Input" That's where to put the Tcl commands - I think I said that last time.
 
The "wait until completed" (in this example) affects whether or not you will be able to communicate with your shell in an MS-DOS window or not [I am guessing that the Tcl shell uses an MS-DOS window for its I/O, rather than making its own] This gives you the choice of an interactive session with your shell, or loading a series of commands into the vi's "Standard input" and having the results appear in "standard output"
 
The "run minimised" option determines whether or not you see the MS-DOS window. If you want an interactive session you'll want this to be false!
 
I don't have tclsh, so can't be sure how it will behave, but the technique works fine for another program that is called from MS-DOS, such as ftp.
 
Rod.
 
 

Message Edited by Rod on 07-31-2007 10:14 AM

0 Kudos
Message 21 of 21
(378 Views)