Wonderware Guide To Creating Intouch Windows Programmatically
Wonderware Guide To Creating Intouch Windows Programmatically
Wonderware Guide To Creating Intouch Windows Programmatically
Windows Programmatically
Wonderware Guide to Creating InTouch Windows Programmatically
Contents
Welcome .................................................................................................................................... 9
Documentation Conventions ...................................................................................................... 9
Technical Support ..................................................................................................................... 9
3
Contents Wonderware Guide to Creating InTouch Windows Programmatically
4
Contents Wonderware Guide to Creating InTouch Windows Programmatically
Index ......................................................................................................................................... 94
5
© 2016 Schneider Electric Software, LLC. All rights reserved.
No part of this documentation shall be reproduced, stored in a ret rie val system, or transmitted by any
means, electronic, mechanical, photocopying, rec ording, or otherwise, without the prior written
permission of Schneider Electric Soft ware, 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 wit h the terms of such license
agreement.
ArchestrA, A vantis, DYNS IM, eDNA, EYESIM, Foxboro, Foxboro E vo, I/A Series, InBatch, InduS oft,
InStep, IntelaTrac, InTouch, PIPEPHASE, PRiSM, PRO/ II, PROVIS ION, ROMeo, Schneider Electric,
SIM4ME, SimCentral, SimSci, Skelta, SmartGlance, Spiral Soft ware, VIS UAL FLA RE, WindowMaker,
WindowViewer, and Wonderware are trademarks of Schneider Electric SE, its subsidiaries, and
affiliated companies. An extensive listing of Schneider Electric Soft ware, LLC trademarks can be found
at: http://software.schneider-electric.com/legal/trademarks/. All other brands may be trademarks of
their respective owners.
Schneider Electric Soft ware, LLC
26561 Rancho Park way South
Lake Forest, CA 92630 U.S.A.
(949) 727-3200
http://software.schneider-electric.com/
Publication date: 11/21/2016
Contact Us
Contact Schneider Electric Software Technical Support
Avanti s Technical Support
Listing of regional and local country contacts: http://software.schneider -electric.com/support/avantis/
Technical support: http://softwares upport.schneider-electric.com/
For A vantis.PRO, A vantis Approvals, Avantis.DSS, and Condition Manager:
Email: support.pro@avantis.net
Phone (8:30 a.m. to 5:00 p.m. Monday to Friday, Eastern Ti me):
o Toll-Free U.S. and Canada: 1-888-262-7111
o Toll-Free EMEA: 1-800-4670-6466
o Direct dial: 1-905-632-0635
For A vantis. XA:
Email: support.xa@avantis.net
Phone (8:30 a.m. to 5:00 p.m. Monday to Friday, Eastern Time):
o Toll-Free U.S. and Canada: 1-800-991-8000
o Toll-Free EMEA: 1-800-4670-6466
o Direct dial: 1-905-632-4122
SimSci Technical Support
Listing of regional and local country contacts: http://software.schneider -electric.com/support/simsci/
Technical support: http://softwares upport.schneider-electric.com/
Phone (USA 8:00 a.m. to 5:00 p.m. Central Time)
o Toll-Free U.S. and Canada: 1-800-746-7241
Email U.S. and Canada: support.simsci@schneider-electric.com
Wonderware Technical Support
Listing of regional and local country contacts: https://www.wonderware.com/contact/contact -support/
Technical support: http://softwaresupport.schneider-electric.com/
Priority email for Customer FIRS T Members: custfirstsupport@wonderware.com
Email for customers without a support agreement: wwsupport@wonderware.com
Phone
o Toll-Free North America and Latin Americ a: 1-800-966-3371
o Direct dial: 1-949-639-8500
InStep Technical Support
Cont act page: http://www.instepsoftware.com/contact-us
Technical support: https://support.instepsoft ware.com/
Email: instepsupport@schneider-electric.com
Phone (USA 8:00 a.m. to 5:00 p.m. Central Time)
o 1-312-894-7870
Schneider Electric – Smart Water Software Technical Support
Help desk email: DK-HSO-Support@schneider-electric.com
Help desk telephone hotline: +45 88 30 20 77 (09:00 to 16:00 Monday to Thurs day, Friday 09:00 to
15:00, Central European Time)
Contact Schneider Electric Software Learning Services
Cont act Software Learning Services for assistance regarding classes, schedule, offerings, frequently
asked questions, tuition, policies, and more.
Email: software.training@schneider-electric.com
Toll-Free U.S. and Canada: 1-866-998-7246
Direct: 1-949-639-8508
Fax: 1-949-639-1847
Welcome
You can import window definitions into InTouch applications using XML formatted files. How to create
an XML file is outside the scope of this guide.
This guide assumes you know how to create InTouch applic ations using WindowMaker.
This guide assumes you can create, format, and test XML files and know the general requirements for
using XML files.
You need to install Wonderware Application Server 3.1 before installing InTouch 10.1.050. If you have
InTouch 10.1 installed, uninstall it before installing InTouch 10.1.050.
You can view this guide online or you can print it, in part or whole, by using the print feature in Adobe
Acrobat Reader.
This guide assumes that you know how to use Microsoft Windows, including navigating menus, moving
from application to application, and moving objects on the screen. If you need help with these tasks,
see the Microsoft online help.
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 docum entation 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 t o your problem, if this is an
ongoing problem.
Wonderware Guide to Creating InTouch Windows Programmatically
C HAPTER 1
Preparing an XML File
In This Chapter
About Preparing an XML File ......................................................................................................... 11
Note: Schema files are available in the InTouch installation folder aft er the installation is complete.
11
Wonderware Guide to Creating InTouch Windows Programmatically
C HAPTER 2
Using an XML File to Import a Window
In This Chapter
About Using an XML File to Import a Window ................................................................................. 13
Preparing a Command File .......................................................................................................... 14
Creating an Application ................................................................................................................. 17
Adding Tags to Newly Generated Application ................................................................................. 17
Deleting a Window ........................................................................................................................ 17
Renaming a Window ..................................................................................................................... 18
Importing a Window ...................................................................................................................... 18
Running WindowMaker from the Command Prompt ........................................................................ 20
ArchestrA IDE Extension ............................................................................................................... 20
Running WindowMaker from Managed InTouc h Applications ........................................................... 20
Running DB Dump from the Command Prompt ................................................................................ 21
Running DB Dump for Managed InTouch Applications ..................................................................... 22
Running DBLoad from the Command P rompt ................................................................................. 22
Running DBLoad for Managed InTouch Applications ....................................................................... 23
13
Using an XML File to Import a Window Wonderware Guide to Creating InTouch Windows Programmatically
14
Using an XML File to Import a Window Wonderware Guide to Creating InTouch Windows Programmatically
The following is an example command file that prints to a file. If the file exists, it is overwritten.
.WINDOWMAKERCOMMANDFILE
.VERSION=1
.PRINTAPPLICATIONINFORMATION
.OUTPUTTARGET=TextFile
.OUTPUTTARGETNAME=C:\MyApps\AppInfo.txt
.GO
Command Syntax
The following table lists the commands you can use in a WindowMaker command file.
Command Description
15
Using an XML File to Import a Window Wonderware Guide to Creating InTouch Windows Programmatically
Command Description
.XMLFILEPA TH=<Full File Path> The full file path to an XML file containing a
window specification. Required when the
WINDOWCREA TE command is used.
.OUTPUTTA RGE TNAME=<Print er Name of the printer or output file. If the file
Name>|<Full Text File Path> exists, it is overwritten.
. OUTPUTFILE=<Full File Path> Full path to the output file. If the file exists, it
is overwritten.
16
Using an XML File to Import a Window Wonderware Guide to Creating InTouch Windows Programmatically
Creating an Application
You can use a WindowMaker command file to create a new default InTouch application. You creat e a
blank application using the minimum command file. However, you cannot creat e a blank managed
InTouch application using the minimum command file. For more info rmation, see Creating a Minimum
Command File on page 14.
The command file must be placed in the folder where you want the application created. If the folder
contains an existing InTouch.ini file, the application is not generated.
The path to the new application folder cannot contain an embedded " -l" or "-L" string sequence. For
example, the folder C:\MyApps\App-Large cannot be created.
The created InTouch.ini file has contents similar to the following example. Window positions vary with
the screen resolution in which the application is shown. The application has the title and description
"Generated InTouch Application." The default language is English.
Example InTouch.ini file contents:
[InTouch]
AppMode=2
AppName0=Generated InTouch Application
AppName1=
AppName2=
AppName3=
AppDesc0=Generated InTouch Application
AppDesc1=
AppDesc2=
AppDesc3=
LanguageBase=English (United States)
LanguageBaseID=1033
InTouchView=0
SAOConverted=1
WinFullScreen=1
WinLeft=-4
WinTop=-4
WinWidth=1288
WinHeight=1004
SnapOn=1
Deleting a Window
If you add a window to an existing application that has a window with the same name, you must delete
the existing window. You can delete the existing window using the WindowMaker command file.
Important: An error message does not appear if the window selected to delete does not exist.
17
Using an XML File to Import a Window Wonderware Guide to Creating InTouch Windows Programmatically
A message appears in the ArchestrA Logger if an existing window cannot be deleted. No user
interaction is required.
You enter a sequenc e of commands in your command file to delete a window from an InTouch
application. A command file can include several delete window command sequences.
The following example shows the command sequence to delete a window from an InTouch application:
.WINDOWMAKERCOMMANDFILE
.VERSION=1
.WINDOWDELETE
.WINDOWNAME=Window002
.GO
Renaming a Window
You can change the name of a window in an InTouch application.
You enter a sequenc e of commands in your command file to rename a window from an InTouch
application. A command file can include several rename window command sequences.
An error message does not appear if the window selected to be renamed does not exist.
If the new window name already exists, nothing is done, and a warning message is logged.
If the old name exists and the new name does not exist, but the rename fails for some other reason, an
error message is logged.
No user interaction is required. Warnings and error messages appear in the ArchestrA Logger.
If you rename a window with the name of an existing window, a warning message is logged in the log
file or the ArchestrA Logger. In the following example, renaming the Window005 to an existing window
Window006, logs a warning message in the log file or the Arc hestrA Logger.
.WINDOWRENAME
.OLDWINDOWNAME=Window005
.NEWWINDOWNAME=Window006
.GO
Importing a Window
You can import a window into an InTouch application. The full file path to the XML file containing a
single InTouch window's specification is required. The new window name is contained within the XML
file.
The window is not imported if:
A window wit h the same name exists in the application.
An unresolved error occurs in one of the window scripts.
An unresolved error occurs trying to add any part of an object to the window.
User interaction may be required if:
Elements specified in scripts or expressions contain errors or are missing.
Scripts contain syntax errors.
It is possible that nothing is shown to allow a user to correct the problem. Examine the log file and the
ArchestrA Logger for details.
You enter a sequenc e of commands in your command file to import a window.
For example:
.WINDOWCREATE
.XMLFILEPATH=C:\WMCommandTest\WMCreateFile.Xml
18
Using an XML File to Import a Window Wonderware Guide to Creating InTouch Windows Programmatically
.GO
A command file may contain more than one import window command and several create window
command sequences.
Handling Errors
Your XML file must follow general XML formatting rules. If you cannot open your XML file with Int ernet
Explorer, your XML file contains XML formatting errors. Fix all errors before using the file with
WindowMaker.
If you use a file containing general format errors, WindowMaker logs the error message " XML file could
not be loaded" in the ArchestrA Logger.
WindowMaker stops when any element is missing from a script, on any script error, or any other
element specification error occurs. For example:
Missing tags
Missing external WindowMaker script extension DLL
Missing ActiveX cont rols
Missing Wizard DLL
In some cases, such as for particular animation links or custom property overrides, no message box
appears if the tag is missing. A note is written to the ArchestrA Logger, the animation link and object
are not created, and the window is not created. In other cases, the script and ex pression parsing stops.
You are given an opportunity to create the tag, and if it is succ essfully created, processing continues.
Missing SmartSymbols
If a SmartSymbol template does not exist in the target application, the window is not imported. An error
message appears in the logger and the output text file.
If a SmartSymbol instance fails to be created for any reason, the window is not created. A
SmartSymbol import can fail even though the SmartSymbol template exists. There may be additional
information about the failure in the ArchestrA Logger.
19
Using an XML File to Import a Window Wonderware Guide to Creating InTouch Windows Programmatically
Note: You cannot create managed InTouch applications from the command prompt.
Important: WindowMaker stops responding if you start a new console session or maximize an existing
console session when the XML import is in progress.
The ArchestrA IDE has a context menu item used to select a command file for the XML import. The
menu item Process InTouch Command File is shown in the context menu when you right click an
InTouchViewApp derived template. However, the menu item will not be shown, when you select:
Multiple InTouchViewApp templates
InTouchViewApp base template
InTouchViewApp instance
If you migrate a managed InTouch application from older version of InTouch, then you must open the
InTouch application in WindowMak er at least once before processing the command file.
20
Using an XML File to Import a Window Wonderware Guide to Creating InTouch Windows Programmatically
4. Right -click the derived template and then click Process InTouch Command File . The Open
InTouch Command File From: dialog box appears.
Note: The InTouchViewApp derived template must be configured in WindowMaker at least once,
before executing the Proce ss InTouch Command File command.
5. Browse to the location of the command file, and click Open. The WindowMaker starts up.
21
Using an XML File to Import a Window Wonderware Guide to Creating InTouch Windows Programmatically
Example
Suppose the InTouch application is located in the C:\MyInTouchApps\App001 folder and you want
to write the cont ents of the tag database to the C:\TagDumps\App001.csv file. You do not want any
message boxes to appear, and you want to overwrite the target export file if it exists. The command is:
DBDump C:\MyInTouchApps\App001,C:\TagDumps\App001.Csv,1,1,0
3. Type the name of the CSV file and click Save. The application tag data is successfully dumped into
the CSV file.
22
Using an XML File to Import a Window Wonderware Guide to Creating InTouch Windows Programmatically
Example
Suppose the InTouch application is located in the C:\MyInTouchApps\App001 folder and you want
to read the tag database information from the C:\TagDumps\App001.Csv file. You do not want the
message boxes to appear. The following example shows the DBLoad command you enter at the
command prompt:
DBLoad C:\MyInTouchApps\App001,C:\TagDumps\App001.Csv,0
3. Browse to locat e the CSV file and click Open. The tag data is successfully loaded into the InTouc h
application.
23
Wonderware Guide to Creating InTouch Windows Programmatically
C HAPTER 3
XML Formats
You can import a window and most window elements defined in an XML file. Tags cannot be imported
from an XML file. You must use the DBLoad utility instead.
In This Chapter
General XML File Format .............................................................................................................. 25
Common Element Definitions ........................................................................................................ 26
Window Element ........................................................................................................................... 32
Unsupported InTouch Features ..................................................................................................... 93
Using a Schema
You can validate the XML file against the schema file. Validating your XML file with the schema file
detects most XML formatting errors.
The schema is more restrictive than the XML input parser.
The schema requires the order of elements to match the order listed in the tables in this guide.
Element names and values are case sensitive.
In some cases, the schema requires an element to be ex plicitly defined.
You invoke schema validation in the window element. For information about how to specify a schema,
see Window Definition on page 32.
25
XML Formats Wonderware Guide to Creating InTouch Windows Programmatically
User-Supplied Text
If your script uses XML field delimit er characters, the script text must be encapsulated within a CDA TA
element. Text in a CDA TA element is not parsed by the XML file import functionality.
You can ent er text without enclosing it within a CDA TA element provided the text does not contain any
XML field delimiter characters.
Color Elements
Color elements can be specified by RGB value, name, reference value, or integer value. The color
elements are R, G, B, Name, Ref, and Value. These elements are used in other elements. For
example, FillColor, TextColor, and BGCOLOR.
RGB Elements
You use RGB values to specify a color. The values assigned to RGB elements range from 0 to 255.
When an element is missing, a default is used. The default depends on the window object.
Examples:
<FillColor>
<R>192</R>
<G>192</G>
<B>192</B>
</FillColor>
<TextColor> <R>0</R><G>0</G><B>0</B> </TextColor>
26
XML Formats Wonderware Guide to Creating InTouch Windows Programmatically
TextInfo Elements
You can specify how text appears on the screen with the TextInfo element.
The following elements are available for specifying text:
Elements Description
27
XML Formats Wonderware Guide to Creating InTouch Windows Programmatically
Elements Description
Example:
<TextInfo>
<Font>Arial</Font>
<FontStyle>Regular</FontStyle>
<FontSize>12</FontSize>
<Underline>false</Underline>
<Strikeout>false</Strikeout>
<TextColor>
<R>0</R>
<G>0</G>
<B>0</B>
</TextColor>
<TextJustify>Left</TextJustify>
</TextInfo>
Point Elements
You use a point element to define the position of other elements. Point elements contain two elements,
X and Y. X and Y elements must contain values in the range -32000 and 32000.
Elements Description
Example:
<Point>
<X>10</X>
<Y>25</Y>
</Point>
Pen Elements
You use pen elements to specify the line characteristics of an object's border.
The following elements are available for specifying the pen element:
Field Description
28
XML Formats Wonderware Guide to Creating InTouch Windows Programmatically
Example:
<Pen>
<PenColor>
<R>0</R>
<G>0</G>
<B>0</B>
</PenColor>
<PenWidth>4</PenWidth>
<PenStyle>Solid</PenStyle>
</Pen>
Dimension Elements
The dimension element contains elements to specify the coordinates of the upper left corner of an
object on the screen. The dimension element also includes elements to specify the width and height of
a rectangular object.
In WindowMaker, the coordinate limits are -32000 to +32000 in both the vertical and horizont al
directions. If you specify a combination of X and Y location with width or height values that plac e the
calculated coordinates outside of a (-32000, -32000, 32000, 32000) boundary, a warning appears and
the values are clamped to the maximum values. Height and widt h values should be positive.
You use the following elements within a dimension element to specify an area on the screen.
Elements Description
Example:
<Dimension>
<Left>4</Left>
<Top>4</Top>
<Width>632</Width>
<Height>278</Height>
</Dimension>
Expressions
You enclose expression text in CDA TA sections. This prevents XML delimiters, whi ch are valid in
expressions, from causing file parsing to fail.
Example:
<EXPRESSION>
<![CDATA[
First line of expression text
Second line of expression text
N-th line of expression text
]]>
</EXPRESSION>
29
XML Formats Wonderware Guide to Creating InTouch Windows Programmatically
ADD Add
BACKSPACE Backspace
CANCEL CtrlBreak
CLEAR Clear
Copy Copy
Decimal Decimal
DELE TE Delet e
Divide Divide
END End
ENTER Return
ESC Escape
Execute Execute
F1 F1
F2 F2
F3 F3
F4 F4
F5 F5
F6 F6
F7 F7
F8 F8
F9 F9
30
XML Formats Wonderware Guide to Creating InTouch Windows Programmatically
F10 F10
F11 F11
F12 F12
F13 F13
F14 F14
F15 F15
F16 F16
HELP Help
HOME Home
INSE RT Insert
MULTIPY Multiply
PAGE UP PageUp
SELECT Select
31
XML Formats Wonderware Guide to Creating InTouch Windows Programmatically
Separator Separator
SPACEBAR Space
TAB Tab
UP ARROW Up
Two modifier keys are supported. Modifier keys can be specified separately or in combination for the
CKEYFLAGS element. The modified name is the element value. A modifier key is applied as long as
the modifier name is in the attribute value string.
Window Element
You can include only a single window element in your XML file. The window element must be the first
element specified in the XML file.
The window name must not match an existing window name in the InTouch application.
Window Definition
You can use the following elements to specify a window.
Elements Description
32
XML Formats Wonderware Guide to Creating InTouch Windows Programmatically
Elements Description
33
XML Formats Wonderware Guide to Creating InTouch Windows Programmatically
<R>192</R>
<G>192</G>
<B>192</B>
</BackgroundColor>
<WindowStyle>Overlay</WindowStyle>
<FrameStyle>Single</FrameStyle>
<TitleBar>true</TitleBar>
<CloseButton>True</CloseButton>
<SizeControls>true</SizeControls>
</iw:InTouchWindow>
Minimal example:
<iw:InTouchWindow
xmlns:iw="http://www.wonderware.com/InTouch/Window"
xmlns:itc="http://www.wonderware.com/InTouch/Common"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.wonderware.com/InTouch/Window
wwInTouchWindow.xsd" Version="1">
<Title>ApplicationSecondWindow</Title>
<Dimension><Left>4</Left><Top>4</Top>
<Width>632</Width>
<Height>278</Height></Dimension>
</iw:InTouchWindow>
Window Scripts
You can create three types of window scripts in your XML import file: OnS how, WhileShowing, and
OnHide. You place the script elements within the window element.
Script text can be enclosed in a CDA TA section to prevent XML delimiter characters in the script from
interfering with XML file parsing.
34
XML Formats Wonderware Guide to Creating InTouch Windows Programmatically
]]></ScriptOnShow>
Minimal example:
<ScriptOnShow>Single line of script text</ScriptOnShow>
Elements Description
Example:
<ScriptWhileShowing>
<Text><![CDATA[
First line of script text
Second line of script text
N-th line of script text
]]></Text>
<Frequency>1000</Frequency>
</ScriptWhileShowing>
Minimal example:
<ScriptWhileShowing>
<Text>Single line of script text</Text>
<Frequency>1000</Frequency>
</ScriptWhileShowing>
Window Objects
Window objects are placed in an object list defined by the ObjectList element.
Example:
<?xml version="1.0" encoding="UTF-8"?>
35
XML Formats Wonderware Guide to Creating InTouch Windows Programmatically
<iw:InTouchWindow xmlns:iw="http://www.wonderware.com/InTouch/Window"
xmlns:itc="http://www.wonderware.com/InTouch/Common"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.wonderware.com/InTouch/Window.xsd"
Version="1">
<Title>Window0001</Title>
<Comment>Sample simple window</Comment>
<Dimension>
<Left>10</Left>
<Top>10</Top>
<Width>400</Width>
<Height>400</Height>
</Dimension>
<BackgroundColor>
<R>255</R>
<G>0</G>
<B>255</B>
</BackgroundColor>
<WindowStyle>Replace</WindowStyle>
<FrameStyle>Double</FrameStyle>
<TitleBar>true</TitleBar>
<SizeControls>true</SizeControls>
<ObjectList>
<Rectangle>
<Title>Rectangle1</Title>
<Pen>
<PenColor>
<Name>Black</Name>
</PenColor>
<PenWidth>4</PenWidth>
<PenStyle>Solid</PenStyle>
</Pen>
<Dimension>
<Left>100</Left> <Top>50</Top>
<Width>270</Width> <Height>80</Height>
</Dimension>
<FillColor>
<R>128</R> <G>128</G> <B>128</B>
</FillColor>
</Rectangle>
</ObjectList>
</iw:InTouchWindow>
Each window object can contain animation links. A window object containing animation links includes
an animation links element.
<Animationlinks> </Animationlinks>
PENWIDTH 1
36
XML Formats Wonderware Guide to Creating InTouch Windows Programmatically
PENCOLOR Black
PENSTY LE Solid
TE XTCOLOR Black
ROTA TION 0
FONT System
FONTS TY LE regular
FONTWEIGHT Ignored
FONTS IZE 10
UNDERLINE False
STRIKEOUT False
FLIP None
Pen Dimensions
The dimension specification is for the centerline of an object. If an object's pen width is larger than 1,
then an object may not fit within the specified dimension. Instead, the pen width straddles the boundary
of the object. Some pixels are inside the object's boundary; others are outside of the boundary.
Rectangle Object
The following elements can be specified for a rectangle element.
Elements Description
37
XML Formats Wonderware Guide to Creating InTouch Windows Programmatically
Elements Description
Example:
<Rectangle>
<Title>Rectangle1</Title>
<Pen>
<PenColor><Name>Black</Name></PenColor>
<PenWidth>4</PenWidth>
<PenStyle>Solid</PenStyle>
</Pen>
<Dimension>
<Left>100</Left> <Top>50</Top>
<Width>270</Width> <Height>80</Height>
</Dimension>
<FillColor>
<R>128</R> <G>128</G> <B>128</B>
</FillColor>
<AnimationLinks> </AnimationLinks>
</Rectangle>
Minimal example:
<Rectangle>
<Dimension>
<Left>100</Left><Top>50</Top>
<Width>270</Width><Height>80</Height>
</Dimension>
</Rectangle>
Elements Description
38
XML Formats Wonderware Guide to Creating InTouch Windows Programmatically
Elements Description
Example:
<RoundedRectangle>
<Title>RoundedRectangle1</Title>
<Pen>
<PenColor><Name>Black</Name></PenColor>
<PenWidth>4</PenWidth>
<PenStyle>Solid</PenStyle>
</Pen>
<Dimension>
<Left>100</Left>
<Top>50</Top>
<Width>270</Width>
<Height>80</Height>
</Dimension>
<FillColor>
<R>128</R> <G>128</G> <B>128</B>
</FillColor>
<AnimationLinks>
</AnimationLinks>
<CornerDimension>
<Width>8</Width>
<Height>8</Height>
</CornerDimension>
</RoundedRectangle>
Minimal example:
<RoundedRectangle>
<Dimension>
<Left>100</Left><Top>50</Top>
<Width>270</Width><Height>80</Height>
39
XML Formats Wonderware Guide to Creating InTouch Windows Programmatically
</Dimension>
</RoundedRectangle>
Ellipse Object
The following elements can be specified for an ellipse object.
Elements Description
Example:
<Ellipse>
<Title>Ellipse1</Title>
<Pen>
<PenColor><Name>Black</Name></PenColor>
<PenWidth>4</PenWidth>
<PenStyle>Solid</PenStyle>
</Pen>
<Dimension>
<Left>100</Left>
<Top>50</Top>
<Width>270</Width>
<Height>80</Height>
</Dimension>
<FillColor>
<R>128</R> <G>128</G> <B>128</B>
</FillColor>
<AnimationLinks>
</AnimationLinks>
</Ellipse>
Minimal example:
<Ellipse>
<Dimension>
<Left>100</Left><Top>50</Top>
<Width>270</Width><Height>80</Height>
40
XML Formats Wonderware Guide to Creating InTouch Windows Programmatically
</Dimension>
</Ellipse>
Line Object
The following elements can be specified for a line object. From and to points cannot be the same point.
Elements Description
Example:
<Line>
<Title>Line1</Title>
<Pen>
<PenColor><Name>Black</Name></PenColor>
<PenWidth>1</PenWidth>
<PenStyle>Solid</PenStyle>
</Pen>
<Points>
<Point><X>50</X><Y>150</Y></Point>
<Point><X>150</X><Y>160</Y></Point>
</Points>
<AnimationLinks>
</AnimationLinks>
</Line>
Minimal example:
<Line>
<Points>
<Point><X>50</X><Y>150</Y></Point>
<Point><X>150</X><Y>160</Y></Point>
</Points> </Line>
Elements Description
41
XML Formats Wonderware Guide to Creating InTouch Windows Programmatically
Elements Description
Example:
<HorizontalLine>
<Title>Line1</Title>
<Pen>
<PenColor><Name>Black</Name></PenColor>
<PenWidth>1</PenWidth>
<PenStyle>Solid</PenStyle>
</Pen>
<Points>
<Point><X>50</X><Y>150</Y></Point>
<Point><X>150</X><Y>150</Y></Point>
</Points>
<AnimationLinks>
</AnimationLinks>
</HorizontalLine>
Minimal example:
<HorizontalLine>
<Points>
<Point><X>50</X><Y>150</Y></Point>
<Point><X>150</X><Y>150</Y></Point>
</Points>
</HorizontalLine>
Elements Description
42
XML Formats Wonderware Guide to Creating InTouch Windows Programmatically
Elements Description
Example:
<VerticalLine>
<Title>Line1</Title>
<Pen>
<PenColor><Name>Black</Name></PenColor>
<PenWidth>1</PenWidth>
<PenStyle>Solid</PenStyle>
</Pen>
<Points>
<Point><X>50</X><Y>150</Y></Point>
<Point><X>50</X><Y>250</Y></Point>
</Points>
<AnimationLinks>
</AnimationLinks>
<VerticalLine>
Minimal example:
<VerticalLine>
<Points>
<Point><X>50</X><Y>150</Y></Point>
<Point><X>50</X><Y>250</Y></Point>
</Points>
<VerticalLine>
Polyline Object
You must define at least two points in order to load the polyline object. Using the same coordinates for
the two points is not recommended.
The following elements can be specified for a polyline object.
Elements Description
43
XML Formats Wonderware Guide to Creating InTouch Windows Programmatically
Elements Description
Example:
<Polyline>
<Title>polyline1</Title>
<Pen>
<PenColor><Name>Black</Name></PenColor>
<PenWidth>1</PenWidth>
<PenStyle>Solid</PenStyle>
</Pen>
<Points>
<Point><X>50</X><Y>150</Y></Point>
<Point><X>60</X><Y>250</Y></Point>
<Point><X>70</X><Y>350</Y></Point>
<Point><X>80</X><Y>450</Y></Point>
</Points>
<AnimationLinks>
</AnimationLinks>
</Polyline>
Minimal example:
<Polyline>
<Points>
<Point><X>50</X><Y>150</Y></Point>
<Point><X>80</X><Y>450</Y></Point>
</Points>
</Polyline>
Polygon Object
You must define at least two points to load a polygon object. Using the same coordinat es for the two
points is not recommended.
The following elements can be specified for a poly gon object.
Elements Description
44
XML Formats Wonderware Guide to Creating InTouch Windows Programmatically
Elements Description
Example:
<Polygon>
<Title>polygon1</Title>
<Pen>
<PenColor><Name>Black</Name></PenColor>
<PenWidth>1</PenWidth>
<PenStyle>Solid</PenStyle>
</Pen>
<Points>
<Point><X>50</X><Y>150</Y></Point>
<Point><X>60</X><Y>250</Y></Point>
<Point><X>70</X><Y>350</Y></Point>
<Point><X>80</X><Y>450</Y></Point>
</Points>
<FillColor>
<R>128</R> <G>128</G> <B>128</B>
</FillColor>
<AnimationLinks>
</AnimationLinks>
</Polygon>
Minimal example:
<Polygon>
<Points>
<Point><X>50</X><Y>150</Y></Point>
<Point><X>80</X><Y>450</Y></Point>
</Points>
</Polygon>
Text Object
The following elements can be specified for a text object.
Elements Description
45
XML Formats Wonderware Guide to Creating InTouch Windows Programmatically
Elements Description
Example:
<Text>
<Title>text1</Title>
<TextString>This is some text to display</TextString>
<Dimension>
<Left>100</Left><Top>50</Top>
<Width>270</Width><Height>80</Height>
</Dimension>
<TextInfo>
<Font>Arial</Font>
<FontStyle>Regular</FontStyle>
<FontSize>12</FontSize>
<Underline>false</Underline>
<Strikeout>false</Strikeout>
<TextColor>
<R>0</R>
<G>0</G>
<B>0</B>
</TextColor>
<TextJustify>Left</TextJustify>
</TextInfo>
<Rotation>0</Rotation>
<AnimationLinks>
</AnimationLinks>
</Text>
Minimal example:
<Text>
<TextString>This is some text to display</TextString>
<Dimension>
<Left>100</Left><Top>50</Top>
<Width>270</Width><Height>80</Height>
</Dimension>
</Text>
Bitmap Object
If a source image is specified, it must exist. Supported graphic file formats are: JP G, JPEG, BMP, TIF,
PCX, BIF, and TGA.
A bitmap without a specified source image appears as a default rectangle element on a window.
46
XML Formats Wonderware Guide to Creating InTouch Windows Programmatically
Transparent Colors
The InTouch internal application object data structure for bitmaps contai ns a Boolean field indicating
that transparent color should be applied. Anot her field stores the actual transparent color.
In WindowMaker, if you create a new bitmap object, it initially has a default transparent color that is
black and is unavailable. After you select the transparent color tool, you have applied a permanent
transparent color to the bitmap object. From the transparent color tool, there is no visual cue that the
transparent color has been assigned to a bitmap.
For bitmap objects imported from an XML file, the transparent color node for a bitmap is an optional
entry, but if it is present, the transparent color is enabled and the transparent color is assigned to the
bitmap object. There is no mechanism for the end user to open the window in WindowMaker, to select
the bitmap object, and then to disable the transparent color.
Elements Description
Example:
<Bitmap>
<Title>bitmap1</Title>
<Pen>
<PenColor><Name>Black</Name></PenColor>
<PenWidth>1</PenWidth>
<PenStyle>Solid</PenStyle>
</Pen>
<Dimension>
47
XML Formats Wonderware Guide to Creating InTouch Windows Programmatically
<Left>100</Left>
<Top>50</Top>
<Width>270</Width>
<Height>80</Height>
</Dimension>
<FillColor>
<R>128</R>
<G>128</G> <
B>128</B>
</FillColor>
<Transparent>
<R>0</R> <G>128</G> <B>255</B>
</Transparent>
<SourceImage>C:\MyPictures\hello.jpg</SourceImage>
<AnimationLinks>
</AnimationLinks>
</Bitmap>
Example:
<Bitmap>
<Dimension>
<Left>100</Left><Top>50</Top>
<Width>270</Width><Height>80</Height>
</Dimension>
<SourceImage>C:\MyPictures\hello.jpg</SourceImage>
</Bitmap>
Example with empty SourceImage node:
<Bitmap>
<Dimension>
<Left>100</Left><Top>50</Top>
<Width>270</Width><Height>80</Height>
</Dimension>
<FillColor>
<R>128</R> <G>128</G> <B>128</B>
</FillColor>
<SourceImage></SourceImage>
</Bitmap>
Minimal example:
<Bitmap>
<Dimension>
<Left>100</Left><Top>50</Top>
<Width>270</Width><Height>80</Height>
</Dimension>
</Bitmap>
Button Object
The following elements can be specified for a button object.
Elements Description
48
XML Formats Wonderware Guide to Creating InTouch Windows Programmatically
Elements Description
Example:
Button>
<Title>button1</Title>
<TextInfo>
<Font>Arial</Font>
<FontStyle>Regular</FontStyle>
<FontSize>12</FontSize>
<Underline>false</Underline>
<Strikeout>false</Strikeout>
<TextColor>
<R>0</R>
<G>0</G>
<B>0</B>
</TextColor>
<TextJustify>Left</TextJustify>
</TextInfo>
<Dimension>
<Left>100</Left><Top>50</Top>
<Width>270</Width><Height>80</Height>
</Dimension>
<TextString>Stop All Robots</TextString>
<AnimationLinks>
</AnimationLinks>
</Button>
Minimal example:
<Button>
<Dimension>
<Left>100</Left><Top>50</Top>
<Width>270</Width><Height>80</Height>
</Dimension>
</Button>
49
XML Formats Wonderware Guide to Creating InTouch Windows Programmatically
Smart Symbols
A SmartSymbol templat e must be defined in the application before importing a window that uses the
SmartSymbol template. If the SmartSymbol template does not exist, the import fails, and the window is
not created.
Multiple SmartSymbols can be specified for a window. Each SmartSymbol is declared in a separate
<SmartSymbol> </SmartSymbol> element.
The following elements can be specified fo r a Smart Symbol.
Elements Description
Example:
<SmartSymbol>
<SymbolName>MyCoolSymbol</SymbolName>
<Dimension>
<Left>100</Left><Top>50</Top>
<Width>270</Width><Height>80</Height>
</Dimension>
<TagReplace>
<Find>Tag001</Find>
<Replace>Tag007</Replace>
</TagReplace>
<StringReplace>
<Find>Find This Text</Find>
<Replace>Replace it with this text</Replace>
</StringReplace>
</SmartSymbol>
Minimal example:
<SmartSymbol>
<SymbolName>MyCoolSymbol</SymbolName>
<Dimension>
50
XML Formats Wonderware Guide to Creating InTouch Windows Programmatically
<Left>100</Left><Top>50</Top>
<Width>270</Width><Height>80</Height>
</Dimension>
</SmartSymbol>
Tag Replacement
The tags within a SmartSymbol instance can be replaced. You should only replace tags within a
SmartSymbol instance that currently exists in the application.
Tag replacement is case insensitive and the entire tag name string must match. You can add one or
more < TagReplace> elements to the SmartSymbol node to replace multiple tags.
For example:
<TagReplace>
<Find>Tag1</Find>
<Replace>DTagA</Replace>
</TagReplace>
<TagReplace>
<Find><![CDATA[Tag1]]></Find>
<Replace><![CDATA[DTagA]]></Replace>
</TagReplace>
If the tag names specified for replacement do not exist in an application, the SmartSymbol is not
created. Also, the window containing the SmartSymbol is not created.
The replaced tag's type must be the same as the original tag's type.
String Replacement
Strings can be replaced wit hin a SmartSymbol instance. String replacements are case sensitive and
the entire source string must match. Multiple string replac ement elements can be used within a single
SmartSymbol element.
<StringReplace>
<FIND>
<![CDATA[Open]]>
</FIND>
<REPLACE>
<![CDATA[Off]]>
</REPLACE>
</StringReplace>
<StringReplace>
<FIND>Open</FIND>
<REPLACE>Off</REPLACE>
</StringReplace>
SmartSymbol Example
This is an example of a SmartSymbol element containing tag and string replacement elements.
<SmartSymbol>
<SymbolName>MyCoolSymbol</SymbolName>
<Dimension>
<Left>100</Left><Top>50</Top>
<Width>270</Width><Height>80</Height>
</Dimension>
<TagReplace>
<Find>DTag1</Find>
<Replace>DTagA</Replace>
</TagReplace>
<TagReplace>
51
XML Formats Wonderware Guide to Creating InTouch Windows Programmatically
<Find>ATag001</Find>
<Replace>ATag002</Replace>
</TagReplace>
<StringReplace>
<Find><![CDATA[Open]]> </Find>
<Replace><![CDATA[On]]> </Replace>
</StringReplace>
<StringReplace>
<FIND>
<![CDATA[Closed]]>
</FIND>
<REPLACE>
<![CDATA[Off]]>
</REPLACE>
</StringReplace>
</SmartSymbol>
ArchestrA Symbols
An ArchestrA Symbol must be defined in the Galaxy before you import a window that uses the
ArchestrA Symbol reference. If the ArchestrA Symbol reference does not exist, the import fails, and the
window is not created.
You can specify symbols from an Instance or from the Graphic Toolbox in the symbol reference.
However, you cannot specify Template symbols in the symbol reference.
Multiple ArchestrA Symbols can be specified for a window. Each ArchestrA Symbol is declared in a
separate <ArchestrASymbol> </ArchestrASymbol> element.
The following elements can be specified for an Arc hestrA Symbol.
Elements Description
52
XML Formats Wonderware Guide to Creating InTouch Windows Programmatically
Elements Description
53
XML Formats Wonderware Guide to Creating InTouch Windows Programmatically
<ArchestrASymbol>
<Title>EmbedSym1</Title>
<Dimension>
<Left>200</Left>
<Top>200</Top>
<Width>150</Width>
<Height>150</Height>
</Dimension>
<Flip>None</Flip>
<Rotation>0</Rotation>
<SymbolReference>ButtonChromeMomentaryRed</SymbolReference>
<AnimationLinks>
</AnimationLinks>
<StringReplace>
<Find>LABEL</Find>
<Replace>OFF</Replace>
</StringReplace>
</ArchestrASymbol>
Minimal example:
<ArchestrASymbol>
<Dimension>
<Left>200</Left>
<Top>200</Top>
</Dimension>
<SymbolReference>ButtonChromeMomentaryRed</SymbolReference>
</ArchestrASymbol>
CustomPropertyOverride
You can override only those custom properties which are already defined for the ArchestrA Symbol.
To override multiple custom properties, add one or more <CustomPropertyOverride> elements to the
ArchestrA Symbol node.
Example:
<ArchestrASymbol>
<Title>EmbedSym1</Title>
<Dimension>
<Left>200</Left>
<Top>200</Top>
<Width>150</Width>
<Height>150</Height>
</Dimension>
<Flip>None</Flip>
<Rotation>0</Rotation>
<SymbolReference>ButtonChromeMomentaryRed</SymbolReference>
<AnimationLinks>
</AnimationLinks>
<CustomPropertyOverride> <CustomPropertyName>cp1</CustomPropertyName>
<OverrideValue>DTagA</OverrideValue>
<IsConstant>false</IsConstant>
</CustomPropertyOverride>
</ArchestrASymbol>
In this example, cp1 is the name of the existing custom property. The override is applied to the custom
property with the new value set to DTagA. IsConstant is an optional field used to indicate whether the
value should be interpret ed as a constant. The IsConstant flag is only applicable if the type of the
custom property is String, Time, or Elapsed Time. The IsConstant flag is set to false by default.
54
XML Formats Wonderware Guide to Creating InTouch Windows Programmatically
Note: If the tag name specified for OverrideV alue does not exist in the tag database, the ArchestrA
Symbol referenc e is not created on the window and import for that particular window fails. Error
messages are logged in the log file or in the ArchestrA Logger.
55
XML Formats Wonderware Guide to Creating InTouch Windows Programmatically
Animation Link
Type Control Field Control Field Limit
56
XML Formats Wonderware Guide to Creating InTouch Windows Programmatically
Animation Link
Type Control Field Control Field Limit
57
XML Formats Wonderware Guide to Creating InTouch Windows Programmatically
Elements Description
Example:
<UserInputDiscrete>
<Title>UserInputDiscrete1</Title>
<InputOnly>false</InputOnly>
<KeyAssignment>
<KeyCode>F1</KeyCode>
<KeyFlags>Ctrl</KeyFlags>
</KeyAssignment>
<Message>Pump Valve State</Message>
<Expression><![CDATA[dTag001]]></Expression>
<OnMessage>On Message Text</OnMessage>
<OffMessage>Off Message Text</OffMessage>
<ResetPrompt>
<![CDATA[Reset Prompt Text]]>
</ResetPrompt>
<SetPrompt>Set Prompt Text</SetPrompt>
</UserInputDiscrete>
Minimal example:
<UserInputDiscrete>
<Message>Pump Valve State</Message>
<Expression>dTag001</Expression>
</UserInputDiscrete>
58
XML Formats Wonderware Guide to Creating InTouch Windows Programmatically
Elements Description
Example:
<<UserInputAnalog>
<Title>UserInputAnalog1</Title>
<InputOnly>false</InputOnly>
<KeyAssignment>
<KeyCode>F1</KeyCode>
<KeyFlags>Ctrl</KeyFlags>
</KeyAssignment>
<Message>Flush Pump Speed</Message>
<Expression>aTag001</Expression>
<KeyPadEnabled>false</KeyPadEnabled>
<MinAnalogValue>0.0</MinAnalogValue>
<MaxAnalogValue> 100.0</MaxAnalogValue>
</UserInputAnalog>
Minimal example:
59
XML Formats Wonderware Guide to Creating InTouch Windows Programmatically
<UserInputAnalog>
<Message>Pump Valve State</Message>
<Expression><![CDATA[aTag001]]></Expression>
<MinAnalogValue>0.0</MinAnalogValue>
<MaxAnalogValue>100.0</MaxAnalogValue>
</UserInputAnalog>
Elements Description
60
XML Formats Wonderware Guide to Creating InTouch Windows Programmatically
Elements Description
Example:
<UserInputString>
<Title>UserInputString1</Title>
<InputOnly>false</InputOnly>
<KeyAssignment>
<KeyCode>F1</KeyCode>
<KeyFlags>Ctrl</KeyFlags>
</KeyAssignment>
<Message>Select Pump</Message>
<Expression>mTag001</Expression>
<EchoCharacters>true</EchoCharacters>
<EncryptEnabled>false</EncryptEnabled>
<PasswordCharacter>*</PasswordCharacter>
</UserInputString>
Minimal exam ple:
<UserInputString>
<Message>Select Pump</Message>
<Expression>mTag001</Expression>
<EchoCharacters>true</EchoCharacters>
</UserInputString>
Elements Description
Example:
<LineColorDiscrete>
<Title>LineColorDiscrete1</Title>
<Expression>
<![CDATA[dTag001]]>
</Expression>
<OnColor><Name>Green</Name></OnColor>
<OffColor><Name>Red</Name></OffColor>
</LineColorDiscrete>
Minimal example:
61
XML Formats Wonderware Guide to Creating InTouch Windows Programmatically
<LineColorDiscrete>
<Expression>dTag001</Expression>
</LineColorDiscrete>
Elements Description
Example:
<LineColorAnalog>
<Title>LineColorAnalog1</Title>
<Expression>aTag001</Expression>
<Colors>
<Color1><Name>White</Name></Color1>
62
XML Formats Wonderware Guide to Creating InTouch Windows Programmatically
<Color2><Name>Red</Name></Color2>
<Color3><Name>Orange</Name></Color3>
<Color4><Name>Yellow</Name></Color4>
<Color5><Name>Green</Name></Color5>
<Color6><Name>Blue</Name></Color6>
<Color7><Name>Cyan</Name></Color7>
<Color8><Name>Magenta</Name></Color8>
<Color9><Name>Violet</Name></Color9>
<Color10><Name>Black</Name></Color10>
</Colors>
<Values>
<Value>10.0</Value>
<Value>20.0</Value>
<Value>30.0</Value>
<Value>40.0</Value>
<Value>50.0</Value>
<Value>60.0</Value>
<Value>70.0</Value>
<Value>80.0</Value>
<Value>90.0</Value>
</Values>
</LineColorAnalog>
Minimal example:
<LineColorAnalog>
<Expression>aTag001</Expression>
<Values>
<Value>10.0</Value>
<Value>20.0</Value>
<Value>30.0</Value>
<Value>40.0</Value>
<Value>50.0</Value>
<Value>60.0</Value>
<Value>70.0</Value>
<Value>80.0</Value>
<Value>90.0</Value>
</Values>
</LineColorAnalog>
Elements Description
63
XML Formats Wonderware Guide to Creating InTouch Windows Programmatically
Example:
<LineColorDiscreteAlarm>
<Title>LineColorDiscreteAlarm1</Title>
<Expression>
<![CDATA[dTag001]]>
</Expression>
<NormalColor><Name>Black</Name></NormalColor>
<AlarmColor><Name>Red</Name></AlarmColor>
</LineColorDiscreteAlarm>
Minimal example:
<LineColorDiscreteAlarm>
<Expression>dTag001</Expression>
</LineColorDiscreteAlarm>
Elements Description
64
XML Formats Wonderware Guide to Creating InTouch Windows Programmatically
Elements Description
65
XML Formats Wonderware Guide to Creating InTouch Windows Programmatically
Example:
<FillColorDiscrete>
<Title>FillColorDiscrete1</Title>
<Expression>
<![CDATA[dTag001]]>
</Expression>
<OnColor><Name>Green</Name></OnColor>
<OffColor><Name>Red</Name></OffColor>
</FillColorDiscrete>
Minimal example:
<FillColorDiscrete>
<Expression>dTag001</Expression>
</FillColorDiscrete>
Elements Description
66
XML Formats Wonderware Guide to Creating InTouch Windows Programmatically
Elements Description
Example:
<FillColorAnalog>
<Title>FillColorAnalog1</Title>
<Expression>aTag001</Expression>
<Colors>
<Color1><Name>White</Name></Color1>
<Color2><Name>Red</Name></Color2>
<Color3><Name>Orange</Name></Color3>
<Color4><Name>Yellow</Name></Color4>
<Color5><Name>Green</Name></Color5>
<Color6><Name>Blue</Name></Color6>
<Color7><Name>Cyan</Name></Color7>
<Color8><Name>Magenta</Name></Color8>
<Color9><Name>Violet</Name></Color9>
<Color10><Name>Black</Name></Color10>
</Colors>
<Values>
<Value>10.0</Value>
<Value>20.0</Value>
<Value>30.0</Value>
<Value>40.0</Value>
<Value>50.0</Value>
<Value>60.0</Value>
<Value>70.0</Value>
<Value>80.0</Value>
<Value>90.0</Value>
</Values>
</FillColorAnalog>
Minimal example:
<FillColorAnalog>
<Expression>aTag001</Expression>
<Values>
<Value>10.0</Value>
<Value>20.0</Value>
<Value>30.0</Value>
<Value>40.0</Value>
<Value>50.0</Value>
<Value>60.0</Value>
<Value>70.0</Value>
<Value>80.0</Value>
<Value>90.0</Value>
</Values>
</FillColorAnalog>
Elements Description
67
XML Formats Wonderware Guide to Creating InTouch Windows Programmatically
Elements Description
Example:
<FillColorDiscreteAlarm>
<Title>FillColorDiscreteAlarm1</Title>
<Expression>
<![CDATA[dTag001]]>
</Expression>
<NormalColor><Name>Black</Name></NormalColor>
<AlarmColor><Name>Red</Name></AlarmColor>
</FillColorDiscreteAlarm>
Minimal example:
<FillColorDiscreteAlarm>
<Expression>dTag001</Expression>
</FillColorDiscreteAlarm>
Elements Description
68
XML Formats Wonderware Guide to Creating InTouch Windows Programmatically
Elements Description
69
XML Formats Wonderware Guide to Creating InTouch Windows Programmatically
Elements Description
Example:
<TextColorDiscrete>
<Title>TextColorDiscrete1</Title>
<Expression>
<![CDATA[dTag001]]>
</Expression>
<OnColor><Name>Green</Name></OnColor>
<OffColor><Name>Red</Name></OffColor>
</TextColorDiscrete>
Minimal example:
<TextColorDiscrete>
<Expression>dTag001</Expression>
</TextColorDiscrete>
Elements Description
70
XML Formats Wonderware Guide to Creating InTouch Windows Programmatically
Elements Description
Example:
<TextColorAnalog>
<Title>TextColorAnalog1</Title>
<Expression>aTag001</Expression>
<Colors>
<Color1><Name>White</Name></Color1>
<Color2><Name>Red</Name></Color2>
<Color3><Name>Orange</Name></Color3>
<Color4><Name>Yellow</Name></Color4>
<Color5><Name>Green</Name></Color5>
<Color6><Name>Blue</Name></Color6>
<Color7><Name>Cyan</Name></Color7>
<Color8><Name>Magenta</Name></Color8>
<Color9><Name>Violet</Name></Color9>
<Color10><Name>Black</Name></Color10>
</Colors>
<Values>
<Value>10.0</Value> <Value>20.0</Value>
<Value>30.0</Value> <Value>40.0</Value>
<Value>50.0</Value> <Value>60.0</Value>
<Value>70.0</Value> <Value>80.0</Value>
<Value>90.0</Value>
</Values>
</TextColorAnalog>
Minimal example:
<TextColorAnalog>
<Expression>aTag001</Expression>
<Values>
<Value>10.0</Value>
<Value>20.0</Value>
<Value>30.0</Value>
<Value>40.0</Value>
<Value>50.0</Value>
71
XML Formats Wonderware Guide to Creating InTouch Windows Programmatically
<Value>60.0</Value>
<Value>70.0</Value>
<Value>80.0</Value>
<Value>90.0</Value>
</Values>
</TextColorAnalog>
Elements Description
Example:
<TextColorDiscreteAlarm>
<Title>TextColorDiscreteAlarm1</Title>
<Expression>
<![CDATA[dTag001]]>
</Expression>
<NormalColor><Name>Black</Name></NormalColor>
<AlarmColor><Name>Red</Name></AlarmColor>
</TextColorDiscreteAlarm>
Minimal example:
<TextColorDiscreteAlarm>
<Expression>dTag001</Expression>
</TextColorDiscreteAlarm>
Elements Description
72
XML Formats Wonderware Guide to Creating InTouch Windows Programmatically
Elements Description
Example:
<TextColorAnalogAlarm>
<Title>TextColorAnalogAlarm1</Title>
<Expression>
<![CDATA[aTag001]]>
</Expression>
<Value>
<LoLoColor><Name>Red</Name><LoLoColor>
<LoColor><Name>DarkRed</Name><LoColor>
<NormalColor><Name>Black</Name></NormalColor>
<HiColor><Name>DarkGreen</Name></HiColor>
<HiHiColor><Name>Green</Name></HiHiColor>
</Value>
</TextColorAnalogAlarm>
Example of a Deviation Type Alarm:
<TextColorAnalogAlarm>
<Title>TextColorAnalogAlarm1</Title>
<Expression>
<![CDATA[aTag001]]>
</Expression>
<Deviation>
<NormalColor><Name>Black</Name></NormalColor>
<MinorColor><Name>Green</Name></MinorColor>
<MajorColor><Name>Red</Name></MajorColor>
</Deviation>
</TextColorAnalogAlarm>
Example of a ROC Type Alarm:
<TextColorAnalogAlarm>
73
XML Formats Wonderware Guide to Creating InTouch Windows Programmatically
<Title>TextColorAnalogAlarm1</Title>
<Expression>
<![CDATA[aTag001]]>
</Expression>
<ROC>
<NormalColor><Name>Black</Name></NormalColor>
<ROCColor><Name>Red</Name></ROCColor>
</ROC>
</TextColorAnalogAlarm>
Vertical Slider
You can specify the following elements for a vertical slider animation link.
Elements Description
Example:
<SliderVertical>
<Title>SliderVertical1</Title>
<ReferenceLocation>Bottom</ReferenceLocation>
<TopValue>10.0</TopValue>
<BottomValue> 110.0</BottomValue>
<UpwardMovement> 20.0</UpwardMovement>
<DownwardMovement> 120.0</DownwardMovement>
<Expression> <![CDATA[aTag001]]> </Expression>
</SliderVertical>
Minimal example:
<SliderVertical>
<Expression>aTag001</Expression>
</SliderVertical>
74
XML Formats Wonderware Guide to Creating InTouch Windows Programmatically
Horizontal Slider
The following elements can be specified for a horizont al slider animation link.
Elements Description
Example:
<SliderHorizontal>
<Title>SliderHorizontal1</Title>
<ReferenceLocation>Left</ReferenceLocation>
<LeftValue>10.0</LeftValue>
<RightValue>120.0</RightValue>
<LeftMovement>20.0</LeftMovement>
<RightMovement>150.0</RightMovement>
<Expression>
<![CDATA[aTag001]]>
</Expression>
</SliderHorizontal>
Minimal example:
<SliderHorizontal>
<Expression><![CDATA[aTag001]]></Expression>
</SliderHorizontal>
Object Height
The following elements can be specified for an object height animation link. An object height animation
link cannot be us ed with an orientation animation link.
75
XML Formats Wonderware Guide to Creating InTouch Windows Programmatically
Elements Description
Example:
<ObjectSizeHeight>
<Title>ObjectSizeHeight1</Title>
<Expression> <![CDATA[aTag001]]> </Expression>
<SizeMin>0.0</SizeMin>
<SizeMax>100.0</SizeMax>
<MinPercent>0.0</MinPercent>
<MaxPercent>100.0</MaxPercent>
<SizeAnchor>Top</SizeAnchor>
</ObjectSizeHeight>
Minimum example:
<ObjectSizeHeight>
<Expression>aTag001</Expression>
</ObjectSizeHeight>
Object Width
The following elements can be specified for an object size width animation link. An object width
animation link cannot be used with an orientation animation link.
Elements Description
76
XML Formats Wonderware Guide to Creating InTouch Windows Programmatically
Elements Description
Example:
< ObjectSizeWidth>
<Title>ObjectSizeWidth1</Title>
<Expression> <![CDATA[aTag001]]> </Expression>
<SizeMin>0.0</SizeMin>
<SizeMax>100.0</SizeMax>
<MinPercent>0.0</MinPercent>
<MaxPercent>100.0</MaxPercent>
<SizeAnchor>Center</SizeAnchor>
</ObjectSizeWidth>
Minimum example:
<ObjectSizeWidth>
<Expression>aTag001</Expression>
</ObjectSizeWidth>
Vertical Location
The following elements can be specified for a vertical location animation link. An objec t vertical location
animation link cannot be used with an orientation animation link.
Elements Description
77
XML Formats Wonderware Guide to Creating InTouch Windows Programmatically
Elements Description
Example:
<LocationVertical>
<Title>LocationVertical1</Title>
<Expression>
<![CDATA[aTag001]]>
</Expression>
<MinValue>0.0</MinValue>
<MaxValue>100.0</MaxValue>
<DecreaseMovement>0</DecreaseMovement>
<IncreaseMovement>100</IncreaseMovement>
</LocationVertical>
Minimal example:
<LocationVertical>
<Expression>aTag001</Expression>
</LocationVertical>
Horizontal Location
The following elements can be specified for a horizont al location animation link. An object horiz ontal
location animation link cannot be used with an orientation animation link.
Elements Description
78
XML Formats Wonderware Guide to Creating InTouch Windows Programmatically
Elements Description
Example:
<LocationHorizontal>
<Title>LocationHorizontal1</Title>
<Expression>
<![CDATA[aTag001]]>
</Expression>
<MinValue>0.0</MinValue>
<MaxValue>100.0</MaxValue>
<DecreaseMovement>0</DecreaseMovement>
<IncreaseMovement>100</IncreaseMovement>
</LocationHorizontal>
Minimal example:
<LocationHorizontal>
<Expression>aTag001</Expression>
</LocationHorizontal>
Elements Description
79
XML Formats Wonderware Guide to Creating InTouch Windows Programmatically
Example:
<PercentFillVertical>
<Title>PercentFillVertical1</Title>
<Expression><![CDATA[aTag001]]></Expression>
<FillMin>0.0</FillMin>
<FillMax>100.0</FillMax>
<FillMinPercent>0</FillMinPercent>
<FillMaxPercent>100</FillMaxPercent>
<FillColor><Name>Purple</Name></FillColor>
<FillDirection>Up</FillDirection>
</PercentFillVertical>
Minimal example:
<PercentFillVertical>
<Expression>aTag001</Expression>
<FillDirection>Up</FillDirection>
</PercentFillVertical>
Elements Description
Example:
<PercentFillHorizontal>
<Title>PercentFillHorizontal1</Title>
<Expression><![CDATA[aTag001]]></Expression>
<FillMin>0.0</FillMin>
<FillMax>100.0</FillMax>
<FillMinPercent>0</FillMinPercent>
<FillMaxPercent>100</FillMaxPercent>
<FillColor><Name>Purple</Name></FillColor>
80
XML Formats Wonderware Guide to Creating InTouch Windows Programmatically
<FillDirection>Right</FillDirection>
</PercentFillHorizontal>
Minimal example:
<PercentFillHorizontal>
<Expression>aTag001</Expression>
<FillDirection>Left</FillDirection>
</PercentFillHorizontal>
Discrete Pushbutton
The following elements can be specified for a discrete pushbutton animation link.
Elements Description
Example:
<ButtonDiscreteValue>
<Title>ButtonDiscreteValue1</Title>
<ButtonType>Reverse</ButtonType>
<KeyAssignment>
<KeyCode>F2</KeyCode>
<KeyFlags>Shift</KeyFlags>
</KeyAssignment>
<Expression>
<![CDATA[dTag001]]>
</Expression>
</ButtonDiscreteValue>
Minimal example:
<ButtonDiscreteValue>
<ButtonType>Reverse</ButtonType>
<Expression><![CDATA[dTag001]]></Expression>
</ButtonDiscreteValue>
81
XML Formats Wonderware Guide to Creating InTouch Windows Programmatically
You can specify the following elements for a show window pushbutton animation link.
Element Description
Example:
<ButtonShowWindow>
<Title>ButtonShowWindow1</Title>
<WindowName>
<![CDATA[Window006]]>
</WindowName>
<WindowName>Window007</WindowName>
<WindowName><![CDATA[SliderWindow]]></WindowName>
</ButtonShowWindow>
Element Description
Example:
<ButtonHideWindow>
<Title>ButtonHideWindow1</Title>
<WindowName>
<![CDATA[Window001]]>
</WindowName>
<WindowName>Window002</WindowName>
<WindowName> <![CDATA[SliderWindow]]> </WindowName>
</ButtonHideWindow>
Visibility
The following elements can be specified for a visibility animation link.
Elements Description
82
XML Formats Wonderware Guide to Creating InTouch Windows Programmatically
Elements Description
Example:
<Visibility>
<Title>Visibility1</Title>
<Expression>dTag001</Expression>
<State>On</State>
</Visibility>
Minimal example:
<Visibility>
<Expression>dTag001</Expression>
<State>On</State>
</Visibility>
Blink
The following elements can be specified for a blink animation link. The animation link blinks when the
expression is true.
Elements Description
Example:
<Blink>
<Title>Blink1</Title>
83
XML Formats Wonderware Guide to Creating InTouch Windows Programmatically
<Expression>dTag001</Expression>
<TextColor><R>0</R><G>0</G><B>0</B></TextColor>
<LineColor><R>0</R><G>0</G><B>0</B></LineColor>
<FillColor><R>0</R><G>255</G><B>0</B></FillColor>
<BlinkAttribute>Invisible</BlinkAttribute>
<BlinkSpeed>Slow</BlinkSpeed>
</Blink>
Minimal example:
<Blink>
<Expression>dTag001</Expression>
<BlinkAttribute>Visible</BlinkAttribute>
<BlinkSpeed>Fast</BlinkSpeed>
</Blink>
Orientation
The following elements can be specified for an orientation animation link. An orientation animation link
cannot be used with slider, size, location, or percent fill animation links.
Elements Description
Example:
<Orientation>
<Title>Orientation1</Title>
<Expression> <![CDATA[aTag001]]> </Expression>
<X>0</X> <Y>0</Y>
<CWMax>100.0</CWMax>
<CWRotation>360.0</CWRotation>
84
XML Formats Wonderware Guide to Creating InTouch Windows Programmatically
<CCWMax>0.0</CCWMax>
<CCWRotation>0.0</CCWRotation>
</Orientation>
Minimal example:
<Orientation>
<Expression>aTag001</Expression>
</Orientation>
Disable
The following elements can be specified for a disable animation link.
Elements Description
Example:
<Disable>
<Title>Disable1</Title>
<Expression>dTag001</Expression>
<State>On</State>
</Disable>
Minimal example:
<Disable>
<Expression>dTag001</Expression>
<State>On</State>
</Disable>
Static Tooltip
The following elements can be specified for a static tooltip animation link.
Elements Description
Example:
<TooltipStatic>
<Title>TooltipStatic1</Title>
<Message>
<![CDATA[ Click here to win a million dollars!
]]>
</Message>
</TooltipStatic>
85
XML Formats Wonderware Guide to Creating InTouch Windows Programmatically
Dynamic Tooltip
The following elements can be specified for a dynamic tooltip animation link.
Elements Description
Example:
<TooltipTag>
<Title>TooltipTag1</Title>
<Expression>
<![CDATA[sTag001]]>
</Expression>
</TooltipTag>
Elements Description
Example:
<ValueDisplayDiscrete>
<Title>ValueDisplayDiscrete1</Title>
<Expression>
<![CDATA[dTag001]]>
</Expression>
<OnMessage>
<![CDATA[Pump is On]]>
</OnMessage>
<OffMessage>
<![CDATA[Pump is Off]]>
</OffMessage>
</ValueDisplayDiscrete>
Minimal example:
86
XML Formats Wonderware Guide to Creating InTouch Windows Programmatically
< ValueDisplayDiscrete>
<Expression>dTag001</Expression>
</ValueDisplayDiscrete>
Elements Description
Example:
<<ValueDisplayAnalog>
<Title>ValueDisplayAnalog1</Title>
<Expression>
<![CDATA[aTag001]]>
</Expression>
</ValueDisplayAnalog>
Elements Description
Example:
<ValueDisplayString>
<Title>ValueDisplayString1</Title>
<Expression>
<![CDATA[sTag001]]>
</Expression>
</ValueDisplayString>
87
XML Formats Wonderware Guide to Creating InTouch Windows Programmatically
Elements Description
Do not use WhileLeftDown and WhileKey Down animation links in the same object.
Example:
<WhileLeftDown>
<Text>
<![CDATA[
First line of script text
Second line of script text
N-th line of script text
]]>
</Text>
<Frequency>1000</Frequency>
</WhileLeftDown>
<
88
XML Formats Wonderware Guide to Creating InTouch Windows Programmatically
]]>
</OnLeftUp>
Elements Description
Do not use both WhileRightDown and WhileRightKeyDown animation links in the same object.
Example:
<WhileRightDown>
<Text>
<![CDATA[
First line of script text
Second line of script text
N-th line of script text
]]>
</Text>
<Frequency>1000</Frequency>
</WhileRightDown>
89
XML Formats Wonderware Guide to Creating InTouch Windows Programmatically
Elements Description
Do not use WhileMiddleDown and WhileMiddleK eyDown animation links in the same object.
Example:
90
XML Formats Wonderware Guide to Creating InTouch Windows Programmatically
<WhileMiddleDown>
<Text>
<![CDATA[
First line of script text
Second line of script text
N-th line of script text
]]>
</Text>
<Frequency>1000</Frequency>
</WhileMiddleDown>
On Mouse Over
The following elements can be specified for an OnMouseOver animation link.
Elements Description
Example:
<OnMouseOver>
<Text>
<![CDATA[
First line of script text
Second line of script text
N-th line of script text
]]>
</Text>
91
XML Formats Wonderware Guide to Creating InTouch Windows Programmatically
<Timeout>250</Timeout>
</OnMouseOver>
Elements Description
Elements Description
Example:
<RightKey>
<KeyCode>B</KeyCode>
<KeyFlags>Ctrl</KeyFlags>
92
XML Formats Wonderware Guide to Creating InTouch Windows Programmatically
</RightKey>
Elements Description
<MiddleKey>
<KeyCode>B</KeyCode>
<KeyFlags>Ctrl</KeyFlags>
</MiddleKey>
93
Index
A
alarmcolor element
discrete alarm fill color • 67
discrete alarm line color • 63
discrete alarm text color • 72
animation links
bitmap objects • 47
button objects • 48
ellipse objects • 40
hv line objects • 41
line objects • 41
polygon objects • 44
polyline objects • 43
rectangle objects • 37
rounded rectangle objects • 38
text objects • 45
vertical line objects • 42
ArchestrA IDE Extension • 20
B
blinkattribute element • 83
blinkspeed element • 83
bottomvalue element, vertical slider • 74
buttondiscretevalue element • 81
buttonhidewindow element • 82
buttonshowwindow element • 81
buttontype element • 81
C
ccwmax element • 84
ccwrotation element • 84
CDA TA
user supplied text • 26
window scripts • 34
cell objects, unsupported • 55
ckeyflags element • 92
color elements • 26
colors
RGB element • 26
colors element • 66
COMMA NDLOGFILE command • 15
commands
COMMA NDLOGFILE • 15
GO • 15
NEWWINDOWNAME • 15
OLDW INDOW NAME • 15
OUTP UTFILE • 15
OUTP UTTA RGE T • 15
OUTP UTTA RGE TNAME • 15
PRINTAPPLICA TIONINFORMA TION • 15
REFERE NCE TYPE • 15
SEARCHFOR • 15
VERSION • 15
WINDOWCREA TE • 15
WINDOWDELE TE • 15
WINDOWMAKERCOMMA NDFILE • 15
WINDOWNAME • 15
WINDOWRE NAME • 15
XMLFILEPA TH • 15
cornerdimension element • 36
cornerdimension element • 38
CROSSREFE RENCE command • 15
cwmax element • 84
cwrotation element • 84
D
declaration, XML • 25
decreasemovement element
horizontal location • 78
vertical location • 77
deviation element • 64
dimension elements
bitmap objects • 47
button objects • 48
definition • 29
ellipse objects • 40
rectangle objects • 37
rounded rectangle objects • 38
smartsymbols • 50, 52
text objects • 45
downwardmovement element • 74
E
echo character element • 60
echocharacters element • 60
encryptenabled element • 60
examples
analog alarm fill color • 68
analog alarm line color • 64
analog alarm text color • 72
analog fill color • 66
analog line color • 62
analog text color • 70
analog user input • 59
analog value display • 87
bitmap objects • 47
blink animation • 83
button objects • 48
deviation alarm • 64
dimension element • 29
disable animation • 85
discrete alarm fill color • 67
discrete alarm line color • 63
discrete alarm text color • 72
discrete fill color • 65
discrete line color • 61
discrete pushbutton • 81
discrete text color • 70
discrete user input • 57
discrete value display • 86
dynamic tooltip animation • 86
ellipse objects • 40
expression • 29
hide window pushbutton • 82
horizontal line objects • 41
horizontal location • 78
horizontal percent fill • 80
horizontal sliders • 75
ini file • 17
key code strings • 30
left key equivalent • 92
line objects • 41
object height • 75
object width • 76
on left key double click • 89
on left key down • 88
on left key up • 88
on middle key double click • 91
on middle key down • 90
on middle key up • 91
on mous e over • 91
on right key double click • 90
on right key down • 89
on right key up • 90
onhide • 35
onshow window script • 34
orientation animation • 84
pen elements • 28
polygon objects • 44
polyline objects • 43
rectangle objects • 37
RGB elements • 26
ROC alarm • 64
rounded rectangle objects • 38
show window • 81
smartsymbols • 50, 51
static tooltip animation • 85
string value display • 87
text objects • 45
user input string • 60
vertical location • 77
vertical percent fill • 79
vertical slider • 74
visibility animation links • 82
while left key down • 88
while middle key down • 90
while right key down • 89
whileshowing • 35
window elements • 32
XML declaration • 25
expression elements
analog user input • 59
analog value display • 87
blink • 83
disable animation • 85
discrete alarm fill color • 67
discrete alarm line color • 63
discrete alarm text color • 72
discrete fill color • 65
discrete line color • 61
discrete pushbutton • 81
discrete text color • 70
discrete user input • 57
discrete value display • 86
dynamic tooltip • 86
horizontal location • 78
horizontal percent fill • 80
horizontal sliders • 75
object height • 75
object width • 76
orientation animation • 84
string value displays • 87
vertical location • 77
vertical percent fill • 79
vertical slider • 74
visibility animation links • 82
expressions • 29
F
file header, XML • 25
fillcolor element
blink element • 83
fillcolor element
bitmap objects • 47
default value • 36
ellipse objects • 40
horizontal percent fill • 80
polygon objects • 44
rectangle objects • 37
rounded rectangle objects • 38
vertical percent fill • 79
fillcoloranalog element • 66
fillcoloranalogalarm element • 68
fillcolordiscrete element • 65
fillcolordiscretealarm element • 67
filldirection element
horizontal percent fill • 80
vertical percent fill • 79
fillmax element
horizontal percent fill • 80
vertical percent fill • 79
fillmaxpercent element
horizontal percent fill • 80
vertical percent fill • 79
fillmin element
horizontal percent fill • 80
vertical percent fill • 79
fillminpercent element
horizontal percent fill • 80
vertical percent fill • 79
flip element • 36
font element • 36
fontsize element • 36
fontstyle element • 36
fontweight element • 36
framestyle elements • 32
frequency element
while left key down • 88
while middle key down • 90
while right key down • 89
whileshowing window • 35
G
GO command • 15
H
highcolor element • 64
hihicolor element • 64
historical trend objects, unsupported • 55
I
increasemovement element
horizontal location • 78
vertical location • 77
inputonly element
analog user input • 59
discrete user input • 57
K
keyassignment element
analog user input • 59
discrete pushbutton • 81
discrete user input • 57
keycode element • 92
keypadenabled element • 59, 60
L
leftmovement element • 75
left value element • 75
linecolor element • 83
locationhorizontal element • 78
locationvertical element • 77
locolor element • 64
lolocolor element • 64
M
majorcolor element • 64
maxanalogvalue element • 59
max value element
horizontal location • 78
vertical location • 77
message elements
analog user input • 59
discrete user input • 57
static tooltip animation links • 85
minanalogvalue element • 59
minorcolor element • 64
minvalue element
horizontal location • 78
vertical location • 77
N
NEWWINDOWNAME command • 15
normalcolor element • 64
discrete alarm fill color • 67
discrete alarm line color • 63
discrete alarm text color • 72
O
objectlist elements • 32
objects, windows • 35
objectsizeheight element • 75
objectsizewidth element • 76
offcolor element
discrete fill color • 65
discrete line color • 61
discrete text color • 70
offmessage elements
discrete user inputs • 57
discrete value display • 86
OLDW INDOW NAME command • 15
oncolor element
discrete fill color • 65
discrete line color • 61
discrete text color • 70
onleftdown element • 88
onleftup element • 88
onmessage elements
discrete user input • 57
discrete value display • 86
OUTP UTFILE command • 15
OUTP UTTA RGE T command • 15
OUTP UTTA RGE TNAME command • 15
P
passwordcharacter element • 60
pen color elements • 28
pen dimensions • 37
pen element
bitmap objects • 47
definition • 28
ellipse object • 40
horizontal line objects • 41
line objects • 41
polygon object • 44
polyline objects • 43
rectangle object • 37
rounded rectangle object • 38
vertical line objects • 42
pen style elements • 28
pen width elements • 28
pencolor element • 36
penstyle element
default value • 36
limitations • 37
penwidth element
default value • 36
limitations • 37
percentfillhorizontal element • 80
percentfillvertical element • 79
point element • 28
points element
horizontal line objects • 41
line objects • 41
polygon objects • 44
polyline objects • 43
vertical line objects • 42
PRINTAPPLICA TIONINFORMA TION command • 15
Process InTouch Command File • 20
R
real-time trend objects, unsupported • 55
referencelocation element
horizontal slider • 75
vertical slider • 74
REFERE NCE TYPE command • 15
resetprompt element
discrete user input • 57
RGB elements • 26
rightmovement element • 75
right value element, horizontal slider • 75
ROC element • 64
roccolor element • 64
rotation element • 36, 45
S
schemas
limitations • 25
script elements
on mous e over • 91
while left key down • 88
while middle key down • 90
while right key down • 89
whileshowing window element • 35
scripts • 34
SEARCHFOR command • 15
setprompt element • 57
sizeanchor element
object height • 75
object width element • 76
sizecontrols element • 32
sizemax element
object height • 75
object width • 76
sizemaxpercent element
object height • 75
object width • 76
sizemin element
object height • 75
object width • 76
sizeminperc ent element
object height • 75
object width • 76
smartsymbols
example • 51
string replacement • 51
stringreplace element • 50
tag replacement • 51
soruceimage element • 47
state element
disable animation links • 85
visibility animation links • 82
strikeout element • 36
string replacement • 51
stringreplace elment • 50
symbol objects, unsupported • 55
symbolname element • 50, 52
T
tag replacement, smartsymbols • 51
tagreplace element • 50, 52
text, user supplied • 26
textcolor element
blink element • 83
default value • 36
textcoloranalog element • 70
textcoloranalogalarm element • 72
textcolordiscretealarm element • 72
textinfo element
button objects • 48
text objects • 45
textjustify element • 36
textstring element
button objects • 48
text objects • 45
timeout element • 91
title element
bitmap objects • 47
button objects • 48
ellipse objects • 40
horizontal line objects • 41
line objects • 41
polygon objects • 44
polyline objects • 43
rectangle objects • 37
rounded rectangle objects • 38
text objects • 45
vertical line objects • 42
tooltipstatic element • 85
tooltiptag element • 86
topvalue element • 74
transparent colors, bitmap objects • 47
transparent element
bitmap objects • 47
default value • 36
U
underline element • 36
upwardmovement element • 74
user supplied text • 26
V
value element
linecoloranalogalarm element • 64
valuedisplayanalog element • 87
valuedisplaydiscrete element • 86
valuedisplaystring element • 87
values element • 66
VERSION command • 15
virtual key codes • 30
virtual key flags • 30
visibility element • 82
W
whileleft down element • 88
window elements
backgroundcolor element • 32
comment element • 32
definition • 32
dimension element • 32
framestyle element • 32
objectlist • 32
sizecontrols • 32
title element • 32
titlebar element • 32
windowstyle element • 32
window objects
cornerdimension • 36
explanation • 35
fillcolor element • 36
flip element • 36
font element • 36
fontsize element • 36
fontstyle element • 36
fontweight element • 36
pencolor element • 36
penstyle element • 36
penwidth element • 36
rotation element • 36
strikeout element • 36
textcolor element • 36
textjustify element • 36
transparent element • 36
underline element • 36
window scripts
definition • 34
WINDOWCREA TE command • 15
WINDOWDELE TE command • 15
WINDOWMAKERCOMMA NDFILE command • 15
WINDOWNAME command • 15
windowname element • 81, 82
WINDOWRE NAME command • 15
windowstyle elements • 32
X
X element • 28, 84
XML
declaration • 25
extraneous elements • 25
file header • 25
XMLFILEPA TH command • 15
Y
Y element • 28, 84