default PSD program set baseline to be 16 samples
This commit is contained in:
parent
ffb009e6da
commit
76f8f22204
|
@ -566,7 +566,7 @@ inline void Data::PrintChData(unsigned short ch, unsigned int maxRowDisplay) con
|
|||
inline void Data::PrintBuffer(){
|
||||
if( buffer == NULL || nByte == 0 ) return;
|
||||
printf("============== Received nByte : %u\n", nByte);
|
||||
for( int i = 0; i < nByte/4; i++ ) {
|
||||
for( unsigned int i = 0; i < nByte/4; i++ ) {
|
||||
ReadBuffer(i, 2);
|
||||
printf("\n");
|
||||
}
|
||||
|
|
|
@ -439,7 +439,7 @@ int Digitizer::ProgramBoard_PSD(){
|
|||
ret |= CAEN_DGTZ_SetChannelDCOffset(handle, 0xF, 0xAAAA);
|
||||
}
|
||||
|
||||
// ret |= CAEN_DGTZ_WriteRegister(handle, (uint32_t)(DPP::DPPAlgorithmControl) + 0x7000 , 0x001 ); // baseline 16 sample
|
||||
ret |= CAEN_DGTZ_WriteRegister(handle, (uint32_t)(DPP::DPPAlgorithmControl) + 0x7000 , 0x00100000 ); // baseline 16 sample
|
||||
|
||||
ret |= CAEN_DGTZ_WriteRegister(handle, (uint32_t)(DPP::PSD::TriggerThreshold) + 0x7000 , 100 );
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user