Difference: SendingDataOverDAQLink ( vs. 1)

Revision 106 Dec 2013 - DavidZou

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="AMC13ToolRecipes"

Sending Data Over the fiber (front) DAQLink

  • Connect the hardware correctly
    • The DAQ Link optical fiber cable should be connected to the second-from-the-top SFP on the sending AMC13 module
    • If an AMC13 is also being used as the receiving module, the other end of the DAQ Link optical fiber cable should be connected to the top-most SFP on that receiving AMC13 module
    • A single AMC13 can be used as both the sending and receiving DAQ module, with the optical fiber cable looped from the second-to-the-top SFP to the topmost SFP on that AMC13
  • Initialize your AMC13 (detailed information found here) with the 'd' flag (in addition to other desired init flags) to enable the DAQ link. For example:
          Pick an action (h for menu): en 0-11 f t l d
          Enabling AMC inputs from list: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11
          Link status: 04100fff
          Enable DAQ Link
          Enable Fake Event Generator
          Enable Local TTC Input Signal
          Enable Local L1A generation
          'CONTROL1': 00208187
          
  • Enable the DAQ Link from the receiving module!! If your receiving module is an AMC13, enable the module and the DAQ link using the commands:
          Pick an action (h for menu): en
          No AMC inputs specified. No AMC links will be enabled.
          Link status: 00000000
    
          Pick an action (h for menu): de
            DAQ Link Enabled
          
  • If your receiving module is an AMC13 , use the following command from the receiving module to save incoming DAQ data to the SDRAM buffer:
          Pick an action (h for menu): dsv e
            Saving incoming DAQ data to SDRAM
          
  • You should now be ready to send events over the DAQ Link. For example:
    1. Send 100 local triggers on the sending AMC13 module
               Pick an action (h for menu): lt 100
               
    2. Check the Link Status Display DAQLSC Counters on the sending AMC13 module. Make sure the Events sent equals the number of L1As generated
               Pick an action (h for menu): lst
      
               ***AMC13 SFP Status***
               [...]
               DAQLSC Counters:
                                          ACK [0010]: 000002bd
                                 Packets Seen [0011]: 000002bc
                                       Events [0013]: 00000064
                                        Words [0014]: 0004bc1c
               [...]
               
    3. If your receiving module is also an AMC13, you can check its Link Status Display to make sure its DAQLDC Counters match the sender's LSC Counters
               Pick an action (h for menu): lst
      
               ***AMC13 SFP Status***
               [...]
               DAQLDC Counters:
                                        Words [0090]: 0004bc1c
                              Control Counter [0091]: 000000c8
                                       Events [0092]: 00000064
                               Words Received [0093]: 0004bc1c
                            Controls Received [0094]: 000000c8
                              Events Received [0095]: 00000064
                                  ACK Counter [0099]: 000002be
                                Valid Packets [009a]: 000002bd
                                Total Packets [009b]: 00000252
               [...]
               

-- DavidZou - 06 Dec 2013

 
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