7.2. Defining Variable Types

We classify data into two main types when we are configuring a Windows client application. The first type is for read-write points that are used to display data both coming from and going to the Cascade DataHub. The second type is for read-only points that are only ever used to display data coming from the Cascade DataHub.

Read-Only Variables

Read-only variables used within an InTouch application may be defined as any type of variable within the InTouch internal database. The data point may be defined as memory real, memory integer, one among several group variables, etc. When the Cascade DataHub sends a new data value for one of these variables to InTouch, the InTouch database will accept the new value without question.

[Note]

Only points sent from InTouch to the Cascade DataHub need to be defined as DDE type tags.

Read-Write Variables

Points to send from InTouch to Cascade DataHub must be defined as DDE type tags. DDE tags can be:

Example DDE variable definition

To define a data point as a DDE tag within the InTouch internal database, follow these instructions:

  1. In the InTouch WindowMaker program select Special, then Tagname Dictionary. The Dictionary - Tagname Definition window will appear:
  2. Click the New button and enter the new tagname in the Tagname field. As an example we will define the variable output1 as a DDE Real tag that is to be written to the Cascade DataHub.
  3. Click on the Type button and select DDE Real.
  4. Ensure the definition of the point is set to Read Write.
  5. You may want to enter a comment.
  6. Click on the DDE Access Name: button and select datahub. This tells InTouch that this tag is associated with the Cascade DataHub DDE channel.
  7. Make sure the Use Tagname as Item Name box at the lower left corner is checked.
  8. Click Done when finished.