diff --git a/pslApp/src/PSL.cpp b/pslApp/src/PSL.cpp index cf91c3e..4c8087f 100755 --- a/pslApp/src/PSL.cpp +++ b/pslApp/src/PSL.cpp @@ -524,7 +524,6 @@ asynStatus PSL::getImage() NDDataType_t dataType=NDUInt8; NDArray *pImage=NULL; NDColorMode_t colorMode; - epicsTimeStamp now; asynStatus status; NDArrayInfo arrayInfo; char *pOut=NULL; @@ -603,10 +602,8 @@ asynStatus PSL::getImage() getIntegerParam(NDArrayCounter, &imageCounter); /* Put the frame number and time stamp into the NDArray */ - epicsTimeGetCurrent(&now); pImage->uniqueId = imageCounter; - pImage->timeStamp = now.secPastEpoch + now.nsec / 1.e9; - updateTimeStamp(&pImage->epicsTS); + updateTimeStamps(pImage); pImage->pAttributeList->add("ColorMode", "Color Mode", NDAttrInt32, &colorMode);