Realtime model runs
Jump to navigation
Jump to search
The system attribute "Run In Real Time" can be used to turn on and off the realtime run mode of the engine. In this mode the clock gets stepped along in real time by the actual time
Realtime mode involves sending a "continue" message to the engine 2 times a second. A model can use the "_Run Continue" broadcast to capture this event and perform a "background" task. This task/thread will be executed even if the user is editing a cell/attribute. It must not perform any time consuming activity and must not generate a dialog. It should be heavily validated to ensure the realtime task will not stop the model with a message under any circumstance.
idkbase note 145