This is related to bug 7812, which is closed as not planned. Actually, I want to make a timer that can broadcast how long the program runs.
I want to set a timer and control it with thread, so when time is up, it can automatically refresh related variables. Without threading, I can only use an infinite loop and when I try to close the program, it will freeze the whole program. That's why I want to replace it with time-controlled treading so the program will be non-blocking. I searched in the search bar, only to find two PDU tools, one for add system time, and one for delta time. I read through documents related to these modules, but still can't figure out how to use it to build a timer that can fit my needs. Best regards, Bob