You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 21 Next »

Table of Contents

I. Overview

The FACET facility is controlled by the VMS-based SCP control system, and EPICS controls for some systems.  This is a basic FACET control system physics development guide.

confluence test area:

test

test2


II. Logging into the FACET control system network

The FACET EPICS control system resides on its own MCC-based private network, parallel to and separate from the LCLS network.  The FACET servers that will be used for matlab work are:

  • facet-srv01
  • facet-srv02

The FACET and LCLS directory structures have a parallel naming convention:

  • LCLS top-level directory: /usr/local/lcls
  • FACET top-level directory: /usr/local/facet

To log into the FACET network from a linux terminal session:

  • Account setup:
    • Your afs unix account must be added to the facet group.  Contact Ken Brobeck (x2558).
    • You will be logging into the facet network as the shared fphysics account. For personal matlab settings, Mike Zelazny (x3673) will set you up with an (optional) user-specific directory and environment under fphysics.
  • Log into the mcclogin machine with your afs account:
    • ssh mcclogin
  • Then, from mcclogin, log into facet-srv01 or facet-srv02 as the fphysics account, for example:
    • ssh fphysics@facet-srv01
    • When prompted, enter your user number assigned by Mike (or 0 if you don't have one.)
    • With Mike's setup, you are now in /home/fphysics/yourUserID (e.g. /home/fphysics/fred)

To log into the FACET network from an OPI in MCC:

  • Click the ..... icon on the desktop.

III. FACET edm displays: facethome

facethome is the toplevel display for the FACET accelerator. It is similar to lclshome, a grid showing all areas and subsystems, with clickability into the various displays.

To run facethome from a terminal session on the facet network (see above) enter:

  • enter facethome at the command prompt

To run facethome from a an MCC opi:

  • click the ... icon on the screen

IV. SCP

To run a SCP from a terminal session window:

  • you will need a VMS account on MCC. To get one, please contact Ken Brobeck (x2558)
  • from your afs account on mcclogin, log into mcc and run the scp:
    • ssh mcc
    • scp xt yourVMSUserID (e.g. scp xt fred)

To run a SCP from facethome:

  • click the "SCP..." button

V. Matlab

Environment setup
After you log onto a Linux machine using the fphysics account, you'll need to execute the following commands to set your environment up for matlab. Once Mike Z. has set up your user directory under fphysics as described in II. above, you can add the commands to your /home/fphysics/yourUserID/ENVS file. Note: All strings are case-sensitive.

  • source /usr/local/facet/tools/script/ENVS_facet.bash
  • If you need access to OTR images or similar data, also append this line
    • export EPICS_CA_MAX_ARRAY_BYTES=40000000
  • If you log from Windows PC, you should also add the line:
    • export DISPLAY=your_IP_address:0
    • (your_IP_address can be found after e.g. running ipconfig on Windows. )

BSA: beam synchronous data


AIDA

http://www.slac.stanford.edu/grp/cd/soft/aida/

  • No labels