Time: Thursday 14th Feb, 1.30pm
Place: Palisades conference room,
Building 280 B rm 162, marked "BABAR Conf" on map 1.
1.30 - 2.30 LabCa Till Straumann. Basically chapter 2 of 2
2.30 - 3.15 Beam acquisition, image management using lca, Aida 3. Mike Zelazny,
Greg White
Break
3.30 - 4.30 LCLS Matlab software environment (CVS, Matlab EPICS variables,
launching, error logging) Mike Zelazny
4.30 - 5.00 Questions and Wrap up
perazzo@slac.stanford.edu,
bionta1@llnl.gov,
ott2@llnl.gov,
hauriege1@llnl.gov,
drury2@llnl.gov,
friedrich1@llnl.gov,
gardner36@llnl.gov,
gxh@slac.stanford.edu,
zelazny@slac.stanford.edu,
strauman@slac.stanford.edu,
greg@slac.stanford.edu
1 Meeting Room Map.
http://www2.slac.stanford.edu/maps/slacarea.html#meetingRoom
2 Matlab Programmers' Guide for LCLS Physicists
http://confluence.slac.stanford.edu/download/attachments/37130/programming_guide_matlab.pdf?version=1 (TinyURL: http://tinyurl.com/23yoqj)
3 labca labca_presentation.pdf
4 Accelerator Independent Data Access (AIDA) system
http://www.slac.stanford.edu/grp/cd/soft/aida/
5 Above references are collected here:
http://confluence.slac.stanford.edu/display/ACCSOFT/MATLAB
The following are some notes from the meeting.
labCa is a tool that's used to get and put EPICS control system values directly from within Matlab or SciLab.
The slides from Till's talk on labCa are given in attachment labca_presentation.pdf.
To run LCLS control ssytem tools, you must make 2 hops if beginning on a SLAC network (the first is to a "gateway" machine). You can only access this gateway from a SLAC IP, so if you're outside SLAC, either VPN, Citrix etc, or login first to a public SLAC AFS node like Tersk.
Eg, login in to Tersk with you SLAC username. Then SSH tunnel first to lcls-prod02 and then to lcls-srv01 using the physics login name:
ssh -Y -l<slac-username> lcls-prod02 |
then
ssh -Y -lphysics lcls-srv01 |
When asked what user you are, on login, if you're not in the list, answer 0.
CVS is accessible on the Web at www.slac.stanford.edu/cgi-wrap/cvsweb
matlab scripts are in the LCLS repository, in the module matlab/toolbox.
The CVS ROOT URL for the LCLS software repository is this:
:ext:<username>@tersk09.slac.stanford.edu:/afs/slac/g/lcls/cvs
Note that you will need a SLAC "AFS" username and password for access.
Mike described the following terms, on the whiteboard.
PV Process Variable
IOC - Input/Output Controller (a front end computer)
Soft/IOC - a host computer that runs processes that compute or store values and makes the results available as PVs. Ie, a "fake" IOC that doesn't do control as such.
Archiver - An EPICS client - retrieves and displays the historical values of PVs
EDM Epics Display manager - a graphical user interface builder for PV displays
StripTool - a client that displays the running values of a PV
LabCA - Lab Channel Access; a tool used in matlab or Scilab to interact with EPICS.
EVG/EVR - Event Generator/Event Receiver. EVG synchronized with PG&E cycle, to send a message including the pulse-id, at approx ~360HZ, to each Event Receiver. At LLNL most applications requ. only 10Hz operation.
We run EPICS (the basic control system
See profileMonitor.edm as an example of an EDM screen that displays a profile. We have found that it can do ~1Hz for a 1392x1040 pixels at 16bits per pixel, which is ~2Mbytes/second (the actual data is only 12 bits deep).
See ImaegMan.m for example of matlab beam profile image processing. This finds the beam and centers the image, and does 6 simple fits as well, and also runs about once per sec.