Timer Interval

Post Reply
Surasak
Posts: 28
Joined: Fri Jul 20, 2007 1:30 pm

Timer Interval

Post by Surasak »

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. )
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Timer Interval

Post by Antonio Linares »

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

Re: Timer Interval

Post by Surasak »

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: 28
Joined: Fri Jul 20, 2007 1:30 pm

Re: Timer Interval

Post by Surasak »

Sorry, I just found the problem. In uAction routine is ReadComm(). So, I have to set timeout faster.
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Timer Interval

Post by Antonio Linares »

ok, good :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply