Changeset 848
- Timestamp:
- Apr 30, 2012 5:16:57 PM (12 years ago)
- Location:
- cssboy_deployment
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
cssboy_deployment/cssboydeployment.rst
r847 r848 24 24 workstations. The APS will need occasionally to update 25 25 the suite of standard screens. 26 27 Instructions28 ------------29 30 Install OPI screens (and other resources such as image files, javascript,31 or definition files) into projects within your workspace. The OPI screens32 from *synApps* [#synApps]_ will go into their own project within your33 workspace. The screens from the APS accelerator will go into another34 project. Your instrument and beam line screens will typically go into35 a single project but it is possible that you might have separate projects36 for upstream optics, beam line staff, and users.37 38 Each *project* within CSS may come from a separate location:39 40 * local directory within your account and CSS workspace41 * file server accessible from your directory space42 * NFS or SMB (Samba) file server43 * Version Control working directory44 45 You can't share the CSS Workspace with another user,46 even if that other user is logged in with the same name.47 This will likely cause abnormal behavior for CSS.48 **But**, you can import a common or shared directory into your CSS49 workspace.50 51 Leave the ``CSS`` project for use as a sandbox (special area for files52 which you are testing or using for a short time and do not wish to treat53 as part of everyone's workspace).54 55 56 Install CSS-BOY on your computer57 ++++++++++++++++++++++++++++++++58 59 CSS [#CSS]_ (Control System Studio) was designed at DESY, Hamburg, Germany.60 CSS is software that provides a rich61 environment for EPICS controls.62 63 The SNS at ORNL added the BOY (Best Opi Yet --64 where OPI is an EPICS term Operator Programmer Interface)65 component which is an EPICS display tool.66 For some time, APS developed a custom CSS product [#aps_css]_ to provide67 features and customizations that were not part of the SNS build.68 69 It is recommended now to use the CSS-BOY as built by the team at70 SNS [#css_boy_downloads]_.71 72 .. note::73 You need a Java Runtime Environment (at least) to run CSS.74 Also, you will need one or more EPICS IOCs to serve PVs75 or all you can do is use the simulator inside CSS.76 77 #. Visit this URL and download most-recent version of78 **Basic EPICS** for your OS:79 http://ics-web.sns.ornl.gov/css/products.html80 #. Unzip the contents someplace. Typical for me is:81 ``~/Apps/CSS_EPICS_3.1.0``82 83 84 add OPI screens from synApps as a CSS project85 +++++++++++++++++++++++++++++++++++++++++++++86 87 #. Open the ``CSS_EPICS_3.1.0`` (or whatever version) directory88 #. Start ``css`` by double-clicking it89 #. Select menu ``File-->Import ...``90 #. Open ``General`` category,91 select ``Existing Projects into Workspace``,92 click ``Next`` button93 #. Click ``Browse ...`` button (in *Import* window),94 navigate to ``/APSshare/epics/synApps_5_6/support/all_opi``,95 click ``Ok`` button96 #. Click ``Finish`` button (in *Import* window)97 98 define synApps default fonts and colors99 +++++++++++++++++++++++++++++++++++++++++++++100 101 #. Select menu ``Edit-->Preferences ...``102 #. Open item ``CSS Applications``103 #. Open item ``Display``104 #. Click on item ``BOY``105 #. For Color File, replace text with ``/synApps/color.def`` or *Browse...* to it106 #. For Font File, replace text with ``/synApps/font.def`` or *Browse...* to it107 #. For Top OPIs, replace with OPI file of your choice108 109 .. note:: If get a console message that says:110 111 2012-04-30 15:59:12 ERROR: Failed to read font definition file.112 113 then you've got a typo or some other error. Repeat these steps to fix it.114 115 116 Define a project for your EPICS installation117 +++++++++++++++++++++++++++++++++++++++++++++118 119 Screens for your instrument or beam line or other installation of EPICS120 may already be available. If so, you might import them by following the steps121 above used to import synApps. If you need to develop your own screens,122 then follow these steps:123 124 #. Select menu ``File-->New``125 #. Open ``General`` category,126 select ``Project``,127 click ``Next`` button128 #. Give it a Project name, something short such as *44ID* or *iocPRJ*129 (try to avoid using spaces, it makes things harder later on),130 #. In the ``Navigator`` view,131 open the new project by double-clicking (or any other equivalent way)132 133 Create an OPI file134 ******************135 136 #. Select menu ``File-->New``137 #. Open ``BOY`` category,138 select ``OPI File``,139 click ``Next`` button140 #. Select the folder to contain your new OPI screen,141 type the name of the new OPI file in the box,142 click ``Finish`` button143 144 Your new screen will appear in a CSS-BOY editing window.145 You might consider changing to the ``OPI Editor`` perspective146 as this will provide much more help in editing the screen.147 148 Once you have setup the CSS-BOY project for your EPICS installation,149 you might want one particular file to be the default *main* file150 for your CSS-BOY workspace. Edit the menu for *Top OPIs* via:151 ``Edit --> Preferences ... --> CSS Applications --> Display``152 153 154 Definitions155 -----------156 157 Some of the terms used by eclipse and CSS and CSS-BOY may be unfamiliar.158 159 ============ ==================================================================160 term161 ============ ==================================================================162 Workspace file system directory containing directories163 and files used by a single CSS-BOY user164 Project subdirectory within a ``workspace`` containing165 related files and subdirectories166 ``.js`` javascript file167 ``.opi`` display screen file used by CSS-BOY168 Perspective Defined arrangement of Views and Editors in eclipse.169 A Perspective can be customized and saved within170 the Workspace for later recall.171 View One type of display in eclipse, some can be undocked172 (or torn-off) so they can be a spearate window.173 ??? Are undocked Views saved as part of the174 Perspective? ???175 Editor One type of display in eclipse.176 Navigator Used to browse the Workspace for files and subdirectories.177 eclipse Java-based software providing a configurable interactive178 development environment (IDE). Eclipse can be highly179 customized to deliver a specific application,180 such as CSS or CSS-BOY.181 CSS Control System Studio from DESY, based on eclipse182 CSS-BOY CSS Best Opi Yet EPICS Display software (replacement for medm)183 ============ ==================================================================184 185 Footnotes186 ---------187 188 # _[#eclipse] http://eclipse.org189 # _[#css_boy_downloads] http://ics-web.sns.ornl.gov/css/products.html190 # _[#css] http://css.desy.de191 # _[#aps_css] http://css.aps.anl.gov192 # _[#synApps] http://www.aps.anl.gov/bcda/synApps -
cssboy_deployment/docs/source/challenges.rst
r805 r848 4 4 Challenges 5 5 =================== 6 7 .. warning:: This should be changed to reflect new 8 pattern discussed at 2012 EPICS Meeting 6 9 7 10 #. CSS-BOY is based in eclipse, which requires all available -
cssboy_deployment/docs/source/index.rst
r805 r848 22 22 plans 23 23 challenges 24 instructions 24 25 25 26 -
cssboy_deployment/docs/source/plans.rst
r805 r848 4 4 Plans 5 5 ========================== 6 7 .. warning:: This should be changed to reflect new 8 pattern discussed at 2012 EPICS Meeting 6 9 7 10 * APS SVN repository for facility screens and other resources
Note: See TracChangeset
for help on using the changeset viewer.