...
 
Commits (2)
......@@ -356,16 +356,14 @@ void RealCAENPhaDriver::writeParam() {
// Enable Fake Events for TimeTag Rollover (used for low rates applications)
uint32_t val;
uint32_t addr = PHA_FAKEEVTS_ROLLOVER_REG | (i<<8);
//uint32_t bitMask = 0x04000000; // bit 26
uint32_t bitMask = 0xFBFFFFFF; // bit 26 Not used in PF1 -- HACk Emilio IFC1210 does the roll over
uint32_t bitMask = 0x04000000; // bit 26
ret = CAEN_DGTZ_ReadRegister(m_boardHandle, addr, &val);
if (ret) {
cerr << "Error CAEN_DGTZ_ReadRegister" << endl;
close();
return;
}
//val |= bitMask;
val &= bitMask;
val |= bitMask;
ret = CAEN_DGTZ_WriteRegister(m_boardHandle, addr, val);
if (ret) {
cerr << "Error CAEN_DGTZ_WriteRegister" << endl;
......