This guide covers starting, monitoring, and managing runtime execution, including execution profiles, online changes, and troubleshooting.
Startup Methods
| Method | Steps | Use Case |
|---|---|---|
| Designer Test Mode | Press F5 or click Run Test | Development testing (2-hour limit) |
| Designer Full Runtime | Runtime → Startup → Run Startup | Development with profile selection |
| Solution Center | Select solution → Run in Profile | Production deployment |
| Command Line | TStartup.exe /solution:"name" /profile:Production | Automation/service mode |
TStartup.exe /solution:"MySolution" /profile:Production /username:admin /redundancy:primary| Parameter | Description |
|---|---|
| /solution: | Solution name or path |
| /profile: | Development/Validation/Production |
| /username: | Credentials if required |
| /redundancy: | Primary/secondary/standalone |
| Profile | Database | Storage | Security | Diagnostics |
|---|---|---|---|---|
| Development | SQLite local | Memory only | Minimal | Full trace |
| Validation | Test SQL Server | Test storage | Test credentials | Performance metrics |
| Production | Production SQL | Full storage | Full authentication | Errors only |
| Property | Location | Information |
|---|---|---|
| Solution Status | Runtime → Status | Running/stopped, uptime, profile |
| Module Status | Module Information | Individual module health |
| Resource Usage | Diagnostics | CPU, memory, threads |
| Communication | Devices status | Channel and node status |
// Check runtime status
bool isRunning = @Info.Module.IsRunning;
string solution = @Info.Solution.Name;
bool testMode = @Info.TestMode;
// Write trace message
@Info.Trace("Runtime started successfully");
// Check license
int tagCount = @Info.License.TagCount;| Apply Without Restart | Requires Restart |
|---|---|
| - Tag values and limits - Display modifications - Script logic updates - Alarm conditions - User permissions | - Device channels - Database connections - Port assignments - Module enable/disable - License changes |
| Client Type | Setup | Access Method |
|---|---|---|
| Web Client | No installation | http://server/solution |
| Smart Client | Auto-download | Click-once deployment |
| Rich Client | Full installation | Desktop application |
| Mobile | Responsive design | Browser on device |
| Tool | Purpose | Access |
|---|---|---|
| Property Watch | Monitor/modify tag values | Runtime → Diagnostics → Property Watch |
| Trace Window | View system messages | Runtime → Diagnostics → Trace Window |
| Module Information | Module performance metrics | Runtime → Diagnostics → Module Info |
| Method | Steps | Notes |
|---|---|---|
| Designer | Runtime → Startup → Stop Runtime | Graceful shutdown |
| Solution Center | Select solution → Stop | Remote shutdown |
| Command line | TStartup.exe /solution:"name" /stop | Scripted shutdown |
| Emergency | Task Manager → End TServer.exe | Force stop |
| Issue | Check | Solution |
|---|---|---|
| Runtime won't start | License, ports, database | Check event log, verify connections |
| High CPU usage | Scripts, scan rates | Optimize scripts, reduce scan frequency |
| Memory growth | Historian, scripts | Check retention, dispose objects |
| Client can't connect | Firewall, services | Open ports, verify server running |
| Database fails | Connection string, network | Test connectivity, check credentials |
→ Modules / Solution Lifecycle / Runtime → Tutorials / Solution Lifecycle / Runtime Tutorial → How-to Guides / Solution Lifecycle / Runtime How-to Guide → Technical Reference / Solution Lifecycle / Runtime ReferenceRuntime Links
Explanation - to understand concepts
Tutorials - to learn by doing
How-to Guides - to accomplish specific tasks
Reference - technical details