detached sync and assembler with zmq recv.

This commit is contained in:
lhdamiani
2021-07-06 11:57:43 +02:00
parent 300d992acf
commit 8fd1c4cf7a
14 changed files with 129 additions and 64 deletions
-2
View File
@@ -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 << ' ';
}
+5 -2
View File
@@ -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