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");