add logging for current acqquisition buffer addresses
This commit is contained in:
parent
d103ed2887
commit
8c319780dc
@ -420,6 +420,8 @@ void RaptorEagleCCD::AcquisitionProcess::start(const std::shared_ptr<acq_params_
|
||||
|
||||
std::lock_guard lock_guard(serverPtr->_acqProcessesMutex);
|
||||
serverPtr->_acqRingFreeBufferPtrs.push(_acqParams->imageBufferPtr); // return buffer pointer to queue of free
|
||||
|
||||
serverPtr->logDebug("Return buffer address {} to queue of free", (void*)_acqParams->imageBufferPtr);
|
||||
});
|
||||
}
|
||||
|
||||
@ -431,7 +433,7 @@ void RaptorEagleCCD::AcquisitionProcess::stop(bool save)
|
||||
|
||||
_acqParams->saveInAbort = save;
|
||||
|
||||
auto bytes = serverPtr->readRegisters({0xD4}); // curent trigger mode register
|
||||
auto bytes = serverPtr->readRegisters({0xD4}); // current trigger mode register
|
||||
|
||||
bytes[0] |= CL_ABORT_CURRENT_EXP; // set abort acquisition bit
|
||||
|
||||
|
||||
@ -1068,6 +1068,8 @@ void RaptorEagleCCD::startAquisition()
|
||||
.currentKeywords = std::move(_currentFitsKeywords), // move!!!
|
||||
.imageBufferPtr = _acqRingFreeBufferPtrs.front()}));
|
||||
|
||||
logDebug("Current acquisition buffer address: {}", (void*)_acqRingFreeBufferPtrs.front());
|
||||
|
||||
_acqRingFreeBufferPtrs.pop();
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user