RESET: reinitialise
the camera server
This page is part of the ING document
INS-DAS-24:
client-server interface for control of cameras
Purpose: to restart a camera-server programe in order (a) to
load a new configuration, or (b) to clear a fault.
Actors: udas_reset client; udas_camera server;
camera.
Outline: the client invokes the RESET action. The server
resets itself; in the process it also resets and reprogrammes the camera.
Normal course of events:
-
Client invokes the RESET action on server, with no arguments.
-
Server ends all actions including RESET and returns status UDAS__RESET
to the client of each actions.
-
Server shuts down its internal operations as if it were about to exit,
except that it does not cease DRAMA communications; all DRAMA connections
stay up.
-
Server stops responding to DRAMA messages for a while.
-
Server starts up its internal operations as if it has just been loaded.
Notably, it
-
re-reads its configurations files and so picks up any changes in configuration
since last uinitialisation;
-
resets and reprogrammes the camera;
-
forgets temporary configurations such as readout speed and readout windows.
-
Server starts responding to DRAMA messages again.