Purpose

Determine whether the CCD crate can cmomunicate with

1) the VME interface board
2) the utility board
3) the timing board
If errors are detected, print helpful hints.

Usage

tdl <side>

Arguments

side = [ red | blue ]
Which CCD system to diagnose

Output

Diagnostic output is written to stdout.

Restrictions

Should not be run during image readout.

Exit values

0 = normal completion
-1 = wrong number of arguments
1 = tdl 0,1 failed; could not talk to VME interface board
2 = tdl 0,2 failed; could not talk to timing board
3 = tdl 0,3 failed; could not talk to utility board
4 = attempted to run TDL during image readout

Example

1) Test the red side communication link

tdl red