Versions Compared

Key

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

...

As you can see, data provider parameters are specified as -params=NAME=VALUE;...;NAME=VALUE.  Note the need to enclose embedded whitespace within " marks to prevent the shell from treating it as a boundary between strings.  The output format may be specified as "columns" or "rows".  The only difference is that one is a transpose of the other.  The option "-labels" indicates that the columns (or rows) should be named.  Not all data providers supply these names, in which case you'll need to consult their documentation to interpret the column numbers.

Here's a simple example that retrieves an EPICS process variable, displaying in rows format.

No Format

 clarrieu@tersk08>./common/script/aidaget HR81:STN:VOLT//VAL -labels -format=rows
time        06-Nov-2006 10:30:05
status                         0
severity                       0
value        0.22782705806669729

Setting Value: aidaset

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

...

An example of setting an EPICS process variable:

 
No Format