TimeSyncPause Block

Post blocks you would like to share with other ExtendSim users here.
Post Reply
dvpereira
Posts: 0
Joined: Mon Jul 21, 2008 2:45 pm
First Name: Dennis
Last Name: Pereira

TimeSyncPause Block

Post by dvpereira » Sat May 21, 2005 12:00 am

This is a modification to the TimeSync bock that keeps the model in sync to real time only while the model is running.

The original TimeSync block does not take into account the time a simulation is paused and gives the impression that the model's CurrentTime advances to match the real time when the simulation is unpaused.

This modified block takes into consideration the time a simulation is paused and gives the impression CurrentTime has not advanced while the simulation is paused.
Attachments
TimeSyncPause.lix
(10.78 KiB) Downloaded 332 times

Post Reply