  We have built a CsI(Tl) gamma-ray detector array for the NPDGamma experiment
to search for a small parity-violating directional asymmetry in the angular
distribution of 2.2 MeV gamma-rays from the capture of polarized cold neutrons
by protons with a sensitivity of several ppb. The weak pion-nucleon coupling
constant can be determined from this asymmetry. The small size of the asymmetry
requires a high cold neutron flux, control of systematic errors at the ppb
level, and the use of current mode gamma-ray detection with vacuum photo diodes
and low-noise solid-state preamplifiers. The average detector photoelectron
yield was determined to be 1300 photoelectrons per MeV. The RMS width seen in
the measurement is therefore dominated by the fluctuations in the number of
gamma rays absorbed in the detector (counting statistics) rather than the
intrinsic detector noise. The detectors were tested for noise performance,
sensitivity to magnetic fields, pedestal stability and cosmic background. False
asymmetries due to gain changes and electronic pickup in the detector system
were measured to be consistent with zero to an accuracy of $10^{-9}$ in a few
hours. We report on the design, operating criteria, and the results of
measurements performed to test the detector array.
