mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-06-06 11:38:40 +02:00
Add some module logic
This commit is contained in:
@@ -124,7 +124,10 @@ int main (int argc, char *argv[]) {
|
||||
512 * 1024 * 2,
|
||||
0);
|
||||
|
||||
zmq_recv(meta_socket, nullptr, 0, 0);
|
||||
if ((i_frame > 0) && (i_frame%50 == 0)) {
|
||||
// Wait for the sync message.
|
||||
zmq_recv(meta_socket, nullptr, 0, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user