Summary (Python Programs)
The Python branch of the Server Status Tool includes a Summary category. You can use this category to ascertain general information about the Python functionality on the server. The statistics relate to Python programs that the Geo SCADA Expert server is configured to execute. They do not relate to Python programs that you execute by other means outside of Geo SCADA Expert to interact with the Geo SCADA Expert database.
The following information is displayed:
- Python Executable Path—The location of the Python executable that the Python driver uses for the Python programs that the Geo SCADA Expert server is configured to execute. This is the location that is specified in the Python section of the Server Configuration Tool (see Define the Location of the Python Executable).
- Python Version—The version of the Python executable that the Python driver is using. This has to be a version that Geo SCADA Expert supports (see Supported Versions of the Python Programming Language).
- Total Number of Program Runs—The number of times that the Geo SCADA Expert server has run any Python programs since the statistics were last reset.
For information about the success, or otherwise, of the program runs, use other displays, such as the Python Programs List, which you can access from the Queries Bar in ViewX.
The value shown in the latter entry is one of the counts that you can reset, along with other statistics counts, by using the Reset All option. You can access this option in a context-sensitive menu from the Longest Running or Most Frequently Run categories of the Server Status Tool. The option resets the statistics counts for all Python programs that the Geo SCADA Expert server is configured to execute. This includes the counts that appear on those and other displays in Geo SCADA Expert.
If you only want to reset the statistics counts for one particular Python program, you can do so via the Reset Counts pick action. Use ViewX to access this pick action for the relevant Python Program item.
The counts reset automatically on system restart and when the driver is restarted. If the Reset counters option is enabled in the Snapshots section of the Server Configuration tool, the counts also reset automatically as part of the statistics counts reset that occurs after each server snapshot is logged. For more information about this latter option, see Server Snapshot Log Files.