Linking Structure Templates

Once the XML file is correctly formatted, the structure template definitions must be linked to the locations of use before the templates may be used in a schema. The templates defined in XML can be made available to different areas of the program (i.e. scope) depending on where the link is created:

  1. Workspace: All Hardware Interface, Schema, and Sub-Schemas in that workspace can use the defined templates.
  2. Network: All network interfaces can use the defined templates. For Chameleon, this includes other modules in the same node as the network interface module.
  3. Hardware Interface File: All Schemas and Sub-Schemas used in the Hardware Interface File can used the defined templates.
  4. Schema File: Only operators in the schema can use the defined templates.


To create a link, right click on the desired link location and select 'Link Structure Libraries':

  1. Workspace: Right click on the word 'Workspace' in the workspace window file tab
  2. Network: Right click on the particular network in the workspace window network tab.
  3. Hardware Interface File: Right click on a device / module.
  4. Schema: Right click on white-space in the schema


In all cases, a dialog window similar to the following appears.


Click on Add and select the XML file to be linked.


Click Apply to complete the link. The libraries and structure templates appear on the right.