Back Midas Rome Roody Rootana
  Midas DAQ System, Page 90 of 157  Not logged in ELOG logo
ID Date Author Topic Subjectdown Text Attachments
  1419   26 Dec 2018 Konstantin OlchanskiInfoPartial refactoring of ODB code> One additional comment: In the 90's when
I developed this code, locking was expensive.
> Now the world has changed, we can do almost
  
  1423   27 Dec 2018 Stefan RittInfoPartial refactoring of ODB code> I am not sure this is quite true. The CPU
can execute 3000 million operations per second
(3GHz CPU, assuming 1 op/Hz),
  
  2742   30 Apr 2024 Luigi ViganiBug ReportParams not initialized when starting sequencerGood afternoon,

After updating Midas to the latest develop
 midas_sequencer_ok.pngmidas_sequencer_buggy2.png 
  2750   03 May 2024 Zaher SalmanBug ReportParams not initialized when starting sequencerCould you please export and send me the /Sequencer
ODB tree (or just /Sequencer/Param and /Sequencer/Variables)
in both cases while the sequence is running.
  
  2751   03 May 2024 Stefan RittBug ReportParams not initialized when starting sequencerOk, here is the complete code to reproduce
the problem. Load parameter_test.msl which
includes functions.msl. From the screenshot
 param_test.mslfunctions.mslSequencer.jsonScreenshot_2024-05-03_at_09.19.29.pngScreenshot_2024-05-03_at_09.20.47.png 
  2752   03 May 2024 Luigi ViganiBug ReportParams not initialized when starting sequencerIt is pretty much the same as Stefan, I attach
here the screenshots. Also in my case it
works sometimes, and sometimes partially
 seq1.PNGseq2.PNGseq3.PNG 
  2755   03 May 2024 Zaher SalmanBug ReportParams not initialized when starting sequencerI have been able to reproduce the problem
only once. From what I see, it seems that
the Variables ODB tree is not initialized
  
  2756   03 May 2024 Stefan RittBug ReportParams not initialized when starting sequencerAhh, that rings a bell:

1) JS opens start dialog box
  
  2757   03 May 2024 Zaher SalmanBug ReportParams not initialized when starting sequencerThanks for the hint Stefan. I pushed a possible
fix but I cannot test it since I cannot reproduce
the issue.
  
  2758   03 May 2024 Stefan RittBug ReportParams not initialized when starting sequencerSeems to me like the problem happens less
frequently, but I still see it (1 out of
5 or so). The fact that /Sequencer/Params/Value
 Screenshot_2024-05-03_at_18.19.52.png 
  2763   10 May 2024 Zaher SalmanBug ReportParams not initialized when starting sequencerI think that I finally managed to fix the
problem. The default values of the parameters
are now written first in one go, then the
  
  Draft   13 May 2024 Luigi ViganiBug ReportParams not initialized when starting sequencer[quote="Zaher Salman"]I think
that I finally managed to fix the problem.
The default values of the parameters are
  
  2765   13 May 2024 Luigi ViganiBug ReportParams not initialized when starting sequencer[quote="Zaher Salman"]I think that I finally
managed to fix the problem. The default values
of the parameters are now written first in
  
  2776   21 May 2024 Thomas SengerBug ReportParams not initialized when starting sequencerHi all, 
On develop, the issue seems to be still there
and is not fixed. 
  
  2777   21 May 2024 Zaher SalmanBug ReportParams not initialized when starting sequencerI traced the problem to a mjsonrpc_db_ls call
where I read /Sequencer/Param... . It seems
that this sometimes returns a status 312
  
  2778   21 May 2024 Zaher SalmanBug ReportParams not initialized when starting sequencerHi Thomas,
I have a fix for the issue and I would be
happy with testers if you are willing. Simply
  
  2779   22 May 2024 Thomas SengerBug ReportParams not initialized when starting sequencerHi Zaher, 
thanks for your help. 
I just tried the bug fix, but it still seems
  
  2815   30 Aug 2024 Zaher SalmanBug ReportParams not initialized when starting sequencerThe issue with the parameters should be fixed
now. Please test and let me know if it still
happens.
  
  2822   04 Sep 2024 Lukas GerritzenBug ReportParams not initialized when starting sequencerI think I have had similar issues in a custom
page, where I wrote values to the ODB and
they were not ready when I needed them. If
  
  2823   04 Sep 2024 Zaher SalmanBug ReportParams not initialized when starting sequencerThe problem here was that the JS code did
not wait to msequencer to finish preparing
the "/Sequencer/Param" in the ODB, so I had
  
ELOG V3.1.4-2e1708b5