Versions Compared

Key

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

...

The utility program named "aidaset" takes at least two mandatory arguments (the name of the target and the desired value), and several optional parameters control how it operates.

By convention, an An AIDA data provider that supports setting values will accept either a single scalar or vector value, or a list of named scalar or vector values.  The EPICS channel access data provider is of the former sort, and the SLC Magnet server is of the latter.

NB: Presently, only the EPICS Channel Access data provider supports this tool.  This is because it's the only data provider that knows how to convert the string you provide on the command-line into a value of the type appropriate for the underlying systemand SLC Magnet data providers support write operations.

An example of setting a scalar EPICS process variable:

...

And an example of setting a corrector via the Magnet server (*NOTE: need to mod magnet server to use DaValue conversions):

No Format
aidaset MAGNETSET//BDES -DMAGFUNC=TRIM /names XCOR:LI31:41 /values 4.0

In the EPICS channel access example, we set sent a single unnamed value.  In the magnet example, we set sent a single named value.  As you can see, value names are indicated as /NAMEthe magent server expects two vectos, one listing magent names and the other listing the corresponding desired values

Vector elements my be listed sequentially with whitespace separators as in the following contrived example:

No Format
aidaset MY:VECTOR//VAL 1 2 3 4 5 6 7 8 9 10

...