User_Manual-PILATUS-V1_2.doc 13/57
5.1.2 Overview of Camserver
Camserver is a freestanding program that controls an x-ray camera and
provides a simple user interface for "atomic" (single function) commands. It is
intended to provide a spartan, but fully functional, low level interface to
camera hardware.
On invocation, the program 'camserver' takes a single command-line
argument, the path to its resource file, by default called 'camrc'. Camserver
will also use the same path to open its debugging file, 'camdbg.out'.
A major function of camserver is to accept socket connections from a high
level controller (e.g., 'tvx'), which can provide high level services to this or
other cameras. The interface is a simple text-based message passing system.
Images - the ultimate product of a working area x-ray detector - do not pass
thru the socket interface, but are written to a configurable location (e.g., a nfs
mount) where any program can access them. See more on 9.4
6 Getting started
See the appropriate chapter in the technical specification of your detector
system.