DetectorSetup: Configure UDP interface count

This commit is contained in:
2023-09-20 14:00:10 +02:00
parent aa3d9e5edb
commit 6cbd577824
9 changed files with 137 additions and 103 deletions
+2
View File
@@ -858,6 +858,8 @@ JFJochProtoBuf::DetectorConfig DiffractionExperiment::DetectorConfig(const JFJoc
if (!internal.detector().module_hostname().empty())
*ret.mutable_module_hostname() = internal.detector().module_hostname();
ret.set_udp_interface_count(internal.detector().udp_interface_count());
for (int d = 0; d < GetDataStreamsNum(); d++) {
for (int m = 0; m < GetModulesNum(d); m++) {
auto mod_cfg = ret.add_modules();