To create some components e.g. the source component, it is needed to create additional datasources.
Thus,
haspp06ctrl% nxscreate tangods -v petra/globals/keyword -s source_current -u haspp06ctrl -t 10000 -a BeamCurrent -b -ocreates the source_current data source for the BeamCurrent attribute of the haspp06ctrl:10000/petra/globals/keyword tango server.
To store in the Configuration Server, use -b. To overwrite, use -o.
Similarly,
haspp06ctrl% nxscreate tangods -v petra/globals/keyword -s source_energy -u haspp06ctrl -t 10000 -a Energy -b -o
Finally,
haspp06ctrl% nxscreate stdcomp -t source -c source beamcurrent source_current sourceenergy source_energy -b -ocreates the source component where beamcurrent=source_current, sourceenergy=source_energy.