Slit Functions

slit(slit_name, jaw)
slit(slit_name, jaw) = value

Moves to/returns the position of a slit system. Jaw can be one of top, bottom, right, left, cx, cy, dx, dy. Cx and cy are the position of the center, dx and dy the opening.

If a slit is read with the keyword all, ONLINE returns a string which contains cx, cy, dx, dy.

The limits of the slit jaws may also be read, e.g. the call

* = slit( Name, cx_uli)

return the unit-limit-min of the position of the center.

If slit_name is s1, ONLINE expects these symbols pointing to motors: s1_top, s1_bottom, s1_right, s1_left. And be sure to have slit_names defined, e.g.: slit_names = (s1).

e.g.:
* = slit(s1, cx)
slit(s1, cx) = 5

search_slit()
Returns 1, if the specified slit parameter exists.
e.g.:
* = search_slit( slit( sl1, cx)

The coordinate system: z points in the direction of the photons, y points upwards, x completes the right-handed coordinate system. 'right' points in the x-direction, like in school.

Note that slit parameters can also be scanned: scan/slit (section 8.1.9).