Hi
I want to know how to express the idea of "after 10 seconds of event
X" in AFL. I know you can do it by using getperformancecounter(). But
is there a more simple way of doing this ?
I want to do it with timenum() and now(4) as follows, but
timenum() has limitation for this, as you can see
10 seconds after 10:00:56 is 10:01:06
but timenum() for 10:00:56 is 100056 and timenum() for 10:01:06 is
100106, 100106-100056=50 , not 10.
thanks for any help / Huanyan
============================================================
if( event X )
{
timezero = LastValue(TimeNum());
}
elapsedtime = Now(4)-timezero;
10secons_after_X= elapsedtime==10;
===========================================================