284 Chapter 7
Integrating Programs In Other Languages
Understanding the Execute Program Object
You may add input or output terminals to the Execute Program object.
Data is received from a VEE program on an input pin, and then you perform
a
WRITE TEXT transaction to send the data to the child process. A READ
TEXT
transaction reads data from the child process, and places it on a data
output pin for use by the VEE program.
You may also send the name of the program or shell command to the
Execute Program object by adding the data input terminal labeled
Command, which is available by adding data inputs.
Wait for prog exit
field
The
Wait for prog exit field toggles between
Yes and No. Regardless of the setting, VEE spawns
a child process, if one is not already active. All
transactions specified in the
Execute Program
object
are completed.
n If set to
Yes, the child process must terminate
before the data output pins are fired.
n If set to
No, the child process fires the data output
pins and remains active. The performance of
your program is greater with this setting.
Prog with params The name of an executable program file and
command line parameters
-OR-
a command that will be sent to a shell for
interpretation.