String Table

The Strings Resource contains all the texts which have to be handled in dynamic mode in the project.

The Movicon strings allow the project to make use of any kind of text in a simple manner. By grouping together a number of texts under a single identifier the resource can handle Multi-language functions.

The text strings are needed for handling alarms and messages, for displaying dynamic texts in the screens, and for handling customized popup type windows. When there is the possibility of representing a text dynamically, this text must almost always be contained in the Strings Resource. All the texts typed directly into the drawings or the Movicon objects (i.e. not inserted in the Strings resource) are represented statically in the resource that represents them.

 

The language change in Parent-Child projects is contextual to the project and independent from Parent and Child project, thus the String IDs are resolved by first searching in the Child projects local String Table and then in the Parent Project.  This is also applies to linked Sting IDs using the speical  @(String-ID) syntax .

 

 

Examples:

 

  1. The text title of an object or symbol can represent a text string which is considered static when typed in directly using the properties window, or can be specified using the Identifier of a text from the String Table. In this case the text will change in accord with the Column (Language) selected.

  2. An Alarm or Message, a dynamic text or a pop-up text can be referred to identifiers of strings from the Strings Table.

 

The String Table can contain a virtually unlimited number of Strings divided up according to columns, whose text can be entered directly in the table fields, or copied or imported from other text applications. String will be saved into a XML file, each one for any language inserted.

 

Management of text strings as a Movicon Resource makes for an extremely flexible project capable of handling the widest range of applications. One of the main functions of the Strings resource is to contain Alarm and Message texts. When you set an alarm, you will be asked to select a text string from the associated strings resource. Text strings can also be used for displaying information inside pop-up windows. If a pop-up window is associated, it will be formatted according to the length of the text within the workspace.

 

 

See Also