TN AppSvr143 Configuring The InTouchProxy Object
This article from InSource Solutions shows you how to configure the InTouchProxy object in Application Server.
- Author: Daniel London
- Published: 03/07/2017
- Applies to: Application Server
Using the InTouchProxy object in Application Server, it is possible to read data from InTouch tags into Galaxy attributes. This article shows you how to do that with a Managed application by mapping to the application's tagname.x file in an InTouchProxy object. The next step is setting up a Galaxy object to read data from the InTouchProxy data source.
NOTE: In order to allow this to work, it is recommended that the InTouch application (Managed or Standalone) is located on a remote machine and that the application folder is shared. In other words, it may not work if you are doing all of this on the same computer that the application is saved to.
- Create an instance of the InTouchProxy object and configure it as shown below:
For Standalone applications, map the InTouchProxy object to the tagname.x in the application folder. For Managed applications, go to a client machine that the application is deployed to and share the following path to find the tagname.x:
C:\Program Files (x86)\ArchestrA\Framework\Bin\<APPLICATION NAME>
(<APPLICATION NAME> will be substituted for the name of the deployed, Managed application folder).
- The next step is creating an instance of a Galaxy object (often a User Defined object) that you are going to use to reference the InTouch tag through the InTouchProxy object.
The format for the attribute reference will be:
<INTOUCHPROXY OBJECT>.<INTOUCH TAGNAME>
(Substitute <INTOUCHPROXY OBJECT> for the name of the InTouchProxy object in the galaxy and substitue <INTOUCH TAGNAME> for the actual tag name in the application).
- The final step is deploying the InTouchProxy object and reference object in the Galaxy. In order to establish a connection to the remote application, WindowViewer must be running on the remote machine. You can now use Object Viewer to verify that you have an active connection to the remote InTouch application.