The Runtime Environment is where your configured solution comes to life. It transforms static configuration into an active system by loading tags into memory, processing real-time data, executing scripts and alarms, and serving information to clients. Runtime is the operational heart of your FrameworX solution.
Core Functions:
Concept | Description | Details |
---|---|---|
TServer.exe | Core execution engine | Process that maintains real-time database |
Execution Profile | Runtime environment settings | Development, Validation, or Production modes |
Real-Time Database | In-memory tag storage | Fast access to all solution data |
Online Configuration | Modify running solution | Changes without stopping execution |
Hot Reload | Apply updates instantly | No downtime for changes |
Test Mode | Designer-based execution | Debug without full deployment |
Execution Control | Data Processing | Client Services |
---|---|---|
|
|
|
When you start the Runtime, the following sequence occurs:
1. Solution Load (< 5 seconds) ??? Read .dbsln configuration ??? Validate settings 2. Memory Initialization (5-10 seconds) ??? Load tags and templates ??? Create data structures ??? Initialize TServer.exe 3. Module Activation (10-30 seconds) ??? Start Device communications ??? Enable Alarm processing ??? Begin Historian collection ??? Initialize Scripts 4. Steady State (< 60 seconds) ??? All modules operational ??? Data flow active ??? Ready for clients |
When the solution runs, all tags, templates, and assets load into memory. This in-memory database acts as the central hub where modules publish and request values. The TServer.exe process maintains this database, running as a Windows Service or on Linux/Docker platforms. |
During execution, each pillar transforms into active processes:
[Field Devices] ? [P2: Process] ? [P1: UNS] ? [P3: Application] ? [P4: UI] ? ? ? ? [Alarms] [Historian] [Datasets] [Clients] |
Pillar | Runtime Role | Key Processes |
---|---|---|
P1: UNS | Data foundation | Tag database, events |
P2: Process | Field connectivity | Device drivers, alarm engine |
P3: Application | Business logic | Script execution, queries |
P4: Operator UI | Visualization | Display server, client handler |
Different runtime behaviors for the same configuration:
Aspect | Development | Validation | Production |
---|---|---|---|
Purpose | Testing & debugging | System verification | Live operation |
Database | Local SQLite | Test SQL Server | Enterprise SQL |
Diagnostics | Full logging | Performance metrics | Minimal overhead |
Changes | Online edits allowed | Limited changes | Protected/locked |
Data Sources | Simulators/devices | Test devices | Live equipment |
Runtime supports multiple client types simultaneously:
Desktop Rich Client | Desktop Smart Client | Web Client | Mobile Client |
---|---|---|---|
.NET WPF application High-performance Local installation Direct connection Full functionality | .NET WPF application High-performance Click-one activation Direct connection Full functionality | HTML5 browser WebAssembly No installation Responsive design Cross-platform | Adaptive layout WebAssembly No installation Touch-optimized Shared content |
Tool | Access | Purpose | Key Information |
---|---|---|---|
Runtime Info | Solution Center → Tools | System health | Module status, memory, CPU |
PropertyWatch | Designer → PropertyWatch | Tag monitoring | Values, quality, timestamp |
TraceWindow | Designer → TraceWindow | Troubleshooting | Logs, traces, errors |
ModuleInfo | Designer → ModuleInfo | Module details | Status, performance |
Tool | Access | Purpose | Key Information |
---|---|---|---|
Runtime Monitor | Solution Center → Manage | System health | Module status, memory, CPU |
Alarms Monitor | Solution Center → Manage | Alarms status | module state, active alarms |
Historian Monitor | Solution Center → Manage | Historian status | module state, trend charts |
Runtime is the execution environment in the Solution Lifecycle:
Runtime brings your configuration to life, executing all the logic and serving data to clients. It's where your solution delivers value to operations. |
This page introduces Runtime as the execution heart of your FrameworX solution. Understanding how Runtime transforms configuration into operation helps you design better solutions and troubleshoot effectively.