Timer Interval

Timer Interval

Postby Surasak » Fri Jul 22, 2011 8: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. )
Surasak
 
Posts: 29
Joined: Fri Jul 20, 2007 1:30 pm

Re: Timer Interval

Postby Antonio Linares » Tue Jul 26, 2011 7: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Timer Interval

Postby Surasak » Tue Jul 26, 2011 8: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.
Surasak
 
Posts: 29
Joined: Fri Jul 20, 2007 1:30 pm

Re: Timer Interval

Postby Surasak » 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.
Surasak
 
Posts: 29
Joined: Fri Jul 20, 2007 1:30 pm

Re: Timer Interval

Postby Antonio Linares » Tue Jul 26, 2011 1:16 pm

ok, good :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Pocket PC

Who is online

Users browsing this forum: No registered users and 13 guests