Purpose

Set blue CCD to use single amp readout mode using the
specified amp. The default action is to employ single
amp with the left amp.

Usage

oneampb [side]

Arguments

side = [left|right] amplifier to use (default = left)

Output

Keyword output is echoed to stdout

Notes on readout modes for blue side

The CCDSEL keyword combined with the old NUMAMPS and AMPLIST
keywords serve to tell the VME software how to set up the detector

for a given readout mode. There are nine possible readout modes


CCD 0 left amp only (AMPLIST=2,0,0,0; NUMAMPS=1; CCDSEL=0)
CCD 0 right amp only (AMPLIST=1,0,0,0; NUMAMPS=1; CCDSEL=0)
CCD 0 left/right split (AMPLIST=2,1,0,0; NUMAMPS=1; CCDSEL=0)

CCD 1 left amp only (AMPLIST=2,0,0,0; NUMAMPS=1; CCDSEL=1)
CCD 1 right amp only (AMPLIST=1,0,0,0; NUMAMPS=1; CCDSEL=1)
CCD 1 left/right split (AMPLIST=2,1,0,0; NUMAMPS=1; CCDSEL=1)

Both CCDs left amps only (AMPLIST=1,3,0,0; NUMAMPS=1; CCDSEL=2)
Both CCDs right amps only (AMPLIST=2,4,0,0; NUMAMPS=1; CCDSEL=2)
Both CCDs left/right split (AMPLIST=1,4,0,0; NUMAMPS=1; CCDSEL=2)

Reference

John Cromer's LRISBLUE documentation at

http


Exit values

0 = normal completion
1 = wrong number of arguments

Modification history

2009-Nov-09 MK Original version (oneampr)
2010-Jan-05 GDW Added side argument
2010-Oct-02 GDW Adapted for blue side
-----------------------------------------------------------------------
parse args...
ensure no additional args...
determine appropriate value of amplist (see notes in header)...
update CCD settings...