Order of Run Start Broadcasts: Difference between revisions

From Planimate Knowledge Base
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
<font face="Arial"><br /> Currently the following happens and PL sends the following BC sequence<br /> when a run is started:
Currently the following happens and PL sends the following BC sequence when a run is started:
 


START RUN ENGINE:
START RUN ENGINE:
*The model is initialised for run (phase 1)<br /> BC _Preinit Start<br /> BC _Model loaded (if its an initial run)<br /> BC _PreInit End
*The model is initialised for run (phase 1)
*The model is initialised for run (phase 2)<br /> GC _Run Start
*BC _Preinit Start  
*BC _PreInit End
*BC _Model loaded (if its an initial run)
*The model is initialised for run (phase 2)
*BC _Run Start
*model pauses or continues depending on options
*model pauses or continues depending on options


The 2 stage init process was from an era when certain objects could not be changed once the run was going but the modeller needed an ability to initially set them up.


The 2 stage init process was from an era when certain objects could not<br /> be changed once the run was going but the modeller needed an ability to<br /> initially set them up. (the conveyor is still like this). Also item "preloading" happens in the<br /> second phase of the initialisation of the run.
Two changes I'd like to make:
*move the _Model Loaded BC to occur just before _Run Start. This will allow it to trigger messages, etc. which it cant at the current time it<br /> is sent
*reduce use and eventually eliminate dependence on the 2 _PreInit<br /> broadcasts by modellers.
(followup: these BCs wont be removed as they are useful for modeller's setup use)<br />
</font>
----
----


Line 26: Line 18:
<font size="2">idkbase note 205</font>
<font size="2">idkbase note 205</font>


[[Category:Broadcast/System]]
[[Category:Broadcast]]
[[Category:Runtime Engine]]
[[Category:Runtime Engine]]
[[Category:FAQ]]
[[Category:FAQ]]

Revision as of 13:35, 12 January 2008

Currently the following happens and PL sends the following BC sequence when a run is started:

START RUN ENGINE:

  • The model is initialised for run (phase 1)
  • BC _Preinit Start
  • BC _PreInit End
  • BC _Model loaded (if its an initial run)
  • The model is initialised for run (phase 2)
  • BC _Run Start
  • model pauses or continues depending on options

The 2 stage init process was from an era when certain objects could not be changed once the run was going but the modeller needed an ability to initially set them up.



idkbase note 205