High Rates Test Procedure

Test procedure for building events from uHTR, while using TTT as TTC source. Test procedure assumes certain tools are available, namely the AMC13Tool, the uHTRTool, and the TTTtool.
  1. Make sure AMC13 and uHTR are installed properly in the crate and that the optical fiber from TTT is connected to AMC13 properly (top fiber to bottom and vice versa)
  2. Prepare uHTR and enable DAQlinks and local triggers. Using uHTRTool, follow recipe here.
  3. Prepare AMC13 for data taking and enable link to desired uHTRs. You can use the AMC13Tool for this (additional information here):
    • NOTE: For now (July 16, 2013), only enable link to uHTR SN 4 (which is likely in the AMC10 slot), there seems to be a bug in SN 7 which is causing the system not to write events to the monitor buffer.
    • NOTE: examples will assume the use of a single uHTR in slot AMC10 (link 9). (Remember the physical crate counts from 1 while the links count from 0.)
    • Pick an action (h for menu): i 9 b d
      Enabling AMC inputs from list: 9
      Link status: 02000200
      Enable DAQ Link
      Stop EvB when Mon Buf Full
      'CONTROL1': 008bc003
         
    • Status should show that Input link 09 is both enabled and locked:
      Pick an action (h for menu): st
      
      *****AMC13 Status*****
      Status display detail level: 1
      Control 0: 28000028
        Monitor Buffer Empty
        TTC Not Ready
      Control 1: 008bc003
        Save DAQ data to MonBuf
        MonBuff full stops EVB
        DAQ Link Enabled
        Run Mode
      AMC Link Status: 02000200
        AMC13 Enabled Inputs: 09
        AMC Input links locked: 09
      AMC Port Status: 0fff0000
        --All AMC Link Versions Correct--
        Unsynced AMC Ports: 00, 01, 02, 03, 04, 05, 06, 07, 08, 09, 10, 11
      AMC Bc0 Status: 00000018
        --No BC0s locked--
      EVB Counters:  (All 32-bit counters read 0x0)
      etc...
      
    • NOTE: Typically the BC0s for 09 (or which ever enabled links have a uHTR) should be locked, indicating that the Bc0s are be received and send trough the backplane. However, currently (July 16, 2013) there is a bug in the uHTR firmware and this does not happen.
  4. Set high prescaling (~10,000.):
    • This can be done in one of two ways:
      • Using the Mega Monitor prescaling (reg T1 0x2, bits 23,22-19) (which checks for events that end in a given number of 0's in binary min 5 - max 20) or
      • Using the scale factor bits (reg T1 0x2, bits 15-0) (see last version Wu's specs for register information)
    • With Mega Monitor Prescaling (don't forget to enable Mega Monitoring):
      • insert example
    • With Scale Factor Bits:
      • insert example

-- DavidZou - 12 Jul 2013

Edit | Attach | Watch | Print version | History: r9 | r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r2 - 16 Jul 2013 - DavidZou
 
  • Edit
  • Attach
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback