Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

getSystem() function
Within a matlab script you can use the getSystem function to determine the accelerator system defined in the current working environment. This is useful for writing scripts that can be used for multiple accelerator systems, with conditional actions depending on accelerator.

Wiki Markup\[system,accelerator\] = getSystem();

Return values are:

FACET

system = SYS1, accelerator = FACET

LCLS

system = SYS0, accelerator = LCLS

NLCTA

system = SYS4, accelerator = NLCTA

...

  • Buffered Data Acquisition example script:
    • log into facet-srv01 as fphysics
    • have a look at Mike Zelazny's script:
      /usr/local/facet/tools/matlab/toolbox/EPICS_SLC_buffAcq_Example.m

EPICS PV visibility

  • On the FACET network, PVs hosted by all FACET IOCs are available.
  • In addition, LCLS PVs are available read-

...

...

V. BSA: Beam Synchronous Acquisition - CURRENTLY UNDER CONSTRUCTION FOR FACET

...

To obtain control system names and values, AIDA is accessible from the linux command line, via aidaWeb https://seal.slac.stanford.edu/aidaweb, through matlab and other language interfaces.

list of data sources

...

command line tools

...

matlab

...

SLC Buffered Data Service

web interface

#top

...

VII. FAQs

Q: How do I log onto the channel access network?
A: While shared accounts are used, the command is:
ssh fphysics@facet-srv01
If that hangs, then ssh into mcclogin first:
ssh mcclogin

...