<
From version < 40.1 >
edited by aas2
on 2017/10/16 13:09
To version < 41.1 >
edited by aas2
on 2018/01/15 13:08
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -223,7 +223,7 @@
223 223  **Time**
224 224  )))|(% colspan="1" %)(% colspan="1" %)
225 225  (((
226 -Reads the elapsed time since program start
226 +Reads the elapsed time since program start (milliseconds)
227 227  )))|(% colspan="1" %)(% colspan="1" %)
228 228  (((
229 229  input
... ... @@ -254,6 +254,8 @@
254 254  )))|(% colspan="1" %)(% colspan="1" %)
255 255  (((
256 256  Should be used on the very first input variable in the model, such that waiting is the last action in the tick loop.
257 +
258 +In case the actual tick loop duration is longer than the target duration, the modeler can provide some error handling.
257 257  )))|(% colspan="1" %)(% colspan="1" %)
258 258  (((
259 259  timing.ftl
... ... @@ -263,9 +263,14 @@
263 263  **TickWakeUp**
264 264  )))|(% colspan="1" %)(% colspan="1" %)
265 265  (((
266 -Sets the input variable to the current system time. The model can add to this variable to get a new value. This is the next system time it will be called.
268 +(% class="content-wrapper" %)
269 +(((
270 +Sets the input variable to the current system time (milliseconds). The model can add to this variable to get a new value. This is the next system time the tick function will be called.
267 267  
268 -This means the next tick function call is delayed until the wake up time has been reached.
272 +In other words, the next tick function call is delayed until the wake up time has been reached.
273 +
274 +For instance the statement **nextTickWakeUp += 500** could be used to call the tick function again in 500 milliseconds, if nextTickWakeUp is an input with the corresponding annotation.
275 +)))
269 269  )))|(% colspan="1" %)(% colspan="1" %)
270 270  (((
271 271  input
Confluence.Code.ConfluencePageClass[0]
Id
... ... @@ -1,1 +1,1 @@
1 -37814287
1 +37814289
URL
... ... @@ -1,1 +1,1 @@
1 -https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/37814287/LEGO Mindstorms with leJOS and SCCharts
1 +https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/37814289/LEGO Mindstorms with leJOS and SCCharts