Skip to content
Snippets Groups Projects
Commit cbb8e48c authored by Martin Christoph Hierholzer's avatar Martin Christoph Hierholzer
Browse files

[workaround DOOCS bug] set timestamp of all writeable properties at start

This is a workaround for the following DOOCS bug:
https://rt-system.desy.de/Ticket/Display.html?id=985653
parent 9310bf02
No related branches found
No related tags found
No related merge requests found
......@@ -60,6 +60,9 @@ namespace ChimeraTK {
// send the current value to the device
if(_processArray->isWriteable()) {
sendToDevice();
// set DOOCS time stamp, workaround for DOOCS bug (get() always gives current time stamp if no timestamp is set,
// which breaks consistency check in ZeroMQ subscriptions after the 4 minutes timeout)
DOOCS_T::set_stamp();
}
}
......
......@@ -143,6 +143,9 @@ namespace ChimeraTK {
if(_processScalar->isWriteable()) {
_processScalar->accessData(0) = DOOCS_T::value();
_processScalar->write();
// set DOOCS time stamp, workaround for DOOCS bug (get() always gives current time stamp if no timestamp is set,
// which breaks consistency check in ZeroMQ subscriptions after the 4 minutes timeout)
DOOCS_T::set_stamp();
}
}
......
......@@ -77,6 +77,9 @@ namespace ChimeraTK {
modified = false;
if(_processArray->isWriteable()) {
sendToDevice();
// set DOOCS time stamp, workaround for DOOCS bug (get() always gives current time stamp if no timestamp is set,
// which breaks consistency check in ZeroMQ subscriptions after the 4 minutes timeout)
D_spectrum::set_stamp();
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment