ITDeploy
ITDeploy
aveva.com
© 2015-2024 by AVEVA Group Limited or its subsidiaries. All rights reserved.
No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any
means, mechanical, photocopying, recording, or otherwise, without the prior written permission of AVEVA
Group Limited. 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, AVEVA 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 AVEVA. 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. AVEVA, the AVEVA logo and logotype, OSIsoft, the OSIsoft logo and logotype, ArchestrA, Avantis,
Citect, DYNSIM, eDNA, EYESIM, InBatch, InduSoft, InStep, IntelaTrac, InTouch, Managed PI, OASyS, OSIsoft
Advanced Services, OSIsoft Cloud Services, OSIsoft Connected Services, OSIsoft EDS, PIPEPHASE, PI ACE, PI
Advanced Computing Engine, PI AF SDK, PI API, PI Asset Framework, PI Audit Viewer, PI Builder, PI Cloud
Connect, PI Connectors, PI Data Archive, PI DataLink, PI DataLink Server, PI Developers Club, PI Integrator for
Business Analytics, PI Interfaces, PI JDBC Driver, PI Manual Logger, PI Notifications, PI ODBC Driver, PI OLEDB
Enterprise, PI OLEDB Provider, PI OPC DA Server, PI OPC HDA Server, PI ProcessBook, PI SDK, PI Server, PI Square,
PI System, PI System Access, PI Vision, PI Visualization Suite, PI Web API, PI WebParts, PI Web Services, PRiSM,
PRO/II, PROVISION, ROMeo, RLINK, RtReports, SIM4ME, SimCentral, SimSci, Skelta, SmartGlance, Spiral Software,
WindowMaker, WindowViewer, and Wonderware are trademarks of AVEVA and/or its subsidiaries. All other
brands may be trademarks of their respective owners.
U.S. GOVERNMENT RIGHTS
Use, duplication or disclosure by the U.S. Government is subject to restrictions set forth in the license agreement
with AVEVA Group Limited or its subsidiaries and as provided in DFARS 227.7202, DFARS 252.227-7013, FAR
12-212, FAR 52.227-19, or their successors, as applicable.
Publication date: Monday, July 29, 2024
Publication ID: 1401922
Contact information
AVEVA Group Limited
High Cross
Madingley Road
Cambridge
CB3 0HB. UK
https://sw.aveva.com/
For information on how to contact sales and customer training, see https://sw.aveva.com/contact.
For information on how to contact technical support, see https://sw.aveva.com/support.
To access the AVEVA Knowledge and Support center, visit https://softwaresupport.aveva.com.
© 2015-2024 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 2
Contents
Chapter 1 Deploy and work with Terminal Services and Remote Desktop Services. . . 5
Plan for Terminal Server applications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Deploy InTouch applications in a Terminal Services environment. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Alarms in a Terminal Services environment. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Security in a Terminal Services environment. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
I/O in a Terminal Services environment. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Script execution in a Terminal Services environment. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Log on to a terminal session properly to run InTouch. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Alarm query syntax in a Terminal Service environment. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Miscellaneous limitations in a Terminal Services environment. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Retrieve information about the InTouch client session using scripts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
TseGetClientId() function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
TseGetClientNodeName() function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
TseQueryRunningOnConsole() function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
TseQueryRunningOnClient() function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Remote Desktop Services overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Remote Desktop Services role services. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Secure your Remote Desktop Services (RDS) connections. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Windows Server 2016 Remote Desktop Services best practices. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
© 2015-2024 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 3
AVEVA™ InTouch HMI
Contents
© 2015-2024 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 4
Chapter 1
Terminal Services is a configurable service included in the Microsoft Windows Server operating systems that runs
Windows-based applications centrally from a server. In Terminal Services, client computers access the server
node, where multiple instances of InTouch software applications run simultaneously.
WindowViewer WindowViewer WindowViewer
Thin Client Thin Client Thin Client
Corporate Network
InTouch
Terminal Server
Supervisory Network
© 2015-2024 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 5
AVEVA™ InTouch HMI
Chapter 1 – Deploy and work with Terminal Services and Remote Desktop Services
© 2015-2024 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 6
AVEVA™ InTouch HMI
Chapter 1 – Deploy and work with Terminal Services and Remote Desktop Services
Use security auditing to monitor intrusion attempts. If you suspect that your system is under any sort of attack,
then you can enable logging for an array of auditable events. By default, security logging/auditing is disabled
because it usually requires excessive processing resources.
Caution: Security auditing requires significant resources. Enable auditing when you evaluate your pilot server to
accurately estimate your InTouch application hardware requirements.
© 2015-2024 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 7
AVEVA™ InTouch HMI
Chapter 1 – Deploy and work with Terminal Services and Remote Desktop Services
DDE from MS Office (for example, Yes Excel and the InTouch HMI must be running
Hot-link configured in Excel) in the same session.
© 2015-2024 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 8
AVEVA™ InTouch HMI
Chapter 1 – Deploy and work with Terminal Services and Remote Desktop Services
• TseGetClientNodeName() function
• TseQueryRunningOnConsole() function
• TseQueryRunningOnClient() function
TseGetClientId() function
Returns a string version of the client ID (the TCP/IP address of the client) if the View application is running on a
Terminal Server client. This client ID is used internally to generate SuiteLink server names and logger file names.
Otherwise, the TseGetClientId() function returns an empty string.
Syntax
MessageResult=TseGetClientId();
Example
The client IP address 10.103.202.1 is saved to the MsgTag tag.
MsgTag=TseGetClientID();
TseGetClientNodeName() function
Returns the client node name if the View application is running on a Terminal Server client assigned a name that
can be identified by Windows. Otherwise, the TseGetClientNodeName() function returns an empty string.
Syntax
MessageResult=TseGetClientNodeName();
Example
The client node name is returned as the value assigned to the MsgTag tag.
MsgTag=TseGetClientNodeName();
TseQueryRunningOnConsole() function
The TseQueryRunningOnConsole() function can be run from a script to indicate whether the View application is
running on a Terminal Services console.
Syntax
Result=TseQueryRunningOnConsole();
Return value
Returns a non-zero integer value if the View application is running on a Terminal Services console. Otherwise, the
TseQueryRunningOnConsole() function returns a zero.
Example
IntTag is set to 1 if WindowViewer is running on a Terminal Services console.
IntTag=TseQueryRunningOnConsole();
TseQueryRunningOnClient() function
Returns a non-zero integer value if the View application is running on a Terminal Services client. Otherwise, it
returns a zero.
© 2015-2024 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 9
AVEVA™ InTouch HMI
Chapter 1 – Deploy and work with Terminal Services and Remote Desktop Services
Syntax
Result=TseQueryRunningOnClient();
Return value
Returns 0 if View is not running on a Terminal Services client.
Example
IntTag is set to 1 if WindowViewer is running on a Terminal Services client.
IntTag=TseQueryRunningOnClient;
© 2015-2024 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 10
AVEVA™ InTouch HMI
Chapter 1 – Deploy and work with Terminal Services and Remote Desktop Services
farm. RD Connection Broker is also used to provide users access to RemoteApp programs and virtual
desktops through RemoteApp and Desktop Connection.
• RD Virtualization Host: Remote Desktop Virtualization Host (RD Virtualization Host) integrates with Hyper-V
to host virtual machines and provide them to users as virtual desktops. You can assign a unique virtual
desktop to each user in your organization, or provide them shared access to a pool of virtual desktops.
© 2015-2024 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 11
AVEVA™ InTouch HMI
Chapter 1 – Deploy and work with Terminal Services and Remote Desktop Services
RD Gateway restricts access to Remote Desktop ports while supporting remote connections through a single
"Gateway" server. When using an RD Gateway server, all Remote Desktop services on your desktop and
workstations are routed through the RD Gateway. The RD Gateway server listens for Remote Desktop
requests over HTTPS (port 443), and connects the client to the Remote Desktop service on the target
machine. Refer to the steps here: http://technet.microsoft.com/en-us/library/cc770601.aspx
7. Configure Network Level Authentication for Remote Desktop Services Connections
Network Level Authentication requires that the user be authenticated to the RD Session Host server before a
session is created. Network Level Authentication increasing availability of the RD Session Host server
(reduces the risk of denial-of-service attacks of the RD Session Host server). https://
technet.microsoft.com/en-us/library/hh831778.aspx
8. Configure Server Authentication and Encryption Levels
By default, Terminal Services sessions use native Remote Desktop Protocol (RDP) encryption. However, RDP
does not provide authentication to verify the identity of a terminal server. You can enhance the security of
Terminal Services sessions by using Transport Layer Security (TLS) 1.0 for server authentication and to
encrypt terminal server communications. The RDS and the client computer must be correctly configured for
TLS to provide enhanced security. By default, RDS connections between the client and server are encrypted
at the highest level of security available (128-bit), ensuring integrity and confidentiality of the data
transmitted.
© 2015-2024 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 12
Chapter 2
Distribute applications
Distributed applications typically have a central development station, central data storage, and client stations.
You use InTouch Network Application Development (NAD) to build and maintain distributed applications. NAD
allows many client stations to maintain a copy of a single application without restricting the development of that
application. Using an individual copy of the application provides Viewer redundancy. Client stations are
automatically notified when the application changes. You can create single computer, client-based, and server-
based InTouch applications.
You can also manage and deploy InTouch applications using the System Platform IDE.
InTouch Process
App. serial connection
© 2015-2024 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 13
AVEVA™ InTouch HMI
Chapter 2 – Distribute applications
Client-based architecture
In a client-based architecture, there is a unique copy of one InTouch application for each computer running
WindowViewer (View node) or in a unique location on a network server. In the following example, an application
is developed and tested on the development node and then copied to each View node.
Development Node View Node 1 View Node 2
Network
There is inherent redundancy because each node can be self-sufficient, and there is no limit to the number of
View nodes you can use.
Each View node must have an identical copy of the application and identical access to any network data sources,
such as I/O Servers or the IndustrialSQL Server. However, each View node maintains a separate conversation with
the shared server, which can result in increased network loading.
You can modify and test the application on the development node without affecting the running process.
However, you must distribute the modified application to the View nodes. You must shut down each View node
locally, copy the new application to it, and then restart.
Server-based architecture
A server-based architecture distributes a common InTouch application to several View nodes. In the following
figure, two View nodes access the same application from the development node.
Development Node
View Node 1 View Node 2
InTouch
App. Process
Network
© 2015-2024 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 14
AVEVA™ InTouch HMI
Chapter 2 – Distribute applications
Network
Note: If you configure your application to write historical data to the master application node's application
directory, all NAD nodes attempt to write their historical data to the master application. To avoid this, on each
NAD node, configure historical data to write to a local directory, not the master application node.
If you are distributing a large, complex application to numerous nodes, slow system response time may be
apparent on the initial download. Updates, however, are optimized. Application transfer may be a problem for
slow networks or over serial connections.
Also, be aware of other network constraints, such as the user of routers that filter out certain types of network
traffic and addresses.
© 2015-2024 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 15
AVEVA™ InTouch HMI
Chapter 2 – Distribute applications
Process
Network
Network
You can set up an InTouch application to identify an element of data stored on another node by using a three-
part addressing convention in an Access Name. The Access Name addressing convention includes the node
name, application name, and topic name where the remote data is located. An InTouch application obtains
remote data using the Access Name in combination with an item name. For more information about defining an
Access Name for a remote I/O Server, see Data Access with I/O in AVEVA™ InTouch HMI Application Development
Guide.
Note: When you create Access Names in WindowMaker, if the Access Name uses the SuiteLink protocol, the
software prevents Access Names from accessing the same node, application and topic. Do not use the
IOSetAccessName() function to redirect Access Names to duplicate ones during run time or else the redirected
Access Name will not work.
Process
Network
Network
Using a local I/O Server significantly increases the load on the process connection network. For example, three
nodes triples the traffic created by one node, as each node's requests must be separately processed.
For more information about defining an Access Name for a local I/O Server, see Data Access with I/O in AVEVA™
InTouch HMI Application Development Guide.
© 2015-2024 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 16
AVEVA™ InTouch HMI
Chapter 2 – Distribute applications
SuiteLink
The SuiteLink communications protocol is based on the TCP/IP protocol. Use SuiteLink for your high-speed
industrial applications, as it provides these features:
• Value Time Quality (VTQ), in which a timestamp and quality indicator are associated with all data values
delivered to VTQ-aware clients. The InTouch HMI is a VTQ-aware client whose tag data is delivered with a
VTQ indicator.
• Extensive diagnostics of the data throughput, the server loading, computer resource consumption, and
network transport are made accessible through the Microsoft Windows operating system performance
monitor.
• Consistent high data volumes can be maintained between applications regardless if the applications are on a
single node or distributed over a large number of nodes.
SuiteLink is not a replacement for DDE, FastDDE, or NetDDE. Each connection between a client and a server
depends on your network requirements.
Network
© 2015-2024 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 17
AVEVA™ InTouch HMI
Chapter 2 – Distribute applications
Network
© 2015-2024 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 18
AVEVA™ InTouch HMI
Chapter 2 – Distribute applications
A remote node retrieving data from a history file may not see data for the last hour of data (based on the logger
node's time). Remote trends can only view data that has been written to the logging node's disk.
Data for each tag checked for 'Log Data' is automatically written to disk after 22 samples for that tag have been
collected. If the HTUpdateToCurrentTime() function is called, data is written to disk regardless of the number of
samples collected. By default, data is written to disk once an hour. You can change this interval by adding the
following line to the INTOUCH.ini file:
ForceLogging=X;
Where X is minutes and can be set to any interval between 5 and 120.
Note: The NetDDE Helper service must be running when you use the distributed history system.
The following figure shows the configuration of a typical distributed history system using Network Application
Development (NAD) to distribute the application.
Node 1 Node 2
Node3
Log/Retrieve Retrieve
Retrieve Retrieve
Log/Retrieve
Remote
Local
History File
History File
(HistPrv1)
Nodes 1 and 2 contain copies of the same InTouch application; however, the application is configured to allow
only Node 1 to log to a local history file, whereas either node can retrieve from the local history file or the
remote history file. Node 3 is also logging to and retrieving from the remote history file location. Node 3, the
history provider, is assigned the name HistPrv1. Node 1 is both a development and run-time station, while Node
2 is just a run-time station.
Create this type of application
1. Create a history provider list. See Configure remote history providers.
© 2015-2024 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 19
AVEVA™ InTouch HMI
Chapter 2 – Distribute applications
2. Create and configure a historical trend object. For more information, see Trending Tag Data in AVEVA™
InTouch HMI Application Development Guide.
3. Configure the application for distributed logging. See Configure distributed historical logging.
4. Distribute the application. See Configure an InTouch application for NAD.
You can distribute your application manually or by using NAD. When you distribute your application, the
historical provider list file is distributed as part of the application.
After you have distributed your application, you can run the View nodes and retrieve both local tags and tags
from a remote history provider. While the application runs on all the View nodes, only the logging node logs to
the historical log file; other nodes can only read from it.
© 2015-2024 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 20
AVEVA™ InTouch HMI
Chapter 2 – Distribute applications
4. In the Provider name box, type the name you want to use for the new historical provider.
A provider name can be 16 alphanumeric characters or fewer.
5. Configure an InTouch history provider
a. Select InTouch provider.
b. In the UNC name box, type the UNC path to the InTouch application directory and then select Add.
The UNC path format is:
\\node_name\volume_name\directory\
If the UNC location is password-protected, you must first establish a node connection using Windows
Explorer.
6. Configure an AVEVA history provider
a. Select Historian.
b. In the Data source box, type the node name of the server where the Historian Server is installed.
c. From the Credentials drop-down list, select the credentials for authentication.
Note: For standalone InTouch applications, the credentials are retrieved from the Application Manager. For
managed InTouch applications, the credentials are retrieved from the Credential Manager of the Application
Server. For more information, see Work with Credential Manager in the AVEVA™ InTouch HMI Application
Development Guide.
7. Select Test connection to verify the connection to the Historian Server database. A message appears
indicating whether the connection to the database is successful or not.
© 2015-2024 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 21
AVEVA™ InTouch HMI
Chapter 2 – Distribute applications
2. Select the Enable historical logging check box to turn on global tag logging.
3. Select Store Log Files in Specific Directory, and then in the input box, type the path of the location where
the log files are stored.
You must type a valid Universal Naming Convention (UNC) path. For example, \\Node\Share\Path
If you are using NAD, make sure the path points to a folder other than the application folder.
4. In the Name of Logging Node box, type the name of the node that will be logging to the history log file.
© 2015-2024 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 22
AVEVA™ InTouch HMI
Chapter 2 – Distribute applications
This setting only allows the node named here to log to the file.
5. Select OK.
Note: When an application with the Enable Historical Logging option selected is distributed to a WindowViewer
node, that node checks this option to determine if it should log or not. If Enable Historical Logging is selected,
the possible settings are: Field equals name of Node - Logging enabled Field does not equal name of Node -
Logging disabled.
© 2015-2024 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 23
AVEVA™ InTouch HMI
Chapter 2 – Distribute applications
© 2015-2024 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 24
AVEVA™ InTouch HMI
Chapter 2 – Distribute applications
• Select Restart WindowViewer to have the WindowViewer node copy over the updated master
application (if configured to do so) and then restart itself.
• Select Prompt user to Restart WindowViewer to show the operator a message that the application has
changed. The operator can either restart WindowViewer with the application updates or continue using
the current application.
• Select Load Changes into WindowViewer to dynamically load in WindowViewer the changes made in
the development node. This may affect performance for large updates.
Note: It is recommended that you use the Load Changes into WindowViewer option only if the application
changes are minor and few in number. Examples of minor changes include changes made within an existing
window, resizing of graphic toolbar elements, adding new graphic toolbar elements, and reference
substitutions. When making changes that require that WindowViewer be restarted, such as adding new tags,
adding new windows, or changing the configuration—or if in doubt—use one of the Restart options instead.
• Select Prompt user to load changes into WindowViewer to show the operator a message that the
application has changed. The message prompts the operator to load the changes.
7. Select OK.
© 2015-2024 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 25
AVEVA™ InTouch HMI
Chapter 2 – Distribute applications
© 2015-2024 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 26
AVEVA™ InTouch HMI
Chapter 2 – Distribute applications
Data Type
Real (read only)
Example
If used in an analog display link, this system tag shows the current version of the application that is running
within WindowViewer.
$ApplicationVersion
See Also
$ApplicationChanged
RestartWindowViewer() function
Shuts down WindowViewer, copies the updated master application (if configured to do so), and then restarts
WindowViewer.
Category
system
Syntax
RestartWindowViewer();
Remarks
This function is used to update an application when the automatic update Network Application Development
(NAD) functions are not used.
Use the $ApplicationChanged system tag to determine when a NAD update has occurred.
You use the Notify Clients command to initiate a NAD update. However, the operator may want to delay the
update until a later time. You can use this function with a button action script so that the operator can restart
WindowViewer when it is convenient.
You could instead use the ReloadWindowViewer() function, which updates the View node without shutting down
WindowViewer.
See Also
$ApplicationChanged, ReloadWindowViewer()
ReloadWindowViewer() function
Dynamically updates WindowViewer with the updated master NAD application without any interruption in
service.
Category
system
Syntax
ReloadWindowViewer();
Allows the user control over reloading WindowViewer.
© 2015-2024 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 27
AVEVA™ InTouch HMI
Chapter 2 – Distribute applications
Remarks
Use this function to update an application when the automatic update Network Application Development (NAD)
functions are not used.
Use the $ApplicationChanged system tag to determine when a NAD update has occurred.
You use the Notify Clients command to initiate a NAD update. However, the operator may want to delay the
update until a later time. You can use this function with a button action script so that the operator can reload the
application in WindowViewer when it is convenient.
See Also
$ApplicationChanged
© 2015-2024 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 28
AVEVA™ InTouch HMI
Chapter 2 – Distribute applications
command after the latest update, NAD automatically begins downloading the latest application files at the next
polling period. Otherwise, it waits until the next Notify Clients command issued before an application download
takes place.
© 2015-2024 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 29
AVEVA™ InTouch HMI
Chapter 2 – Distribute applications
4. Select the Allow WindowViewer to dynamically change resolution check box if you want WindowViewer to
locally scale the master application.
5. In the Dynamic Resolution area, select one of the following:
• Select Use application resolution if you want WindowViewer to run the application at the resolution it
was developed for and ignore the node's resolution. For example, if the application was developed at
800x600 and the node's resolution is 1024x768, WindowViewer does not dynamically scale the
application. Instead, the application resolution remains at 800x600.
• Select Convert to screen video resolution if you want WindowViewer to run the application at the
node's resolution and ignore the resolution the application was developed at. For example, if the node is
running at 800x600 and the application was developed at 1280x1024, WindowViewer dynamically scales
the application to fit the node's 800x600 resolution.
• If the target resolution is different from the screen resolution when the application was created,
then WindowViewer will scale to the current screen resolution from the original application
resolution instead. The original application resolution is the screen resolution when the application
was created regardless of the target resolution settings. For example, if the application was
developed at 1920x1080 with a target resolution of 1280x1024 and the view node is running the
application at resolution of 800x600, WindowViewer will dynamically scale the application to use the
original application resolution of 1920x1080. For more information, see Original Application
Resolution.
• Select Custom resolution if you want WindowViewer to run the application at a specific resolution you
specify in the Width (X) and Height (Y) (must be integer values) boxes. The application's resolution and
the node's resolution are both ignored. For example, if Width (X) and Height (Y) are set to 512 and 384,
respectively, the application is dynamically scaled to fit in a 512x384-pixel area on the node's screen.
• If the target resolution is different from the screen resolution when the application was created,
then WindowViewer will scale to the current screen resolution from the original application
resolution instead. The original application resolution is the screen resolution when the application
was created regardless of the target resolution settings.
6. Select OK.
© 2015-2024 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 30
AVEVA™ InTouch HMI
Chapter 2 – Distribute applications
3. Select the Lock Window Size check box. By default, the check box is not selected.
4. Select Save.
Lock the application resolution from Application Manager
1. Open Application Manager.
2. Select the application you want to configure.
3. Select File on the menu bar, then select Properties.
The Properties dialog box appears.
4. Select the Lock Window Size switch. By default, the check box is not selected.
© 2015-2024 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 31
AVEVA™ InTouch HMI
Chapter 2 – Distribute applications
5. Select OK.
© 2015-2024 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 32
AVEVA™ InTouch HMI
Chapter 2 – Distribute applications
© 2015-2024 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 33
AVEVA™ InTouch HMI
Chapter 2 – Distribute applications
© 2015-2024 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 34
AVEVA™ InTouch HMI
Chapter 2 – Distribute applications
2. Select Next. The InTouch Application Publisher – Step 2 of 4 dialog box appears.
© 2015-2024 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 35
AVEVA™ InTouch HMI
Chapter 2 – Distribute applications
© 2015-2024 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 36
AVEVA™ InTouch HMI
Chapter 2 – Distribute applications
© 2015-2024 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 37
AVEVA™ InTouch HMI
Chapter 2 – Distribute applications
4. Specify the folder to publish to the InTouch application to. Do any of the following:
• Browse to an existing folder.
• Select Make New Folder to create a new folder or folder structure.
5. Select OK. The Publish InTouch Application progress dialog box appears.
6. When publishing is complete, select Close. A directory containing the new published InTouch application is
created in the selected folder. You can now copy it to any run-time node.
© 2015-2024 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 38
AVEVA™ InTouch HMI
Chapter 2 – Distribute applications
© 2015-2024 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 39
Chapter 3
You can run managed InTouch applications on remote nodes by deploying InTouchViewApp instances to those
nodes.
You can also deploy changes of the InTouch application and contained Industrial Graphics to these nodes and
select whether to accept or decline the changes for each node.
The following graphic shows how managed InTouch applications are deployed to run-time nodes.
© 2015-2024 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 40
AVEVA™ InTouch HMI
Chapter 3 – Use managed InTouch applications at run time
© 2015-2024 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 41
AVEVA™ InTouch HMI
Chapter 3 – Use managed InTouch applications at run time
3. On the Object menu, select Deploy. The Deploy dialog box appears.
4. Select OK. The complete InTouch application is copied to the operator node.
© 2015-2024 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 42
AVEVA™ InTouch HMI
Chapter 3 – Use managed InTouch applications at run time
© 2015-2024 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 43
AVEVA™ InTouch HMI
Chapter 3 – Use managed InTouch applications at run time
Depending on the nature of the change, you may be prompted to restart the WindowViewer application, or just
reload it. You can also set the behavior of WindowViewer for application changes, such as:
• How WindowViewer accepts or rejects these changes.
• How frequently WindowViewer should remind you to reload or restart WindowViewer when changes are
pending.
Accept new application versions at the operator node
• Select Yes. The changes to the managed InTouch application are copied to the operator node and
WindowViewer restarts or reloads.
Set the behavior of WindowViewer for application changes
1. Open the managed InTouch application in WindowMaker.
2. On the File menu, point to Configure, and then select WindowViewer.
The WindowViewer configuration screen appears.
3. Select the Managed Application tab.
4. In the Change Mode area, configure how WindowViewer responds when changes are deployed. Do any of
the following:
© 2015-2024 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 44
AVEVA™ InTouch HMI
Chapter 3 – Use managed InTouch applications at run time
• Select Ignore Changes to have WindowViewer ignore any deployed changes. You can manually configure
the RestartWindowViewer() and ReloadWindowViewer() script functions to accept the changes
depending on the $ApplicationChanged system tag.
• Select Restart WindowViewer to have WindowViewer restart automatically.
• Select Prompt user to restart WindowViewer to have WindowViewer prompt you to restart
WindowViewer.
• Select Load changes into WindowViewer to have WindowViewer load the changes automatically.
• Select Prompt user to load changes into WindowViewer to have WindowViewer prompt you to load
changes into WindowViewer.
Note: If you select the Load changes into.. or Prompt user to load.. options, WindowViewer must be restarted
to recognize changes to a managed application. Even with these options selected, you will be prompted to
restart WindowViewer.
1. In the Reminder Interval (sec) box, type how often, in seconds, the user is reminded to load or restart the
changes into WindowViewer. This option is only available when the applicable change mode has been set.
Set the interval to 0 to not remind the user again.
2. Select OK.
Set the default behavior for WindowViewer
1. Open the managed InTouch application in WindowMaker.
2. On the File menu, point to Configure, and then select WindowViewer. The WindowViewer configuration
screen appears.
3. Select the Managed Application tab.
4. Select Restore Defaults. The settings are reset to their default values.
5. Select OK.
© 2015-2024 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 45
AVEVA™ InTouch HMI
Chapter 3 – Use managed InTouch applications at run time
© 2015-2024 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 46
AVEVA™ InTouch HMI
Chapter 3 – Use managed InTouch applications at run time
Note: Only one InTouchViewApp object needs to be deployed on the terminal server node to make the
application available to multiple terminal session clients. There is no need to deploy a separate InTouchViewApp
object on the terminal server node for each client that will use the application.
© 2015-2024 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 47
Chapter 4
AVEVA Edge provides users the option to deploy and reuse InTouch HMI applications. Using the Application
Manager, you can download applications to AVEVA Edge or upload them to CONNECT.
The downloaded zip files are compressed versions of InTouch HMI applications, suitable for deploying to edge
devices and containers on account of their low file sizes. The same zip can also be uploaded to CONNECT, where
it can be downloaded to other devices.
Note: If the AVEVA Edge related options are not enabled, launch WindowMaker.
© 2015-2024 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 48
AVEVA™ InTouch HMI
Chapter 4 – Use InTouch HMI applications in AVEVA Edge
5. Select .
A success message is displayed after the application is uploaded to CONNECT.
The uploaded application is displayed in the application list, prefixed with Cloud | <Application Name>.
The cloud application has the following options:
• Thumbnail
• Delete
• Download
All other options are disabled.
© 2015-2024 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 49
AVEVA™ InTouch HMI
Chapter 4 – Use InTouch HMI applications in AVEVA Edge
Once the application is uploaded to the Shared Drive it is accessible to all users. Users can then download
and delete the application from the cloud store.
1. Select .
The User Information dialog box appears.
2. Enter the username and password.
3. The password must comply with the following rules:
At least 6 characters long
1 lower case character
1 upper case character
1 number
1 special character
4. Select the access type.
5. Select Save.
8. After you have configured all the users, select to export the configured list.
9. In AVEVA Edge Management, upload the list, during the ‘Add a device’ procedure under the User
Configuration option.
After the edge device is configured and paired, the list of users will be created on the edge device. These
users will be able to access the web client and view the application graphics.
Import an existing user list
If you have a list of existing users to be included, prepare a .csv file in the required format.
© 2015-2024 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 50
AVEVA™ InTouch HMI
Chapter 4 – Use InTouch HMI applications in AVEVA Edge
3. Use the AVEVA Edge Management portal and Add a New Device. Upload the .csv file under the User
Configuration option.
For further deployment and pairing instructions, see the AVEVA Edge Help.
© 2015-2024 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 51