346 Chapter 9
Test Sequencing
Passing Data in the Sequencer
Figure 9-7. Passing Data Using an Input Terminal
As the number of tests increases, passing data using an input terminal
requires more and more input pins. To reduce the input pins, you could pass
records to input terminals and use individual fields in the records for the
separate tests. You could also use a separate
UserFunction to set up global
variables, which can then be called by other
UserFunctions or any
expression field within the program. The next exercise illustrates this.
Passing Data Using a Global Variable
This exercise modifies the seqdat1 program by adding a global variable to
pass the parameter a to the
UserFunction Rand.
1. Delete the
Real64 Slider object labeled Select Num. Delete the A
input terminal on the Sequencer.
2. Highlight the
test1 transaction bar, open the object menu, and click
Insert Trans.... When the Sequence Transaction box appears,
click
TEST to toggle the selection to EXEC and change the name to
Setup.