Matrices
Previous Topic  Next Topic 

Control Draw provides extensive support for the generation, editing and saving of Matrix tables, for example Equipment State Matrices.

Matrices can be used in many ways. For example to define the states of a module, or to map the procedural elements in your model into the physical elements.

A matrix has Rows and Columns that can be derived from objects on the pages of a model, or manually entered.

You can select which objects are included from the Columns and Rows Tabs in the matrix form.

You can also manually add new  rows and columns.

You can set the cells of a matrix using interactive State matrix run controls form.

Matrices can be printed independantly, or they can be place on a diagram by using the Special Object Symbols matrix type. If placed on a diagram the matrix reflects the current variantPolymorphicDiagrams


The rows and columns for an empty matrix can be generated from objects on a drawing.

Matrix cells can show the dynamic states of the connected objects in drop down lists.

Typically the Columns are Control Modules on an Equipment module page and the Rows are the states on the page but many more configurations are possible.

When showing a matrix, if a tag name of a symbol that is used in a row or column has changed ControlDraw prompts and optionally changes the Row or column header to match the diagram tagname.

Matrices can be used in many ways. For example to map the procedural elements in your model into the physical elements.

You can select which diagram objects are included from the Cols/Rows Tab in the matrix form.

You can also manually add new  rows and columns

The rows and columns that are connected to symbols in the model are highlighted by colouring the background of their tagnames. Green indicates that the tagname has not changed, yellow indicates the object is present but has a different tagname, and white indicates that the row or column is disconnected

You can also re-connect symbols or change the symbol to which a row or column is connected. This is done  by using the edit menu, or right clicking. and choosing Row Symbol or Column Symbol. You can also use this to find what page the symbol is one, or its class.

You must first select a single column or row by clicking the column or row header to enable the Row or Column Symbol menus




Each matrix is stored in an Access table named tblMx# where # is an automatically assigned number - which means that the column names should follow Access field naming rules.

object-naming rules

They can include any combination of letters, numbers, spaces, and special characters except a period (.), an exclamation point (!), an accent grave (`), and brackets ([ ]). Note that you also can't use leading spaces or control characters (ASCII values 0 to 31).