Standard components

To create standard components

haspp06ctrl% nxscreate stdcomp
shows the available standard components.

haspp06ctrl% nxscreate stdcomp -t default
just shows the component data sources and strings

haspp06ctrl% nxscreate stdcomp -t default -c default -m -b
creates default component, type is default. The -m option sets the default component as memorized. The -b option writes the component into the Configuration Server.

haspp06ctrl% nxscreate stdcomp -t slit
shows the data sources and strings of slit type than can be defined.

haspp06ctrl% nxscreate stdcomp -t slit -c slit1 bottom exp_mot01 top exp_mot02 left exp_mot03 right exp_mot04
creates the slit1 component of the slit type and sets the following slit datasources: bottom=exp_mot01, top=exp_mot02, left=exp_mot03 and right=exp_mot04. The -o option allows to overwrite the component.

For beamline specific macros use -p nxsextraspXY which e.g.

haspp06ctrl% nxscreate stdcomp -p nxsextrasp06 -t slitstage
haspp06ctrl% nxscreate stdcomp -p nxsextrasp06 -t slitstage -c oh_slit_stage sname oh_slit x prefoc_y -b -o
where nxsextraspXY is a python module which is dedicated for the beamline.



2019-11-13