...
The utility program named "aidaget" takes one mandatory argument (the name of the target). Here's a very simple example, as it happens getting an EPICS veriable's value:
No Format |
---|
aidaget HR81:STN:VOLT//VAL
10-Sep-2008 12:09:40 0 0 0.18099030997326265
|
Several , and several optional parameters control how it works. You can specify "-help" as a parameter to see simple options. Here's that same EPICS process variable, using options to display labels, and in rows format.
No Format |
---|
aidaget HR81:STN:VOLT//VAL -labels -format=rows
time 06-Nov-2006 10:30:05
status 0
severity 0
value 0.22782705806669729
|
. Some of the more interesting options are specific to each data-provider, which may support optional or require mandatory paramters.
...
As you can see, data provider parameters are specified as -Dname1=value1 -Dname2=value2. 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.
...
Getting BPM data:
No Format |
---|
aidaget P2BPMHER//BPMS -DBPMD=38 -DREF=0 BPMS:PR10:6012 0.0 0.0 3128.0562 0.0 17 520 BPMS:PR10:6022 0.0 0.0 3135.6562 0.0 17 520 BPMS:PR10:6032 0.0 0.0 3143.256 0.0 17 520 ... |
...