Page 1 of 1

Timer Interval

Posted: Fri Jul 22, 2011 8:46 am
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. )

Re: Timer Interval

Posted: Tue Jul 26, 2011 7:07 am
by Antonio Linares
Surasak,

Are you using the syntax ?

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

Re: Timer Interval

Posted: Tue Jul 26, 2011 8:02 am
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.

Re: Timer Interval

Posted: Tue Jul 26, 2011 10:41 am
by Surasak
Sorry, I just found the problem. In uAction routine is ReadComm(). So, I have to set timeout faster.

Re: Timer Interval

Posted: Tue Jul 26, 2011 1:16 pm
by Antonio Linares
ok, good :-)