Chapter 10 399
Using Operator Interfaces
Common Tasks In Creating Operator Interfaces
Figure 10-29. Configuring Test1
2. Configure a second test the same way named test2.
3. Open the
Sequencer Properties box, choose the Logging tab, and
under
Logging Mode select Log Each Transaction To:
logTest(thisTest)
, then click OK.
As the
Sequencer executes each transaction, it creates a record for each
test called "
thisTest," whose fields can be configured under the same
tab. You can then create a UserFunction called "
logTest" (or another
name) and the
Sequencer will call the LogTest() UserFunction
with the
Record thisTest at the end of each transaction that is
executed. In this way, you can update the status panel.
4. Select
Device ⇒ Function & Object Browser ⇒ Built-in
Functions
⇒ Panel ⇒ showPanel and place it above the
Sequencer. Delete the input pins, then edit the parameters to
"logTest",420,180 leaving out the last two parameters. Connect the
Result output pin from showPanel to the Sequencer sequence input
pin.
ShowPanel outputs a 1 if it succeeded.
LogTest is the name of the UserFunction. The other two parameters
are
X and Y coordinates on your screen starting from the upper left corner.
This tells VEE where to place the
UserFunction panel when it is
shown. (The panel dimensions are not included in this example.)