A A Graphics
A A Graphics
A A Graphics
Creating and
Managing ArchestrA
Graphics Users Guide
10/21/15
No part of this documentation shall be reproduced, stored in a retrieval system, or transmitted by any
means, electronic, mechanical, photocopying, recording, or otherwise, without the prior written
permission of Schneider Electric Software, LLC. No liability is assumed with respect to the use of the
information contained herein.
Although precaution has been taken in the preparation of this documentation, Schneider Electric
Software, LLC assumes no responsibility for errors or omissions. The information in this documentation is
subject to change without notice and does not represent a commitment on the part of Schneider Electric
Software, LLC. The software described in this documentation is furnished under a license agreement.
This software may be used or copied only in accordance with the terms of such license agreement.
http://software.schneider-electric.com/
ArchestrA, Avantis, DYNSIM, EYESIM, Foxboro, Foxboro Evo, I/A Series, InBatch, InduSoft, IntelaTrac,
InTouch, PIPEPHASE, PRO/II, PROVISION, ROMeo, Schneider Electric, SIM4ME, SimCentral, SimSci,
Skelta, SmartGlance, Spiral Software, VISUAL FLARE, WindowMaker, WindowViewer, and
Wonderware are trademarks of Schneider Electric SE, its subsidiaries, and affiliated companies. An
extensive listing of Schneider Electric Software, LLC trademarks can be found at:
http://software.schneider-electric.com/legal/trademarks/. All other brands may be trademarks of their
respective owners.
3
Contents
Welcome .................................................. 17
Documentation Conventions ......................................................... 17
Technical Support .......................................................................... 18
Drawing 3-Point Arcs, 3-Point Pies, and 3-Point Chords ....... 112
Placing and Importing Images ................................................ 112
Drawing Buttons ....................................................................... 112
Placing Text ............................................................................... 113
Drawing Text Boxes .................................................................. 113
Drawing Status Elements ......................................................... 113
Drawing Windows Controls ...................................................... 114
Dragging Elements ................................................................... 114
Editing Element Properties ......................................................... 114
Selecting Elements ....................................................................... 115
Selecting Elements by Mouse Click ......................................... 116
Selecting Elements by Lasso .................................................... 116
Selecting All Elements .............................................................. 117
Selecting Elements Using the Elements List .......................... 117
Unselecting Elements ............................................................... 118
Inline Editing ............................................................................... 118
Copying, Cutting, and Pasting Elements .................................. 119
Copying Elements ..................................................................... 120
Cutting or Deleting Elements .................................................. 120
Duplicating Elements ............................................................... 121
Moving Elements ........................................................................ 121
Aligning Elements ....................................................................... 123
Aligning Elements Horizontally ............................................... 123
Aligning Elements Vertically ................................................... 124
Aligning Elements by their Center Points ............................... 124
Aligning Elements by their Points of Origin ........................... 125
Adjusting the Spacing between Elements ................................. 125
Distributing Elements .............................................................. 126
Making Space between Elements Equal .................................. 126
Increasing Space between Elements ........................................ 127
Decreasing Space between Elements ....................................... 127
Removing All Space between Elements ................................... 128
Resizing Elements ....................................................................... 128
Resizing a Single Element with the Mouse ............................. 129
Resizing Elements by Changing Size Properties .................... 129
Resizing Elements Proportionally ............................................ 130
Making Elements the Same Width, Height, or Size ............... 130
Adjusting the z-Order of Elements ............................................ 131
Rotating Elements ...................................................................... 132
Rotating Elements with the Mouse .......................................... 132
Rotating Elements by Changing the Angle Property .............. 133
Rotating Elements by 90 Degrees ............................................ 133
Index..................................................... 565
Welcome
Documentation Conventions
This documentation uses the following conventions:
Technical Support
Wonderware Technical Support offers a variety of support options to
answer any questions on Wonderware products and their
implementation.
Before you contact Technical Support, refer to the relevant section(s)
in this documentation for a possible solution to the problem. If you
need to contact technical support for help, have the following
information ready:
The type and version of the operating system you are using.
Details of how to recreate the problem.
The exact wording of the error messages you saw.
Any relevant output listing from the Log Viewer or any other
diagnostic applications.
Details of what you did to try to solve the problem(s) and your
results.
If known, the Wonderware Technical Support case number
assigned to your problem, if this is an ongoing problem.
Chapter 1
Note: You can only open inherited symbols in the ArchestrA Symbol
Editor in read-only mode.
Graphic Toolbox
Automation Instance
Automation Template Instantiated in IDE
references
Automation
Automation Template
Instance 1
Originated From
Instantiation caused
by InTouch
Browse and References
Select Instance
References
Automation
Instance 2
InTouch HMI
Toolbars
and Menus
Language
Tools Selector
Panel
Properties
Editor
Elements
List
Animation
Summary
Status Bar
Canvas
Elements List. This list shows the named elements on the canvas
in a hierarchical view.
Language Selector. This list shows the configured languages for
the symbol. For more information, see Chapter 15, "Switching
Languages for Graphic Elements.".
Properties Editor. This editor shows the properties belonging to
one or more currently selected elements.
Animation Summary. This area shows you a list of animations
belonging to the currently selected element. It is only visible if an
element is selected.
Symbol Wizard Editor. The Symbol Wizard Editor is a feature of
the Symbol Editor to create symbols containing multiple visual
and functional configurations called Symbol Wizards. For more
information, see, "Creating Multiple Configurations of a Symbol"
on page 84.
Tools Panel
The Tools panel contains elements you can select to create your symbol
on the canvas.
The Tools panel includes:
Basic graphic elements such as lines, rectangles, polygons, arcs,
and text.
A pointer tool to select and move elements on the canvas.
Windows controls, such as combo boxes, calendar controls, radio
button groups, and so on.
A status element that you can use to show quality and status of
selected ArchestrA attributes.
For more conceptual information, see "Elements" on page 25.
For more information on how to use elements, see "Working with
Graphic Elements" on page 109.
Elements List
The Elements area shows a list of all elements on the canvas. The
Elements List is particularly useful for selecting one or more elements
that are visually hidden by other elements on the canvas. You can use
the Elements List to:
See a list of all elements, groups of elements, and embedded
symbols on the canvas.
Select elements or groups of elements to work with them.
Rename an element or a group of elements.
Properties Editor
You can use the Properties Editor to view and set properties for the
selected element or group of elements. For more conceptual
information about element properties, see "Properties" on page 30.
For more information on how to use element properties, see "Editing
Common Properties of Elements and Symbols" on page 163.
Animations Summary
You can use the Animations summary to review, select, and configure
the animation behavior of an element selected on the canvas.
For an overview of the different animation types, see "Animation
Types" on page 35.
For more information on how to use the animations, see "Animating
Graphic Elements" on page 269.
Canvas
The canvas is your drawing area. You use it as you would in other
image editing software by drawing elements and changing them to
your requirements.
Elements
You use elements to create a symbol. The ArchestrA Symbol Editor
provides the following:
Basic elements such as lines, rectangles, ellipses, arcs, and so on
Status element to show a quality status icon
Windows controls, such as combo boxes, calendar controls, radio
button groups, and so on
You can create the following from existing elements on the canvas:
Groups
Path graphics
You can embed the following on the canvas:
Imported Client Controls
Other symbols
Basic Elements
You can use the following basic elements to create a symbol:
Open elements, such as lines, H/V lines, polylines, curves, and
arcs.
Status Element
You can use a status element to monitor and indicate the status or
quality of:
All ArchestrA attributes used in one or more specified animated
elements in the same hierarchical level.
One or more specified ArchestrA attributes.
Deliver values
(and also quality
and status) to
animate the
elements
Deliver quality and
status directly from
ArchestrA attributes
Element 1
Element 2
Element 3
Configuration Error
Pending
Operational Error
Software Error
Security Error
Warning
Bad
Uncertain
Groups
Grouping enables you to combine elements as a unit. Groups can
contain elements and other groups.
Groups are shown in the Elements List with a default name, such as
Group1. They are shown as a branch in the element hierarchy.
For example, you can create a series of elements that model a valve in
your facility. When the valve has all the properties and animations
you want, you can group the elements together.
You can then work with the elements as one set of elements or, by
selecting the elements in the Elements List. You can work with the
individual elements in the group without having to break the group.
This is called inline editing.
Another advantage of inline editing is that you can easily select an
individual element graphically without having to know its element
name.
Path Graphics
Path graphics are elements that combine selected open elements, such
as lines, H/V lines, polylines, curves, and arcs, to create a single closed
graphic element.
Properties
Properties determine the appearance and behavior of an element or
the symbol. For example, the width property determines the width of
the selected element in pixels.
There are two types of properties:
Predefined properties
Custom properties
When you configure an element to reference one of its own properties
in a configuration field or a script, you can just use its property name.
For ArchestrA symbols, there are no self-referencing keywords such as
"me." as used for AutomationObjects.
You can, however, use the "me." keyword to reference attributes of the
AutomationObject that is hosting the ArchestrA symbol you are
currently configuring.
Predefined Properties
Properties are specific to the selected element and can vary between
elements of different types. All elements have the following property
categories:
Graphic - the name of the element (or group)
Appearance - element dimension, location, rotation, transparency,
and locked status
You can view specific properties for a specific kind of element or group
by clicking a drawing tool and drawing an element.
You set properties at design time. Some properties can be read or
written to at run time, such as X, Y, Width, Height, Visible, and so on.
The element type determines which properties are available and can
be read or written at run time.
Custom Properties
You can use custom properties to extend the functionality of a symbol.
A custom property can contain:
A value that can be read and written to.
An expression that can be read.
An ArchestrA attribute that can be read and written to if the
attributes allows being written to.
A property of an element or symbol.
A custom property of a symbol.
A reference to an InTouch tag.
For example, for a tank symbol called TankSym you can create a
custom property called TankLevel that is calculated from an attribute
reference to Tank_001.PV. You can then reference the tank level by
TankSym.TankLevel.
Custom properties appear in the Properties Editor when no elements
are selected. You can edit default initial values of custom properties in
the editor directly or use the Edit Custom Properties dialog box to do
so.
For more information, see "Using Custom Properties" on page 253.
Properties of Groups
Groups have their own properties you can view and set in the
Properties Editor. For most properties, changing group properties
indirectly affects the properties of its contained elements.
You can change the following group properties:
Name (Name)
Position (X, Y)
Size (Width, Height)
Orientation (Angle)
Point of Origin (AbsoluteOrigin, RelativeOrigin)
Transparency Percentage (Transparency)
Locked (Locked)
Enablement (Enabled)
Tab Order (TabOrder)
Tab Stop (TabStop)
Single Object Treatment (TreatAsIcon)
Visibility (Visible)
Animations
You can use animations to bind the run-time behavior and appearance
of elements to ArchestrA attributes, InTouch tags, custom properties,
and other elements properties.
For example, you can bind the vertical fill of a rectangle to an
ArchestrA attribute that contains the current level of a tank.
Animations are specific to the selected element and vary between
elements of different types.
Animation Types
There are two types of animations:
Visualization animations determine the elements appearance,
such as blinking, fill style, percent fill horizontal, value display,
and so on.
Interaction animations determine the elements behavior, such as
horizontal sliders, user input, and so on.
There are visualization and interaction animations that are specific to
certain elements. For example, the DataStatus animation is specific to
the Status element. Element-specific animations also determine
element behavior and appearance.
You can configure the following common animation types:
Symbol
Element 1
Animation 1
Can use Attribute Automation
Animation 2
data Object
Attribute 1
Property 1 Property 2 Attribute 2
Can use data of
Element properties Attribute 3
Property 3 Property 4
Element 2
Animation 1 Can use data of InTouch
InTouch References
tagnames
Animation 2 InTouch:Tag1
Can use
data of InTouch:Tag2
Animation 3 custom
InTouch:Tag3
properties
Animation 3
Property 1 Property 2
Property 3 Property 4
Custom Property 1
Property 5 Property 6
Custom Property 2
Animation States
Some animations have multiple configuration panels.
A state selection panel appears, where you can select the animation
state. Depending on what you select, the configuration panel is
populated differently. The animation state can be a:
Data type, where the animation is tied to a specific data type.
Truth table, where the animation is tied to a set of Boolean
conditions.
Ready Green
Pending Yellow
Error Red
If you select the Text Style animation link, the Text Style state
selection page appears on the Edit Animations dialog box.
You can click the Truth Table button to configure conditions for the
appearance of the text style. By default the text color is black if none of
the conditions are fulfilled at run time.
Embedded Symbols
You can embed symbols from the Graphic Toolbox, AutomationObject
templates, and instances into other symbols. Embedding symbols
enables you to rapidly develop more complex symbols with common
components.
For example, you can create a single tank symbol, then embed the
tank symbol multiple times in another symbol to create a symbol
representing a collection of tanks.
There is no limit to the number of levels of embedding.
You can accept the change immediately or when you open the symbol
again.
You can change the position of the anchor point of the symbol. This
affects the position of the embedded instances. The anchor points of
the embedded instances, however, remain unchanged.
Source Symbol Embedded Symbol
Anchor Point set to: 64,80 Anchor Point embedded at: 110,220
Embedding
Propagation
You can change the anchor point of an embedded symbol. This moves
the embedded symbol. It does not change the anchor point position in
relation to the symbol.
You can resize or rotate the embedded symbol. The anchor point moves
in relation to the embedded symbol.
Note: You can also use the AnchorPoint property in the Properties
Editor to change the position.
Elements Category
Graphic element components are counted individually. Though
Symbol Wizard symbols are not counted, if any graphic element in a
Symbol Wizard symbol is set to be visible at design time, it will be
counted at run time.
The following table shows a list of element component types and the
score assigned to each item, based on the estimated amount of time for
processing the specified quantity of each component type:
Number Impact
Element Counter Type Counter Description of Items Score
Number Impact
Element Counter Type Counter Description of Items Score
Animations Category
Animation components are counted individually. The following table
shows a list of animation component types and the score assigned to
each item, based on the estimated amount of time for processing the
specified quantity of each component type:
Number Impact
Animation Counter Type Counter Description of Items Score
Number Impact
Animation Counter Type Counter Description of Items Score
Styles Category
Style components are counted individually. The following table shows
a list of style component types and the score assigned to each item,
based on the estimated amount of time for processing the specified
quantity of each component type:
Reference Category
Reference components are counted individually. The following table
shows a list of reference component types and the score assigned to
each item, based on the estimated amount of time for processing the
specified quantity of each component type:
Scripts Category
OnShow and Action scripts are counted individually. Container
scripts, which include While Showing, OnHide, and named scripts, are
counted together. Though Symbol Wizard symbols are not counted, if
any named script in a Symbol Wizard symbol is set to be visible at
design time, it will be counted at run time.
The following table shows a list of script component types and the
score assigned to each item, based on the estimated amount of time for
processing the specified quantity of each component type:
Number Impact
Scripts Counter Type Counter Description of Items Score
Processing Projected
Config. Capacity Time
Category Performance Counter Count per second (sec.)
Processing Projected
Config. Capacity Time
Category Performance Counter Count per second (sec.)
Note: The option to hide or show this warning window can also be
configured in the Graphic Symbol Designer Preferences window. For
more information, see "Configuring Designer Preferences" on page 103.
Chapter 2
Comparing WindowMaker
and ArchestrA Symbol Editor
You can use the ArchestrA Symbol Editor to do most of the tasks you
do in InTouch WindowMaker. You can also use many of the same
shortcut keys.
Elements
Elements are the graphical objects you use to create an ArchestrA
Symbol. The ArchestrA Symbol Editor provides elements that are not
available in InTouch WindowMaker, such as:
Curves and closed curves.
Arcs, pies, and chords defined by two or three points.
Status elements to conditionally show an icon depending on
quality and status of attribute data.
Appearance
The ArchestrA Symbol Editor extends the InTouch graphic
configuration. For example, you can use:
Gradients for line, fill, and text color.
Patterns for line, fill, and text color.
Textures for line, fill, and text color.
Partial transparency.
Fill behavior in relation to a symbol or screen.
Enhanced Functionality
The ArchestrA Symbol Editor provides a entire array of enhancements
to make your life easier when creating visualization for your
manufacturing environment.
Usability Enhancements
The ArchestrA Symbol Editor makes it easy to select and configure
elements. You can:
Select elements from a list as well as from the canvas. This lets you
select elements beneath others without having to move them.
View and change properties and animation (links) of an element by
simply selecting it on the canvas.
Edit elements contained in groups and path graphics without
having to break the group or path graphic. This is called inline
editing.
Style Replication
Using the Format Painter, you can simply apply the style of one
element with one click to another element, even to an element of a
different type.
Animation Replication
Using the ArchestrA Symbol Editor you can copy, cut, and paste
animations from one element to another element, even to an element
of a different type.
Element Positioning
The ArchestrA Symbol Editor extends the positioning feature of
InTouch WindowMaker and lets you:
Distribute elements equally in horizontal or vertical direction.
Make elements same horizontal and/or vertical size.
Increase or decrease horizontal or vertical space.
Remove horizontal or vertical space between elements.
Lock an element so that you do not accidentally move or edit it.
Rotate any element at design time by any angle around a center of
rotation.
Apply resizing and rotating to multiple elements at the same time.
Move the z-order of an element one level backward or forward.
Align text within text boxes and buttons.
Group Functionality
The ArchestrA Symbol Editor uses the concept of groups instead of the
cell and symbol concepts of InTouch WindowMaker. You can:
Embed groups within groups.
Edit individual elements within a group (or an embedded group)
without breaking up the group.
Easily remove elements from or add elements to existing groups.
Element Styles
Element Styles define one or more of the fill, line, text, blink, outline,
and status properties of graphic elements. Apply an Element Style to a
graphic element to set the element to the preconfigured properties
defined in that Element Style. The elements local properties that are
defined in the Element Style are disabled.
Element Styles help drive standards for screen builders and others
who are creating symbols.
Miscellaneous Enhancements
Using the ArchestrA Symbol Editor, you can:
Access the properties of the elements and custom properties of the
symbol through scripting.
Set the tab order of the elements.
Use line end styles, such as arrows.
Dynamically disable specific animations from elements without
losing the configuration information.
Use image meta files and other image formats.
Use anti-aliasing to improve how the symbol is shown.
Using Graphics
You can use the ArchestrA Symbol Editor in basically the same way as
you use InTouch WindowMaker. The ArchestrA Symbol Editor
includes a drawing area on which you can place graphical objects to
construct a visual representation of production processes and to
provide an interface between a human and a machine.
Some objects you use in InTouch do not exist in the ArchestrA Symbol
Editor, such as ActiveX controls and some Wizards. Their functionality
is replaced other controls that are more powerful and integrate better
into the ArchestrA environment.
Using Wizards
You cannot import InTouch Wizards to an ArchestrA Symbol or into
the Graphic Toolbox. Instead, use:
The ArchestrA Symbol Library, which you can import into the
Graphic Toolbox.
Windows controls that are part of the Toolbox. You can use:
Radio button groups
Check boxes
Edit boxes
Combo boxes
Calendar control
DateTime picker
List boxes
Using Animations
You can use animations in the ArchestrA Symbol Editor to set
run-time behavior of the symbols as you would in InTouch
WindowMaker. You can configure one or more animations for an
element or symbol. The data can come from various sources.
n/a ElapsedTime Float value that represents a time that has elapsed
in seconds. It is shown often in the following
format, but is stored as a float value.
[][DDDDDD] [HH:MM:]SS[.fffffff]
Values are as follows:
DDDDDD is from 0 to 999999
HH is from 0 to 23
MM is from 0 to 59
SS is from 0 to 59
fffffff is fractional seconds to right of the
decimal
Elapsed time can be positive or negative.
n/a InternationalizedString A special string data type that can store special
characters.
ArchestrA InTouch
Object Data InTouch
Data Direct Animation Links
Coercion
ArchestrA Embedded
Symbol InTouch ArchestrA
Data Symbol
Coercion
Using Animations
You configure InTouch animations using the Animation Links dialog
box. You can open this dialog box by double-clicking on an InTouch
object.
You configure animations in the ArchestrA Symbol Editor using the
Edit Animations dialog box, which is normally opened by
double-clicking on an element.
Some of the animation types are different and others have been
grouped to simplify configuration. Use the following table to find the
equivalent animation type in the ArchestrA Symbol Editor:
Using Scripts
You can configure scripts in ArchestrA Symbol Editor the same way as
you do in InTouch WindowMaker. There are, however, some small
differences:
Chapter 3
Managing Symbols
This section describes ArchestrA symbols, how they are stored in the
ArchestrA environment, and how they are managed from the IDE.
About Symbols
ArchestrA symbols are graphical symbols you use to visualize data in
an InTouch application.
You manage ArchestrA symbols from the IDE to:
Create a new symbol.
Edit a symbol with the ArchestrA Symbol Editor.
Organize symbols within the Graphic Toolbox.
Duplicate symbols.
Import and export symbols.
Delete a symbol.
Configure security for a symbols operations.
Open the symbol in read-only mode with the ArchestrA Symbol
Editor.
Note: You can also press Ctrl + Shift + S to create a new ArchestrA
Symbol or right-click and then select New and Symbol from the
shortcut menu.
5 Draw the symbol. For specific information about using the drawing
tools, see "Working with Graphic Elements" on page 109.
5 Click Save and Close. The ArchestrA Symbol Editor closes and the
updated symbol is checked in. Depending on the
AutomationObject, a confirmation message may appear. Click Yes
to save.
Note: To leave the symbol checked out, click Keep Checked Out in
the ArchestrA Symbol Editor. This ensures that no other user can check
out your symbol for editing.
Renaming Symbols
You can rename a symbol at any time. Renaming a symbol does not
affect its functionality.
Symbol names must be unique within the entire hierarchy of the
Graphic Toolbox.
Copying Symbols
You can create copies of symbols in the Graphic Toolbox. The copies
are suffixed with "_Copy1", "_Copy2", and so on.
Importing Symbols
You can import symbols and graphic toolsets from a symbol .aaPKG
file.
When you import templates or instances that contain symbols, the
symbols are imported with the template or instance. When you import
all AutomationObjects, the contained symbols and the symbols in the
graphic toolsets are also imported.
Exporting Symbols
You can export one or more symbols to a symbol .aaPKG file.
When you export object templates or instances that contain symbols,
the symbols are exported with the template or instance.
When you export all AutomationObjects, the contained symbols and
the symbols in the graphic toolsets are also exported.
When you export an AutomationObject that contains symbols, if these
symbols contain embedded ArchestrA Symbols from the Graphic
Toolbox, they are exported along with the symbols associated with the
AutomationObject.
When you export an ArchestrA symbol containing embedded symbols
associated with an object, you have the choice of including the object in
the .aaPKG file.
If the symbols contain other AutomationObjects, the symbols,
including any embedded symbols from the Graphic Toolbox contained
in them, and their parent AutomationObject are not exported with the
AutomationObject. They remain as references. Upon import, the
system tries to reestablish the connection with those exact references
in the target Galaxy.
ExportGraphicToXml Method
Exports an ArchestrA graphic to an XML file. The Galaxy name,
graphic name, and the XML file path are passed as parameters of
ExportGraphicToXml.
Syntax
ExportGraphicToXml(IGalaxy galaxy, string graphicName, string
xmlFilePath);
Parameters
galaxy
Name of the Galaxy containing the graphic to export.
graphicName
Name of the graphic to export.
xmlFilePath
Directory folder to place the XML file containing the exported
graphic.
ImportGraphicFromXml Method
Imports a graphic from an existing XML file. The Galaxy name,
graphic name, the XML file path, and an overwrite flag are passed as
parameters of ImportGraphicfromXml.
Syntax
ImportGraphicFromXml(IGalaxy galaxy, string graphicName, string
xmlFilePath, bool bOverWrite);
Parameters
galaxy
Name of the Galaxy to import the graphic.
graphicName
Name of the graphic to import.
xmlFilePath
Directory folder location of the XML file.
bOverWrite
Boolean flag that indicates if an existing graphic can be
overwritten by an imported graphic with the same name.
After an import or export operation is complete, the results are set to
ICommandResult. A message appears and indicates if the operation
succeeded or failed.
The export XML files SubstituteStrings element shows the text string
override information.
<SubstituteStrings>
<String Old="TextBox2" New="TextBox3" ElementID="B.A.Text1"/>
<SubstituteStrings>
Notice the Old and New attributes show the text strings of the most
recent string substitution before symbol C was exported. Also, the
ElementID attribute indicates symbol A containing text element Text1
is embedded in symbol B in the form ElementID="B.A.Text1".
The export XML files SubstituteStrings element shows the text string
override information with a String element for each text override.
<SubstituteStrings>
<String Old="TextBox1" New="TextBox2" ElementID="B.A.Text1"/>
<String Old="TextBox1" New="TextBox3" ElementID="B.A.Text2"/>
<SubstituteStrings>
After importing the symbol, the text strings for the Text2 and Text3
elements are overridden to TextBox22. Without an ElementID to
identify the text element, the string override replaces all text strings
that match the text string specified by the Old attribute.
If the symbol was exported again using the programmatic API, the
exported XML file shows that ElementID attributes have been added
to each String element.
<SubstituteStrings>
<String Old="TextBox1" New="TextBox11" ElementID="A.Text1"/>
<String Old="TextBox2" New="TextBox22" ElementID="A.Text2"/>
<String Old="TextBox2" New="TextBox22" ElementID="A.Text3"/>
</SubstituteStrings>
Note The term "graphic" includes any symbol or client control present in
the Graphic Toolbox, and any symbols owned or inherited by templates and
instances.
Deleting a Symbol
You can delete a symbol that you no longer need. Deleting a symbol
removes it completely from the Application Server. You can delete a
symbol from the Graphic Toolbox or from an AutomationObject in the
ArchestrA Symbol Editor.
When you delete a symbol, you are shown where the symbol is
used. This gives you an assessment of deleting the symbol before
actually deleting it.
You cannot delete symbols that someone else has open for editing
or left checked out.
If you delete a symbol from an AutomationObject, the symbol still
appears to other users until you check in the AutomationObject.
If you delete a symbol that is embedded in another symbol or in an
InTouch window, it shows a Not Found message.
To delete a symbol
1 Do one of the following:
Open the Graphic Toolbox.
Open the AutomationObject with the symbols you want to
delete. Click the Graphics tab.
2 Select the symbol you want to delete and click Delete. The Delete
dialog box appears.
3 Review the places the symbol is being used, and then click Yes.
Embedded Symbols
You can embed symbols from the Graphic Toolbox, AutomationObject
templates, and instances into other symbols. Embedding symbols
enables you to rapidly develop more complex symbols with common
components.
For example, you can create a single tank symbol, then embed the
tank symbol multiple times in another symbol to create a symbol
representing a collection of tanks.
There is no limit to the number of levels of embedding.
xInd.BindTo(CP1);
DataUDO.RetStatus=SignedWrite(Attribute_Pointer, 23,
"Set the Value", True, 1, xInd);
MyList[5] = DataUDO.PreDefComments[4];
DataUDO.RetStatus=SignedWrite(Attribute_Pointer,
SignedWrite_Value_Ptr, SignedWrite_Reason,
Enable_Edit_Comment, Comment_Options, MyList[]);
Chapter 4
You can edit ArchestrA Symbols using the ArchestrA Symbol Editor.
Depending on where the ArchestrA Symbol is contained, you can start
the ArchestrA Symbol Editor from:
The Graphic Toolbox.
The Graphics tab of an AutomationObject template.
The Graphics tab of an AutomationObject instance.
An embedded ArchestrA Symbol in an InTouch window.
You can:
Show and hide ArchestrA Symbol Editor panels to allocate more
space on the canvas.
Pan and zoom the canvas to make finer or more granular
adjustments to elements.
Place a grid on the canvas surface to align elements more
precisely.
Panning
You can use the Pan functions of the Pan and Zoom toolbar to do the
following:
Use the Pan and Zoom window to select which part of the canvas
appears on the screen.
Grab the canvas with the Hand tool and move it (Pan).
You can also use the scroll wheel of the mouse to pan up and down in
the current canvas display.
Zooming
You can use the Pan and Zoom toolbar to:
Zoom in on a specified point to magnify the current elements.
Zoom out from a specified point.
Zoom to the default zoom factor (100 percent).
Zoom so that the currently selected element is shown across the
available canvas area or zoomed to the maximum value of 500
percent.
Zoom in on an area of the canvas using a "rubber band" selection
with your mouse.
Specify or select a zoom factor.
You can also use the Ctrl key and the scroll wheel of the mouse to zoom
in and zoom out the current canvas view.
Note: You can also use the Pan and Zoom window to "scroll" to a
different part of the canvas. This is called panning. For more
information, see "Panning" on page 98.
Chapter 5
This section explains how to work with the common features of graphic
elements. For information about features specific to certain elements
such as element properties, see "Setting Symbol and Element-Specific
Properties" on page 209.
Rotate elements.
Change the origin of elements to specify around which point the
elements are rotated.
Flip elements on their horizontal or vertical axis.
Lock elements to stop them being moved or changed.
Undo and redo any number of changes made previously to the
symbol.
Create groups of elements to bind them together.
Create a path graphic from multiple open line elements.
To draw an image
1 Click the image icon in the Tools panel.
2 Click the canvas and drag the shape of the image element.
3 Release the mouse button. The Open dialog box appears.
4 Browse to the image file, select it, and then click Open. The image
file is loaded into the image element.
Drawing Buttons
You can draw a button on the canvas. You can configure a button with
a text label or an image.
For more information on how to configure a button with an image after
drawing it on the canvas, see "Configuring Buttons with Images" on
page 217.
To draw a button
1 Click the button icon in the Tools panel.
2 Click the canvas and drag the shape of the button element.
3 Release the mouse button. The button text appears in edit mode.
4 Type a text label for the button and press Enter.
Placing Text
You can place text on the canvas.
The text element has no border and no background fill. The text does
not wrap. When you type the text, the size of the Text element
expands.
You can also drag the handles of the Text element to resize it.
To place text
1 Click the text icon in the Tools panel.
2 Click the canvas where you want to place the text.
3 Type the single line of text you want.
4 When you are done, do one of the following:
Click Enter to type a new line of text. This new line is a new
element.
Click the canvas outside the text element.
Dragging Elements
After you draw elements on the canvas, you can drag them to a new
position.
Note: The Properties Editor not only supports values, but also allows
input of color, font, and file information in the respective dialog boxes.
Property
Category Purpose
Graphic Element name or other describing identifiers
Wizard Options Set of drop-down lists to select different
symbol property attributes and options for
Symbol Wizard configurations.
Appearance Element location, size, orientation, offset,
transparency and locked status
Fill Style Any parameters related to the fill appearance
of the element
Line Style Any parameters related to the line
appearance of the element
Text Style Any parameters related to the text
appearance of the element
Runtime Behavior Element visibility, tab order and any other
element behavior at run time
Custom Properties Additional user-defined properties you can
associate with any element
Selecting Elements
You can select one or more elements by:
Clicking on them with the mouse.
Dragging the lasso around them with the mouse.
Selecting them with a menu option or with a shortcut key.
Selecting them in the Elements List.
When you select an element, it appears with handles that give you
control over its size and orientation.
When you select multiple elements, the last selected element is the
primary element. All other previously selected elements are secondary
elements.
To select a group, you must click one of the elements contained in the
group.
Note: You can see in the Elements List which elements are selected.
Note: You can also press the F2 key to select all elements.
Note: The color setting of the Elements List depends on the setting for
the Selected Items option in the operating systems Display
Properties Appearance panel.
Unselecting Elements
You can unselect one or more selected elements. You can do this by
clicking on them individually on the canvas or in the Elements List.
If you want to remove the selected elements in a specified rectangular
area, you can use the lasso.
Inline Editing
After you place certain elements on the canvas, you can edit them by
selecting them and clicking on them again. This is called inline
editing. The following elements can be edited in this way:
Copying Elements
After you select an element, you can copy it by using menu options or
you can Ctrl + click.
Duplicating Elements
Duplicating elements enables you to select an element or elements and
quickly make copies of them.
You can also specify the amount of overlap when you duplicate.
To duplicate elements
1 Select one or more elements.
2 Do one of the following:
a Click Duplicate on the Edit menu. The selected element is
duplicated and appears offset to the original element.
b Press Ctrl + D. The selected element is duplicated and appears
offset to the original element.
c Ctrl + click one of the selected elements to duplicate all
selected elements. You can keep the mouse button down and
drag them to the new position on the canvas.
Moving Elements
After you create elements, you can move them to the location you want
on the canvas.
You can move elements or groups by dragging them to the new
location or you can open the properties for the element or group and
change the X and Y properties.
If you turned on snap to grid, moving an element or group with the
mouse snaps the element or group to the grid. For more information
about using the grid, see "Configuring Designer Preferences" on
page 103.
Note: You can move the element or group by two units in the grid by
additionally pressing the Shift key, by four units by additionally
pressing the Ctrl key, and by 10 units by additionally pressing both
keys.
Aligning Elements
After you draw elements, you can align them:
Horizontally so that their top or bottom sides or their center points
are horizontally aligned.
Vertically so that their left, right, or center points are vertically
aligned.
So that their center points are on top of each other.
So that their points of origin are on top of each other.
When you align elements, the secondary elements are moved so that
they align with the primary element. For more information about
primary and secondary elements, see "Selecting Elements" on
page 115.
Distributing Elements
You can distribute elements so that their center points are distributed
in equal distance to each other.
Resizing Elements
You can resize selected elements by:
Dragging the handles of a single element to increase or decrease its
horizontal or vertical size.
Changing the Width and Height properties of one or more
elements using the Properties Editor.
Proportionally resizing multiple elements.
Making multiple objects the same width and/or height.
Some elements cannot be resized or can only be resized in certain
directions, such as the Calendar control or DateTime Picker. If the
primary element has such restrictions, then any secondary elements
resize proportional to the change in primary element's size and do not
resize independently.
Rotating Elements
You can rotate elements to any orientation (0 - 359 degrees):
Graphically with the rotation handle.
Numerically by typing the orientation angle in the Properties
Editor.
By rotating in 90 degree increments in a clockwise or
counter-clockwise direction.
The element rotates around its point of origin. By default, the point of
origin is in the center of the element. You can move the point of origin
to any other location, even outside of the object itself. To change the
point of origin, see "Moving the Origin of an Element" on page 134.
Connector
Control
Point
Connection
Point
You can also add control points to a connector if you want to change
the path. For more information about adding control points to a
connector, see "Changing the Shape of a Connector" on page 145.
Connectors can be exported or imported with the ArchestrA
GraphicAccess application programming interface (API). You can
programmatically export a symbol containing connectors from the
ArchestrA Graphic Toolbox to an XML file. You can use the same API
to import a graphic containing connectors from an XML file to create
an ArchestrA graphic in another galaxy or overwrite an existing
graphic.
Drawing a Connector
You use the Connector tool to draw a connector between graphic
elements. The Connector tool initially attempts to draw a connector
with a minimum number of angles. You can change the shape of the
initial connector path using control points to redraw the path if
necessary.
A connector supports Symbol Wizards like any other graphic element.
You can associate a connector with a Symbol Wizard layer by dragging
the connector element to the layer during design time. You can also
remove the connector from a layer by removing the connector from the
association list. If a connector is hidden based on the Symbol Wizards
Wizard Option configuration, the connector does not appear during
run time.
Press the Esc key to cancel drawing a connector. Also, clicking on the
Symbol Editors canvas takes you out of connector drawing mode.
To draw a connector
1 Open a symbol in Symbol Editor that you want to add a connector.
2 Click once on the Connector icon within the Tools pane to draw a
single connector.
If you want to draw multiple connectors, double click on the
Connector icon.
3 Move your mouse over the first graphic element that you want to
add a connector.
The default connection points appear when you move your mouse
over a graphic element.
4 Place the mouse over the connection point where you want to place
the connector on the graphic element.
A green rectangle appears around the connection point when it is
selected.
Automatic Offset
Press the Esc key to cancel adding a connection point. Also, clicking on
the Symbol Editors canvas takes you out of connection point addition
mode.
4 Click once.
The new connection point appears as a green rectangle at the
location you selected.
SA_ElectricalReactor SA_Pump_Blower_RotaryValve
SA_ElectricalTransformer SA_RotatingEquipment
SA_HandSwitchSelector SA_Valve_2Way
SA_HeatExchanger_Fan SA_Valve_2WayAngle
SA_HVLV_Switch SA_Valve_3Way
SA_MiscellanousEquipment SA_Valve_4Way
SA_MultiStagePump SA_Valve_And_Damper
SA_PageNavigation SA_Valve_Mnemonic
During run time, you can use animation to change property values
that affect the appearance or behavior of a connector. For Angled or
Straight connectors, you can use Line Style or Element Style
animation. A connection point does not support any type of animation.
Property Description
Appearance Properties
ConnectionType Type of connector (Angled or Straight). Angled
is the default.
ElementStyle Element style applied to a connector to change
the line color, fill, and pattern. Line styles can
be applied to Angled and Straight types of
connectors. None is the default.
Start Read-only X and Y coordinates of a connectors
start point with respect to the origin at the top
left corner of the Symbol Editors canvas.
End Read-only X and Y coordinates of a connectors
end point with respect to the origin at the top
left corner of the Symbol Editors canvas.
Line Style Properties
LineWeight Line weight of an Angled or Straight type of
connector. 1 is the default.
LinePattern Line pattern of an Angled or Straight type of
connector. Solid is the default.
StartCap Shape of the line start point of an Angled or
Straight type of connector. Flat is the default.
EndCap Shape of line end point of an Angled or Straight
type of connector. Flat is the default.
LineColor Line color of an Angled or Straight type of
connector. Black is the default.
Runtime Behavior Properties
Enabled Connector animation is enabled or disabled
during run time. Enabled is the default.
Visible Connector is visible or hidden during run time.
Visible is the default.
4 With your mouse key pressed, drag the line segment between the
two adjacent control points to a new position to change the path of
the connector.
Vertical reposition
of the line segment
Horizontal reposition
of the line segment
Flipping Elements
You can flip elements on their horizontal or vertical axes. The axis for
each element is determined by its point of origin. For more information
on how to change the point of origin, see "Moving the Origin of an
Element" on page 134.
To lock elements
1 Select all elements that you want to lock.
2 Do one of the following:
On the Arrange menu, click Lock.
In the Properties Editor, set the Locked property to True.
The selected elements appear with lock icons at their handles.
To unlock elements
1 Select all elements that you want to unlock.
2 Do one of the following:
To create a group
1 Select the elements you want as part of the new group.
2 On the Arrange menu, point to Grouping, and then click Group.
The elements are combined into a group. The group is listed in the
Elements List.
3 Rename the group as required. To do this:
a In the Elements List, click the group name and click again. The
group name is in edit mode.
b Type a new name and press Enter. The group is renamed.
c You can also rename a group or elements by changing the
Name property in the Properties Editor.
Ungrouping
After you create a group, you can ungroup it if you no longer want it.
If the group included elements and other groups, when you ungroup,
the original elements and groups again exist as independent items. To
ungroup any subgroups, you must select each one and ungroup it
separately.
If you ungroup a set of elements and elements already exist with the
names of the grouped elements, then the newly ungrouped elements
are renamed.
To ungroup
1 Select the groups you want to ungroup.
2 On the Arrange menu, point to Grouping, and then click Ungroup.
The groups is converted to the original elements. The group name
is removed from the Elements List and the element names appear.
Note: You can also add elements to existing groups by using the
Elements List in similar way.
Note: You can also remove elements from existing groups by using
the Elements List in similar way.
Note: If the Path Graphic doesnt appear as you expected after you
create it, then you can swap the end points or change the z-order of
one or more elements. For more information, see "Swapping the End
Points of an Element in a Path Graphic" on page 158 and "Changing the
Z-order of an Element in a Path Graphic" on page 159.
5 Click outside the path graphic on the canvas. The path graphic is
shown in path mode.
5 Click outside the path graphic on the canvas. The path graphic is
shown in path mode.
You can fix this by swapping the end points of the element where this
appears.
You can fix this by changing the z-order of the element where this
appears.
Note: You can see the elements in their z-order in the Elements List.
Alternatively, you can select one from the Elements List and change its
z-order.
5 Click outside the path graphic on the canvas. The path graphic is
shown in path mode.
Note: You can also select the elements to remove from the Elements
List by holding Ctrl key during the selection.
Chapter 6
Note: You can also set the elements line properties in the Line
Format properties group in the Properties Editor.
Note: You can also set the line pattern by changing the LinePattern
property in the Properties Editor.
Note: You can also set the elements line style in the Properties Editor.
If you do this, you can configure the solid color, gradient, pattern, or
texture in the style selection dialog box. For more information, see
"Setting Style" on page 176.
Note: You can also change the text color in the Properties Editor with
the TextColor property.
Click Textures to open the style selection dialog box and select
a texture.
For more information about the style selection dialog box, see
"Setting Style" on page 176.
Note: You can also set the text alignment in the Properties Editor by
setting the Alignment property.
2 On the Format menu, point to Text Alignment, and then click the
appropriate command:
Click this
command To
Top Left Align the text at the top left frame handle.
Top Center Align the text at the top middle frame
handle.
Top Right Align the text at the top right frame
handle.
Middle Left Align the text at the middle left frame
handle.
Middle Center Align the text in the middle of the element.
Middle Right Align the text at the middle right frame
handle.
Bottom Left Align the text at the bottom left frame
handle.
Bottom Center Align the text at the bottom center frame
handle.
Bottom Right Align the text at the bottom right frame
handle.
Substituting Strings
You can search and replace strings of any element that have the Text
property on your canvas. You can use the basic mode to replace strings
in a list.
You can also use advanced functions, such as find and replace, ignore,
case-sensitivity, and wildcards.
You cannot substitute static strings that are used in an Radio Button
Group, List Box or Combo Box.
If you substitute strings for a text element in an embedded symbol,
that text element is not updated if you change the source symbol text.
For example, an embedded symbol contains a text graphic with the
string "SomeTextHere". You substitute "SomeTextHere" with
"MyText". You then changes the source symbol text from
"SomeTextHere" to "Wonderware". The text in the embedded symbol
will still show "MyText".
Setting Style
You can set the fill, line, and text style from various places in the
ArchestrA Symbol Editor using the style selection dialog box. The style
selection dialog box is common to any element for which you can set a
solid color, gradient, pattern, or texture. You can also set the
transparency of the style.
Because you can open the style selection dialog box from different
places in the ArchestrA Symbol Editor, the dialog box header can be
different.
Also, not all tabs may be available. For example, for setting one color
of a gradient in the Properties Editor, you can only select a solid color
from the style selection dialog box.
Luminance (0-255).
Setting a Gradient
You can configure gradients by the:
Number of colors - 1, 2 or 3.
Direction - horizontal, vertical, radial, or customized.
Variant - depending on your selection for the number of colors and
direction.
Color distribution shape - triangular with options to configure the
center and falloff.
Focus scales - width and height.
You set a gradient on the Gradient tab in the style selection dialog box.
5 Click OK.
To set the height and width of the focus scales for a gradient
1 In the style selection dialog box, click the Gradient tab.
2 In the Focus Scales area, do one of the following:
Move the Height & Width slider to specify the height and
width.
In the text box, type the value for the height and width.
The new gradient appears in the New color box on the right of the
dialog box.
3 Click OK.
Setting a Pattern
You can set a pattern for an element. The following table describes the
pattern options:
Pattern Options
Pattern Options
To set a pattern
1 In the style selection dialog box, click the Pattern tab.
2 Select a pattern. The new pattern appears in the New color box on
the right of the dialog box.
3 If you want to change the foreground color of the pattern, click the
Foreground color selection box. The style selection dialog box
appears. Select a solid color and click OK.
4 If you want to change the background color of the pattern, click the
Background color selection box. The style selection dialog box
appears. Select a solid color and click OK.
For more information about setting a solid color, see "Setting a
Solid Color" on page 176.
5 Click OK.
Setting a Texture
Textures are images you can use as styles for lines, fills and text. You
can stretch the image or tile the image across the entire element to be
filled.
To set a texture
1 In the style selection dialog box, click the Textures tab.
2 Click Select Image. The Open dialog box appears. You can import
the following image formats: .BMP, .GIF, .JPG, .JPEG, .TIF,
.TIFF, .PNG, .ICO, .EMF. Animated GIF images are not
supported.
3 Browse to and select an image file and click Open. The new pattern
appears in the New color box on the right of the dialog box.
4 Configure the size mode. Do one of the following:
Click Tile to create a pattern that repeats itself.
Note: You can also set the transparency level by changing the
Transparency property in the Properties Editor.
Lower tab order numbers take precedence over higher tab order
numbers. You must change this value to determine the tab order
sequence.
You must also make sure that the TabStop property of each element is
set to true. When the TabStop property is set to true, you can use the
TAB key at run time to switch to the selected element.
Unfilled style
Horizontal and vertical direction properties
You cannot use the format painter for:
The status element
An element that is part of a path
Groups of elements
Elements in different hierarchy groups
Chapter 7
8 In the True, 1, On area, select the Element Style in the list to use
when the expression is true.
9 In the False, 0, Off area, select the Element Style in the list to use
when the expression is false.
10 Click OK.
5 Click the Truth Table button. The Truth Table Element Style
configuration panel appears. The Element Style that is applied to
the element is shown in the Element Style list at the bottom of the
panel.
6 In the Expression Or Reference area:
Select the data type of the expression from the list.
Type a value, attribute reference or expression in the text box.
7 If the data type of the expression is string or internationalized
string, you can specify to ignore the case by selecting Ignore Case.
8 In the Truth Table, select the Element Style check box and select
the Element Style for one of the conditions to be defined in the
truth table.
9 In the Operator column, select a comparison operator.
10 In the Value or Expression column, type a value, attribute
reference, or expression.
11 To add other conditions:
a Click the Add icon. An additional condition is added to the
truth table.
b Select the Element Style check box, select the Element Style
for the condition, select an operator, and enter the condition
value or expression.
12 After adding all truth table conditions, click OK.
Truth Table animation is typically used to set Element Styles to the
different states of an object. For example, you can set Truth Table
conditions to show different Element Styles that represent the
following alarm conditions:
When the attribute TankLevel_001.PV is 0 then no Element Style
is applied.
When the attribute TankLevel_001.PV is less than 20, then the
Element Style is Alarm_Minor_Dev.
When the attribute TankLevel_001.PV is greater than the
attribute Standards.TankMax then the Element Style is
Alarm_Major_Dev.
Chapter 8
5 Do the following:
a In the Line Start list, click a shape for the start of the line.
b In the Line End list, click a shape for the end of the line.
c Click OK.
3 Select a size on the Line Start Size list if the line starts with an
arrowhead. Valid sizes are: XX Small, X Small, Small, Medium
Small, Medium, Medium Large, Large, X Large, XX Large.
4 Select a size on the Line End Size list if the line ends with a shape.
5 Click OK.
Note: You can also set the line end shapes by changing the StartCap
and EndCap properties in the Properties Editor.
Using Images
You can place images on the canvas. This is a two step process:
1 Draw a frame which specifies the target size of the image.
2 Import the image from an image file.
After you place an image on the canvas, you can:
Set the display mode (ImageStyle).
Set the image alignment (ImageAlignment).
Set the transparency color (HasTransparentColor,
TransparentColor properties).
Open the image in an image editing application.
Select a different image for the image element.
Note: You can also set the image alignment in the ImageAlignment
property in the Properties Editor.
To edit an image
1 Select the image element with the image you want to edit.
2 On the Edit menu, click Edit Image. The image is opened with the
associated image editing application.
3 Make changes to the image as needed, save the image and close
the image editing application. The image is updated on the canvas.
2 In the Image Editor list, click Choose Custom Editor. The Select
Image Editing Application dialog box appears.
Note: You can also select a different image by clicking the browse
button in the Image property in the Properties Editor.
Using Buttons
You can add a text caption or an image to buttons that belong to
ArchestrA symbols. If a button includes a text caption, you can:
Automatically scale the font size
Configure the text to wrap within the button
2 On the Edit menu, click Edit Control Points. The control points of
the element are shown.
3 Press and hold the Ctrl key.
4 Move the mouse over the control point you want to remove. The
pointer appears as a pen with a minus symbol.
5 Click the control point. The control point is removed from the curve
or closed curve.
6 Repeat the last step for any other control points you want to
remove. You must have at least two control points.
7 When you are done, release the Ctrl key.
Note: You can also change the tension of a curve or closed curve by
changing the value for the Tension property in the Properties Editor.
Note: You can also change the start or sweep angle of an arc, pie or
chord in the StartAngle or SweepAngle properties in the Properties
Editor. For more infomation, see "Utilizing Sweep Angle Run-Time
Properties" on page 220.
Sweep angle run-time properties are well suited for showing a current
value within a range of possible values. For example, the movement of
a chord sweep angle can show a pie chart with fill that indicates the
current time within a repetitive period. Or, the movement of an arc
sweep angle can represent a pointer to the current value within a
range of possible values like a tachometer.
6 To override the font, select Font Override, click the browse button
and select a font from the Font dialog box.
7 To override the font style:
a Select Font Color Override.
b Click the color box.
c Select a text color from the Select Font Color dialog box. For
more information, see "Setting Style" on page 176.
8 To override the text blink behavior:
a Select Blink.
b Select a blinking speed from the Speed list.
c Click the color box.
d Select a text blink color from the Select Blink Color dialog box.
For more information, see "Setting Style" on page 176.
9 Click OK.
The Format Style list includes a set of styles that can be individually
configured to create customized number styles. The Real number
format is the default for the user defined styles.
The Format Styles dialog box also includes fields to specify characters
that appear during run time that indicate bad quality data or data
that exceeds a fixed width field.
Based on the selected number style, the following fields appear on the
Format Styles dialog box to change the default properties.
Fixed Width
Appears for every number format style. When selected, the length
of a number cannot exceed the text length of the text element
(Text, TextBox, or Button) in design time. Numbers that exceed
design time text length will show the special character specified in
the Value too large for Fixed Field.
For the Real number style, the length of the fractional part of the
number is truncated to fit the design time length. If the length of
the number is still too large after removing the entire fractional
part, then the number will show the special character specified in
the Value too large for Fixed Field.
Precision
Appear for the Hex and Binary number formats. Bits From sets the
starting bit position (0-31) of a hex or binary number shown during
run time. To sets the ending bit position of a hex or binary number
shown during run time.
Both animation types include a Text Format field. When Text Format
is set to Format String, you must enter a text string that represents
the format of numbers shown from WindowViewer during run time.
The following table shows you the data type, a description on how the
value property is used, and an example for each Windows common
control.
Data
Control Type Description Example
You can also use properties that are specific to the Radio Button Group
control in scripting. At run time you can access the script to view and
modify the Radio Button Group control.
Three-dimensional appearance
Chapter 9
Data Type:
- Boolean
- Integer
- Float
- Double
- String
- Time Default Value:
- Elapsed Time - Value
- Reference (Element or Attribute)
- Expression
Custom Property 1
Description
Custom Property 2
Symbol
Custom Property 3 Visibility:
- Public Custom Property
...
Custom Property N
3 Click the Add icon. A new line is added in the custom properties
list.
4 Type a name for the new custom property and click Enter.
You can see the name of the symbol and the custom property in the
header of the dialog box.
5 Configure the custom property on the right side of the Edit Custom
Properties dialog box. For more information see "Configuring
Custom Properties" on page 255.
6 Click OK.
3 Select the custom property you want to delete and click the
Remove icon. When a message appears requesting confirmation to
delete the custom property, click Yes. The custom property is
removed from the custom properties list.
4 Click OK.
3 Select the custom property you want to edit. The configuration for
the selected custom property appears at the right of the dialog box.
Note: The header of the configuration area shows you the symbol
name, for example Symbol_001, on the right and the custom property
name on the left, for example MyCustomProperty. It can be accessed
from scripting as Symbol_001.MyCustomProperty.
4 In the Data Type list, click the data type of the custom property.
You can select one of the following:
Boolean
Double
Elapsed Time
Float
Integer
String
Time
3 Select the custom property you want to validate and click the
Validate icon. Required boxes are highlighted by a red box,
possible errors appear in the status area under the custom
properties list.
3 Type the new custom property name and click Enter. The custom
property is renamed.
Note: When you override the custom property, it appears bold in the
custom property list.
Historical
Analog
Summary Data
Analog
Statistical
Data Description
Average A time-weighted average calculated from values within
a summary period. The average is calculated at the
end of the summary period.
Count A value count calculated from values within a
summary period. The count is calculated at the end of
the summary period.
First The first value that occurs within a summary period
based on the actual timestamp within the summary
period.
Integral An integral value calculated from values within a
summary period. The integral is calculated at the end
of the summary period.
Maximum The first maximum value that occurs within a
summary period.
Minimum The first minimum value that occurs within a
summary period.
PercentGood The ratio of labeled "good" quality data to all data
within the summary period. The ratio is expressed as a
percentage in the range 0 to 100. PercentGood is
calculated at the end of the summary period.
StdDev Time weighted standard deviation calculated from
values within a summary period. The value is
calculated using time weighted sums (Integrals) and
time weighted sums of squares (IntegralOfSquares)
values.
Last The last value that occurred in the summary period
based on the actual timestamp within the summary
period.
State
Statistical
Data Description
Average Average time a state occurred and completed within a
summary period. A partial state within a summary
period is ignored for an average calculation.
(StateTimeAvgContained)
Minimum Minimum time a state occurred and completed within a
summary period. A partial state is ignored.
(StateTimeMinContained)
Maximum Maximum time a state occurred within a summary
period. (StateTimeMax)
Count Number of times a state occurred and completed within
a summary period. A partial state is not counted.
(StateCountContained).
Percent Percentage of the summary period that a state
occurred. (StateTimePercent)
Total Total time a state occurred within a summary period.
(StateTimeTotal)
If a start time is not specified, then the start and end times of the
summary period are calculated as:
Start Time = Current Time - Duration
End Time = Current Time
If a start time is specified, then the start and end times of the
summary period are calculated as:
Start Time = StartTime option value
End Time = StartTime + Duration
The Duration option can accept a negative number when a start time
is specified. When Duration is assigned a negative number, the start
time input parameter value becomes the end time of the summary
period. The start time is calculated using the formula shown below:
End Time = StartTime assigned option value
Start Time = End Time + Duration (in this case it is negative value)
Duration can accept values from 1 minute to 10080 minutes, which is
one week. StartTime must be within datetime Min and Max Value.
During run time, history summary data is auto refreshed at an
interval that is 25 percent of its duration length when a StartTime
value is not specified.
The icon to the left of the Reference Name field toggles input to
the field as Static Text or Expression or Reference mode.
Auto-Detect
Average
First
Minimum
Maximum
Count
StdDev
Integral
PercentGood
Percent
Total
Last
5 Set the length of the summary historical period in minutes by
entering a value in the Duration field.
Acceptable Duration values are from 1 to 10080 and the default is
5. Duration can be specified as an integer, an expression, or a
reference.
6 Set the start time of the of the summary period in the StartTime
field.
A start time can be specified as static text, an expression, or a
reference. The default start time is the current time.
A time for StartTime is optional and can be left blank. Auto refresh
is applied if a StartTime value is not specified.
For more information about setting a start time, see "Historical
Summary Period" on page 262.
7 Set the type of Historian summary data in the State field.
The State value can be expressed as an integer constant, static
text, an expression, or a reference.
If a string value is provided, then string state summary data is
queried from the Historian. If an integer value is entered, the
Historian query is for analog state summary data.
State can be left empty. If empty, the default query is for analog
summary data.
To get summary historical data for a Null state, enter "NULL" in
the State field. The query checks for OpcQuality equal to opcnull
and StringValue "NULL" in the result.
For example, the local script variable ptr is defined and bound to the
reference ud1_001.Int1.
dim ptr as indirect;
ptr.BindTo("ud1_001.Int1");
Within the same script you can use the indirect variable pointer to
read from and write to the attribute ud1_001.Int1.
ArchestrA Symbols also use scripting in the same way as the scripting
of Application Server.
However, as an ArchestrA Symbol can be embedded into an InTouch
window and run anonymously, the time it takes to connect to the
reference can be longer than one scan cycle.
For that reason, you cannot use the indirect variable immediately
after it is bound to a reference to read from and write to it.
dim ptr as indirect;
ptr.BindTo("ud1_001.Int1");
ptr = 42;
Note: Make sure to include an exit condition in your script, so that the
script doesnt "hang" in case the binding cannot be made.
dim timeout;
ptr.BindTo("ud1_001.Int1");
A while loop is included in the script before the first write attempt.
The while loop provides additional time for the symbol to connect to
the reference. If the quality is good, then the script exits from the
while loop.
Note: Similar behavior can occur when you try to bind to a reference
of an object that is hosted on a different AppEngine.
You can select this method using the Element Browser from within the
Symbol Editor. This method is supported only for ArchestrA client
scripts.
This method has three parameters:
name - Name of the custom property to be modified on the symbol.
This parameter is of type string, and it can be a reference or a
constant.
value - The new value to be set. This parameter is of type string,
and it can be an expression, reference, or constant. If the value is
given in quotes ("), then the value is considered a constant. If the
value is given without quotes, then the value of the expression is
considered a reference.
isConstant - A flag that indicates whether the new value will be
evaluated as a constant or a reference. This parameter is of type
Boolean. If it is set to True (1), then the new value will be treated
as a constant. If it is set to False (0), then the new value will be
treated as a reference. This parameter only applies when the value
parameter is a reference or constant and the custom property
specified in the name parameter is a string or time type. This
parameter has no meaning if the custom property is an integer,
float, Boolean, or double type.
Note: The isConstant parameter does not override the type of input
for the value parameter. The value parameter itself can be either a
constant or a reference depending on whether it is enclosed in quotes.
The isConstant parameter is only determining how the actual value
(coming from the value parameter) is evaluated.
As a result of the call, the function will set the string custom property
GraphicA.MotorState to "Motor_001.State" as a reference. The string
custom property GraphicA.MotorStatus will resolve that reference and
update its value with the reference value ("Running" or "Stopped").
For an example of configuring the custom property as a constant, say
you have a Motor_001 object with the Boolean field attribute State
that reflects the current state of the motor (True or False). You also
have an ArchestrA symbol that has the string data type custom
property MotorState. The following script code causes the MotorState
custom property to hold the state of equipment"Running" or
"Stopped"as text based on the value returned for Motor_001:
IF Motor_001.State THEN
GraphicA.SetCustomPropertyValue("MotorState","Running",True)
;
ELSE
GraphicA.SetCustomPropertyValue("MotorState","Stopped",True)
;
ENDIF;
As a result of the call, the function will set the string custom property
GraphicA.MotorState to "Running" or "Stopped," depending on the
vaue of Motor_001.State.
Chapter 10
Note: Not all animations are available for all element types. Some
animations do not make logical sense, such as line style with a text
element. You cannot select or copy these invalid combinations.
To disable an animation
1 Select the element with the animation you want to disable.
2 On the Special menu, click Edit Animations. The Edit Animations
dialog box appears.
You can also disable animations from the Animation Summary in
the lower right corner of the ArchestrA Symbol Editor.
3 Locate the animation you want to disable from the Animation list
on the left of the dialog box.
4 Select Disabled from the list of that row.
5 Repeat for any other animations you want to disable and click OK
when you are done.
To enable an animation
1 Select the element with the animation you want to enable.
2 On the Special menu, click Edit Animations. The Edit Animations
dialog box appears.
You can also enable animations from the Animation Summary of
the ArchestrA Symbol Editor.
3 Locate the animation you want to enable from the Animation list.
4 Select Enabled from the list of that row.
5 Repeat for any other animations you want to enable and click OK
when you are done.
7 From the Elements List, select an element. The right pane shows
the properties of the selected element.
8 Select a property and click OK. The selected element and property
appears in the configuration box.
7 From the Elements List on the left, select the symbol. The right
pane shows the custom properties and other properties of the
selected symbol.
8 Select a custom property and click OK. The selected custom
property appears in the configuration box.
attribute("intouch:SuperTag\Member")
The InTouch Tag Browser tab lists all InTouchViewApp instances and
templates for the current Galaxy in the left pane. The right pane
displays the InTouch tags for the selected InTouchViewApp. The
DotFields: list box will display the dotfields associated with the
selected tag.
The Dotfields list box below the right pane enables you to specify
dotfields for the selected tag.
The InTouch Tag Browser tab behaves as follows:
The InTouch Tag Browser functionality is available only from the
animation editor or the script editor.
The Galaxy Browser reads InTouch tags from the Tagname
Dictionary.
Managing Animations
You can easily manage animations in the Edit Animations dialog box.
You can:
Change the way the list of animations appears.
Switch easily between multiple animations of an element.
You can also do this for the Animation Summary in the lower right
corner of the ArchestrA Symbol Editor.
3 Click the Add icon and select Fill Style. The fill style animation is
added to the Animation list and the Fill Style state selection panel
appears.
4 Click the Boolean button. The Boolean Fill Style configuration
panel appears.
5 In the Boolean box, type a Boolean numeric value, attribute
reference or expression.
6 Clear Color in the True, 1, On area or False, 0, Off area if you do
not want a different fill style for the true or false condition than
the default fill style.
7 In the True, 1, On area, click the color box to configure the fill color
when the expression is true. The Select FillColor dialog box
appears. For more information, see "Setting Style" on page 176.
8 In the False, 0, Off area, click the color box to configure the fill
color when the expression is false. The Select FillColor dialog box
appears. For more information, see "Setting Style" on page 176.
9 Click OK.
To set the default fill style for a truth table fill style
animation
1 Open the Edit Animations dialog box, Truth Table Fill Style panel.
2 In the Element Fill Style area, click the color box. The Select
FillColor dialog box appears. For more information, see "Setting
Style" on page 176.
To use the default fill style in a truth table fill style animation
1 Open the Edit Animations dialog box, Truth Table Fill Style panel.
2 Locate the condition for which you want to set the style to default
style.
3 Clear the mark for that condition in the Color column of the truth
table. The associated style is the same as the style for the Element
Fill Style.
To set the default line style, width or pattern for a truth table
line style animation
1 Open the Edit Animations dialog box, Truth Table Line Style
panel.
2 In the Element Line Style area, select a style, type a value for the
width and select a pattern for the default truth table line style.
4 To use the default line width for the condition, clear the mark in
the Width column of the truth table.
5 To use the default line pattern for the condition, clear the mark in
the Pattern column of the truth table.
To set the default text style or font for a truth table text style
animation
1 Open the Edit Animations dialog box, Truth Table Text Style
panel.
2 In the Element Text Style area, select a style and a font for the
default truth table text style.
To use the default text style or font in a truth table text style
animation
1 Open the Edit Animations dialog box, Truth Table Text Style
panel.
2 Locate the condition for which you want to change the text style or
font.
3 To use the default text style for the condition, clear the mark in the
Color column of the truth table.
4 To use the default font for the condition, clear the mark in the Font
column of the truth table.
6 In the Blink Speed area, select Slow, Medium or Fast for the
blinking speed.
7 In the Blink Attributes area, select Blink Visible With These
Attributes or Blink Invisible.
Alarm Border animation also shows an indicator icon at the top left
corner of the border around a closed graphic element. For open pie or
arc graphic elements, the indicator icon is placed at the top-left most
location of the start and end points.
Alarm severity (1-4) or the current alarm mode (Shelved, Silenced,
Disabled) appear as part of the indicator icon. The indicator icon can
be shown or hidden as a configurable option of Alarm Border
animation.
Alarm Border animation adheres to the following precedence rules
with other functions that can change the appearance of a symbol:
1 Quality status
2 Alarm Border animation
3 Element Style animation
4 Style animations
5 Element Style on canvas
Blinking
The alarm value returns to normal and the user acknowledges the
alarm.
Alarm Border animation no longer appears around a symbol.
InAlarm Source
Alarm
Severity Alarm State Element Style
1 UnAcknowledged AlarmBorder_Critical_UNACK
1 Acknowledged AlarmBorder_Critical_ACK
1 Return To Normal AlarmBorder_Critical_RTN
2 UnAcknowledged AlarmBorder_High_UNACK
2 Acknowledged AlarmBorder_High_ACK
2 Return To Normal AlarmBorder_High_RTN
3 UnAcknowledged AlarmBorder_Medium_UNACK
3 Acknowledged AlarmBorder_Medium_ACK
3 Return To Normal AlarmBorder_Medium_RTN
4 UnAcknowledged AlarmBorder_Low_UNACK
4 Acknowledged AlarmBorder_Low_ACK
4 Return To Normal AlarmBorder_Low_RTN
All Inhibited AlarmBorder_Inhibited
All Shelved AlarmBorder_Shelved
All Suppressed AlarmBorder_Suppressed
All Silenced AlarmBorder_Silenced
You can also preview how the percent fill horizontal animation
appears at run time.
10 Click OK.
10 Click OK.
10 If you use current as offset orientation, you can type an offset value
in the text box next to Use Current as Offset Orientation. This
affects the orientation of the element on the canvas.
11 In the Current Relative Origin area, type values in the dX and dY
boxes to specify the rotation origin as offset from the element
center point. This affects the point of origin of the element on the
canvas.
12 You can preview the orientation and how run-time values affect
the appearance of the element, by dragging the slider in the
Preview area.
13 Click OK.
Except for the Format String and Custom text styles, all other
text styles are global number styles that do not need further
configuration.
For more information about the listed global number formats,
see "Setting Global Number Styles" on page 228.
Note: You can use any other characters, except "g" in the property.
These characters then appear at design time and run time in the
control.
5 Click OK.
User Input is added to the Interaction list and the User Input
state selection panel appears.
4 Click the Analog button. The Analog Value User Input
configuration panel appears.
5 In the Analog box, type an attribute reference or browse for one by
using the browse button.
6 In the Message to User box, type a value, attribute reference, or
expression. This text appears to prompt for the analog value input
dialog box at run time.
7 Make sure that the input mode of the Message to User box is set
correctly. Click the Input Mode icon to set a static value or an
attribute reference or expression.
8 If you want to restrict the range of input values, you can do so in
the Value Limits area by:
First selecting Restrict Values.
Numeric Format
Character Description
Except for the Format String and Custom text styles, all other text
styles are global number styles that do not need further
configuration.
13 Click OK.
11 If you select Input Only and want to see placeholders during the
input at run time, select Echo Characters.
12 If you are configuring a password input:
Select Password.
Type in the replacement character in the adjacent box.
Select Encrypt if you want to encrypt the string that holds the
password.
13 Click OK.
11 Select:
Use Input Dialog to use the Time User Input dialog box at run
time to type date and time values in individual boxes.
Use Calendar to use the Time User Input dialog box at run
time to type a date with the calendar control.
12 If you select Use Input Dialog to type the time value, you can
select:
Date and Time to type date and time.
Note: You can use any other characters, except "g" in the property.
These characters then appear at design time and run time in the
control.
14 Click OK.
12 Click OK.
7 If you select Toggle, Set or Reset as action, you can configure the
action to be performed when the mouse button is released instead
of pressed down. To do this, select On button release.
8 If you select Direct, Reverse, Reset or Set as action, you can
configure the value to be written:
Continuously by selecting Continuously while button is
pressed. Also specify the frequency the value is to be sent, by
typing a value in the Delay between value send box.
One time by clearing Continuously while button is pressed.
8 Make sure that the input modes of the Value1 and Value2 boxes
are set correctly. Click the Input mode icons to set a static values
or an attribute references or expressions.
9 You can configure the value to be written when the mouse button
is released instead. Select On button release. This does not apply
if you select Direct as action.
10 You can configure the value to be written:
Continuously by selecting the Continuously while button is
pressed. Also specify the frequency the value is to be sent, by
typing a value in the Delay between value send box.
One time by clearing the Continuously while button is
pressed.
Note: To expand the available space for your script you can use the
Expansion buttons to hide the script header and/or the Animation list.
Desktop
Window, such as at one of its edges, its corners, its center or above,
below, to the left or right. The window area includes the title bar if
it appears.
Above
Window
Application Below
Top of Parent
Symbol Above Top Right Corner
Top Left Corner of Parent Symbol
of Parent
Symbol
Right Side of
Parent Symbol
Left of
Parent Symbol
Right of
Parent
Symbol
Left Side of
Parent Symbol
Parent Element
Parent Symbol
Center Mouse
Position
Desktop
Desktop
0 X
0
Vicinity in which
the symbol is
Window shown (depending
on the Position
setting)
Y
Desktop
0 X
0
Vicinity in which
the symbol is
shown (depending
on the Position
setting)
Y
Client Area
Below
From the second list, select the item the position is referring to:
Desktop relative to the entire desktop.
Window relative to the window.
Client Area relative to the client area.
Parent Symbol relative to the entire symbol that calls it.
Parent Element relative to the element or element group
that calls it.
Mouse relative to the pointer.
Desktop X,Y relative to a specified coordinate on the
desktop.
Window X,Y relative to a specified coordinate of the
window.
Client Area X,Y relative to a specified coordinate of the
client area.
Select Stretch symbol to fit ... height and enter a width in the
W box.
9 You can specify that the symbol window appears by pressing a key
or key combination. In the Shortcut area:
a Select a shortcut key in the Key list.
b Select Ctrl and/or Shift to combine the shortcut key with the
Ctrl key and/or Shift key.
10 Click OK.
Tip You can also browse for the reference by clicking the browse button.
Move an option down the list - select it in the list and click the
Arrow down icon.
None to show the items in the order they are in the array
attribute.
Ascending to show the items sorted in ascending order.
Open 1
Close 2
Hold 3
Report Error 4
Unknown 99
5 Click OK.
Tip Use the On Trigger Condition option to set when the Edit Box
element writes the run-time value to the reference. This avoids a conflict
between the run-time value of the Edit Box and run-time value of the
reference.
Read-Only to use the edit box to only show text and not allow
text input.
Maximum Length to limit the maximum numbers of characters
you can type in the edit box control. You can specify the
maximum number in the Characters box.
Enter a default text in the Text box.
Move an option down the list - select it in the list and click the
Arrow down icon.
6 Select the type of combo box from the Type list. Select:
Simple - at run time you can type a value, or select one by
using arrow up and arrow down buttons. However, you cannot
see the list of values.
DropDown - at run time you can type a value, or select one
from the list.
DropDownList - at run time you can only select a value from
the list, but not type one.
7 Click OK.
None to show the items in the order they are in the array
attribute.
Ascending to show the items sorted in ascending order.
8 Click OK.
7 Click OK.
The Select FillColor dialog box appears and you can select a solid
color.
8 Click OK.
Long to show the date and time in the long format of the
operating system, for example: Thursday, August 03 2006.
Short to show the date and time in the short format of the
operating system, for example: 8/3/2006.
Time to show just the time in the time format of the operating
system, for example: 3:46:09 PM.
Custom to specify your own time format. Use the following
letters to set the time format:
h One or two-digit hour in 12-hour format.
hh Two-digit hour in 12-hour format. Single digit
values are preceded by a zero.
H One or two-digit hour in 24-hour format.
HH Two-digit hour in 24-hour format. Single digit
values are preceded by a zero.
t One-letter AM/PM abbreviation ("AM" appears as
"A").
tt Two-letter AM/PM abbreviation ("AM" appears as
"AM").
m One or two-digit minute.
mm Two-digit minute. Single digit values are preceded
by a zero.
s One or two-digit seconds.
ss Two-digit seconds. Single digit values are preceded
by a zero.
d One or two-digit day.
Note: You can use any other characters, except "g" in the property.
These characters then appear at design time and run time in the
control.
5 To restrict the date the user can select at run time, you can specify
limits in the:
MinDate box - type a lower limit for the date.
6 To change the colors of the calendar control that drops down, click
in the Calendar Colors area the following color boxes:
Month Background
Month Trailing Forecolor
Title Background
Title Foreground
The Select FillColor dialog box appears and you can select a solid
color.
Move an option down the list - select it in the list and click the
Arrow down icon.
6 Click OK.
9 Click OK.
3 Click the Enum button. The Enum List Box configuration panel
appears on the right side.
4 In the Enum Reference box, type an enum attribute reference. The
Enum Values and Captions list shows the values from the enum
reference.
5 You can select when to submit the value changes. For more
information, see "Submitting the Value Changes" on page 363.
6 To define your own captions, clear Use Values as Captions and
type them in the list.
7 Set Items Sorting to:
None to show the items in the order they are in the enum
attribute.
Ascending to show the items sorted in ascending order.
8 Click OK.
A Step Line plot draws a horizontal line from a trend data point to the
time of the next point on the trends X-axis, and then draws a vertical
line to the data point. A Step Line plot is the default for a Trend Pen.
4 Release the left mouse key after sizing the rectangle to the height
and width that you want to represent as the trend area.
The Trend Pen dialog box appears when the mouse key is released.
You can also show the Trend Pen dialog box by double-clicking on
the Trend Pen graphic or selecting Edit Animations from the
Special menu.
Note: A reference can be made to an InTouch tag, but the Trend Pen
can only show real-time data.
for the next period is set to the end time of the previous trend
period.
Fixed
In a Fixed trend time period, the StartTime and EndTime
properties do not change automatically. The default start time of a
trend period is the current time, but the StartTime property can be
modified by a script to set a start time of a trend time period.
The EndTime property of a Fixed trend period is read only. The
end time is calculated as the sum of the duration of the trend and
the specified start time of the trend time period.
8 Set the X-axis time period of the trend line in the Duration
(Minutes) field.
MinValue Property
During run time, the value of the MinValue property can be modified
to change the minimum measured value shown by a trend. During run
time, MinValue can be a read/write or a read only property based on
the value assigned to the Trend Pens Y Axis Range option during
design time.
When Y Axis Range is set to Auto-Range during design time
The minimum measured value shown by a trend is set to the
minimum value of data received from the Historian or from
current data during the trend period. MinValue is read only.
MaxValue Property
During run time, the value of the MaxValue property can be modified
to change the maximum measured value shown by a trend. During run
time, MaxValue can be a read/write or a read only property based on
the value assigned to the Trend Pens Y Axis Range option during
design time.
When Y Axis Range is set to Auto-Range during design time
The maximum measured value shown by a trend is set to the
maximum value of data received from the Historian or from
current data during the trend period. MaxValue is read only.
When Y Axis Range is set to Clip out of range values during
design time
The maximum measured value shown by a trend is set to a
maximum limit set from the Max Range option during design time.
MaxValue is read/write and can be changed during run time.
When MaxValue is changed during run time, the trend line is
redrawn based on the values assigned to the MinValue and
MaxValue properties.
When the values assigned to MinValue and MaxValue properties
are the same, the trends Y Axis Range automatically changes to
Auto-Range.
StartTime Property
During run time, the value of the StartTime property can be modified
to change the start time of a trend period based on the value set to the
Trend Pen Time Period during design time.
When Time Period is set to Fixed during design time
The default value assigned to the StartTime property is the start
time set during design time. StartTime is read/write and can be
changed during run time. When value of StartTime changes, the
Trend Pen re plots the trend using new StartTime value.
EndTime Property
During run time, the value of the EndTime property can be modified to
change the end time of a trend period based on the value set to the
Trend Pen Time Period during design time.
When Time Period is set to Fixed during design time
The default value assigned to the EndTime property is the end
time set during design time. EndTime is read/write and can be
changed during run time. When value of EndTime changes, the
Trend Pen re plots the trend using new EndTime value.
When Time Period is set to Moving during design time
The value set to the EndTime property is the current system date
and time. EndTime is read only.
PlotType Property
During run time, the value of the PlotType property can be modified to
change the type of trend plot.
When PlotType is 0, the Trend Pen plot type is Step Line. The
default.
When PlotType is 1, the Trend Pen plot type is Line.
The value of PlotType is ignored if the value is neither 0 nor 1.
When the value of PlotType changes in run time, trend data is
retrieved again before drawing the trend.
TimeMode Property
During run time, the value of the TimeMode property can be modified
to change the type of trend time period.
When TimeMode is 0, the trend time period mode is Moving. The
end time of the trend is the current time. The default.
When TimeMode is 1, the trend time period mode is Fixed. The
start time of the trend is the current time.
The value of TimeMode is ignored if the value is neither 0 nor 1.
When the time period changes from Moving to Fixed during run time,
the trends start time and end time remain the same before switching,
and the data remains as well. When the time period changes from
Fixed to Moving during run time, data is retrieved again before
drawing the trend. The trends start and end times are adjusted
automatically by Moving mode.
Numbers
The following table lists the basic number formatting.
Example Example
Output Output for
Identifier Type Format for "1.42" "-12400"
c Currency {0:c} $1.42 -$12,400
d Decimal (whole number) {0:d} Error -12400
e Scientific {0:e} 1.420000e+000 -1.240000e+004
f Fixed point {0:f} 1.42 -12400.00
Example Example
Output Output for
Identifier Type Format for "1.42" "-12400"
g General {0:g} 1.42 -12400
n Number with commas for {0:n} 1.42 -12,400
thousands
r Round trip {0:r} 1.42 Error
x Hexadecimal {0:x4} Error cf90
Example
Output
Identifier Type Format for "1500.42" Notes
0 Zero placeholder {0:00.0000} 1500.4200 Pads with zeroes.
# Digit placeholder {0:(#).##} (1500).42
. Decimal point {0:0.0} 1500.4
, Thousand separator {0:0,0} 1,500 Must be between two
zeroes.
,. Number scaling {0:0,.} 2 Comma adjacent to
Period scales by 1000.
% Percent {0:0%} 150042% Multiplies by 100, adds
% sign.
e Exponent {0:00e+0} 15e+2 Many exponent formats
placeholder available.
; Group separator Used to separate
multiple formats in one
string format (for
example, including
parentheses around a
string if the value is
negative; see "Format
String Examples" on
page 366).
Dates
Date formatting is dependent on the systems regional settings; the
example strings here are for the U.S.
The following table lists the basic date formatting.
Example
Identifier Type Format Output
dd Day {0:dd} 10
ddd Day name {0:ddd} Tue
dddd Full day name {0:dddd} Tuesday
f, ff, Second fractions {0:fff} 932
gg, Era {0:gg} A.D.
hh 2-digit hour {0:hh} 10
HH 2-digit hour, {0:HH} 22
24-hr format
mm Minute 00-59 {0:mm} 38
MM Month 01-12 {0:MM} 12
MMM Month abbreviation {0:MMM} Dec
MMMM Full month name {0:MMMM} December
ss Seconds 00-59 {0:ss} 46
tt AM or PM {0:tt} PM
yy Year, 2 digits {0:yy} 02
yyyy Year {0:yyyy} 2002
zz Time zone offset, {0:zz} -05
2 digits
zzz Full time zone offset {0:zzz} -05:00
Example
Identifier Type Format Output
: Separator {0:hh:mm:ss} 10:43:20
/ Separator {0:dd/MM/yyyy} 10/12/2002
Enumerations
Identifier Type
g Default (flag names if available, otherwise decimal)
f Flags always
d Integer always
x Eight-digit hex
3 Click Find & Replace. The dialog box expands and shows find and
replace parameters.
4 Specify your find and replace options. Do one of more of the
following:
To find specific references in the list, type a string in the Find
What box and click Find Next to find the next string.
Chapter 11
You can associate scripts to your symbols. Scripts can add animation
to a symbol or its elements.
Caution: If you configure scripts that affect more than element and
symbol animation, the script processing may affect performance.
Note: A named script will not run if the script is triggered by the
DataChange trigger type and is bound to an InTouch tag whose quality
is Initializing, or whose quality is Bad and category is not OK.
If Smart Cards are not enabled, the mode buttons for selecting
Smart Card or password authentication are disabled.
b The user enters the acknowledgement comment, if enabled,
and the users credentials.
c The function validates the user's credentials.
d If the user credentials are invalid the function displays an
error message.
When the user clicks OK on the error message, the function
re-displays the alarm authentication dialog, and allows the
user to try again.
When the dialog is re-displayed, it shows the same user's
name, domain, and acknowledgement comment as were
entered, but the password or Smart Card PIN field is blank.
The user may then re-try the authentication or cancel.
Error Handling
A symbol script does not run if it contains a syntax error. When the
symbol or graphic is loaded, a message is written to the Logger.
Note: If you set the While Showing period too low, system
performance may decrease.
5 Type your script in the main edit box. The script syntax is the
same as the syntax of AutomationObject scripting.
Named scripts are blocked until the OnShow script has completed,
so some could be missed. For example, the named script
OnDataChange might not run for the first few updates.
Delayed OnShow scripts within nested embedded symbols might
run out of order for the different nested levels. If the outer-most
level is delayed but the inner levels are not delayed and are
executed immediately, the order of execution will be changed.
2 Click the Element Browser tab. The Galaxy Browser shows the
element names and the properties of the selected element.
3 Select an element or symbol from the list. The right pane shows
the accessible properties of the selected element or symbol.
4 Select a property from the right pane and click OK. The reference
appears in the script window.
ControlName.SaveText(FileName);
ControlName.AddItem("ItemCaption");
Controlname.InsertItem("ItemCaption");
ControlName.DeleteItem(Index);
To delete the selected item from a Combo Box or List Box list
In an action script, use the following method:
ControlName.DeleteSelection();
ControlName.Clear();
Index = ControlName.FindItem("ItemCaption");
Caption = ControlName.GetItem(Index);
To load the item list for a Combo Box or List Box control from
a file
In an action script, use the following method:
ControlName.LoadList(FileName);
To save the item list for a Combo Box or List Box control to a
file
In an action script, use the following method:
Controlname.SaveList(FileName);
Chapter 12
You can:
Import and embed client controls into a symbol.
View and edit the properties of the client control.
Bind the properties of the client control with attributes and
element references.
Configure scripts for client control.
Animate client controls.
Export a client control.
Configure a client control with security.
Ensure that dynamically loaded assemblies are included with the
primary client control assembly when an application is deployed
View additional client control information such as the files the
client control uses and what objects and symbols are using the
client control.
For information on language switching for client controls, see Chapter
15, "Switching Languages for Graphic Elements."
IMPORT
Graphic Toolbox Automation Template or Instance
Properties
EMBED EMBED
Symbol Symbol
Properties Properties
Methods Client Control Client Control Methods
Events Events
.AAPKG
FILE
Note: If you select .NET .DLL files that do not contain client controls,
the import process ignores these and continues at the next .DLL file.
2 Select one or more .NET .DLL files that contain the client controls
you want to import and click Open. The Import Preferences dialog
box appears.
3 Select the appropriate options for the import and click OK. The
Import Client Control(s) dialog box appears.
4 When the client controls are imported, click Close. The imported
client controls appear in the Graphic Toolbox.
Note: If the import fails, a message indicates the error in the Import
Client Control(s) dialog box.
4 Select the appropriate options for the import and click OK.
5 When the import is complete, click Close.
6 Open the Graphic Toolbox and expand the Galaxy node.
aaTagPicker is listed as a client control.
5 Click on the canvas near the top left corner. The ActiveFactory
TagPicker control is placed on the canvas.
read-only property
write-only property
Do the following:
1 Create a Boolean custom property and rename it HCV.
2 In the ArchestrA Symbol Editor, double-click the embedded
ActiveFactory TagPicker control.
3 From the list of properties in the Data Binding configuration area,
locate the HideCaption property.
4 Double-click the Reference box of the HideCaption property.
5 In the Galaxy Browser, select the HCV custom property and click
OK.
2 In the animation list, click Event. The right panel shows the
configuration.
3 In the Event list, select the event for which you want to execute a
script. The Parameters list shows for the selected event:
Type: the data type of each parameter.
6 If you want to configure scripts for other, select the event from the
Event list. The script area is cleared and you can write the script
for the newly selected event.
7 When you are done, save and close.
NewServer.LogOn( statusMessage );
LogMessage ("Connection" + statusMessage);
Height
Tooltip
Disable
If you configure these animations, the resulting behavior and
appearance overrides the behavior and appearance given by the native
properties of the client control.
2 Add animations as you would with any other element. For more
information, see "Animating Graphic Elements" on page 269.
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
Chapter 13
Source Symbol
Source Properties
Source Animations
Symbol
Embed
Embedded Symbol
Source Properties Properties
can override
Source Animations Animations
Embedding Symbols
You can embed symbols from the Graphic Toolbox or an
AutomationObject into other symbols.
When you embed a symbol, the animation links and scripts are
inherited from the source symbol. You can only change the animations
and scripts in the source symbol and all changes are propagated to the
embedded symbol.
The embedded symbol appears with its original name appended by a
number. The number is increased by one if you embed the same
symbol again.
Show Symbol
Hide Symbol
3 Select the custom property you want to override with a new value
or description.
4 In the Default Value box, type a new value.
5 In the Description box, type a new description.
Source Symbol
Changed
With
Dynamic
Size
Propagation
Without Dynamic
Size Propagation
Embedded Symbol
(Propagated)
Note: You can write to this property at run time to force the
embedded symbol to point to a different AutomationObject in its
references contained in animation links.
3 Type a name for the new instance in the New Instance Name box
and click OK. The new instance of the AutomationObject is created
and the references and name of the embedded symbol are updated
to point at it.
Chapter 14
Migrating InTouch
SmartSymbols
Note: If you want to save the mapping for the next time you import a
SmartSymbol, check Save mapping.
ArchestrA
InTouch Graphic
Graphic Element Notes
Rectangle Rectangle
Rounded Rounded
Rectangle Rectangle
Ellipse Ellipse
Line Line
H/V Line Line Smart Symbols convert H/V lines to
Lines. Therefore, ArchestrA can only
generate lines.
Polyline Polyline
Polygon Polygon
Text Text
Bitmap Bitmap
ArchestrA
InTouch Graphic
Graphic Element Notes
ArchestrA
InTouch Graphic
Graphics Element Notes
ArchestrA
InTouch Graphic
Graphic Element Notes
ArchestrA
InTouch Animation Link animation
ArchestrA
InTouch Animation Link animation
Mathematical Functions
The following mathematical functions in InTouch WindowMaker are
supported by the ArchestrA Symbol Editor:
Abs, ArcCos, ArcSin, ArcTan, Cos, Exp, Int, Log, LogN, Pi,
Round, Sgn, Sin, Sqrt, Tan, Trunc
String Functions
The following string functions in InTouch WindowMaker are
supported by the ArchestrA Symbol Editor:
Dtext, StringASCII, StringChar, StringCompare,
StringCompareNoCase, StringFromGMTTimeToLocal,
StringFromIntg, StringFromReal, StringFromTime,
StringFromTimeLocal, StringInString, StringLeft, StringLen,
StringLower, StringMid, StringReplace, StringRight,
StringSpace, StringTest, StringToIntg, StringToReal,
StringTrim, StringUpper, Text, wwStringFromTime
System Functions
The following system functions in InTouch WindowMaker are
supported by the ArchestrA Symbol Editor:
ActivateApp
Miscellaneous Functions
The following miscellaneous functions in InTouch WindowMaker are
supported by the ArchestrA Symbol Editor:
DateTimeGMT, LogMessage, SendKeys, WWControl
Importing References
When you import a SmartSymbol, the following changes are made to
tags and references:
InTouch
SmartSymbol ArchestrA Symbol Example
Chapter 15
This section describes how to switch the language shown for ArchestrA
symbols, the effects of different language settings between the Galaxy
and an individual ArchestrA symbol, and language switching
behaviors for certain features, such as embedded symbols, custom
properties, and string substitution.
Galaxy1
Symbol1
* English
French
* English
French
* = Default
Note: The current element creation font does not change when you
switch to a different language.
3 You switch to German and translate the text. The font changes to
Times New Roman, which is the font configured for German. The
original font size and style remains the same.
4 You switch to French. The font is Arial because the text in French
is not translated yet.
When you export text for translation, the base font information for
client controls is not included. You need to use satellite assemblies to
control this information.
The number and type of strings used by the ArchestrA client control is
specific to the control.
When you export text for translation, the base font information for
ArchestrA client controls is not included. You need to use satellite
assemblies to control this information.
Effect on the
Languages Effect on Effect on
Configured Elements that Elements that
for the contain English contain French
Action Symbol Translations Translations
Effect on the
Languages Effect on Effect on
Configured Elements that Elements that
for the contain English contain French
Action Symbol Translations Translations
Effect on the
Languages Effect on Effect on
Configured Elements that Elements that
for the contain English contain French
Action Symbol Translations Translations
Chapter 16
Like the Show/Hide Symbol animation feature, you can control the
properties of the symbol through the Show Graphic feature. You can
configure the script to specify:
Which symbol will appear as the pop-up window.
Whether the window will have a title bar.
The initial position of the pop-up window.
Whether the window can be resized.
Whether the window will be modal or modeless.
The relative position of the pop-up window.
Passing the owning object to the symbol that you want to display.
Values assigned to a symbols custom properties.
You can use the HideSelf script function for ArchestrA Graphics to
close the displayed graphic from within the graphic's own script.
You can use the HideGraphic() script function to close any displayed
graphic given its Identity.
The ShowGraphic(), HideGraphic(), and HideSelf() functions are
available in managed or published InTouch applications only.
6 In the Graphic Client list, click the required script function, and
then click OK. The script is added to the graphic script editor. If
you add the ShowGraphic script function, the following code
snippet is added:
Dim graphicInfo as aaGraphic.GraphicInfo;
graphicInfo.Identity = "<Identity>";
graphicInfo.GraphicName = "<SymbolName>";
ShowGraphic( graphicInfo );
Note: You can click Help to view the Help after you have selected any
Graphic Client script function.
Note: The automation object that you have inserted will be placed
within double quotes.
2 Select the graphic, and then click OK. The graphic is added to the
script editor.
You have executed two ShowGraphic The first pop-up window is closed and
scripts for the same graphic using the a new one opens, displaying the same
same Identity. graphic.
You have executed two ShowGraphic The first pop-up window displaying the
scripts for two different graphics, but first graphic is closed and a new one
using the same Identity. opens, displaying the second graphic.
You have executed two ShowGraphic Two pop-up windows are opened,
scripts for the same graphic, but using displaying the same graphic.
different Identity properties.
You have executed two ShowGraphic Two pop-up windows are opened,
scripts for two different graphics with displaying the two different graphics.
different Identity properties.
If the pop-up window has a title bar, then the symbol is 100 x 100. If
height = 200, then the height of the content = 200, and width of the
content = 200. The same algorithm is applied to adjust the width,
based on the adjusted height.
If the script contains the StretchWindowToScreenHeight property, but
does not contain the Width property, the system adjusts the width of
the pop-up window.
If the script contains the StretchWindowToScreenWidth property, but
does not contain the Height property, the system adjusts the height of
the pop-up window.
Window
Relative Size: Incompatible
Position Relative To Properties Notes
Desktop Graphic X
Y
Width
Height
Desktop Desktop X
Y
Width
Height
Window
Relative Size: Incompatible
Position Relative To Properties Notes
Desktop CustomizedWidth X
Height
Y
ScalePercentage
Window Graphic X
Y
Width
Height
Window Desktop X RelativeTo
should be
Y
Window
Width
Height
Window CustomizedWidth X
Height
Y
ScalePercentage
ClientArea Graphic X
Y
Width
Height
ClientArea Desktop X RelativeTo
should be
Y
ClientArea
Width
Height
ClientArea CustomizedWidth X
Height
Y
ScalePercentage
ParentGraphic Graphic X
Y
Width
Height
Window
Relative Size: Incompatible
Position Relative To Properties Notes
Window
Relative Size: Incompatible
Position Relative To Properties Notes
Window
Relative Size: Incompatible
Position Relative To Properties Notes
Closing a Symbol
You can close a symbol, displayed using the ShowGraphic script
function, by executing the HideGraphic() or HideSelf() script functions,
by clicking the Close Window button of the graphic pop-up window if
configured, or by closing WindowViewer. You cannot close the graphic
by closing the InTouch window or the symbol that launched the
graphic.
Windows opened by the ShowGraphic() script function or ShowSymbol
animation are loaded dynamically and are not exposed at run time.
You cannot close these windows using the WindowViewer Close
Window dialog box.
graphicInfo.Identity = "showpump_script001";
graphicInfo.GraphicName = "symbol01";
graphicInfo.WindowType = aaGraphic.WindowType.Modeless;
graphicInfo.WindowRelativePosition =
aaGraphic.WindowRelativePosition.Window;
graphicInfo.WindowLocation =
aaGraphic.WindowLocation.Bottom;
ShowGraphic( graphicInfo);
graphicInfo.Identity = "showpump_script001";
graphicInfo.GraphicName = "symbol02";
graphicInfo.WindowType = aaGraphic.WindowType.Modeless;
graphicInfo.WindowRelativePosition =
aaGraphic.WindowRelativePosition.Window;
graphicInfo.WindowLocation =
aaGraphic.WindowLocation.Bottom;
ShowGraphic( graphicInfo);
GraphicName = GraphicName =
"MyContainer.Contained MyContainer.Tagname +
ObjectHierachyName.Symbol ".ContainedObjectHierachy
Name"; Name.SymbolName";
GraphicName = me.Container
+
".ContainedObjectHierarchy
Name.SymbolName";
GraphicName = GraphicName =
"MyPlaform.SymbolName"; MyPlaform.Tagname +
".SymbolName";
GraphicName = GraphicName =
"MyEngine.SymbolName"; MyEngine.Tagname +
".SymbolName";
GraphicName = GraphicName =
"MyArea.SymbolName"; MyArea.Tagname +
".SymbolName";
graphicInfo.GraphicName = "Reactor_001.Overview";
graphicInfo.OwningObject = cp1;
ShowGraphic( graphicInfo );
Displaying "Reactor_001":
graphicInfo.GraphicName = "DDESL";
graphicInfo.OwningObject = cp2;
ShowGraphic( graphicInfo );
cpValues[2] = new
aaGraphic.CustomPropertyValuePair("CP2",
"Pump.PV.TagName", false);
graphicInfo.Identity = "i1";
graphicInfo.GraphicName = "S1";
graphicInfo.OwningObject = "UserDefined_001";
graphicInfo.WindowTitle = "Graphic01";
graphicInfo.Resizable = false;
graphicInfo.CustomProperties=cpValues;
ShowGraphic( graphicInfo );
graphicInfo.Identity = "i1";
graphicInfo.GraphicName = "AnalogHiLo";
graphicInfo.HasTitleBar = true;
graphicInfo.Resizable = true;
graphicInfo.WindowLocation = aaGraphic.WindowLocation.Leftside;
graphicInfo.WindowType = aaGraphic.WindowType.Modeless;
ShowGraphic( graphicInfo );
graphicInfo.Identity = "i2";
graphicInfo.GraphicName = "AnalogHiLo";
graphicInfo.HasTitleBar = true;
graphicInfo.Resizable = true;
graphicInfo.WindowLocation = aaGraphic.WindowLocation.Center;
graphicInfo.WindowType = aaGraphic.WindowType.Modeless;
ShowGraphic( graphicInfo );
graphicInfo.Identity = "i3";
graphicInfo.GraphicName = "AnalogHiLo";
graphicInfo.HasTitleBar = true;
graphicInfo.Resizable = true;
graphicInfo.WindowLocation =
aaGraphic.WindowLocation.Rightside;
graphicInfo.WindowType = aaGraphic.WindowType.Modal;
ShowGraphic( graphicInfo );
Note: If you want to open multiple pop-up windows, only the last
pop-up window can be modal. All other pop-up windows should be
modeless. If any other pop-up window is modal, then the script will be
blocked after the first modal pop-up window is opened. For more
information, see "Working with Modal Windows" on page 461.
popup.GraphicName = SelectedSymbol.Value;
IF SelectedPosition.Value == 2 THEN
popup.Identity = "Top Left";
popup.WindowTitle = "Top Left Corner";
ENDIF;
IF SelectedPosition.Value == 4 THEN
popup.Identity = "TopRight";
popup.WindowTitle = "Top Right Corner";
ENDIF;
IF SelectedPosition.Value == 9 THEN
popup.Identity = "BottomLeft";
popup.WindowTitle = "Bottom Left Corner";
ENDIF;
IF SelectedPosition.Value == 11 THEN
popup.Identity "BottomRight";
popup.WindowTitle = "Bottom Right Corner";
ENDIF;
popup.RelativeTo = aaGraphic.RelativeTo.CustomizedWidthHeight;
popup.width = 300;
popup.height = 300;
popup.WindowLocation = MyInt;
ShowGraphic( popup );
graphicInfo.Identity = "i1";
graphicInfo.GraphicName = "S1";
graphicInfo.RelativeTo= aaGraphic.RelativeTo.Graphic;
ShowGraphic(graphicInfo);
graphicInfo.Identity = "i1";
graphicInfo.GraphicName = "S1";
graphicInfo.RelativeTo= aaGraphic.RelativeTo.Window;
ShowGraphic(graphicInfo);
Chapter 17
Beneath the Tools pane, separate tabbed panes show the graphic
elements, custom properties, and named scripts that belong to a
symbol.
The tabbed Options pane shows a hierarchical list of Choice
Groups, Choices, and Options that define symbol configurations.
Choice Group
Choices
Option
The Options pane includes buttons to add, delete, and reorder Choice
Groups, Choices, and Options.
The tabbed Layers view includes a list of defined symbol layers.
Beneath each layer, separate folders contain the symbols graphic
elements, custom properties, and named scripts associated with
the layer. A symbols graphic elements, custom properties, and
named scripts are assigned to symbol layers by dragging them to
corresponding folders in the Layers view.
Important: Not all Choices require rules. Specify only those rules
necessary to create symbol configurations. Choices without rules are
always visible.
4 Repeat steps 2-3 to specify rules for the remaining Choices of the
symbol.
5 Select an Option from the Options view.
The Name field of the Option Properties view updates to show the
name of the Option you selected from the Options view.
6 Enter a rule for the Option that defines the conditions to show or
hide the Choice Groups and Choices in a configuration.
7 Enter True or False in the Default Value field to set the Option as
part of the symbols default configuration or not.
8 In the Description field, enter a description of the Option.
The description appears when the Consumer embeds the symbol
and clicks on the option to configure it.
9 Repeat steps 5-8 to specify rules and optional default values for the
remaining Options of the symbol.
If a symbol layer is renamed, it loses the link to the Option. When the
Option name is updated, the layer name will not get updated with
changed Option name.
4 Activate a layer from the Layers view by selecting the check box
next to the layer.
If you prefer to add graphic elements directly to a layers Graphic
Elements folder with the direct folder method, simply click the
layer name from the list to select it.
5 Click the box to the left of the check box to expand the layer view
and show the Graphic Elements folder.
8 Repeat steps 6-7 to select all element groups that belong to the
symbol layer.
You can also select multiple graphic elements from the Elements
view and drop them as a set.
9 Repeat steps 4-8 to select all elements for the different layers of a
symbol.
The Show/Hide icon appears to the left of the Graphic Elements
folder in the Layers view. Clicking the icon shows or hides the
graphic elements in a layers Graphic Elements folder on the
symbol itself.
10 Click the Show/Hide icon to verify the graphic elements associated
to a layer are correct for the symbol configuration.
11 Save your changes to the symbol.
Note: All graphic elements should be created for all Symbol Wizard
configurations before adding them to symbol layers.
2 From the Layers pane, select the check box next to the symbol
layer that contains a graphic element to be removed.
Selecting a layer is not necessary if the graphic element will be
removed from all layers. Also, if a layer is not selected, the Remove
From Layer command shows a list of layers that include the
selected graphic element to be removed.
3 Select the graphic element to be removed from the displayed
Symbol Wizard.
The graphic element can also be selected from the Elements pane.
4 Show the Symbol Wizard shortcut commands by right-clicking on
the selected graphic element on the symbol or right-clicking on the
graphic element name from the Elements pane.
5 Click Remove From All Layers or Remove From Layer based on
whether the graphic element should be removed from all layers or
only the selected layer.
If a layer has not been selected, the Remove From Layer command
shows a list of layers that include the graphic element selected to
be removed. Click a layer from the list to remove a graphic
element.
6 Verify the graphic element has been removed from the selected
layers.
8 Repeat steps 6-7 to select all custom properties that belong to the
symbol layer.
9 Repeat steps 4-7 to select the remaining custom properties for the
different layers of a symbol.
10 Save your changes to the symbol.
4 Select a layer from the Layers view by selecting the check box next
to the layer.
5 Click the box to the left of the check box to expand the layer view
and show the Named Scripts folder.
6 Click on a script in the Named Scripts view that belongs to the
selected symbol layer.
7 Using standard Windows drag and drop technique, drag the script
from the Named Scripts view and drop it on the Named Scripts
folder
The selected script appears beneath the Named Scripts folder.
8 Repeat steps 6-7 to select all scripts that belong to the symbol
layer.
9 Repeat steps 4-7 to select the remaining scripts for the different
layers of a symbol.
10 Save your changes to the symbol.
To embed a symbol
1 Create a new symbol from the Graphic Toolbox or add a symbol to
a derived AutomationObject from the Template Toolbox.
2 Open the symbol to show the Symbol Editor.
3 On the Edit menu, click Embed ArchestrA Graphic.
You can also click the Embed ArchestrA Graphic icon from the
menu bar.
The Galaxy Browser appears.
4 Locate the folder containing the Symbol Wizard.
5 Click the symbol to select it and click OK.
The Edit Symbol Properties dialog box contains Wizard Options and
Custom Properties tabs. You configure a Symbol Wizard from
WindowMaker by setting values of the symbols Wizard Options and
custom properties. If a symbol does not contain any Wizard Options,
the Wizard Options tab is hidden.
Read-only Value
field that shows the
current values of
Wizard Options
Toggle button to
show or hide the
Wizard Options List
view
Status pane shows the Value field with a Description of a
overridden status of the drop-down list to change Wizard Option and
selected Wizard Option a Wizard Option value possible values
The Value field at the right contains a drop-down list of possible values
that can be set for the selected Wizard Option. After a Wizard Option
value is changed, both Value fields are dynamically updated. The
appearance of the Symbol Wizard in the InTouch Window changes
immediately with each update of a Wizard Option to reflect the
current configuration. After changing a Wizard Option value, the list
of custom properties also updates to show those custom properties that
are associated with the symbols selected configuration.
Many Situational Awareness Library symbols include a SymbolMode
Wizard Option to show a Basic or Advanced set of Wizard Options.
Select Advanced to see an expanded list of Wizard Options for a
symbol. Select Basic to see a restricted list of Wizard Options and
custom properties.
Clicking OK saves all updates of Wizard Options made from the Edit
Symbol Properties dialog box.
Symbol
Configuration Configuration Properties and Attributes
Orientation=Left
HasTach=False
Orientation=Left
HasTach=True
Orientation=Right
HasTach=False
Orientation=Right
HasTach=True
Orientation=Top
HasTach=False
Orientation=Top
HasTach=True
Symbol
Configuration Configuration Properties and Attributes
Orientation=Bottom
HasTach=False
Orientation=Bottom
HasTach=True
Using the Symbol Wizard Editor, create the Choice Groups and
Choices needed to represent all properties and attributes of a Symbol
Wizard.
In the example of a centrifugal pump, the Choice Groups are
Orientation and HasTach. The Orientation Choice Group includes
Left, Right, Top, and Bottom Choices, which are the possible attributes
of a pumps inlet pipe. The HasTach Choice Group includes Boolean
True or False Choices that indicate whether a configuration includes a
tachometer or not.
Initially, the top listed Choice is the default for a Choice Group. To
assign another listed Choice as the default value for the Choice Group,
assign the Choice in Default Value field of the Option Properties pane.
If the desired base configuration of a centrifugal pump has pipes
oriented to the right and includes a tachometer, then Right should be
assigned as the default Orientation Choice and True assigned as the
default HasTach Choice.
Planning Tips
Configuration
Symbol Properties and Required Symbol
Configuration Attributes Elements
Configuration
Symbol Properties and Required Symbol
Configuration Attributes Elements
Identification Tips
Layers need to be added for the left, right, and top positions of the
tachometer when the HasTach Choice Group is True. Copies of the
embedded tachometer symbol are added to the TachLeft, TachRight,
and TachTop layers, which map to the different positions of the
tachometer shown in the pump Symbol Wizard. The TachFalse layer
does not contain any graphic elements because it selects the Symbol
Wizard configurations without a tachometer.
Layer Tips
Use the Active Layer method to quickly drag and drop elements,
scripts, and custom properties to a layer folder. Selected elements
can be dropped anywhere within the Layers view and
automatically placed in the correct folder of the active layer.
If not created by default, create an empty layer without graphic
elements for a Choice Group with Boolean True/False Choices.
This makes it easier to write layer rules to hide graphic elements
when a Choice Group is False.
After adding graphic elements to a layer, toggle the Show/Hide
icon on and off to verify the correct graphic elements have been
added to the layer.
Toggle the Expand All/Collapse All button above the Layers pane
to show or hide all of the folders beneath each layer
Using Symbol Wizard Preview, verify each set of layer rules defines
only a single unique Symbol Wizard configuration. Rule errors become
apparent when a Symbol Wizard includes elements from other
configurations, or elements are missing.
Symbol
Wizard Wizard Options and Corresponding Active
Configuration Configuration Layer Rules
Orientation.Left&HasTach.False
Orientation.Left&HasTach.True
Orientation.Right&HasTach.False
Orientation.Right&HasTach.True
Orientation.Top&HasTach.False
(Orientation.Top&HasTach.True)|(Orientation.Bottom&HasTach.True)
Symbol
Wizard Wizard Options and Corresponding Active
Configuration Configuration Layer Rules
Orientation.Bottom&HasTach.False
(Orientation.Top&HasTach.True)|(Orientation.Bottom&HasTach.True)
Rule Tips
Appendix A
This section shows you the properties of elements, the canvas, element
groups, and embedded symbols.
Each property has a purpose, a category it belongs to, where it is used
if it can be used in scripting at run time, and where to find more
information on how to use it.
The first part of this section contains an alphabetical list of all
properties, the second part shows a table for each category of
properties.
Asterisk (*) marks properties that are specific to only one type of
element or the canvas, a group or an embedded symbol.
Enabled Purpose: When set to True enables the element at run time and
allows the user to interact with it. If the property is set to False
the user cannot use the mouse or keyboard to interact with the
element. Data changes as a result of an animation or script still
execute.
Category: Runtime Behavior
Used by: Rectangle, Rounded Rectangle, Ellipse, Polygon,
Closed Curve, 2 Point Pie, 3 Point Pie, 2 Point Chord, 3 Point
Chord, Line, H/V Line, Polyline, Curve, 2 Point Arc, 3 Point Arc,
Button, Text, Text Box, Image, Radio Button Group, Check Box,
Edit Box, Combo Box, Calendar, DateTime Picker, List Box,
Group, Path, Embedded Symbol
Can be read by script at run time: Yes
Info: "Enabling and Disabling Elements for Run-Time
Interaction" on page 188
End Purpose: Defines the end of a line or H/V line as X, Y location.
Category: Appearance
Used by: Line, H/V Line
Can be read by script at run time: No
Info: "Setting Start or End Points of a Line" on page 169
EndCap Purpose: Defines the cap used at the end of the line of an open
element.
Category: Line Style
Used by: Line, H/V Line, Polyline, Curve, 2 Point Arc, 3 Point
Arc
Can be read by script at run time: No
Info: "Setting Line End Shape and Size" on page 211
FillBehavior Purpose: Determines how the Fill (Horizontal, Vertical or
Both) should be applied to the element.
Category: Fill Style
Used by: Rectangle, Rounded Rectangle, Ellipse, Polygon,
Closed Curve, 2 Point Pie, 3 Point Pie, 2 Point Chord, 3 Point
Chord, Button, Text Box, Path
Can be read by script at run time: No
Info: "Setting Fill Behavior" on page 167
FillColor Purpose: Defines the fill style used for the filled portion of the
element.
Category: Fill Style
Used by: Rectangle, Rounded Rectangle, Ellipse, Polygon,
Closed Curve, 2 Point Pie, 3 Point Pie, 2 Point Chord, 3 Point
Chord, Button, Text Box, Radio Button Group, Check Box, Edit
Box, Combo Box, Calendar, List Box, Path
Can be read by script at run time: No
Info: "Setting Fill Style" on page 165 and "Changing
Background Color and Text Color of Windows Common
Controls" on page 239
FillOrientation Purpose: Determines the orientation of the fill when the
element orientation is any value other than 0.
Category: Fill Style
Used by: Rectangle, Rounded Rectangle, Ellipse, Polygon,
Closed Curve, 2 Point Pie, 3 Point Pie, 2 Point Chord, 3 Point
Chord, Button, Text Box, Path
Can be read by script at run time: No
Info: "Setting Fill Orientation" on page 166
FirstDayOfWeek* Purpose: Defines the first day of the week used for the display
of the columns in the calendar.
Category: Appearance
Used by: Calendar
Can be read by script at run time: No
Info: "Setting the First Day of the Week" on page 247
Font Purpose: Defines the basic text font as defined by the operating
system.
Category: Text Style
Used by: Button, Text, Text Box, Radio Button Group, Check
Box, Edit Box, Combo Box, Calendar, DateTime Picker, List Box
Can be read by script at run time: No
Info: "Setting the Text Font" on page 172
LineColor Purpose: Defines the color and affects of the line or border.
Category: Line Style
Used by: Rectangle, Rounded Rectangle, Ellipse, Polygon,
Closed Curve, 2 Point Pie, 3 Point Pie, 2 Point Chord, 3 Point
Chord, Line, H/V Line, Polyline, Curve, 2 Point Arc, 3 Point Arc,
Text Box, Path
Can be read by script at run time: No
Info: "Setting the Line Style" on page 170
LinePattern Purpose: Defines the pattern of the line or border.
Category: Line Style
Used by: Rectangle, Rounded Rectangle, Ellipse, Polygon,
Closed Curve, 2 Point Pie, 3 Point Pie, 2 Point Chord, 3 Point
Chord, Line, H/V Line, Polyline, Curve, 2 Point Arc, 3 Point Arc,
Text Box, Path
Can be read by script at run time: No
Info: "Setting the Line Pattern" on page 169
LineWeight Purpose: Determines the weight of the elements line or border.
A value of 0 means that there is no line or border.
Category: Line Style
Used by: Rectangle, Rounded Rectangle, Ellipse, Polygon,
Closed Curve, 2 Point Pie, 3 Point Pie, 2 Point Chord, 3 Point
Chord, Line, H/V Line, Polyline, Curve, 2 Point Arc, 3 Point Arc,
Text Box, Path
Can be read by script at run time: Yes
Info: "Setting the Line Weight" on page 169
Locked Purpose: Locks or unlocks the elements size, position,
orientation and origin. Other properties that can have an affect
on element size, position, orientation and origin are also locked.
These are element-specific.
Category: Appearance
Used by: Rectangle, Rounded Rectangle, Ellipse, Polygon,
Closed Curve, 2 Point Pie, 3 Point Pie, 2 Point Chord, 3 Point
Chord, Line, H/V Line, Polyline, Curve, 2 Point Arc, 3 Point Arc,
Button, Text, Text Box, Image, Status, Radio Button Group,
Check Box, Edit Box, Combo Box, Calendar, DateTime Picker,
List Box, Group, Path, Embedded Symbol
Can be read by script at run time: Yes
Info: "Locking and Unlocking Elements" on page 148
NewIndex Purpose: Returns the index of the last value added to the list.
This is provided for migration of InTouch Windows common
controls.
Category: not available at design time
Used by: Combo Box, List Box
Can be read by script at run time: Yes
Info: "Using Combo Box-Specific Properties at Run Time" on
page 246 and "Using List Box-Specific Properties at Run Time"
on page 252
OwningObject* Purpose: Used as the ArchestrA object reference to replace all
"Me." references in expressions and scripts. Everywhere there is
a "Me." reference this object reference is used instead. The object
name can be set either using a tag or hierarchical name of an
AutomationObject.
Category: Runtime Behavior
Used by: Embedded Symbol
Can be read by script at run time: Yes
Info: "Detecting and Editing the Containing AutomationObject
Instance" on page 415
Radius* Purpose: Defines the radius of the corners of the Rounded
Rectangle.
Category: Appearance
Used by: Rounded Rectangle
Can be read by script at run time: Yes
Info: "Setting the Radius of Rounded Rectangles" on page 210
ReadOnly* Purpose: Determines if the user can type data into the edit box.
Category: Appearance
Used by: Edit Box
Can be read by script at run time: No
Info: "Configuring the Text to be Read-Only in an Edit Box
Control" on page 244
StartCap Purpose: Defines the cap used at the start of the line of an open
graphic.
Category: Line Style
Used by: Line, H/V Line, Polyline, Curve, 2 Point Arc, 3 Point
Arc
Can be read by script at run time: No
Info: "Setting Line End Shape and Size" on page 211
SweepAngle Purpose: Defines the ending angle of the Arc, Pie or Chord.
This angle is always measured from the start angle.
Category: Appearance
Used by: 2 Point Pie, 3 Point Pie, 2 Point Chord, 3 Point Chord,
2 Point Arc, 3 Point Arc
Can be read by script at run time: No
Info: "Changing Angles of Arcs, Pies and Chords" on page 219
SymbolReference* Purpose: Contains the exact location that the Embedded
Symbol is linked to. This can help the user in locating the
original definition for editing purposes.
TrailingTextColor* Purpose: Determines the text solid color of the text for the
trailing days. The trailing days are days outside the current
month.
Category: Text Style
Used by: Calendar
Can be read by script at run time: No
Info: "Setting the Text Color for Trailing Dates in a Calendar
Control" on page 249
Transparency Purpose: Defines the transparency of the element. A value of 0
means fully opaque and a value of 100 means fully transparent.
Category: Appearance
Used by: Rectangle, Rounded Rectangle, Ellipse, Polygon,
Closed Curve, 2 Point Pie, 3 Point Pie, 2 Point Chord, 3 Point
Chord, Line, H/V Line, Polyline, Curve, 2 Point Arc, 3 Point Arc,
Button, Text, Text Box, Image, Group, Path, Embedded Symbol
Can be read by script at run time: Yes
Info: "Setting the Transparency Level of an Element" on
page 186
.Transparency Purpose: Transparency is a sub-property of a FillColor,
UnfilledColor, LineColor or TextColor property. It is used to
change the transparency of the fill, unfill, line or text style if
applicable. The transparency acts in addition to the
transparency of the element.
Category: Depends on its source property
Used by: Depends on its source property
Can be read by script at run time: No
Info: "Enabling and Disabling Elements for Run-Time
Interaction" on page 188
TransparentColor* Purpose: Defines the RGB color value that is used as the
transparent color.
Category: Appearance
Used by: Image
Can be read by script at run time: No
Info: "Setting the Image Color Transparency" on page 214
VerticalDirection Purpose: Defines the vertical direction of the fill. Can be "Top"
or "Bottom".
Category: Fill Style
Used by: Rectangle, Rounded Rectangle, Ellipse, Polygon,
Closed Curve, 2 Point Pie, 3 Point Pie, 2 Point Chord, 3 Point
Chord, Button, Text Box, Path
Can be read by script at run time: No
Info: "Setting Vertical Fill Direction and Percentage" on
page 168
VerticalPercentFill Purpose: Determines the percentage of vertical fill for the
element.
Category: Fill Style
Used by: Rectangle, Rounded Rectangle, Ellipse, Polygon,
Closed Curve, 2 Point Pie, 3 Point Pie, 2 Point Chord, 3 Point
Chord, Button, Text Box, Path
Can be read by script at run time: Yes
Info: "Setting Vertical Fill Direction and Percentage" on
page 168
Visible Purpose: Determines the visibility of the element. This
property is configured at design time and used only at runtime.
At design time all elements are visible irrespective of this
setting.
Category: Runtime Behavior
Used by: Rectangle, Rounded Rectangle, Ellipse, Polygon,
Closed Curve, 2 Point Pie, 3 Point Pie, 2 Point Chord, 3 Point
Chord, Line, H/V Line, Polyline, Curve, 2 Point Arc, 3 Point Arc,
Button, Text, Text Box, Image, Radio Button Group, Check Box,
Edit Box, Combo Box, Calendar, DateTime Picker, List Box,
Group, Path, Embedded Symbol
Can be read by script at run time: Yes
Info: "Changing the Visibility of Elements" on page 189
It shows their purpose, where they are used and where to find more
information on how to use them.
Asterisk (*) marks properties that are specific to only one type of
element or the canvas, a group or an embedded symbol.
CalendarRows* Purpose: Defines the number of rows the calendar object has.
Category: Appearance
Used by: Calendar
Can be read by script at run time: No
Info: "Setting the Number of Calendar Month Sheets" on
page 247
Checked* Purpose: Sets or gets the value of check box. This is the initial
value of the check box when the control is not connected to a
reference and is overridden at run time with value of reference.
Category: Appearance
Used by: Check Box
Can be read by script at run time: Yes
Info: "Setting the Default State of a Check Box Control" on
page 242
ControlStyle Purpose: Defines the control style as Flat or 3D.
Category: Appearance
Used by: Radio Button Group, Check Box
Can be read by script at run time: No
Info: "Setting the Layout of the Radio Button Group Options" on
page 241 and "Setting the 3D appearance of a Check Box
Control" on page 243
CustomFormat* Purpose: Defines the format to be used in the DateTime Picker
control for input of a date or time.
Category: Appearance
Used by: DateTime Picker
Can be read by script at run time: No
Info: "Configuring DateTime Picker Controls" on page 249
DefaultValue Purpose: The default time value to use for the control.
Category: Appearance
Used by: Calendar, DateTime Picker
Can be read by script at run time: No
Info: "Setting the Default Value of the Calendar Control" on
page 249 and "Configuring DateTime Picker Controls" on
page 249
FirstDayOfWeek* Purpose: Defines the first day of the week used for the display
of the columns in the calendar.
Category: Appearance
Used by: Calendar
Can be read by script at run time: No
Info: "Setting the First Day of the Week" on page 247
Format* Purpose: Defines the format of the reference values. This is only
available for array mode.
Category: Appearance
Used by: DateTime Picker
Can be read by script at run time: No
Info: "Configuring DateTime Picker Controls" on page 249
HasTransparentColor* Purpose: Indicates whether or not the image applies a
transparent color. If True the image is rendered transparent
wherever a color in the image matches the TransparentColor
property.
Category: Appearance
Used by: Image
Can be read by script at run time: Yes
Info: "Setting the Image Color Transparency" on page 214
Height Purpose: Defines the height of the element.
Category: Appearance
Used by: Rectangle, Rounded Rectangle, Ellipse, Polygon,
Closed Curve, 2 Point Pie, 3 Point Pie, 2 Point Chord, 3 Point
Chord, Line, H/V Line, Polyline, Curve, 2 Point Arc, 3 Point Arc,
Button, Text, Text Box, Image, Status, Radio Button Group,
Check Box, Edit Box, Combo Box, Calendar, DateTime Picker,
List Box, Group, Path, Embedded Symbol
Can be read by script at run time: Yes
Info: "Resizing Elements by Changing Size Properties" on
page 129
Layout* Purpose: Defines the way the radio buttons are arranged in the
group (Horizontal or Vertical).
Category: Appearance
Used by: Radio Button Group
Can be read by script at run time: No
Info: "Setting the Layout of the Radio Button Group Options" on
page 241
Locked Purpose: Locks or unlocks the elements size, position,
orientation and origin. Other properties that can have an affect
on element size, position, orientation and origin are also locked.
These are element-specific.
Category: Appearance
Used by: Rectangle, Rounded Rectangle, Ellipse, Polygon,
Closed Curve, 2 Point Pie, 3 Point Pie, 2 Point Chord, 3 Point
Chord, Line, H/V Line, Polyline, Curve, 2 Point Arc, 3 Point Arc,
Button, Text, Text Box, Image, Status, Radio Button Group,
Check Box, Edit Box, Combo Box, Calendar, DateTime Picker,
List Box, Group, Path, Embedded Symbol
Can be read by script at run time: Yes
Info: "Locking and Unlocking Elements" on page 148
MaxDropDownItems* Purpose: Defines the maximum number of items the drop-down
list shows.
Category: Appearance
Used by: Combo Box
Can be read by script at run time: No
Info: "Setting the Maximum Number of Items to Appear in the
Combo Box Drop-Down List" on page 246
Multiline* Purpose: Determines if the control shows several lines of text
that automatically wrap up when reaching the right border of
the control.
Category: Appearance
Used by: Edit Box
Can be read by script at run time: No
Info: "Configuring the Text to Wrap in an Edit Box Control" on
page 243
SweepAngle Purpose: Defines the ending angle of the Arc, Pie or Chord. This
angle is always measured from the start angle.
Category: Appearance
Used by: 2 Point Pie, 3 Point Pie, 2 Point Chord, 3 Point Chord,
2 Point Arc, 3 Point Arc
Can be read by script at run time: No
Info: "Changing Angles of Arcs, Pies and Chords" on page 219
Tension Purpose: Specifies how tightly the curve bends through the
control points of the curve.
Category: Appearance
Used by: Closed Curve, Curve
Can be read by script at run time: Yes
Info: "Changing the Tension of Curves and Closed Curves" on
page 219
Text Purpose: Defines the unicode text that is shown by the element.
Category: Appearance
Used by: Button, Text, Text Box, Edit Box
Can be read by script at run time: Yes
Info: "Setting the Displayed Text" on page 171
TextFormat Purpose: Defines the formatting string that is applied to the
text when it is shown.
Category: Appearance
Used by: Button, Text, Text Box
Can be read by script at run time: Yes
Info: "Setting the Text Display Format" on page 171
Transparency Purpose: Defines the transparency. A value of 0 means fully
opaque and a value of 100 means fully transparent.
Category: Appearance
Used by: Rectangle, Rounded Rectangle, Ellipse, Polygon,
Closed Curve, 2 Point Pie, 3 Point Pie, 2 Point Chord, 3 Point
Chord, Line, H/V Line, Polyline, Curve, 2 Point Arc, 3 Point Arc,
Button, Text, Text Box, Image, Group, Path, Embedded Symbol
Can be read by script at run time: Yes
Info: "Setting the Transparency Level of an Element" on
page 186
TransparentColor* Purpose: Defines the RGB color value that is used as the
transparent color.
Category: Appearance
Used by: Image
Can be read by script at run time: No
Info: "Setting the Image Color Transparency" on page 214
UpImage* Purpose: Defines the image that is used in the button element
when it is un-clicked or released.
Category: Appearance
Used by: Button
Can be read by script at run time: No
Info: "Configuring Buttons with Images" on page 217
Width Purpose: Defines the width of the element.
Category: Appearance
Used by: Rectangle, Rounded Rectangle, Ellipse, Polygon,
Closed Curve, 2 Point Pie, 3 Point Pie, 2 Point Chord, 3 Point
Chord, Line, H/V Line, Polyline, Curve, 2 Point Arc, 3 Point Arc,
Button, Text, Text Box, Image, Status, Radio Button Group,
Check Box, Edit Box, Combo Box, Calendar, DateTime Picker,
List Box, Group, Path, Embedded Symbol
Can be read by script at run time: Yes
Info: "Resizing Elements by Changing Size Properties" on
page 129
WordWrap Purpose: When set to True, the text in the button or text box is
formatted to fit as much text on a single line within the
horizontal bounding area of the element and then continued to
the next line. This continues as long as there is vertical space.
Category: Appearance
Used by: Button, Text Box
Can be read by script at run time: Yes
Info: "Wrapping Text in Buttons" on page 217
Asterisk (*) marks properties that are specific to only one type of
element or the canvas, a group or an embedded symbol.
VerticalDirection Purpose: Defines the vertical direction of the fill. Can be "Top" or
"Bottom".
Category: Fill Style
Used by: Rectangle, Rounded Rectangle, Ellipse, Polygon, Closed
Curve, 2 Point Pie, 3 Point Pie, 2 Point Chord, 3 Point Chord,
Button, Text Box, Path
Can be read by script at run time: No
Info: "Setting Vertical Fill Direction and Percentage" on page 168
VerticalPercentFill Purpose: Determines the percentage of vertical fill for the
element.
Category: Fill Style
Used by: Rectangle, Rounded Rectangle, Ellipse, Polygon, Closed
Curve, 2 Point Pie, 3 Point Pie, 2 Point Chord, 3 Point Chord,
Button, Text Box, Path
Can be read by script at run time: Yes
Info: "Setting Vertical Fill Direction and Percentage" on page 168
Asterisk (*) marks properties that are specific to only one type of
element or the canvas, a group or an embedded symbol.
EndCap Purpose: Defines the cap used at the end of the line of an open
element.
Category: Line Style
Used by: Line, H/V Line, Polyline, Curve, 2 Point Arc, 3 Point
Arc
Can be read by script at run time: No
Info: "Setting Line End Shape and Size" on page 211
LineColor Purpose: Defines the color and affects of the line or border.
Category: Line Style
Used by: Rectangle, Rounded Rectangle, Ellipse, Polygon,
Closed Curve, 2 Point Pie, 3 Point Pie, 2 Point Chord, 3 Point
Chord, Line, H/V Line, Polyline, Curve, 2 Point Arc, 3 Point Arc,
Text Box, Path
Can be read by script at run time: No
Info: "Setting the Line Style" on page 170
LinePattern Purpose: Defines the pattern of the line or border.
Category: Line Style
Used by: Rectangle, Rounded Rectangle, Ellipse, Polygon,
Closed Curve, 2 Point Pie, 3 Point Pie, 2 Point Chord, 3 Point
Chord, Line, H/V Line, Polyline, Curve, 2 Point Arc, 3 Point Arc,
Text Box, Path
Can be read by script at run time: No
Info: "Setting the Line Pattern" on page 169
Asterisk (*) marks properties that are specific to only one type of
element or the canvas, a group or an embedded symbol.
TitleTextColor* Purpose: Determines the text solid color in the title bar of the
calendar control.
Category: Text Style
Used by: Calendar
Can be read by script at run time: No
Info: "Setting Title Fill Color and Text Color on a Calendar
Control" on page 248
TrailingTextColor* Purpose: Determines the text solid color of the text for the
trailing days. The trailing days are days outside the current
month.
Category: Text Style
Used by: Calendar
Can be read by script at run time: No
Info: "Setting the Text Color for Trailing Dates in a Calendar
Control" on page 249
Asterisk (*) marks properties that are specific to only one type of
element or the canvas, a group or an embedded symbol.
It shows their purpose, where they are used and where to find more
information on how to use them.
The Custom Properties group contains also any other custom property
you define.
Appendix B
AddItem Purpose: Add an item (coerced to String) to the list. If the list is
sorted, then the new item is inserted at the right position and
selected if the list is unsorted, the item is added to the bottom of
the list.
Used by: Combo Box, List Box
Note: This function does not work when using an Enum or Array
to populate the List Box.
Syntax: ControlName.AddItem(CaptionString);
Info: "Adding and Inserting Items into a List" on page 383
Clear Purpose: Removes all items from the List. If the list is bound, it
clears the bound reference (array or enum) in ArchestrA.
Note: This function does not work when using an Enum or Array
to populate the List Box.
LoadList Purpose: Loads a list of strings from a file which name is passed
as parameter to the function. The default location for files is the
users folder, for example: c:\documents and settings\username.
Note: The LoadList method does not work when using an Enum or
Array to populate the List Box control.
Appendix C
Situational Awareness
Library Symbols
Element Description
A1 Alarm Border
Displays the state of the most urgent alarm configured
for a symbol. The optional border and severity icons are
inactive by default.
Wizard Options:
SymbolMode Advanced
AlarmBorder True
Element Description
E1 Status Indicators
These optional indicators show the operating status of
equipment. The setting of Status Level option
determines the number of available indicators.
Passive Basic
Active Basic
Interlocked All
Wizard Options
M Manual
A Automatic
C Cascade
Wizard Options:
SymbolMode Advanced
ControlModeIndicator True
MotorType Variable
SpeedController True
SpeedControllerMode True
Element Description
E3 Controller Output Fillbar
At This optional element displays the controller output
Minimum value in relationship to minimum and maximum scale
values.
Wizard Options:
In Between
MotorType Variable
At SymbolMode Advanced
Maximum
SpeedController True
I3 Tracker Indicator
This optional indicator displays a value set by the
operator. Operators can use this setting to track the
behavior of the measured value in relationship to the
tracked value.
Wizard Options:
SymbolMode Advanced
Tracker True
Element Description
I4 Optimal Range
This optional gray area highlights the value range in
which a measured value is expected to operate to
achieve optimal performance.
Wizard Options:
SymbolMode Advanced
OptimalRange True
Element Description
L2 Engineering Unit Labels
These optional labels display the engineering units of a
value. The labels can be static text strings or associated
EU with a dynamic reference values or expressions. The
engineering unit's options become available when the
property's numerical display setting is true.
Wizard Options (PV):
PVNumericalDisplay True
EngUnits True
Wizard Options (Amps or SpeedCtl):
MotorType Variable
SymbolMode Advanced
AmpsPV True
AmpsEngUnits True
Q1 Quality Status Indicator
This optional indicator shows any abnormal quality
state. There are several icons that represent the
different quality states.
Wizard Options:
QualityStatusIndicator True
Refer to the ArchestrA Galaxy Style Library
configuration in the IDE for settings of quality states:
Galaxy > Configure > Galaxy Style Library
(Quality Style Tab)
V1 Numerical Values
These optional fields are the numeric display of the
66.00 measured values. The numerical display options
become available when the measured value type is
enabled.
The PV measured value is generally always enabled.
Other measured values such as Amps or Speed
Controller have to be enabled.
Wizard Options (PV):
PVNumericalDisplay True
Wizard Options (Amps, SpeedCtl):
MotorType Variable
SymbolMode Advanced
AmpsPV True
SpeedControllerNumericalDisplay True
Index
A ActiveFactory 388
.aaCFG ActiveFactory TagPicker client control 390,
393
XML manifest resource list of dynamically
loaded assemblies 401 AddItem() method 383, 556
aaHistClientDatabase.dll 396 Alarm Border animation 293298
.aaPKG file Alignment property 506, 548
exporting client controls in 389, 398 anchor points
exporting symbols to 75 changing position 412
importing a previously exported 390 hiding 413
importing client controls from 389, 390 setting 412
importing symbols and graphic toolsets 74 showing 413
importing symbols from 74 AnchorFixedTo property 506, 531
absolute point of origin 134 AnchorPoint property 507, 531
AbsoluteAnchor property 412, 506, 531 Angle property 133, 507, 532
AbsoluteOrigin property 506, 531 Animation Summary 270
action scripts animations
importing with a SmartSymbol 422423 adding to graphic element 270
starting with a key combination 65 Alarm Border 293298
triggers 330331 associating with client control container
properties 397398
using 66
comparing InTouch and ArchestrA 421422
using to add an item to a Combo Box
control 383 comparison between InTouch and ArchestrA
Symbol Editor 63
using to configure an element with
animation 331 configuration parameters by type 281
using to load text into an Edit Box configuring action script 330332
control 382 configuring analog value displays 312313
configuring analog value pushbutton 328 cutting, copying, and pasting 366367
329 data type state 38
configuring blink 292 element-specific 341
configuring Boolean fill style 204205, 282 enabling and disabling 272
283 fill direction 301, 303
configuring Boolean value displays 311 fill orientation 301, 303
configuring Boolean value pushbutton 327 hiding list 271
328
importing from a SmartSymbol to ArchestrA
configuring Calendar Control 350 graphic 421422
configuring Check Box 345 language switching 427
configuring Combo Box 347349 managing 280
configuring DateTime Picker 351352 point 308309
configuring disable 317 removing from a graphic element 271
configuring Edit Box 346 resetting default configuration values 273
configuring fill style 204206, 282285 reviewing graphic element assignment 270
configuring height 307308 showing list 271
configuring hide symbol 340 sorting the list 280
configuring horizontal location 305 states 38
configuring horizontal slider 325 Sweep Angle 221
configuring line style 285288 switching between graphic elements 281
configuring List Box 352355 truth table state 39
configuring name displays 316 types 269
configuring orientation 309310 unfill color 301, 303
configuring percent fill horizontal 301302 validating configuration 272273
configuring percent fill vertical 303304 anti-aliasing filter 191
configuring pushbutton 329330 application scripts 65
configuring Radio Button Group 342345 ArchestrA package file
configuring show symbol 332339 exporting client controls 398
configuring status element 341342 exporting symbols to 75
configuring string value displays 314 importing previously exported client
configuring string value pushbutton 329 controls 390
330 importing symbols and graphic toolsets 74
configuring text style 289291 ArchestrA Symbol Editor
configuring time value displays 314315 adding animations from Animation
configuring tooltip 316317 Summary 270
configuring truth table fill style 205206, adding custom properties to a symbol 57
283285 animation replication 56
configuring user input 318324 animation summary 25
configuring value display 311316 canvas 25
configuring vertical location 306 Canvas drawing area 59
configuring vertical slider 326 combining elements into a group 57
configuring visibility parameters 282 comparison of animations to InTouch 63
configuring width 306307 comparison of supported data types to
connecting to data sources 279 InTouch 62
connecting to element properties 275276 configuring symbol editor preferences 103
connecting to element property 104
references 276277 converting data from InTouch 62
connecting with InTouchViewApp creating graphics 5860
attributes 278
configuring vertical slider animations 326 InTouch types that can be imported with
configuring width animations 306307 restrictions 420
connecting animations to ArchestrA language switching 426
attributes 274 line style properties 545547
connecting animations to custom locking 148
properties 276277 locking and unlocking 148149
connecting animations to element moving 121122
properties 275276 moving by specifying X and Y
connecting animations to InTouch properties 122
tags 277279 moving control points 218
control points 218219 moving points of origin with mouse 134
copying and pasting animations 366 moving the origin 134135
copying locked and grouped 119 moving with keyboard 122
copying, cutting, and pasting 119121 moving with mouse 122
creating a group 150 moving within path graphic 155156
custom properties 553554 open 26
cutting and pasting 120 overriding appearance depending on quality
cutting and pasting animations 367 and status attributes 196200, 224228
decreasing space between 127 overriding fill appearance to indicate non-
deleting 120 good status or quality 198, 225226
deleting control points 218 positioning with ArchestrA Symbol
description 55, 109110 Editor 57
distributing 126 properties 505529
dragging 114 reference mode 280
dragging and drawing 110114 relative point of origin 134
duplicating 121 removing all space between 128
editing controls points within path removing animations 271
graphic 157 removing from a group 152
editing fill properties 164168 removing from path graphic 161
editing line properties 168170 resetting default animation values 273
editing properties 114115 resizing 128130
editing start or sweep angle within path resizing by changing size properties 129
graphic 156 resizing proportionally 130
editing the name 164 resizing to same height 130
editing the tab order 189190 resizing to same size 130
enabling and disabling animations 272 resizing to same width 130
enabling or disabling for run-time resizing with mouse 129
interaction 188189 resizing within path graphics 156
fill style properties 542545 reviewing assigned animations 270
flipping 148 rotating 132133
flipping horizontally 148 rotating 90 degrees 133
flipping vertically 148 rotating by changing Angle property 133
graphic properties 530 rotating with mouse 132
handles 116 run-time behavior properties 549553
hiding animation list 271 selecting 115118
hiding at run time 189 selecting all with Select All function 117
increasing space between 127 selecting by lasso 117
inline editing 118, 119 selecting by mouse click 116
M O
managed application 278 OnShow script Data Timeout function 377
MaxDropDownItems property 246, 518, 537 378
message data type 61 outlines
messages adding to elements to indicate non-good
edit symbol confirmation 71 status or quality 198199, 227
Not Found after deleting embedded description as quality status indicator 221
symbol 84 replacing group handle 119
security after user attempts to export a resetting to default 228
symbol without appropriate OwningObject property 415, 519, 551
permissions 88
warning when overwriting colors in a P
custom palette 180
pan
methods
description 102
AbsoluteOrigin property 506
using mouse 102
AddItem() 383, 556
path graphics 29
BindTo() 265
adding elements 160
Clear() 384, 556
breaking the path 155
configuring Combo Box and List Box 383
changing 155160
386
changing element z-order 159160
configuring Edit Box 382
creating 154
DeleteItem() 384, 556
description 55, 153
DeleteSection() 384
editing element control points within 157
DeleteSelection() 556
editing start or sweep angle of element
FindItem() 385, 556
within 156
GetItem() 385, 557
moving elements within 155156
GetItemData() 386, 557
removing elements 161
InsertItem() 383, 557
resizing element within 156
LoadList() 386, 558
swapping element end points within 158
LoadText() 382, 558
viewing 153
SaveList() 386, 558