From 9a077b07043aee644e529bfcb9ca0ce255fd4a6e Mon Sep 17 00:00:00 2001 From: James Souter Date: Fri, 17 Nov 2023 09:17:23 +0000 Subject: [PATCH] use new updateTimeStamps method --- andorApp/src/andorCCD.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/andorApp/src/andorCCD.cpp b/andorApp/src/andorCCD.cpp index 66a0b8a..f7cb4e4 100755 --- a/andorApp/src/andorCCD.cpp +++ b/andorApp/src/andorCCD.cpp @@ -1647,8 +1647,7 @@ void AndorCCD::dataTask(void) } /* Put the frame number and time stamp into the buffer */ pArray->uniqueId = imageCounter; - updateTimeStamp(&pArray->epicsTS); - pArray->timeStamp = pArray->epicsTS.secPastEpoch + pArray->epicsTS.nsec / 1.e9; + updateTimeStamps(pArray); /* Get any attributes that have been defined for this driver */ this->getAttributes(pArray->pAttributeList); /* Call the NDArray callback */