Back Midas Rome Roody Rootana
  Midas DAQ System  Not logged in ELOG logo
Entry  09 Dec 2020, Frederik Wauters, Forum, history and variables confusion 
    Reply  09 Dec 2020, Stefan Ritt, Forum, history and variables confusion 
       Reply  10 Dec 2020, Frederik Wauters, Forum, history and variables confusion genesys.odb
          Reply  11 Dec 2020, Frederik Wauters, Forum, history and variables confusion 
             Reply  15 Dec 2020, Konstantin Olchanski, Forum, history and variables confusion 
                Reply  08 Jan 2021, Stefan Ritt, Forum, history and variables confusion 
Message ID: 2049     Entry time: 09 Dec 2020     Reply to this: 2050
Author: Frederik Wauters 
Topic: Forum 
Subject: history and variables confusion 
I have a fe, with 2 "equipments" (2 different types of LV supplies).

Equipment/../Setting has a "Names" key, with the actual channel names (ch1, ch2, ...) of the devices.

Equipment/../Variables has channel states, voltage, etc. 

I also write a separate midas bank for each supply.

When I turn the "Log History" on, 2 things happen which cause troubles:
1. It writes the data of both bank to both the /Equipment/(Device1/Device2)/Variables .
2. I have e.g. 4 channels. In the banks I write current and voltages, so 8 numbers. When I turn on the logger I get an "Array size mismatch" between names and the midas bank size.

The only way around this is to disable the history logging in the equipment, and set "virtual" History events?
ELOG V3.1.4-2e1708b5