The documentation from version 39.5.17 of PLANTA project can be found in the new PLANTA Online Help.

License, System Parameters and DB Instances MOD006355

Access path
  • Customizer Databases License, System Parameters and DB Instances

Information

  • In this module, the license, system parameters and DB instances of the system of the current user are displayed.
  • Some parameters can be changed if necessary, e.g., the system name.

Details

Change System Title

Procedure
  • Enter the new system title in the System name field.
  • Save.
  • After system restart, the new system title is displayed in the title bar.

Note

  • Alternatively, it can also be set to the runtime of the system title via the following Python function:
 ui_set_system_title(title: string) 
See also: Python API

Tip

  • In order to distinguish different sessions, the currently logged-on user and the PID can be displayed in the system title.
    • If the MOD0099QC default user menu is used,
      • open the Python Macros module and change the CHANGE_TITLE variable in the on_load method from CHANGE_TITLE=FALSE to CHANGE_TITLE=TRUE
    • If an individual user menu is used,
      • open the Python Macros module and insert the following line in the on_load method of the user menu:
      • The following lines must, like the other lines, be indented by four spaces each in the on_load method.
PID = str(os.getpid())
ppms.ui_set_system_title('system title' + ', PID: ' + PID + " - " + ppms.uvar_get("@1"))

Details

  • When you launch PLANTA project for the next time, the PID is displayed in the system title.
    • The PID is part of the log file as well, so all log files can always be ascribed to the corresponding session.

         PLANTA project









 
  • Suche in Topic-Namen

  • Suche in Topic-Inhalten
This site is powered by the TWiki collaboration platform Powered by Perl