Back Midas Rome Roody Rootana
  Midas DAQ System, Page 90 of 150  Not logged in ELOG logo
ID Date Author Topicdown Subject Text Attachments
  2687   28 Jan 2024 Konstantin OlchanskiForumnumber of entries in a given ODB subdirectory ?Very good question. It exposes a very nasty
problem, the race condition between "ls"
and "rm". While you are 
  
  2689   28 Jan 2024 Konstantin OlchanskiForumHistory tags> This part of the system has been designed
by KO, so he should reply here.
  
  2690   28 Jan 2024 Konstantin OlchanskiForuma scroll option for "add history variables" window?> > Have you updated to the current midas
version? This issue has been fixed a while
ago. 
  
  2691   28 Jan 2024 Konstantin OlchanskiForumdump history FILE files$ cat mhf_1697445335_20231016_run_transitions.dat
event name: [Run transitions], time [1697445335]
tag: tag: /DWORD 1 4 /timestamp
  
  2692   28 Jan 2024 Konstantin OlchanskiForumslow control frontends - how much do they sleep and how often their drivers are called? > I have implemented a number of slow control
frontends which are directed to update the
  
  2693   28 Jan 2024 Konstantin OlchanskiForumthe logic of handling history variables ?MIDAS history is very simple:

from your frontend, your write your history
  
  2694   28 Jan 2024 Stefan RittForumnumber of entries in a given ODB subdirectory ?I guess you won't change your FPGA configuration
just when you start a run, so I don't consider
the race
 Screenshot_2024-01-29_at_07.20.50.png 
  2696   29 Jan 2024 Pavel MuratForumnumber of entries in a given ODB subdirectory ?Hi Stefan, Konstantin, 

thanks a lot for your responses - they are
  
  2697   29 Jan 2024 Pavel MuratForuma scroll option for "add history variables" window?> If you have some ideas on how to better
present 100500 history variables, please
shout out!
  
  2698   29 Jan 2024 Konstantin OlchanskiForumnumber of entries in a given ODB subdirectory ?> https://chat.openai.com/share/d927c78d-9914-4413-ab5e-3b0e5d173132

> Please note that you never can be 100%
  
  2699   29 Jan 2024 Konstantin OlchanskiForuma scroll option for "add history variables" window?familiar situation, "too much data", you dice
t or slice it, still too much. BTW, you can
try to generate history 
  
  2701   03 Feb 2024 Pavel MuratForumnumber of entries in a given ODB subdirectory ?Konstantin is right: KEY.num_values is not
the same as the number of subkeys (should
it be ?)
 a.cc 
  2704   05 Feb 2024 Pavel MuratForumforbidden equipment names ?Dear MIDAS experts,

I have multiple daq nodes with two data receiving
  
  2705   08 Feb 2024 Stefan RittForumnumber of entries in a given ODB subdirectory ?> Konstantin is right: KEY.num_values is not
the same as the number of subkeys (should
it be ?)
  
  2706   11 Feb 2024 Pavel MuratForumnumber of entries in a given ODB subdirectory ?> For ODB keys of type TID_KEY, the value
num_values IS the number of subkeys. 
  
  2708   13 Feb 2024 Stefan RittForumnumber of entries in a given ODB subdirectory ?> > For ODB keys of type TID_KEY, the value
num_values IS the number of subkeys. 
  
  2709   13 Feb 2024 Konstantin OlchanskiForumforbidden equipment names ?> equipment names are 'mu2edaq09:DTC0' and
'mu2edaq09:DTC1'
  
  2713   15 Feb 2024 Konstantin OlchanskiForumnumber of entries in a given ODB subdirectory ?> > > For ODB keys of type TID_KEY, the value
num_values IS the number of subkeys. 
> > 
  
  2714   15 Feb 2024 Konstantin OlchanskiForumnumber of entries in a given ODB subdirectory ?> > You are right, num_values is always 1
for TID_KEYS. The number of subkeys is stored
in 
  
  2715   15 Feb 2024 Stefan RittForumnumber of entries in a given ODB subdirectory ?> Hmm... is there any use case where you want
to know the number of directory entries,
but you will not iterate 
  
ELOG V3.1.4-2e1708b5