Command ACDEF
 GSI
 Biophysics

 name qual
 /
 cond()
 window()
 coord()
 like()
 debug
Purpose
Set analyzer conditions and gates or polygons of linearizations
Parameters
name

Data element identifier.
qual

Data element qualifier name.
Data element identifier and qualifier, respectively,
may be given by a name or number.
A name may contain
wild card characters at any position:
'%'
specifies
one character, '*'
a (sub)string of any length.
If omitted, uniqueness or reference to the last display
is assumed.
cond(c)

Number of the analyzer condition or linearization gate
or polygon to be changed.
c
may also be an asterisk
(*) indicating all
.
The condition data can be specified by one of the following
key words, which are exclusive:
window(w)

For analyzers only: window to be assigned to the
condition(s) specified by

w = *
: analyzer limits
 letter: display window identifier
 one number: analyzer condition number
 number list: lower and upper channel number, given for each dimension
A channel limit omitted in the number list is replaced
by the last specified value (or  initially  the corresponding
analyzer limit). An asterisk (*
) denotes
the analyzer limit.
Lower limits smaller or upper limits larger than the
corresponding analyzer limit are reset to the latter.
coord()

For twodimensional analyzers or linearizations, the
condition(s) are given by a list of logical coordinates,
entered as numbers or global parameter(s).
Two successive values are interpreted as the coordinates
of one point. Parameter arrays are assigned
with the rightmost index varying most rapidly
(PL/I and C
convention).
If only two points are entered, the lower left and upper
right corners of a rectangle are assumed. In this
case, coordinate(s) may be omitted or given by an asterisk
(*). They are replaced in this case by the corresponding
previous condition or data element limit, respectively.
like(l)

Condition data are copied from another (or the same)
data element. The string
'l'
contains data element
identifier and qualifier (names or numbers), and the
condition number. If the latter is omitted, the number
specified with the keyword
COND
is assumed.
If a condition loop is specified using the option
COND(*),
and if a condition number 'i'
is given with
LIKE(l)
,
then all conditions beginning with 'i'
are
copied. Default is 'i' = 1
.
debug

Debug switch. Lots of output !
Function
Remarks
In linearizations, the gate is internally stored as 1st
(free form) condition. The polygons are also stored as
free form conditions starting with no. 2, but they are
differently interpreted, as the first and the last
point are not connected in displays.
With the key word LIKE(l)
, some or all conditions can
be copied between analyzers, between linearizations,
and between analyzers and linearizations and vice
versa.
CAUTION: Copying free form analyzer conditions to
polygons of linearizations and vice versa is allowed.
Please keep in mind the different interpretations.
If new polygons of linearizations are created, their
reference value must be entered graphically with the
command D2LIN.
Examples
ACDEF A / C(*)
Set all conditions of analyzer A. The limits will be
prompted proposing the old values.
ACDEF A / C(2) W(101,200,*,50)
Set condition no. 2 of the twodimensional analyzer A.
The limits in the first dimension are (101,200), those
in the second dimension are ('lower analyzer limit of
dimension 2',50).
ACDEF A / C(1) W(C)
Set condition no. 1 of analyzer A using the limits of
display window C.
ACDEF A / C(1) COO(C)
Copy the coordinate values from the global parameter
array C into condition no. 1 of data element A.
Each two successive elements of C define one point (x
and ycoordinate). A may be either a twodimensional
analyzer or a linearization.
ACDEF X%%%88 L* / C(1) L(B LIST 11)
Copy condition no. 11 of data element B.LIST to condi
tion no. 1 of all data elements with names six characters
long, beginning with 'X', and ending with '88',
and with qualifier names of any length beginning with
'L'.
All referenced data elements may be either analyzers or
linearizations.
ACDEF X Y / C(3) L(X Y 4)
Copy condition no. 4 of data element X.Y to condition
no. 3 of the same data element.
ACDEF X2 Y / C(*) L(X1 Y)
Copy all conditions of data element X1.Y to the data
element X2.Y.
ACDEF X2 Y / C(*) L(X1 Y 4)
Copy the conditions with numbers 4 and higher of data
ACDEF X2 Y / C(*) L(X1 Y)
Copy all conditions of data element X1.Y to the data
element X2.Y.
ACDEF X2 Y / C(*) L(X1 Y 4)
Copy the conditions with numbers 4 and higher of data
element X1.Y to the data element X2.Y according to the
following scheme:
condition no. 4 of X1.Y > condition no. 1 of X2.Y,
condition no. 5 of X1.Y > condition no. 2 of X2.Y,
and so on.
 GSI
 Biophysics

Last updated: M.Kraemer@gsi.de,
3Aug1999