Difference: Atf2LwLogBook20130122ExtLwProcessUpdate ( vs. 1)

Revision 122 Jan 2013 - LaurieNevay

Line: 1 to 1

20130122 ExtLwProcess Update

ExtLwProcess occasionally crashed due to communcation errors with magnet movers epics db, although there should be provision for this and it should continue. It was found there were a few errors in the code and also as this code was one of the first pieces of laser-wire code to be written was quite slow and done in a poor way. This was updated, tidied up and errors removed. Particular effort was made to group epics gets and puts together as the python methods take approximately the same time to get one variable as a list of about 100 variables for example, and similarly for caput.

The time per loop was recorded for 1000 loops. The mean was 46.2 +- 0.3ms. The maximum time was 217.0ms and the minimum time was 33.3ms. Even in the longest instance this is faster than the repetition rate of the machine (currently 3.12Hz). Additionally, the recorded laser-wire data does not depend on any of the variables calculated in ExtLwProcess.py and only contains raw data. The processed data is purely for display / EDM purposes.



Settings just to customise this page

  • Set STYLESIDEBAR = off
  • Set ALLOWTOPICVIEW = Public.TWikiGuest, Public.JohnAdamsInstituteGroup
  • Set MYTITLE = - ATF2 laser wire project

META FILEATTACHMENT attachment="20130122_extlwprocess_loop_time.png" attr="" comment="ExtLwProcess Histogram" date="1358836479" name="20130122_extlwprocess_loop_time.png" path="20130122_extlwprocess_loop_time.png" size="15218" stream="20130122_extlwprocess_loop_time.png" user="Public.LaurieNevay" version="1"
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding RHUL Physics Department TWiki? Send feedback