From 5a9517cc4cedbfe43efd3a15b6171b0172264fe7 Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Tue, 3 Jul 2001 18:50:24 +0000 Subject: [PATCH] update the tiome stamp when scanning --- src/cas/example/simple/exScalarPV.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/cas/example/simple/exScalarPV.cc b/src/cas/example/simple/exScalarPV.cc index a64ca8d8b..72ebd537a 100644 --- a/src/cas/example/simple/exScalarPV.cc +++ b/src/cas/example/simple/exScalarPV.cc @@ -66,6 +66,8 @@ void exScalarPV::scan() limit = (float) this->info.getLopr(); newValue = tsMax (newValue, limit); *pDD = newValue; + aitTimeStamp gddts = this->currentTime; + pDD->setTimeStamp (&gddts); status = this->update (pDD); if (status!=S_casApp_success) { errMessage (status, "scalar scan update failed\n");