FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Pocket PC Timer Interval
Posts: 36
Joined: Fri Jul 20, 2007 01:30 PM
Timer Interval
Posted: Fri Jul 22, 2011 08:46 AM

Can I set Interval period of Timer command faster than 1000 ms. ( I have already change the interval from 1 to 1000 but result minimum is 1 sec. )

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: Timer Interval
Posted: Tue Jul 26, 2011 07:07 AM

Surasak,

Are you using the syntax ?

DEFINE TIMER [ <oTimer> ] ;
[ INTERVAL <nInterval> ] ;
[ ACTION <uAction,...> ] ;
[ <of: OF, WINDOW, DIALOG> <oWnd> ]

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 36
Joined: Fri Jul 20, 2007 01:30 PM
Re: Timer Interval
Posted: Tue Jul 26, 2011 08:02 AM

Yes, I have test nInterval with 0 to 5000, value more than 1000 is correct. But 0 to 1000 application activate same period at 1 sec.
How can activate faster than 1 sec.

Posts: 36
Joined: Fri Jul 20, 2007 01:30 PM
Re: Timer Interval
Posted: Tue Jul 26, 2011 10:41 AM

Sorry, I just found the problem. In uAction routine is ReadComm(). So, I have to set timeout faster.

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: Timer Interval
Posted: Tue Jul 26, 2011 01:16 PM

ok, good :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion