User`s guide
Integrating Programs for the PC Chapter 8
VEE User’s Guide 323
• Any document or URL with a recognized extension. The
“open” action is invoked in the files. If an “open” action does
not exist, the default action is invoked with the file. An
example of a URL would be http://www.agilent.com/find/vee.
The fields in the Execute Program Object are:
Table 3 6 Execute Program Object Fields
Field Name Description
Run Style Determines the window size. Normal specifies a standard
window, Minimized specifies an icon, and Maximized
specifies the maximum window size. The Working directory
is the directory that holds any files related to the program.
Wait for prog exit Specifies when to fire the sequence pin.
• When set to Yes, the sequence pin is not fired until the
program finishes executing.
• When set to No, the sequence out pin fires before the
specified program is done executing.Note that when
launching documents or URLs, if the document or web
site is loaded into an application that is already
running,VEE does not wait until the application exits.
Prog with params (Program with parameters) This field holds the same words
you would type at a DOS prompt. For example, to run a
program in C, enter the executable file name
-
myprog.exe
. (You can omit the .exe extension.)
• If the program has parameters, they would follow the
executable file name preceded by a hyphen, such as
myprog -param1 -param2.
• To run a DOS system command, first run the DOS
command interpreter with the
/c option. For example,
for Windows 98, enter the command
command.com
/c <system command>.
• For Windows NT 4.0, Windows 2000, and Windows XP,
enter the command
cmd /c <system command>
This option tells the command interpreter to read the
string following the
/c as a system command.