Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The controls camera viewer can be run as:

Code Block
/reg/g/pcds/controls/pycaqt/pulnix6740.latest/run_pulnix.csh --instrument INSTRUMENTHUTCH --pvlist CONFIGFILECONFIG --camera CAMERANUMBER

...

NUM

HUTCH is one of the standard hutch names (fully capitalized), CONFIG is a viewer configuration file, and NUM is an optional parameter telling which camera number to view initially (defaulting to zero).

The Configuration File

The configuration file contains a list of cameras that the viewer can display.  Any line that begins with '#' is a comment, and any other line contains either 4 or 5 comma-separated fields with the following information:

  • The camera type: one of the reserved words "LIF", "AVG", or "IC".  These words do not refer to the actual type of the camera, but the structure of the IOC that supports it.  The three types of IOC are:
    • "LIF" is a camera with a PV named "LIVE_IMAGE_FULL" which corresponds to an image updating at about 5Hz.  The number of columns is given by a PV called "N_OF_COL" and the number of rows is given by the PV "N_OF_ROW".
    • "AVG" is an "LIF"-type camera that supports on-IOC averaging.  The averaged image PV is "AVG_IMAGE", and "AVERAGER.A" is the number of frames to average.
    • "IC" is a camera with a PV named "IMAGE_CMPX" which corresponds to a compressed image.  This is the usual type for FEE drop-in cameras.  The compressor accepts a region of interest in the PVs ROI_X_SET, ROI_Y_SET, ROI_XNP_SET, and ROI_YNP_SET and produces an image of this region of at most 512x512 in IMAGE_CMPX.  The pixel values are given a bit-shift left according to the value of the PV "SHIFT".  The number or columns is given by the PV "COMPRESSOR.VALF" and the number of rows is given by the PV "COMPRESSOR.VALE".
  • The base name of the camera PVs..  (The names above will be appended to this string in order to get the full PV name.)
  • The base name of the EVR PVs.  If this field is blank, the previously specified EVR will be used.
  • The name of the camera to be used in the GUI.
  • Optionally, the name of the PV that controls the lens of this camera.  It is assumed that this PV takes a value from 0 to 100.

The Viewer GUI

...

GUI Elements

1. Image

2. Control Panel

3. Projections

...

Command Line Details