Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Questions (Windows Mobile)
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Questions (Windows Mobile) Post any question regarding Basic4ppc.

Timer component

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-24-2008, 07:07 PM
Junior Member
 
Join Date: Jul 2008
Posts: 46
Default Timer component

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
Reply With Quote
  #2 (permalink)  
Old 09-24-2008, 07:23 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,726
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

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.
Reply With Quote
  #3 (permalink)  
Old 09-24-2008, 08:04 PM
Junior Member
 
Join Date: Jul 2008
Posts: 46
Default

With more than 3 timers, the forth doesn't work, but if you stop one of the three, then it works.
Reply With Quote
  #4 (permalink)  
Old 09-27-2008, 01:25 AM
Basic4ppc Veteran
 
Join Date: Sep 2008
Location: Brisbane, Australia
Posts: 317
Default try doevents

Maybe you could try putting doevents in somewhere. I'm not sure exactly where.

regards, Ricky
Reply With Quote
  #5 (permalink)  
Old 09-27-2008, 07:41 PM
Junior Member
 
Join Date: Jul 2008
Posts: 46
Default

I'll try. I'm newbie with B4P and don't know the real limit of the compiler yet.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Timer To Close MsgBox? cdeane Questions (Windows Mobile) 6 10-06-2010 08:22 AM
I'm want sample network component thaidelphi Questions (Windows Mobile) 1 08-18-2008 02:27 PM
Questions on Table component dan kabestan Questions (Windows Mobile) 6 06-26-2008 08:40 AM
Small questions on Table component and Help window dan kabestan Questions (Windows Mobile) 5 04-12-2008 05:49 AM
Error loading SQL Component conniemalan Questions (Windows Mobile) 1 07-27-2007 08:29 AM


All times are GMT. The time now is 02:29 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0