diff --git a/App/src/QImaging.cpp b/App/src/QImaging.cpp index ed40f4a..25fe9ba 100644 --- a/App/src/QImaging.cpp +++ b/App/src/QImaging.cpp @@ -472,10 +472,8 @@ void QImage::consumerTask() if ((arrayCallbacks)) { // Put the frame number and time stamp into the buffer - // Set the the start time - epicsTimeGetCurrent(&startTime); pFrames[frameId]->ndArray->uniqueId = frameId; - pFrames[frameId]->ndArray->timeStamp = startTime.secPastEpoch + startTime.nsec / 1.e9; + updateTimeStamps(pFrames[frameId]->ndArray); // Get any attributes that have been defined for this driver this->getAttributes(pFrames[frameId]->ndArray->pAttributeList); // Call the NDArray callback diff --git a/Support/QImaging.h b/Support/QImaging.h index 2b92f1e..f482fd1 100644 --- a/Support/QImaging.h +++ b/Support/QImaging.h @@ -158,7 +158,6 @@ class QImage : public ADDriver { }; // Our data - epicsTimeStamp startTime; epicsEventId stopEventId; epicsEventId m_acquireEventId; epicsMutex freeFrameMutex;