modelTestRealtimeSynchronize
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
Example which uses an externally triggered real-time synchronization block. Whenever the real-time synchronization block is triggered it will block simulation progress until simulation time == real-time (wall clock time). The example includes a block for modifying the process priority. A higher process priority can improve the real-time behavior.
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Sources.SampleTrigger | sampleTrigger | ||
| Utilities.TriggeredPrint | t1 | ||
| Modelica.Blocks.Logical.Pre | pre1 | ||
| Utilities.TriggeredPrint | t2 | ||
| OperatingSystem.RealtimeSynchronize | realtimeSynchronize | ||
| OperatingSystem.ProcessPriority | processPriority |