mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-06-04 04:28:27 +02:00
more debug msgs. adjusts on streamer and assembler to work with frame_index instead of pulse_id.
This commit is contained in:
@@ -42,6 +42,12 @@ PulseAndSync ZmqPulseSyncReceiver::get_next_pulse_id() const
|
||||
{
|
||||
uint64_t pulses[n_modules_];
|
||||
|
||||
#ifdef DEBUG_OUTPUT
|
||||
cout << "[ZmqPulseSyncReceiver::get_next_pulse_id()]";
|
||||
cout << "n_modules_" << n_modules_;
|
||||
cout << endl;
|
||||
#endif
|
||||
|
||||
bool modules_in_sync = true;
|
||||
for (int i = 0; i < n_modules_; i++) {
|
||||
zmq_recv(sockets_[i], &pulses[i], sizeof(uint64_t), 0);
|
||||
|
||||
Reference in New Issue
Block a user