Back Midas Rome Roody Rootana
  Midas DAQ System  Not logged in ELOG logo
Entry  19 Sep 2023, Frederik Wauters, Bug Report, epics fe "Start Command" 
    Reply  20 Sep 2023, Stefan Ritt, Bug Report, epics fe "Start Command" 
Message ID: 2606     Entry time: 19 Sep 2023     Reply to this: 2607
Author: Frederik Wauters 
Topic: Bug Report 
Subject: epics fe "Start Command" 
The epics frontend overwrites the "start command" odb after each start:

  // set start command in ODB
   midas::odb efe("/Programs/EPICS Frontend");
   std::string p(__FILE__);
   std::string s("build/epics_fe");
   auto i = p.find("epics_fe.cxx");
   p.replace(i, s.length(), s);
   p = p.substr(0, i + s.length());
   efe["Start command"].set_string_size(p, 256);

this should be set such that it only writes when the key is not there. It causes the following issue: on a pc with multiple experiments defined, you need to start the fe's with a "-e <name>" flag. 
ELOG V3.1.4-2e1708b5