Changeset 1053
- Timestamp:
- Jul 18, 2012 10:59:37 AM (11 years ago)
- Location:
- cssboy_deployment/docs/source
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
cssboy_deployment/docs/source/conf.py
r805 r1053 94 94 html_theme = 'default' 95 95 html_theme = 'agogo' 96 html_theme = 'sphinxdoc' 96 97 97 98 # Theme options are theme-specific and customize the look and feel of a theme -
cssboy_deployment/docs/source/instructions.rst
r1051 r1053 4 4 Instructions 5 5 ========================== 6 7 .. caution:: This documentation is under revision, thus the order may seem a bit scrambled. 6 8 7 9 Install OPI screens (and other resources such as image files, javascript, … … 26 28 workspace. 27 29 28 Leave the ``CSS``project for use as a sandbox (special area for files30 Leave the *CSS* project for use as a sandbox (special area for files 29 31 which you are testing or using for a short time and do not wish to treat 30 32 as part of everyone's workspace). … … 58 60 **Basic EPICS** for your OS: 59 61 http://ics-web.sns.ornl.gov/css/products.html 62 63 (Alternative URL: https://ics-web.sns.ornl.gov/css/updates/apps/ ) 60 64 #. Unzip the contents someplace. Typical for me is: 61 ``~/Apps/CSS_EPICS_3.1. 0``65 ``~/Apps/CSS_EPICS_3.1.1`` 62 66 63 67 … … 65 69 +++++++++++++++++++++++++++++++++++++++++++++ 66 70 67 #. Open the ``CSS_EPICS_3.1. 0`` (or whatever version) directory71 #. Open the ``CSS_EPICS_3.1.1`` (or whatever version) directory 68 72 #. Start ``css`` by double-clicking it. 69 73 If you use a unix or linux command line, type:: … … 109 113 #. For Top OPIs, replace with OPI file of your choice 110 114 111 .. note:: If get a console message that says:115 .. note:: If you get a console message that says: 112 116 113 117 2012-04-30 15:59:12 ERROR: Failed to read font definition file. … … 145 149 146 150 Your new screen will appear in a CSS-BOY editing window. 147 You might consider changing to the ``OPI Editor``perspective151 You might consider changing to the *OPI Editor* perspective 148 152 as this will provide much more help in editing the screen. 149 153 … … 154 158 155 159 156 Notes 157 ------------ 158 159 .. note:: This could be set in in a ``.ini`` file. Needs some research... 160 161 :: 162 163 Edit (Menu) 164 Preferences 165 CSS Applications 166 Display 167 BOY 168 OPI Search Path 169 170 /synApps/areaDetector | /synApps/asyn | /synApps/autosave | /synApps/busy | /synApps/calc | /synApps/camac | /synApps/dac128V | /synApps/delaygen | /synApps/dxp | /synApps/iocStats | /synApps/ip | /synApps/ip330 | /synApps/ipUnidig | /synApps/love | /synApps/mca | /synApps/modbus | /synApps/motor | /synApps/optics | /synApps/quadEM | /synApps/softGlue | /synApps/sscan | /synApps/std | /synApps/vac | /synApps/vme | /synApps/xxx 171 172 **PRJ:** Here are these instructions as I sent them in an email on 2012-06-10:: 173 174 To get the synApps OPI screens, you need to do one of the following (subject to change as we improve this process over the next months as all these options are development status): 175 176 import synApps project from /APSshare 177 path: /APSshare/epics/synApps_5_6/support/all_opi 178 179 180 checkout from SVN, then import project 181 svn co https://subversion.xor.aps.anl.gov/bcdaext/cssboy_deployment/all_opi/ /path/to/a/new/synApps_all_opi 182 183 184 To import synApps OPI screens as a project in CSS-BOY: 160 Setting the OPI Search Path 161 ------------------------------------ 162 163 .. note:: This could be set in a ``.ini`` file. Needs some research... 164 Check the help for "Setting Preferences" 165 166 The default preferences can be set in ``plugin_customization.ini`` 167 file which is located in the root of the "Product" plugin directory 168 or jar file. It is ideally used to provide site-specific default 169 preferences. For example, you can change the default BOY preferences 170 in this file with corresponding preference keys:: 171 172 org.csstudio.opibuilder/color_file=http://your_site.gov/color.def 173 org.csstudio.opibuilder/font_file=http://your_site.gov/font.def 174 org.csstudio.opibuilder/opi_gui_refresh_cycle=100 175 org.csstudio.opibuilder/no_edit=true 176 org.csstudio.opibuilder/macros="N","North"|"W","West"|"SYS","LLRF"|"SubSys","HPM" 177 #popup console level, it can be NO_POP, INFO, or ALL 178 org.csstudio.opibuilder/popup_console=NO_POP 179 180 You can also give a different customization file with the command line option -pluginCustomization when starting CSS. 181 182 183 Getting the synApps OPI screens 184 ------------------------------------- 185 186 To get the synApps OPI screens, you need to do one of the following 187 (subject to revision): 188 189 #. import synApps project from /APSshare 190 path: /APSshare/epics/synApps_5_6/support/all_opi 191 192 193 #. checkout synApps development trunk from SVN, then import as project 194 There is a script to do the checkout:: 195 196 https://subversion.xor.aps.anl.gov/synApps/support/trunk/checkout.csh 197 198 One way is to place this file in */usr/local/epics* and then run it. 199 It will create a directory called *synAppsSVN/support* that contains 200 the development trunk. 201 202 203 Importing the synApps OPI screens 204 ------------------------------------- 205 206 To import synApps OPI screens as a project in CSS-BOY:: 185 207 186 208 Menu "File" … … 194 216 195 217 196 You will also need to get the synApps project onto your OPI search path. Here is how:218 You will also need to get the synApps project onto your OPI search path. Here is how:: 197 219 198 220 Menu "CSS" … … 201 223 open "Display" 202 224 click on "BOY" 203 change text in entry box for "OPI Search Path" to this really long string (all one line) 204 205 /synApps/areaDetector | /synApps/asyn | /synApps/autosave | /synApps/busy | /synApps/calc | /synApps/camac | /synApps/dac128V | /synApps/delaygen | /synApps/dxp | /synApps/iocStats | /synApps/ip | /synApps/ip330 | /synApps/ipUnidig | /synApps/love | /synApps/mca | /synApps/modbus | /synApps/motor | /synApps/optics | /synApps/quadEM | /synApps/softGlue | /synApps/sscan | /synApps/std | /synApps/vac | /synApps/vme | /synApps/xxx 206 207 click "Ok" until you out of the dialogs. Now the paths should work. 208 209 210 Also, when calling a synApps .opi screen from the instrument or beam line, it is not necessary to use the full path since there is an OPI search path that will locate the screen. Example, instead of:: 225 226 Change the text in for "OPI Search Path" to this really long string (all one line):: 227 228 /synApps/areaDetector/ADApp/op/opi | /synApps/asyn/opi/boy | /synApps/autosave/asApp/op/opi | /synApps/busy/busyApp/op/opi | /synApps/calc/calcApp/op/opi | /synApps/camac/camacApp/op/opi | /synApps/dac128V/dac128VApp/op/opi | /synApps/delaygen/delaygenApp/op/opi | /synApps/dxp/dxpApp/op/opi | /synApps/iocStats/op/opi | /synApps/ip/ipApp/op/opi | /synApps/ip330/ip330App/op/opi | /synApps/ipUnidig/ipUnidigApp/op/opi | /synApps/love/loveApp/op/opi | /synApps/mca/mcaApp/op/opi | /synApps/modbus/modbusApp/op/opi | /synApps/motor/motorApp/op/opi | /synApps/optics/opticsApp/op/opi | /synApps/quadEM/quadEMApp/op/opi | /synApps/softGlue/softGlueApp/op/opi | /synApps/sscan/sscanApp/op/opi | /synApps/std/stdApp/op/opi | /synApps/vac/vacApp/op/opi | /synApps/vme/vmeApp/op/opi | /synApps/xxx/xxxApp/op/opi 229 230 Keep clicking **Ok** until you dismiss all the dialogs. 231 Now the paths should work. 232 233 .. note:: From the CSS-BOY Help files: 234 235 The path which is used to search OPI files if the given OPI path is a relative path 236 and it doesn't exist on the made up absolute path neither. 237 For example, you can put an OPI file name abc.opi or a relative path abc/def/my.opi 238 for Open OPI Action, Top OPIs, Schema OPI and so on. 239 If this OPI file cannot be found as a relative path to the OPI file, it will search the 240 OPI Search Path and return the first one found on the search path. 241 It supports workspace path, local file system path and URL path. 242 The pathes are separated by the vetical bar delimiter ``|``. For example:: 243 244 /synApps/areaDetector/ADApp/op/opi | /synApps/asyn/opi/boy 245 246 247 248 Calling the synApps OPI screens 249 ------------------------------------- 250 251 Also, when calling a synApps .opi screen from the instrument or beam line, 252 it is not necessary to use the full path since there is an OPI search path 253 that will locate the screen. Example, instead of:: 211 254 212 255 /synApps/motor/motorApp/op/opi/motor3x.opi 213 256 214 you wouldjust call::257 Instead, you just call:: 215 258 216 259 motor3x.opi 217 260 218 219 Definitions 220 ----------- 261 .. note:: If you require a specific version of synApps, for example a specific older 262 version of areaDetector, create a separate CSS project for it in your 263 workspace. 264 265 .. TODO: could use some instructions how to create this kind of project. An example would help. 266 267 268 269 Glossary of Terms 270 ++++++++++++++++++++++++++++++++ 221 271 222 272 Some of the terms used by eclipse and CSS and CSS-BOY may be unfamiliar. 223 273 224 ============ ==================================================================225 term226 ============ ==================================================================227 Workspace file system directory containing directories228 and files used by a single CSS-BOY user229 Project subdirectory within a ``workspace`` containing230 related files and subdirectories231 ``.js`` javascript file232 ``.opi`` display screen file used by CSS-BOY233 Perspective Defined arrangement of Views and Editors in eclipse.234 A Perspective can be customized and saved within235 the Workspace for later recall.236 View One type of display in eclipse, some can be undocked237 (or torn-off) so they can be a spearate window.238 ??? Are undocked Views saved as part of the239 Perspective? ???240 Editor One type of display in eclipse.241 Navigator Used to browse the Workspace for files and subdirectories.242 eclipse Java-based software providing a configurable interactive243 development environment (IDE). Eclipse can be highly244 customized to deliver a specific application,245 such as CSS or CSS-BOY.246 CSS Control System Studio from DESY, based on eclipse247 CSS-BOY CSS Best Opi Yet EPICS Display software (replacement for medm)248 ============ ==================================================================249 250 251 .. rubric:: The Glossary252 253 274 .. glossary:: 254 255 Workspace256 file system directory containing directories257 and files used by a single CSS-BOY user258 259 Project260 subdirectory within a ``workspace`` containing261 related files and subdirectories262 275 263 276 ``.js`` … … 266 279 ``.opi`` 267 280 display screen file used by CSS-BOY 281 282 CSS 283 Control System Studio [#css]_ from DESY, based on eclipse 284 285 CSS-BOY 286 CSS Best Opi Yet EPICS Display software (replacement for medm) 287 288 eclipse 289 Java-based software providing a configurable interactive 290 development environment (IDE). Eclipse [#eclipse]_ can be highly 291 customized to deliver a specific application, 292 such as CSS or CSS-BOY. 293 294 Editor 295 One type of display in eclipse. 296 297 Navigator 298 Used to browse the Workspace for files and subdirectories. 268 299 269 300 Perspective … … 272 303 the Workspace for later recall. 273 304 305 Project 306 subdirectory within a *workspace* containing 307 related files and subdirectories 308 274 309 View 275 310 One type of display in eclipse, some can be undocked 276 311 (or torn-off) so they can be a spearate window. 277 ??? Are undocked Views saved as part of the 278 Perspective? ??? 279 280 Editor 281 One type of display in eclipse. 282 283 Navigator 284 Used to browse the Workspace for files and subdirectories. 285 286 eclipse 287 Java-based software providing a configurable interactive 288 development environment (IDE). Eclipse can be highly 289 customized to deliver a specific application, 290 such as CSS or CSS-BOY. 291 292 CSS 293 Control System Studio from DESY, based on eclipse 294 295 CSS-BOY 296 CSS Best Opi Yet EPICS Display software (replacement for medm) 297 298 299 -------------------- 312 313 ??? Are undocked Views saved as part of the Perspective? ??? 314 315 Workspace 316 file system directory containing directories 317 and files used by a single CSS-BOY user 318 319 300 320 301 321 Footnotes 302 --------- 322 ++++++++++++++++++++++++++++++++ 303 323 304 324 .. [#eclipse] http://eclipse.org
Note: See TracChangeset
for help on using the changeset viewer.