Documentation for Axxon PSIM 2.0. Documentation for other versions of Axxon PSIM is available too.

Previous page Next page


You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

To edit a template, you must open the template file of the main database using the File -> Open menu. These files are stored in the root of the Axxon PSIM installation directory.

Note

To open the recently used file, select the Last files item in the File menu or open the context menu on the Names tab.

Note

The Paste from file item in the File menu allows opening several files by adding tables, described in other dbi files, to the opened dbi file.

The psim.dbi file contains the list of main tables and fields of the database. You must specify user tables and fields in the separate file—psim.ext.dbi. The file for the database user templates is highlighted so that you must not reinclude user fields and tables in the psim.dbi file when updating Axxon PSIM. When Axxon PSIM starts, these files are united.

To view the database template, use the DBI tab located in the upper left corner of the utility window. The left window part displays the list of the tables of the Axxon PSIM main database. The right window part displays the list of table fields and their parameters.

To delete, add, and edit object fields, use the table in the left part of the utility window.

The database parameters of the table fields:

  1. Field name—the name of the field in the database.
  2. Type—data type saved in the field. Available types:
    1. BIT—to set the checkbox of the field taking logical values Yes and No.
    2. CHAR—for fields filled with a few number of characters.
    3. DATETIME—for fields in which the date and time are entered. The mask is used for the date -dd-mm-yyyy, for the time—hh:mm:ss.
    4. DOUBLE, INTEGER, SMALLINT—for the numerical fields of corresponding types.
    5. TEXT—for fields where the text lines are entered.
    6. UNIQUEIDENTIFIER—for fields in which the unique identifiers are entered not only within one table but also between different databases and servers.
  3. Size—maximum number of elements specified for the given field type that can be placed in it.
  4. Description—the field name displayed in the interface elements.

After you make changes, restart the database.

  • No labels