mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-05-05 01:34:13 +02:00
detached sync and assembler with zmq recv.
This commit is contained in:
@@ -18,7 +18,6 @@ namespace BufferUtils
|
||||
|
||||
const std::string detector_name;
|
||||
const int n_modules;
|
||||
const int n_submodules;
|
||||
const int start_udp_port;
|
||||
const std::string buffer_folder;
|
||||
|
||||
@@ -32,7 +31,6 @@ namespace BufferUtils
|
||||
<< det_config.GAIN_FILENAME << ' '
|
||||
<< det_config.detector_name << ' '
|
||||
<< det_config.n_modules << ' '
|
||||
<< det_config.n_submodules << ' '
|
||||
<< det_config.start_udp_port << ' '
|
||||
<< det_config.buffer_folder << ' ';
|
||||
}
|
||||
|
||||
@@ -16,6 +16,10 @@ struct ModuleFrame {
|
||||
};
|
||||
#pragma pack(pop)
|
||||
|
||||
// ImageMetadata status convention
|
||||
// 0 good image
|
||||
// 1 frames with missing packets
|
||||
// 2 frames with different ids
|
||||
|
||||
#pragma pack(push)
|
||||
#pragma pack(1)
|
||||
@@ -26,11 +30,10 @@ struct ImageMetadata {
|
||||
uint64_t dtype;
|
||||
uint64_t encoding;
|
||||
uint64_t source_id;
|
||||
uint64_t status;
|
||||
uint64_t status;
|
||||
uint64_t user_1;
|
||||
uint64_t user_2;
|
||||
};
|
||||
#pragma pack(pop)
|
||||
|
||||
|
||||
#endif //SF_DAQ_BUFFER_FORMATS_HPP
|
||||
|
||||
Reference in New Issue
Block a user