Scott,

Be sure to enclose the path to LabVIEW and started VI within double quotes, e.g.

"C:\Program Files\National Instruments\LabVIEW 6.1\labview.exe" "c:\path\to\Vi.vi"

To start LabVIEW without the batch file waiting until it's done, use the "start" 
command:
start "" "c:\program files\national instruments\labview 6.1\labview.exe" 
"c:\path\to\Vi.vi"

The first argument is for the window title and is left as empty double quotes.
It works on W2K and it should be the same for Win98.

Jean-Pierre Drolet
www.avensys.ca


----- Original Message ----- 
From: "Scott Serlin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, May 17, 2004 5:33 PM
Subject: Can I call a labview VI from a batch file?


With much frustration, I cannot seem to get my labview vi to run from a
batch file.  Everything appears ok in terms of the directory and
filename but I keep getting a bad filename error message.  Anyone have
any ideas around this?  I also tried using the call command with no such
luck.  Windows 98 is the OS run lv 6.1.




Reply via email to