Versions Compared

Key

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

...

  • Consists of tabs

Classes and Functions

Entry Points

edu.stanford.slac.mpsgui.MpsCudController

...

  • Contains constants/properties used by MPSGui, such as:
    • Application name, version number, NULL string, date formats, background color for alternate table rows, etc.

Controllers

edu.stanford.slac.mpsgui.controller.edm.EDMViewer
  • Not used any more
edu.stanford.slac.mpsgui.controller.fault.CurrentFaultsViewer
  • Not used any more
edu.stanford.slac.mpsgui.controller.fault.MPSFaultsViewer
  • Controller for the "Faults" tab
  • A tree-like browser for faults hierarchies
  • Shows the current information about a selected fault

...

  • Controller for the "History" tab
  • Shows live MPS history
    • Default is the last 8 hours (see edu.stanford.slac.mpsgui.MpsGuiProperties)
    • Periodically checks for new MPS History messages
    • If the live history panel is empty, please trouble-shoot the MPS History Server
  • Features a panel for an interactive search of the MPS history
    • Filter applies to fault names only
    • Launches new search on "key typed", tries to cancel the previous search (may break in the future)
edu.stanford.slac.mpsgui.controller.ignorelogic.IgnoreLogicViewer
  • Controller for the "Ignore Logic" tab
  • Monitors the state of ignoring macros (using MPS Config)
    • Caches previous states
  • Shows detailed information about ignoring and ignored macros
edu.stanford.slac.mpsgui.controller.logic.MPSLogicViewer
  • Monitors states of all macros
    • Caches previous states
  • Shows detailed information about a selected macro
  • Allows user to bypass a selected macro to a state
edu.stanford.slac.mpsgui.controller.summary.SummaryViewer
  • Controller for the "Summary" tab
  • Initialized Initializes the logic "viewer" for the integrated logic panel
  • If applicable, styles the summary UI as a CUD (larger font etc.)
  • Monitors beam rate PVs (both MPS and actual)
  • Monitors bypassed faults and end times; warns (using proper colors) when bypasses are about to expire
  • Allows user to re-bypass to a bypassed macro state
edu.stanford.slac.mpsgui.jdbc.hist.HistoryDB

Release with Eclipse

  • Update the application version in $MPSGUI_ROOT/src/edu.stanford.slac.mpsgui.MpsGuiProperties
  • Add a note in $MPSGUI_ROOT/RELEASE_NOTES
    • Increment the tag version accordingly
  • Commit to CVS
  • Tag with mpsgui-R#-#-#
  • Check out the tagged version into production
    Code Block
    cd $PHYSICS_TOP/release
    cvs co -r mpsgui-R#-#-# -d mpsgui-R#-#-# physics/mps/mpsgui
    
  • Select File => New Java project => Create project from existing source
  • Select $PHYSICS_TOP/release/mpsgui-R#-#-#
  • Name the project mpsgui-R#-#-#
  • Press "Finish"
  • Right-click on the new project mpsgui-R#-#-# => Export...
  • Select Java => JAR file
  • Check mpsgui-R#-#-# in "Resources to export"
  • Check "Export generated class files and resources"
  • As the export destination, type (and/or select)
    Code Block
    $PHYSICS_TOP/release/mpsgui-R#-#-#/jar/mpsgui.jar
    
  • Press "Finish"
  • Move the symbolic link
    Code Block
    cd $PHYSICS_TOP/
    rm -rf mpsgui; ln -s release/mpsgui-R#-#-# mpsgui
    
  • Launch from lclshome
    • MPS Global => MPS GUI...
    • MPS Global => MPS CUD...

...