Add rx_streamdummyheader command (#1442)
Build and Deploy on local RHEL9 / build (push) Successful in 2m1s
Build on RHEL9 docker image / build (push) Successful in 3m49s
Build on RHEL8 docker image / build (push) Successful in 5m1s
Build and Deploy on local RHEL8 / build (push) Successful in 5m6s
Run Simulator Tests on local RHEL9 / build (push) Successful in 18m17s
Run Simulator Tests on local RHEL8 / build (push) Successful in 21m56s

* add rx_restream_stop command. This allows to send a ZMQ dummy header any time user wants to do so. For example this allows to pre-configure the ZMQ processing software before the acquisition begins. Therefore, the dummy header was adapted in order to contain the fields stored in the receiver.

* renamed command, changed inherit, moved commands to zmq related section

* update filename in restreamstop

* renamed helper function, sorted header fields alphabetically

* fixed fnametostream set

* renamed functions, add SetFileName method, format JSON parameters order

* added python bindings and formatting (does nothing really)

* renamed restream stop functions to stream dummy

* checkout .github files from ed8c885

* release notes

---------

Co-authored-by: Dhanya Thattil <dhanya.thattil@psi.ch>
This commit is contained in:
2026-06-01 12:07:52 +02:00
committed by GitHub
co-authored by GitHub maliakal_d
parent 4c02ce65cc
commit f31234bbc3
25 changed files with 188 additions and 69 deletions
+11 -6
View File
@@ -842,10 +842,13 @@ void Implementation::shutDownUDPSockets() {
it->ShutDownUDPSocket();
}
void Implementation::restreamStop() {
for (const auto &it : dataStreamer)
it->RestreamStop();
LOG(logINFO) << "Restreaming Dummy Header via ZMQ successful";
void Implementation::streamRxDummyHeader() {
std::string fnametostream = (filePath / fileName).string();
for (const auto &it : dataStreamer) {
it->SetFileName(fnametostream);
it->StreamRxDummyHeader();
}
LOG(logINFO) << "Streaming Dummy Header via ZMQ successful";
}
void Implementation::ResetParametersforNewAcquisition() {
@@ -856,8 +859,10 @@ void Implementation::ResetParametersforNewAcquisition() {
if (dataStreamEnable) {
std::string fnametostream = (filePath / fileName).string();
for (const auto &it : dataStreamer)
it->ResetParametersforNewAcquisition(fnametostream);
for (const auto &it : dataStreamer) {
it->ResetParametersforNewAcquisition();
it->SetFileName(fnametostream);
}
}
}