05.05.2014 Views

csmstr - Omega Engineering

csmstr - Omega Engineering

csmstr - Omega Engineering

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

CONFIGURING THE COLOR VIRTUAL HMI<br />

USING DEFAULT SETTINGS<br />

• The On Auto-Repeat property is used to define the action to be performed when<br />

the primitive is pressed and then held down. The action occurs both on the initial<br />

depression and on subsequent auto-repeats, so there is no need to define both this<br />

property and On Pressed. This action may invoke any of the functions from the<br />

Function Reference or the data modification operators described in the Writing<br />

Actions section, or it may run a program.<br />

• The On Released property is used to define the action to be performed when the<br />

primitive is released. This action may invoke any of the functions from the<br />

Function Reference or the data modification operators described in the Writing<br />

Actions section, or it may run a program.<br />

In the example above, a user-defined action is used to implement a momentary pushbutton.<br />

USING DEFAULT SETTINGS<br />

The dialog box used to edit the properties of each type of primitive has a button in its bottom<br />

right-hand corner labeled Set As Defaults. This button can be used to save the current settings<br />

of certain properties of the primitive as the default settings to be used when creating a new<br />

primitive. The same function can be performed by selecting the Save As Defaults command<br />

from the Edit menu, or by pressing the Ctrl+E key combination. Note that not all properties<br />

are included in the default settings—only those that refer to formatting, as opposed to the<br />

underlying data presented by the primitive, are saved. The default settings can be applied to<br />

the currently selected primitive or primitives by using the Apply Defaults command from the<br />

Edit menu, or by pressing the Ctrl+L key combination.<br />

PRIMITIVE DESCRIPTIONS<br />

The sections below describe each primitive found in the drawing toolbox.<br />

THE LINE PRIMITIVE<br />

The Line primitive is a line drawn between two points. Its only properties are the<br />

style of line to be used. In addition to the solid colors shown on the line toolbox, a<br />

number of dotted styles can also be accessed via the properties dialog box.<br />

THE SIMPLE GEOMETRIC PRIMITIVES<br />

The Rectangle primitive is a rectangle with a defined outline and fill pattern. The<br />

fill pattern may be set to No Fill to draw the outline alone, or the outline may be<br />

set to None to draw a figure without a border.<br />

The Round Rectangle primitive is similar to the rectangle, but has rounded<br />

corners. When the primitive is selected, an additional handle appears, allowing<br />

the radius of the corners to be edited by dragging the handle from side to side.<br />

The Shadow primitive is similar to the rectangle, but with either a drop-shadow,<br />

or with a shaded 3D effect. The primitive is often drawn so as to allow it to act as<br />

a frame around text primitives or other groups of elements.<br />

REVISION 6 PAGE 171

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!