Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
# [#Development]
## [#Environment]
# [#Release]

h1. Development

h2. Environment
* Effectively, you can only develop MPSGui inside Eclipse on lcls-builder.
* Check out the CVS module mps/mpsgui
* To run
** Select mpsgui/src/edu.stanford.slac.mpsgui/MpsGuiLauncher
** Right-click => select Run As... => Java Application
** If you run the app for the first time, it should fail
*** Go to Run in the Window menu
*** Select "Open Run Dialog..."
*** Select "MpsGuiLauncher" in the window on the left
*** Select the "Arguments" tab
*** Enter
{quote}
jdbc:sqlite:/usr/local/lcls/epics/iocTop/MachineProtection/mpsConfiguration/database/ 
jdbc:sqlite:/usr/local/lcls/epics/iocTop/MachineProtection/mpsConfiguration/algorithm/ 
jdbc:oracle:thin:MPS_HISTORY/{*current_password}*@mccqa.slac.stanford.edu:1521:MCCQA
{quote}
in the *Program* arguments area.
*** *Note:* Replace {current_password} with the current password (can be found in the mpsgui/mpsgui script)
*** Press "Run"

h2. Dependencies
(See paths in the scripts mpsgui/mpsgui or mpsgui/mpscud)
* ezJCA (version R0-0-10)
* javainterfaces (current version)
* [MPS Config] (current version)
* SwingUtil (current version)
** jgoodies.jar can be added during runtime for the Matlab look & feel
* xal4lcls (both ext.jar and xal.jar, current version)

h1. Release




Immediate Release
java.lang.NullPointerException
	at edu.stanford.slac.mpsgui.controller.ignorelogic.IgnoreLogicViewer.checkCurrentIgnoreLogic(IgnoreLogicViewer.java:80)
	at edu.stanford.slac.mpsgui.controller.ignorelogic.IgnoreLogicViewer$1.run(IgnoreLogicViewer.java:44)
	at java.lang.Thread.run(Thread.java:595)

* Pick up the new config/logic databases automatically

h1. Test on lcls-dev2
{code}
mpsgui \
jdbc:sqlite:/afs/slac.stanford.edu/u/xr/snorum/ioc/mpsConfiguration/database/ \
jdbc:sqlite:/afs/slac.stanford.edu/u/xr/snorum/ioc/mpsConfiguration/algorithm/ \
jdbc:oracle:thin:MPS_HISTORY/Neutrin0!@slac-oracle02.slac.stanford.edu:1521:SLACDEV \
&
{code}

* Ignore/unignore truth tables by writing 0 or 1 to YAGS:IN20:211:IN_LMTSW_BYPV
{code}
caput YAGS:IN20:211:IN_LMTSW_BYPV 1 to ignore
caput YAGS:IN20:211:IN_LMTSW_BYPV 0 to unignore
{code}

* Default solution etc. is "--"

h1. New States
* If the truth table's state can't be found in the Logic DB, make an alert panel that shows the truth table's name, the raw state value from the IOC:BSY0:MP01:TTBLST array, and a message saying "Send the above information to the controls group."

* [Documentation|^ignore_logic_doc.html]
* Highlight new truth table state when selected

h1. Stuff

* Convert all JTables to MpsGuiTables
* MpsLe to remember previous directory
* Make A, B, and potentially C flexible