Documentation for ACFA PSIM 1.3.

Previous page Text object properties  Button object properties Next page

To open the properties window of the Database field object, see Editing objects properties in the Template Editor.

As a result, a window with the properties of the corresponding object opens.

Properties of the Database field object are similar to properties of the Text object, except for the Unusual and Predefined parameters.

From the Predefined drop-down list, select a field from the database that will be displayed in the template. In addition to the names of database fields, the list includes the Unusual value.

The Unusual parameter is a template string. You can select it if the template is used to work with the Event Manager module and it is required to display not the value from the database, but the parameters from the event for which the Event Manager is configured. In this case, enter the name of the required parameters in the Unusual field.

Note

You can find out the available parameters of the required event using the debug window of Axxon PSIM by generating the required event in the system. Working with this window is described in Programming Guide (JScript).

The syntax for entering parameters is shown in the table:

Parameter syntaxDescription

{parameter}

parameter is an arbitrary parameter in the event from the object
\nLine break in the displayed text
\rCarriage return in the displayed text

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.

To display the Yes or No value of the Unusual template string:

  • specify the value of the field, for example, {is_locked:b} for the Locked setting. When generating a user access, the template will display Yes or No depending on the value of this setting.

    You can also use a prefix that will be displayed on the template. For example, Locked {is_locked:b}.

  • specify the value of the field, for example, {is_apb:b} for the Antipassback setting. When generating a user access, the template will display Yes or No depending on the value of this setting.

    You can also use a prefix that will be displayed on the template. For example, APB On {is_apb:b}.

    Example of displaying the Antipassback and Locked Unusual fields with specified prefixes when generating an access:

You can also specify fields added by the user in the psim.ext.dbi file. For this, in the Unusual field, enter the name of the corresponding field in the database. The procedure of adding additional fields to the database is described in Appendix 3. Creating additional fields for the User object

  • No labels