Project

General

Profile

Feature #12791

Milestone #12738: Commission Muon Houses S60, F1 and F23

Support 53MHz, 53MHz stacked and 2.5MHz transition board modes

Added by John Diamond over 4 years ago. Updated over 4 years ago.

Status:
Assigned
Priority:
Normal
Assignee:
Start date:
05/26/2016
Due date:
% Done:

0%

Estimated time:
6.00 h
Duration:

DSC_2006.JPG (2.8 MB) DSC_2006.JPG Transition board control bits John Diamond, 05/26/2016 10:53 AM

History

#1 Updated by John Diamond over 4 years ago

Received a table of control bits from Niral.

#2 Updated by John Diamond over 4 years ago

Discovered the following while examining Duane's code:

//           Control Bit:       7 6 5 4 3 2 1 0  Hex
//  -------------------------------------------------
//  kOperatingMode53Stacking    x x x x x x 0 0  0x00
//  kOperatingMode53            x x x x x x 0 1  0x01
//  kOperatingMode2Point5       x x x x x x 1 0  0x02
//
static const unsigned char  kOperatingModeMap[ kNumOperatingModes ] = { 0x00, 0x01, 0x02 };

static eOperatingMode   goperatingMode = kOperatingModeDefault;
/*
Configure analog signal conditioning for beam type
*/
void AnalogSignalConditioningSet( eBeamType const mode ) {

  goperatingMode = eOperatingMode( mode - kBeamTypeMin );       // translate eBeamType to eOperatingMode

  DioWrite( kOperatingModeMap[ goperatingMode ]
          | kCalibrationModeMap[ gcalibrationMode ]     // add calibration control bits
          | kCalibrationControlMap[ gcalibrationControl ], kDioInputBitMask );

  return;

}

It appears that the bits 0 and 1 of the control word are controlled by the "Beam Type" field in the acquisition spec on R143.



Also available in: Atom PDF