Here is a summary of all the TDC Differential Linearity
optimizations we made from December '03 up to now.
As the values found today are very close to the ones measured 
in December '03 we won't commit any changes in the Reference 
files so that the results we will obtain will be comparable 
regarding TDC Differential Non Linearity.  

Shortly : on gzerol3, in ~orsay/manip/
thresholds2 file : TDC1   50 // TDC2  50 !!!! 155/ 0 DMCH 9
thresholds3 file : TDC1    0 // TDC2  50  !!!  45/60  DMCH 8
thresholds4 file : TDC1    0 // TDC2   0
thresholds5 file : TDC1   40 // TDC2  80
thresholds7 file : TDC1  100 // TDC2   0
thresholds8 file : TDC1    0 // TDC2  50
thresholds9 file : TDC1  100 // TDC2 130
thresholds10 file : TDC1 100 // TDC2 130
thresholds11 file : TDC1 255 // TDC2  50
In more details :
Routine : lm_main_loop() within the ROC terminal 
(No DAQ required - using GENEX internal signal)

To retrieve slot#/logical address correspondance : 
look on g0ana, in ~/users/orsay/lindiff/lindiff_commands.help
After 11/02/04 look into ~/users/orsay/lindiff/lindiff_commands_new.help (borads are in different slots).
To find the minimum (optimized value for TDC Diff. Linearity tuning) :

On g0ana, ~/users/orsay/lindiff/lindiff filename
Example : >lindiff Slot11_DMCH9.txt

Measurements :

- 13/12/03 : Fan speed 1860 - Temp. (VXI crate)  25-26 degrees Celsius
        9 DMCH boards plugged into the VXI crate.
- 14/12/03 : Fan speed 1860 - Temp. (VXI crate)  26 degrees Celsius
        8 DMCH boards plugged into the VXI crate.
        14:22 Plugged DMCH #9 into the VXI crate.
- 10/01/04 : Fan speed 1860 - Temp. (VXI crate)  25-26 degrees Celsius
        9 DMCH boards plugged into the VXI crate.
- 11/02/04 : Fan speed 1860 - Temp. (VXI crate)  27 degrees Celsius
        9 DMCH boards plugged into the VXI crate.

DMCH#       Slot#           TDC1            TDC2            Date
=======================================
      1                  10               158                  147         Nov. 2003
      1                  10                 73                  147         13/12/03
      1                  10                 96                  126         14/12/03
      1                  10                 96                  120         10/01/04
      1                  11                180                 150          11/02/04
=> in thresholds10 file : TDC1 100 // TDC2  130

DMCH#       Slot#           TDC1            TDC2            Date
=======================================
     9                  11                127                  127           Nov. 2003
     9                  11                210                      0            used on 12/12/03
     9                  11                255                    40           13/12/03
     9                  11                255                    50           14/12/03
     9                  11                251                       0           10/01/04
     9                     2               155                       0            11/02/04
=> in thresholds11 file : TDC1 255 // TDC2  50

DMCH#       Slot#           TDC1            TDC2            Date
=======================================
      2                   9                 160                 183             Nov. 2003
      2                   9                 101                 131             13/12/03
      2                   9                 120                 160             10/01/04
      2                   10               134                 154             11/02/04
=> in thresholds9 file : TDC1 100 // TDC2  130

DMCH#       Slot#           TDC1            TDC2            Date
=======================================
      3                   8                   61                  81             Nov. 2003
      3                   8                     0                  46             13/12/03
      3                   8                   16                  45             10/01/04
      3                   9                     5                  60              11/02/04
=> in thresholds8 file : TDC1  0 // TDC2  50
 

DMCH#       Slot#           TDC1            TDC2            Date
========================================
        4               7                  148                     0             Nov. 2003
        4               7                    98                      0             13/12/03
        4               7                  123                     0              10/01/04
        4               8                  145                     0              11/02/04
=> in thresholds7 file : TDC1  100 // TDC2 0
 

DMCH#       Slot#           TDC1            TDC2            Date
========================================
       7                 5                     38                   87             Nov. 2003
       7                 5                       2                   59             13/12/03
       7                 5                     44                   79             14/12/03
       7                 5                     16                   55             10/01/04
       7                 6                     45                   60             11/02/04
=> in thresholds5 file : TDC1  40 // TDC2 80
 

DMCH#       Slot#           TDC1            TDC2            Date
========================================
        6               4                  24                      0                  Nov. 2003
        6               4                   0                       0                  14/12/03
        6               4                   0                       0                  10/01/04
        6               5                   0                       0                  11/02/04
=> in thresholds4 file : TDC1  0 // TDC2 0
 

DMCH#       Slot#           TDC1            TDC2            Date
========================================
     5                   3                   0                      58                 Nov. 2003
     5                   3                   0                      49                 14/12/03
     5                   3                   0                      45                 10/01/04
     5                   4                   0                      60                 11/02/04
=> in thresholds3 file : TDC1  0 // TDC2 50

DMCH#       Slot#           TDC1            TDC2            Date
========================================
     8                   2                  45                  57                 Nov. 2003
    8                   2                  55                  46                 14/12/03
     8                   2                  26                  40                 10/01/04
     8                   3                  45                  60                  11/02/.04
 => in thresholds2 file : TDC1  50 // TDC2 50

Test with Fan speed set to 1260rpm instead of 1860rpm
 DMCH#       Slot#           TDC1            TDC2            Date
========================================
    6                       4             -12                 -40            10/01/04
    9                      11             342                    41           10/01/04

Test with Fan speed set to 2460rpm instead of 1860rpm
DMCH#       Slot#           TDC1            TDC2            Date
========================================
   6                       4                 -97             -148             10/01/04

Note : negative value or values>255 mean that the minimum is out of the DAQ range (0-255). Negative values mean that the minimum has already be reached and on the other hand values > 255 mean that the minimum hasn't be reached... 


Dominique Marchand