388 Chapter 10
Using Operator Interfaces
Common Tasks In Creating Operator Interfaces
Figure 10-22. The Dice Program (Panel View)
There are a few things to note before the next lab exercise:
n You can use the same techniques in the exercise above to create menus
for any program.
n
Radio Buttons could also be used to select a compiled language
program by using the
Execute Program object with a control pin
(“Command”) that indicated the program to call. If you had imported a
library of compiled functions, you could also use the
Call object to run a
function from the library.
n You could optimize this program by using the
File Name data input pin
on the
Picture object inside a single UserFunction, and then sending
the appropriate bitmap file to the object. If you are using many different
bitmaps, this is a more efficient way to program.
n You will usually use Run instead of
AutoExecute on more complicated
programs. You can have the program pause at a data constant or selection
control object by using
Wait for Input instead of AutoExecute. See
Help for more information.