mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-04-22 09:44:36 +02:00
check that next frame has large pulse_id than previous
This commit is contained in:
committed by
Data Backend account
parent
be206af5e2
commit
49397e8a2f
@@ -51,7 +51,7 @@ int main (int argc, char *argv[]) {
|
||||
bool bad_pulse_id = false;
|
||||
|
||||
if ( ( meta.frame_index != (frame_index_previous+1) ) ||
|
||||
( (pulse_id-pulse_id_previous) < 0 ) ||
|
||||
( (pulse_id-pulse_id_previous) <= 0 ) ||
|
||||
( (pulse_id-pulse_id_previous) > 1000 ) ) {
|
||||
|
||||
bad_pulse_id = true;
|
||||
|
||||
Reference in New Issue
Block a user