create new tag
view all tags

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.


Physics WebpagesRHUL WebpagesCampus Connect • Royal Holloway, University of London, Egham, Surrey TW20 0EX; Tel/Fax +44 (0)1784 434455/437520

Topic revision: r1 - 22 Jan 2013 - LaurieNevay

This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 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