The Runtime Diagnostics page provides comprehensive diagnostic tools including Property Watch, Trace Window, and Module Information for monitoring and troubleshooting running solutions.
Access: Runtime → Diagnostics
Parent Page: Runtime Designer UI (Reference)
The Runtime Diagnostics interface consists of three main elements:
Control panel with command buttons to Start, Stop, or Pause execution of any module.
Launch additional diagnostic tools:
Shows runtime connection status and whether Designer configuration is synchronized with runtime configuration in memory.
In Offline Configuration mode, saved changes only update to runtime if Hot Update is used. Otherwise, changes take effect at next solution start. This mode is useful when you want to make multiple changes without immediately affecting the running system.
With Designer connected to Runtime and online configuration enabled, all modifications apply immediately as you edit tables or save documents.
Limitations: Some operations cannot be applied online:
These changes take effect at next system initialization.
The synchronization table shows if configuration file matches running solution. Common mismatch scenarios:
Scenario | Cause | Resolution |
---|---|---|
Offline changes pending | Running application older than file | Hot Update or restart |
Remote modifications | Another user modified runtime | Hot Update to sync |
Backup recovery | File restored but runtime unchanged | Hot Update or restart |
Hot Reload applies updated configuration to runtime without shutdown, preserving tag values and objects in memory.
Process:
Tool designed to access and modify system tags and internal properties with IntelliSense support.
Index | Description |
---|---|
1 | Overlay window checkbox |
2 | Browser tab for object selection |
3 | Personalized monitoring list |
4 | Logged-in username display |
5 | Show all properties option |
6 | Selected object name |
7 | Module control panel |
Object Selection:
Value Modification:
Module Control:
System message display tool providing status information about system operations.
Index | Description |
---|---|
1 | Data header with filters |
2 | Message details |
3 | Auto-scroll option |
4 | Overlay checkbox |
5 | Settings window |
6 | Clear notifications |
7 | Stop/pause updates |
8 | Export (XML/CSV) |
9 | Close window |
10 | Error message details |
Message Types:
Module Selection: Choose specific modules to monitor for targeted diagnostics.
Output Options:
Object Monitoring:
Common use for finding device information:
Note: For Devices, enable only error, info, and warning. Debug creates excessive data.
CallStack Display: Enable Debug in Settings and Debug Information in Runtime → Build and Publish.
Provides detailed operation information for all modules, including communication channels, reading groups, and error reports.
Module | Information Displayed |
---|---|
Alarm | Alarm module specifics |
TCPServer | Connected modules, clients, devices |
ScriptTaskClient | Client expression/task statistics |
Device Module | Communication channel details |
Dataset | Database access configurations |
Script Task Server | Server expression/task statistics |
Read Groups Information:
Troubleshooting Steps:
Control | Function |
---|---|
Settings | Change display theme |
Pause | Stop data updates |
Close | Exit Module Information |
Diagnostic feature to measure system performance through intensive resource usage simulation.
Access: Runtime → Diagnostics → Run Tools → Performance Test
The test executes memory-intensive operations:
csharp
DateTime t = DateTime.Now;
for (int x = 0; x < 100; x++)
{
int size = 1024 * 1024;
int[] memAlloc = new int[size];
for (int i = 0; i < size; i++)
{
memAlloc[i] = i;
}
}
result = DateTime.Now - t;
Result | Assessment | Recommendation |
---|---|---|
< 300ms | Good | Suitable for most applications |
300-500ms | Acceptable | Monitor for large applications |
> 500ms | Poor | Review system configuration |
Virtual Machine Note: VM configuration significantly impacts performance. Adjust VM settings if results are inadequate.
Column | Description |
---|---|
Module | Specific module being monitored |
TableType | Type of diagnostic table |
DesignerVersionID | Designer module version |
RuntimeVersionID | Runtime module version |
Designer Modified | Last designer modification |
Runtime Modified | Last runtime modification |
Description | Module purpose and status |
Three methods to open diagnostic tools:
Note: Tools may minimize to taskbar when launched.
System only reads from field devices in test mode, even with write configuration present.