To create standard components
haspp06ctrl% nxscreate stdcompshows the available standard components.
haspp06ctrl% nxscreate stdcomp -t defaultjust shows the component data sources and strings
haspp06ctrl% nxscreate stdcomp -t default -c default -m -bcreates 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 slitshows 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_mot04creates 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 -owhere nxsextraspXY is a python module which is dedicated for the beamline.