01-21-2019 10:34 AM
Hi to all. I have a question about configured timed loops. In this picture all is understood. It will drop frames if I push the "Slow" button. But what about "Process all periods, maintain ordinal phase" option? How long can I hold the button and when I drop it, the thread can comeback to ordinal phase and don't lose any frame? Thank you.
01-21-2019 08:36 PM
In timed loop, do not use GUI item.
Use a second process to capture and show GUI information.
Use functional global to exchange information between the two loop.
Benoit
01-22-2019 06:14 AM
@0Forest0 wrote:
How long can I hold the button and when I drop it, the thread can comeback to ordinal phase and don't lose any frame? Thank you.
My guess would be infinitely.
My guess would be the last processed time is kept as internal state, and when beginning a loop cycle, this last processed time is evaluated against the current time. This instead of actual events that are fired and buffered in memory.
Easy to check, by making a timed loop that runs fast and doesn't make it's cycle time. If memory is increasing, the design is different. In that case, the sustainable time would be memory constrained. I run this for a while, and didn't see any memory increase...