Back Midas Rome Roody Rootana
  Midas DAQ System  Not logged in ELOG logo
Entry  23 Sep 2019, Frederik Wauters, Suggestion, recover daq and hardware safety. 
    Reply  27 Sep 2019, Konstantin Olchanski, Suggestion, recover daq and hardware safety. 
       Reply  28 Sep 2019, Frederik Wauters, Suggestion, recover daq and hardware safety. 
          Reply  29 Sep 2019, Konstantin Olchanski, Suggestion, recover daq and hardware safety. 
             Reply  15 Oct 2019, Stefan Ritt, Suggestion, recover daq and hardware safety. 
Message ID: 1726     Entry time: 15 Oct 2019     In reply to: 1715
Author: Stefan Ritt 
Topic: Suggestion 
Subject: recover daq and hardware safety. 
There is a not-so-well-known function in the ODB to write protect some keys. You can do

odbedit> chmod 1 /Equipment/HV/Demand

which will write protect your Demand values. You see that by doing

odbedit> ls -ls

where you only see a "R" at the right end instead a "RWD". I haven't tried it yet (so better do a dry run yourself), but that should prevent an odb load to overwrite your demand values. To change the values, put some logic on a custom page to unprotect the 
values, change them, and then protect them again.

Stefan
ELOG V3.1.4-2e1708b5