Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Oracle RDB (Host mccora2). This Oracle database server is shared with the elog and error log. The SCORE RDB is on this machine. If this host is down, or if the Oracle database server is down, SCORE is unable to save and restore.
  • Aida
    1. Production webserver (mccas0). Aida needs this to contact its nameserver, currently hosted in SCCS.
    2. Aida nameserver requires its Oracle database, SLACPROD, hosted in SCCS. If the SLACPROD instance, or afs (network) is down, SCORE is unable to restore magnets and receive live data from existing slc devices.
    3. Various distributed Aida servers (VMS SLC data provider, VMS SLC Magnet data provider). If any of these processes are down, SCORE is unable to restore magnets and/or receive live data from existing slc devices. All magnet BCON signals, whether the magnet is new and controlled by EPICS or existing SLC, require loading via AIDA since BCON control is via the SLC database.
Panel

Anchor
_New_LEM_and
_New_LEM_and
New LEM and SCORE Functionality Top

(from Patrick Krejcik's power point presentation)

  • Overview
    • LEM Collect Data and Scale Magnets are now java packages that can be called from other HLAs like SCORE, in addition to the standalone LEM GUI.
      **SCORE has designated "-LEM" regions where it is understood that magnet BDES values are subject to energy scaling.
      **If you SAVE a snapshot in a SCORE "-LEM" region then energy data will automatically be collected and saved alongside magnet data
      **LOADing a "-LEM" region will likewise automatically collect energy data and scale the snapshot BDESs accordingly.

LEM's Collect Data Overview

  • Klystron phase and amplitude data are read (from SLC)
  • Online model knows the configuration of accelerating structures (number and length) per klystron and calculates energy gain along the linac
  • Collect Data returns a list of EACTs at every magnet in the region.
  • Collect Data puts the EACT values into PVs for general access

SCORE SAVE function

  • If a "-LEM" region was selected Save Region will go and Collect Data via LEM
  • (soon) A pop up window will appear with LEM graphics displays where you can see if LEM is currently "green"
    • You will be prompted whether to proceed with the SCORE Save
  • SCORE populates the EDES Save Val column
  • The EACT values are written to PVs and are recorded in the SCORE Snapshot in the EACT Save Val column. Note, EDES and EACT columns should now agree.
    • At this stage the EDES PVs used for LEMing have not changed

SCORE SAVE

...

  • TIPS
    • Look at the new message window
      • Did SCORE finish contacting LEM? Patience!
    • Use the Signal Name Filter to inspect EDES values
    • Note TRMS have no EDES, only the parent magnet has an EDES (to avoid potential discrepancies)
    • Some magnets are never LEMmed, so have no matching EDES in the SCORE Snapshot

SCORE Load

  • Select a Snapshot in a LEM region and click 'LOAD All Tabs' or 'LOAD Partial' will
    • Prompt to proceed with Scaling
    • If Yes, Collect Data and Scale Magnets
  • SCORE will now automatically generate a new Snapshot
    • New Snapshot will be labeled "id no. scaled to present energy"
    • write in the current EDES and EACT values
    • populate the BDES values with new SCALEd MAGNET values from LEM
  • User may compare BDES Save Val with current Live values in adjacent column Con Live Val
  • Prompt to proceed with Loading
    • If Yes, BDES Save Val is PUT to BCON PVs and BCON Live Val is updated

SCORE Activate

  • Activate Partial or Activate All Tabs will
    • PUT BCON Live Val into BDES PVs
    • PUT ECON Live Val into EDES PVs
  • Prompt to TRIM
    • If Yes, TRIM magnets and update the BDES Live Val column
      *This makes LEM green, you have made this Snapshot your new optics
  • User can verify that BACT Live Val agrees with BDES Saved Val
  • Partial Load and Activate allows selections amongst Quads, Correctors, Bends, and excluding certain regions

Usage

  • LCLSHOME has a new LEM-SCORE button as well as the old SCORE button.
  • Continue to use Matlab LEM for displaying graphics only
  • In place of LEMing the machine, recommend LOADing the same Snapshot whenever you think LEM should be made green
  • An additional LEM GUI with new graphics is coming next week

...