Go to documentation repository
Documentation for ACFA PSIM 1.3.
Previous page Next page
To open the properties window for the Database field object, see the Editing objects properties in the Template Editor section.
As a result the window for setting DB field properties will open.
Properties of the Database field object are similar to properties of the Text object, except of Unusual and Predefined parameters. Purpose of these parameters are follows.
In the Predefined drop-down list select the field from the database which will be displayed in the template. Apart from names of database fields there if the Unusual value.
Select the Unusual value if the template is in use for the Event Manager module operation and it's required to display event parameters on which the Event manager is configured using the Database field object. In the Unusual field enter the names of the event parameters.
Note
To determine available parameters of the required event using the debug window of Axxon PSIM, generate the required event in the system. Working with this window is described in the Axxon PSIM software package. Programmer's Guide (JScript) document. The latest version of this document is available in the AxxonSoft documentation repository.
The syntax for entering parameters is as follows:
Syntax | Description |
---|---|
\n | Line break in the displayed text |
\r | Carriage return in the displayed text |
{parameter} | parameter is any parameter in the event from the Axxon PSIM object |
You can specify several parameters in the Unusual template string. For example, to display the date and time of the event simultaneously, enter the following template string: Date: {date} Time: {time}. As a result, for a given event, the database field will display, for example: Date: 08-07-2019 Time: 8:00:00.
Note
Also it's possible to add fields created by user in the psim.ext.dbi file to the template. For this purpose enter the name of corresponding field from a database in the Unusual field. Procedure of creating additional fields in the database is given in Creating additional fields for the User objects.