Attributes of the InTouchViewApp Object
- Last UpdatedApr 13, 2022
- 2 minute read
You can use the Application Server attributes of the InTouchViewApp object to access the run-time data of the tags of the associated InTouch application. This is useful for reading and writing InTouch data directly in the Galaxy name space and provides the same functionality as the InTouchProxy object.
In this example, a deployed managed InTouch application uses a real tag TankLevel to report the fill level of a tank and a discrete tag ValveOut to control the state of a valve.
To read and write the InTouch tags from the InTouchViewApp object instance
-
Right-click the deployed InTouchViewApp object, and then click Monitor.
The Object Viewer screen appears.
-
Right-click in the Watch area, and then click Add Attribute Reference.
The Add Attribute Reference dialog box appears.
-
In the Attribute Reference box, type the name of the InTouchViewApp object followed by a dot and the name of the InTouch tag you want to read or write. For example, TankDemo_001.TankLevel.
-
Click OK. The attribute is added to the Watch area.
-
Repeat steps 2 through 4 for any other InTouch tags you want to read or write.
-
You can now view the InTouch tag value.

-
To write to an InTouch tag value, do the following:
-
Double-click it. The Modify Value dialog box appears.
-
Type a new value and click OK. The value is written back to the tag of the running InTouch application.
-