|
|
|
Back
Midas
Rome
Roody
Rootana
|
| Midas DAQ System |
Not logged in |
 |
|
23 Apr 2026, Pavel Murat, Bug Report, increasing the max number of hot links in ODB
|
24 Apr 2026, Konstantin Olchanski, Bug Report, increasing the max number of hot links in ODB
|
25 Apr 2026, Pavel Murat, Bug Report, increasing the max number of hot links in ODB
|
27 Apr 2026, Konstantin Olchanski, Bug Report, increasing the max number of hot links in ODB
|
27 Apr 2026, Pavel Murat, Bug Report, increasing the max number of hot links in ODB
|
26 Apr 2026, Stefan Ritt, Bug Report, increasing the max number of hot links in ODB
|
27 Apr 2026, Konstantin Olchanski, Bug Report, increasing the max number of hot links in ODB
|
27 Apr 2026, Nick Hastings, Bug Report, increasing the max number of hot links in ODB
|
27 Apr 2026, Pavel Murat, Bug Report, increasing the max number of hot links in ODB
|
27 Apr 2026, Pavel Murat, Bug Report, increasing the max number of hot links in ODB
|
|
|
Message ID: 3214
Entry time: 26 Apr 2026
In reply to: 3210
Reply to this: 3216
3218
|
| Author: |
Stefan Ritt |
| Topic: |
Bug Report |
| Subject: |
increasing the max number of hot links in ODB |
|
|
I wonder why one needs more than 256 hotlinks at all. Please note that with the odbxx "watch" API, you can hotline a whole subdirectory, and get notified if ANY of the
underlying values or subdirectories change. In principle, one could have one hotlink to "/" and see all changes in the ODB (although that does not make sense and might slow
down ODB access a bit).
Try the odbxx_test.cpp example in MIDAS. In line 210 it puts a single hotlink to /Experiment. If you change anything under /Experiment, the program gets notified. By checking the
path of the changed ODB entry, it can figure out which of the subways have been changed:
// watch ODB key for any change with lambda function
midas::odb ow("/Experiment");
ow.watch([](midas::odb &o) {
std::cout << "Value of key \"" + o.get_full_path() + "\" changed to " << o << std::endl;
});
Maybe that would solve your problem without having to change the maximum number of hotlinks.
Stefan |