rahulr1988 Posted February 7, 2015 Posted February 7, 2015 Is there any way to clear output buffer of source at particular time of simulation (like every 165 th hour and its multiple)
dsturrock Posted February 9, 2015 Posted February 9, 2015 Its a little bit tricky because you can't remove entities from a link and often the first entity in the queue is already transferring onto the link. The basic concept is to periodically (I used a Timer) Search for all entities in that queue that are not currently transferring, then for each match, Remove it and do something with it (I reset its destination and sent it to Sink2). In this example I clear the source buffer every two minutes.ClearingSourceBuffer.spfx
Recommended Posts