2 2220 Member Licensed User Sep 24, 2008 #1 Hello, I'm developing an app. that works fine with B4P. I'm working with 2 serial ports and I use some timers. How many timers can work at the same time. Thanks in advance
Hello, I'm developing an app. that works fine with B4P. I'm working with 2 serial ports and I use some timers. How many timers can work at the same time. Thanks in advance
Erel B4X founder Staff member Licensed User Longtime User Sep 24, 2008 #2 Any number of timers can work together. However you should set their interval to be long enough so the cpu will be able to handle the events. Note that events (including the tick event) are only fired when the program in an idle state.
Any number of timers can work together. However you should set their interval to be long enough so the cpu will be able to handle the events. Note that events (including the tick event) are only fired when the program in an idle state.
2 2220 Member Licensed User Sep 24, 2008 #3 With more than 3 timers, the forth doesn't work, but if you stop one of the three, then it works.
Ricky D Well-Known Member Licensed User Longtime User Sep 27, 2008 #4 try doevents Maybe you could try putting doevents in somewhere. I'm not sure exactly where. regards, Ricky
try doevents Maybe you could try putting doevents in somewhere. I'm not sure exactly where. regards, Ricky
2 2220 Member Licensed User Sep 27, 2008 #5 I'll try. I'm newbie with B4P and don't know the real limit of the compiler yet.