Chapter 10 393
Using Operator Interfaces
Common Tasks In Creating Operator Interfaces
Click OK to close the Properties dialog box.
9. Change the
Color Alarm to a Raised Border as well.
10.Double-click on the UserFunction title bar to get the
Properties
dialog box, and select Show Panel on Execute. Deselect Show
Title Bar
. Change the Panel Title to alarm. Iconize alarm.
11.Go to the Main window and delete the
Call object. (VEE will still hold
the function alarm in memory. If you want to edit the function again,
select
Edit ⇒ Edit UserFunction or double-click on its icon.)
Create the function that repeatedly calls the alarm function.
12.Select
Device ⇒ UserFunction and change the name of the
UserFunction to warning.
13.Select
Flow ⇒ Repeat ⇒ Until Break.
14.Select
Device ⇒ Call, change the Function Name to alarm, and
connect its sequence input pin to the
Until Break data output pin.
Add a
Check Box object to ask the operator if he or she wants to turn off the
alarm.
15.Select
Data ⇒ Toggle Control ⇒ Check Box. Open the Check
Box Properties
box, change the name to Turn off alarm?, select
Scaled under Layout, select Initialize at PreRun and make
sure the value is
0, make the font size bigger for the name, then click OK.
Connect the
Call sequence out pin to the Check Box sequence in pin.
Editing/Enabled Deselect.
Fonts/Text size Enlarge text size and
Font Style: Bold.
Fonts Select
Automatically Resize Object on
Font Change
.
Appearance/Border Change to a
Raised border.