Define tags in InTouch ME
- Last UpdatedFeb 06, 2025
- 3 minute read
To define data in an InTouch ME worksheet
-
Create a worksheet in InTouch ME.
-
In the Project Settings, select Options.

-
From the History Format dropdown, select AVEVA Historian.
-
Select Historian Configuration.
-
From the Connection Type dropdown, select Insight (Historian Publisher).

-
In Connection Name, type the name of a connection that you previously created and saved in Studio Database Gateway.
You can also type a tag name in curly brackets (e.g., {MyConnection}) in order to programmatically change the value of this setting during project run time. See "Reload" below.
-
(Optional) In Prefix, type a prefix to use for all tags saved in the database. This groups the tags together.
-
(Optional) Check the Enable store and forward box.
The historical data will be saved in your project folder (on the project runtime server). Please note that this can consume a large amount of hard drive space if the connection is unavailable for a long time.
-
(Optional) In Status, type the name of a project tag (Integer type) that will receive codes describing the status of the connection during project run time.
The specified tag can receive the following possible values:
-
1 = Connected to database server (Wonderware Historian or Wonderware Online).
-
2 = Not connected to database server (Wonderware Historian or Wonderware Online).
-
-
In Reload, type the name of a project tag that will trigger a reload of the connection during project run time.
When the value of this tag changes, all other connection settings that have been configured to use the values of project tags (see the preceding steps) will be updated and the connection will be reloaded according to those updated settings.
The connection to the database is reloaded only after the settings have been updated, and the settings are updated only when the value of the specified Reload tag changes. This is to make sure all of the settings are updated at the same time, rather than whenever the respective tag values change.
-
Under Gateway, type the host name or IP address and port number of the database gateway that your project will use.
The default settings are for the database gateway running on localhost — that is, on the same computer or device as the project runtime server.
-
Select OK.
If your project is configured to use a database gateway on another computer, make sure that database gateway is running before you try to run your project on its target device. If the database gateway is not running, your project will not be able to use it to connect to the specified database.
In contrast, if your project is configured to use the database gateway on localhost, you do not need to do anything — when you run your project, it in turn will automatically run the database gateway.