Versions Compared

Key

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

...

By convention, 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 formere former sort, and the SLC Magnet server is of the latter.

...

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

No Format
 aidasetaidaset MAGNETSET//BDES -params=MAGFUNC=TRIM /XCOR:LI31:41 4.0

...

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

And finally a contrived example illustrating how a data provider that accepts multiple named vector values per set might look:

No Format
 aidasetaidaset MY:NAMED:VECTORS//VAL /SILLYNAME 0 1 2 3 4 5 /ANOTHERNAME 6 7 8 9 10