Back Midas Rome Roody Rootana
  Midas DAQ System  Not logged in ELOG logo
Entry  27 Oct 2025, Giovanni Mazzitelli, Suggestion, Python sc_frontend.py Display and History variables 
    Reply  13 Nov 2025, Stefan Ritt, Suggestion, Python sc_frontend.py Display and History variables 
Message ID: 3114     Entry time: 13 Nov 2025     In reply to: 3106
Author: Stefan Ritt 
Topic: Suggestion 
Subject: Python sc_frontend.py Display and History variables 
> We would like to write an sc_frontend in Python instead of C++. All our drivers 
> work correctly, as well as the creation of the database in the ODB, including the 
> creation of Commons, Statistics, Variables, and Settings.
> However, we are unable to correctly create the database entries needed to manage 
> History and Display.
> 
> As we understand it, in C++ this is handled by setting the EQ_SLOW flag, which 
> doesn’t seem to be implemented in the Python libraries.
> How can we manually create the necessary variables for Display and History?

I'm not an expert of the Python part of MIDAS (Ben Smith is), but I know that you have
functions to create keys and set values in the ODB, so you should be able to create
these things manually as you need them.

Stefan
ELOG V3.1.4-2e1708b5