Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

As stated repeatedly elsewhere, the existing SLC applications, such as correlation plots, steering, bumps etc, can be used to access LCLS beamline orbit and control data. That is, SLC apps will work for LCLS. This is ensured by the "SLC-aware-IOC" project, in which VMS hosted SLC control system signals will be processed by field IOC's IOCs, and data returned in a manner transparent to the VMS SLC control system.

...

The nominal system would be that below. The EPICS archiver protocol stack is given at left. The existing SLC history system is show at right; SLC history data can now be acquired by new applications or by matlab through Aida.

!historyDataFlow.gnp!Image Added

Anchor
appframework
appframework

...

Anchor
td_GW
td_GW

Add gold lattice to optics flowchart diagram
More on History/archiving
More on correlation plots

Basic Architecture FAQ

Desktop

x86 Linux RH, KDE/GTK window system. Apps will run on the desktop host (not over X11). Control room heads will simply be an example of this, ie locally on a kiosk or sunray (running linux/GTK). Windows later; Mac later. Apps can be run over X11 onto Windows and Mac in offices (with some performance degradation).

Frameworks

Eclipse Rich Client Platform (RPC) and XAL applications. Therefore mixing Eclipse (SWT/Jface) and XAL (AWT/Swing). Control System Studio Eclipse plugins will be used as they mature.

Modelling

4 phases: 1) for BC-1 use SLC model system, data retrieved over AIDA; 2) MAD twiss/R-mats persisted to Oracle db, applications and ad-hoc physicists apps in Matlab use AIDA to retrieve optics; 3) XAL, twiss/R-mats persisted to Oracle, existing XAL apps use XAL files, new XAL apps we write use Oracle; 4) As 3, but XAL input file is generated from Oracle device list.

Databases

Oracle, SLACPROD for "prod", SLACDEV FOR "dev". Program access by jdbc, AIDA, hibernate.

Applications Servers (for web based applcations)

3 Application servers: 1) Oracle APEX (aka Application Express, aka ORAWEB) for items managed by the LCLS Database team; 2) tomcat, for physics elog, and other web applications.

Display and Plot generation.

Textual displays defined by xml data + css (Casscading Style Sheet) producing xhtml rendered by browser in Eclipse.

Plotting by GnuPlot v4, or possibly JAS. The last data plotted will be immediately available in an octave window.

Help

By Eclipse help system.

Error handling

err.stanford.slac java package. errors issued to cmlog db. Default browser will be jcmlog.