diff --git a/src/rec/recWait.c b/src/rec/recWait.c index 5364ed92a..319c5a299 100644 --- a/src/rec/recWait.c +++ b/src/rec/recWait.c @@ -324,7 +324,6 @@ static long process(pwait) long options = 0; pwait->pact = TRUE; - pwait->oval = pwait->val; /* Check for simulation mode */ status=recGblGetLinkValue(&(pwait->siml), @@ -391,6 +390,8 @@ static long process(pwait) break; } + pwait->oval = pwait->val; + recGblGetTimeStamp(pwait); /* check event list */ monitor(pwait);