Using Parameters with Child Tags

Parameterized pages (and user drawing methods) are particularly well suited for drawing child tag stations.  

A child tag is an advanced feature that simplifies the creation of multi-tag objects. It is a custom-coded tag structure that automatically creates all the I/O tags in the object. A tag structure containing child tags is sometimes referred to as the parent tag. For more information, see the Programmer’s Guide: Child tags.

The process for adapting a parameterized page or DM to display a child tag station is as follows:

Given a child tag that has been added to an application and where at least one instance of the tag has been created.

1.   Create either a new parameterized page or a user drawing method.

2.   Draw the station using ordinary tags.

3.   Add a parameter to the parameterized page or DM.  This will be a tag type where the selected type is the child tag structure.

4.   For each drawing method that makes up the station, change its source from tag to parameter.

5.   Select the parameter, then the appropriate child tag.  Note that child tags may be made of other child tags. The drop-down selection will display a tree structure of all child tags and grand-child tags in the tag.

6.   Save your work.