mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-19 16:27:13 +02:00
bugfix for gotthard roi and noroi frame number, temporary fix to look at CACACACA to know if its a second packet, and first time look at last bit to know wheter to increment or not for consecutive frames fr no roi
This commit is contained in:
@ -544,6 +544,10 @@ uint32_t Listener::ListenToAnImage(char* buf) {
|
||||
}
|
||||
// -------------------old header -----------------------------------------------------------------------------
|
||||
else {
|
||||
// set first packet to be odd or even (check required when switching from roi to no roi)
|
||||
if (myDetectorType == GOTTHARD && !measurementStartedFlag)
|
||||
generalData->SetOddStartingPacket(listeningPacket + esize);
|
||||
|
||||
generalData->GetHeaderInfo(index, listeningPacket + esize,
|
||||
*dynamicRange, fnum, pnum, snum, bid);
|
||||
}
|
||||
|
Reference in New Issue
Block a user