User_Manual-PILATUS-V1_2.doc 34/57
3) Configure camserver, and the client tvx, as needed. Probably the defaults
will be adequate, but many parameters can be adjusted in "camrc", and
"tvxrc", both of which reside in the $HOME/p2_det directory.
4) Start the detector by "runtvx" in the $HOME/p2_det directory. This will
show two images, the first with 1000 counts per pixel (produced by the
command 'rbd'), the second with 100 counts per pixel (produced by the
command 'calibdet'). If these images do not come up, there is a problem that
must be resolved.
5) If you are using your own client for camserver (e.g., SPEC or EPICS)
disconnect tvx. This will usually be done automatically in the startup script
after the test images are shown. Connect your client and begin issuing
commands.
Alternatively leave tvx connected. Tvx is a full-featured stand-alone controller
and analyzer for detector work. Tvx is capable of executing almsot arbitrarily
complex scripts for sequencing the detector, gathering data and analyzing
data. See the numerous examples in "$HOME/p2_det/config/trim_gls", which
are the glossaries used to set up and trim the detector.
There is a very simple test client, called "camclientt" in
"p2_det/programs/tvx/camera" that can be used to issue commands to
camserver and see exactly what the response is.
6) All commands are documented in the online help facility in "tvx"; camserver
has no help facility of its own. Tvx does not need to be connected for this.
Type "menu" in the camserver window, or in the tvx window to see what
commands are available. Then, in tvx, type "help command_name".
Further sources of information:
$HOME/p2_det/tvxrc
$HOME/p2_det/camrc
$HOME/p2_det/programs/tvx/00README
$HOME/p2_det/programs/tvx/tvx/00README.SLS
$HOME/p2_det/programs/tvx/docs/*
$HOME/p2_det/programs/tvx/camera/camserver/00README
$HOME/p2_det/programs/tvx/camera/camserver/docs/case_definitions.txt
$HOME/p2_det/programs/tvx/camera/camserver/docs/README.camserver_c
ommands
$HOME/p2_det/programs/tvx/camera/camserver/slsp2det_cam/docs/*
$HOME/p2_det/config/*
$HOME/p2_det/config/trim_gls/*
To see the details of the current configuration of camserver, do:
cat $HOME/p2_det/config/camstat/HWVersions