402 Chapter 10
Using Operator Interfaces
Common Tasks In Creating Operator Interfaces
Figure 10-33. The Status Panel Program (running)
In summary, the showPanel object displays the UserFunction panel, but
does not call the
UserFunction. The Sequencer calls the
UserFunction twice through its logging function, and each call updates
the panel. Then, when the operator is done, he or she can press
OK and the
panel is hidden. This example uses an
OK object to trigger the hidePanel
object, but you could put it elsewhere in the program to time its execution.
Step through the program to see the status panel appear, update with the
results from
Test1 and Test2, and then disappear.