Realtime model runs: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
The system attribute "Run In Real Time" can be used to turn on and off the realtime run mode of the engine | 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. | |||
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 | |||
---- | ---- |
Revision as of 17:17, 10 January 2008
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