I'm constructing a TMFeEquipment with this constructor:
MagnetFe(const char *eqname, const char *eqfilename) // ctor
: TMFeEquipment(eqname, eqfilename)
{
fEqConfEventID = 3;
fEqConfBuffer = "SYSTEM";
fEqConfPeriodMilliSec = 1000; // in milliseconds
fEqConfLogHistory = 1;
fEqConfReadOn = RO_ALWAYS;
}
When I start with a fresh ODB, the directories are created correctly, and e.g. the
event ID is set correctly, but "Read on" is set to 1 (i.e. RO_RUNNING) instead of
0xFF.
Now when I set it to 0xFF manually and restart, it gets overwritten to 7
(RO_NONTRANS), which I guess is a relatively recent change and doesn't affect me
negatively. |