Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

Info
titleNote
To open the recently used file, select the Last files item in the File menu or open the context menu in on the Names tab.
Info
titleNote
The Paste from file item in the File menu allows opening several files by adding tables, described in other dbi files, to the open opened dbi file.

PsimThe main.dbi file contains the list of main tables and fields of the database. User-defined You must specify user tables and fields are stored in a separate file – psimthe separate file—main.ext.dbi. This The file is made separate from the main file, to eliminate the need to re-insert user-defined tables and fields into the main file, in case of Axxon PSIM system update. The contents of these files are merged upon Axxon PSIM start-upfor the database user templates is highlighted so that you must not reinclude user fields and tables in the main.dbi file when updating Axxon PSIM. When Axxon PSIM starts, these files are united.

To view the database template, open use the DBI tab located in the top upper left corner of the utility window. The left window part displays the list of the tables of the main the Axxon PSIM main database will be displayed in the left panel. The right panel will show window part displays the list of fields of the selected databasetable fields and their parameters.

To delete, add, and edit or copy object fields, use the table on in the left part of the utility boxwindow.

The following database parameters of the table fields are displayed:

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

After you make changes, restart the databaseThe database is to be refreshed after the changes were made.