Configuring Kanzi Monitor¶
During initialization, Kanzi Monitor reads the configuration file kanzimonitor.cfg.
If the file is available, Kanzi Monitor reads configuration values from it.
If the file is not available, Kanzi Monitor uses the default settings.
Trace Service configuration¶
Setting |
Description |
Default |
|---|---|---|
|
Enables or disables the Trace Service. |
|
|
Controls how frequently the service collects samples, in milliseconds. Collection prevents sample loss, but increases memory usage. |
|
|
Controls the timing of a one-time write of the output to file, in milliseconds. |
|
|
Controls how often the output is repeatedly written to file, in milliseconds. |
|
|
Controls whether the output is written to file when the application exits. |
|
|
Writes the output to file when the frame duration exceeds the threshold, in milliseconds. |
|
|
Controls whether collection appends new samples to samples already in storage. |
|
|
Controls whether samples are collected when their profiler buffers are full. Takes effect only when |
|
|
Controls the session label used in the output filename for tracing format output. The output filename is composed as |
|
Command Processor Service configuration¶
Setting |
Description |
Default |
|---|---|---|
|
Enables or disables the Command Processor Service. |
|
|
Enables or disables the local stdin/stdout console. |
|
|
Enables or disables the remote TCP socket console. |
|
|
Controls the listening socket port number for the remote console. |
|
|
Enables or disables the serial port console for embedded targets. |
|
|
Controls the serial port device name. |
|
|
Controls the baud rate of the serial port connection. Supported values: 9600, 19200, 38400, 57600, 115200, 230400, 460800. |
|
UI Service configuration¶
Setting |
Description |
Default |
|---|---|---|
|
Enables or disables the UI Service. |
|
|
Sets the font scale multiplier for the BasicUI overlay text. Useful for high-DPI devices where the default font size is too small. |
|
Log Service configuration¶
Setting |
Description |
Default |
|---|---|---|
|
Enables or disables the Log Service. |
|
|
Controls the size of the log entry buffer. |
|
Performance Service configuration¶
Setting |
Description |
Default |
|---|---|---|
|
Enables or disables the Performance Service. |
|
Overwatch Service configuration¶
Setting |
Description |
Default |
|---|---|---|
|
Enables or disables the Overwatch Service. The Overwatch Service provides JSON-based introspection of the Kanzi application for use by remote debugging tools such as the Monitor Web UI. |
|
|
Allows property modification through the Overwatch Service. When disabled, the service operates in read-only mode. |
|
Additional configuration¶
Setting |
Description |
Default |
|---|---|---|
|
Enables or disables the automatic registration of the node tree. With this option, the node tree is registered automatically without using the Application class. The option works by overriding the built-in Screen Node with an extended Screen Node. If there are adverse side effects, try disabling this option. |
|
Example configuration file¶
# Trace Service
ServiceTraceEnabled = 1
CollectingTimerRepeatInterval = 0
WritingTimerOnceInterval = 0
WritingTimerRepeatInterval = 0
WritingOnExitEnabled = 0
WritingOnFrameDurationTreshold = 0
CollectWithAppendingEnabled = 0
CollectingOnFullSampleBufferEnabled = 1
SessionLabel = tracing_output
# Command Processor Service
ServiceCommandProcessorEnabled = 1
LocalConsoleEnabled = 1
RemoteConsoleEnabled = 1
RemoteConsolePort = 56000
SerialConsoleEnabled = 0
SerialConsolePort = COM3
SerialConsoleBaudRate = 115200
# UI Service
ServiceUIEnabled = 1
UIFontScale = 1.0
# Log Service
ServiceLogEnabled = 1
LogMaxEntries = 100
# Performance Service
ServicePerformanceEnabled = 1
# Overwatch Service
ServiceOverwatchEnabled = 1
OverwatchPropertyChangeEnabled = 1
# Additional
NodeRegisteringScreenEnabled = 1