Back Midas Rome Roody Rootana
  Midas DAQ System  Not logged in ELOG logo
Entry  06 Oct 2019, Nik Berger, Bug Report, History data size mismatch 
    Reply  06 Oct 2019, Stefan Ritt, Bug Report, History data size mismatch 
    Reply  10 Oct 2019, Konstantin Olchanski, Bug Report, History data size mismatch 
    Reply  10 Oct 2019, Nik Berger, Bug Report, History data size mismatch 
       Reply  10 Oct 2019, Stefan Ritt, Bug Report, History data size mismatch 
Message ID: 1722     Entry time: 10 Oct 2019     In reply to: 1719     Reply to this: 1723
Author: Nik Berger 
Topic: Bug Report 
Subject: History data size mismatch 
>I wonder why do you this via ODB links. The "standard" way of writing to the history should be to create events for an equipment and flag this equipment as being written to the
>history. All variables under /Equipment/<name>/Variables then automatically go into the history and you don't have to worry about ODB links. Only variables not fitting the
>equipment/variables scheme should be dealt with via ODB links, like variables under equipment/statistics or parameters in another ODB tree. In a typical midas experiment, only
>very few variables typically go into the 'System' event. This is however probably not a solution to your problem. If you have a similar structure (doubles plus an odd number of floats)
>under 'variables', you might get the same error.

>
> In our history, a long list of doubles (64 Bit) fas followed by three floats (32 bit)
>

We do this in the MuX DAQ and mix things that come directly from MIDAS (the MIDAS trigger rate) and things from the
analyzer (rates in the self-triggering detectors) and some temperatures from yet somewhere else. Yes, we could have
kept that apart, yes, in this case a double would also work (and not break things), but a bug is a bug...
I could think of senisble use cases where doubles and ints are mixed and I also know quite a few areas where it makes
sense to use floats...

Nik
ELOG V3.1.4-2e1708b5