Chapter 2 113
Agilent VEE Programming Techniques
Debugging Programs in Agilent VEE
Following the Execution Order of Objects in a Program
As a VEE program runs, the objects execute in the following order:
1.
Start objects operate first.
Figure 2-31 shows a VEE program with two threads, which are sets of
objects connected by solid lines in a VEE program. The
Start objects,
located under
Flow ⇒ Start, are used to operate the individual threads
in a program. If a program includes
Start object(s), they execute first.
Figure 2-31. Start Objects Executing Separate Threads
2. Objects with no data input pins operate next. Data ⇒ Constant
objects are often in this category.
3. Objects with input pins will only operate when all connected inputs are
satisfied. (Recall that connecting sequence inputs is optional.)