Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This page describes how to set and get control system values via rudimentary AIDA command line tools. These are available on LCLS production nodes without setup, and on SLAC public machines after going through the basic setup described in Basic User Guide to Aida. These are available on LCLS production nodes without setup, and on SLAC public machines after going through the basic setup described in Basic User Guide to Aida (see also below for a summary).

Fetching Values: aidaget

The utility program named "aidaget" takes one mandatory argument (the name of the target), and several optional parameters control how it works.  You can specify "-help" as a parameter to see simple options.  Some of the more interesting options are specific to each data-provider, which may support optional or require mandatory paramters.

...

No Format
aidaset MAGNETSET//BDES -DMAGFUNC=TRIM /names XCOR:LI10:200 XCOR:LI10:201 /values 0.0123 -0.0321

Anchor
setup
setup

Setting up on an AFS Node

If you are using these tools on lcls nodes (lcls-prod02, lcls-srv01 etc) then the following setup has been done for you. If you are using a SLAC AFS node, then do this setup to use the above tools:

Code Block

source /afs/slac/g/cd/soft/dev/script/ENVS.csh
source /afs/slac/g/cd/soft/dev/script/aidaSetEnv.csh prod

You may wish to add these to your .cshrc.