FEB_2262    22.11.24 11:49:09

TextEdit.txt
            11:49:09:ST3_Shared:INFO:	oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
11:49:09:ST3_Shared:INFO:	                          FEB-ASIC                          
11:49:09:ST3_Shared:INFO:	oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
11:49:12:ST3_Shared:INFO:	STS mode selected
11:49:12:febtest:INFO:	Testing FEB with SN 2262
11:49:13:smx_tester:INFO:	Scanning setup
11:49:13:elinks:INFO:	Disabling clock on downlink 0
11:49:13:elinks:INFO:	Disabling clock on downlink 1
11:49:13:elinks:INFO:	Disabling clock on downlink 2
11:49:13:elinks:INFO:	Disabling clock on downlink 3
11:49:13:elinks:INFO:	Disabling clock on downlink 4
11:49:13:setup_element:INFO:	Checking SOS, encoding_mode: SOS
11:49:13:master:INFO:	Setting encoding mode SOS for groups [0], downlinks [0]
11:49:14:setup_element:INFO:	Reassigning uplinks to uplinks which passed SOS detection
11:49:14:elinks:INFO:	Disabling clock on downlink 0
11:49:14:elinks:INFO:	Disabling clock on downlink 1
11:49:14:elinks:INFO:	Disabling clock on downlink 2
11:49:14:elinks:INFO:	Disabling clock on downlink 3
11:49:14:elinks:INFO:	Disabling clock on downlink 4
11:49:14:setup_element:INFO:	Checking SOS, encoding_mode: SOS
11:49:14:master:INFO:	Setting encoding mode SOS for groups [0], downlinks [1]
11:49:14:setup_element:INFO:	Reassigning uplinks to uplinks which passed SOS detection
11:49:14:elinks:INFO:	Disabling clock on downlink 0
11:49:14:elinks:INFO:	Disabling clock on downlink 1
11:49:14:elinks:INFO:	Disabling clock on downlink 2
11:49:14:elinks:INFO:	Disabling clock on downlink 3
11:49:14:elinks:INFO:	Disabling clock on downlink 4
11:49:14:setup_element:INFO:	Checking SOS, encoding_mode: SOS
11:49:14:master:INFO:	Setting encoding mode SOS for groups [0], downlinks [2]
11:49:14:setup_element:INFO:	SOS detected for group 0, downlink 2, uplink 16
11:49:14:setup_element:INFO:	SOS detected for group 0, downlink 2, uplink 17
11:49:14:setup_element:INFO:	SOS detected for group 0, downlink 2, uplink 18
11:49:14:setup_element:INFO:	SOS detected for group 0, downlink 2, uplink 19
11:49:14:setup_element:INFO:	SOS detected for group 0, downlink 2, uplink 20
11:49:14:setup_element:INFO:	SOS detected for group 0, downlink 2, uplink 21
11:49:14:setup_element:INFO:	SOS detected for group 0, downlink 2, uplink 22
11:49:14:setup_element:INFO:	SOS detected for group 0, downlink 2, uplink 23
11:49:14:setup_element:INFO:	SOS detected for group 0, downlink 2, uplink 24
11:49:14:setup_element:INFO:	SOS detected for group 0, downlink 2, uplink 25
11:49:14:setup_element:INFO:	SOS detected for group 0, downlink 2, uplink 26
11:49:14:setup_element:INFO:	SOS detected for group 0, downlink 2, uplink 27
11:49:14:setup_element:INFO:	SOS detected for group 0, downlink 2, uplink 28
11:49:14:setup_element:INFO:	SOS detected for group 0, downlink 2, uplink 29
11:49:14:setup_element:INFO:	SOS detected for group 0, downlink 2, uplink 30
11:49:14:setup_element:INFO:	SOS detected for group 0, downlink 2, uplink 31
11:49:14:setup_element:INFO:	Reassigning uplinks to uplinks which passed SOS detection
11:49:14:elinks:INFO:	Disabling clock on downlink 0
11:49:14:elinks:INFO:	Disabling clock on downlink 1
11:49:14:elinks:INFO:	Disabling clock on downlink 2
11:49:14:elinks:INFO:	Disabling clock on downlink 3
11:49:14:elinks:INFO:	Disabling clock on downlink 4
11:49:14:setup_element:INFO:	Checking SOS, encoding_mode: SOS
11:49:14:master:INFO:	Setting encoding mode SOS for groups [0], downlinks [3]
11:49:14:setup_element:INFO:	Reassigning uplinks to uplinks which passed SOS detection
11:49:14:elinks:INFO:	Disabling clock on downlink 0
11:49:14:elinks:INFO:	Disabling clock on downlink 1
11:49:14:elinks:INFO:	Disabling clock on downlink 2
11:49:14:elinks:INFO:	Disabling clock on downlink 3
11:49:14:elinks:INFO:	Disabling clock on downlink 4
11:49:14:setup_element:INFO:	Checking SOS, encoding_mode: SOS
11:49:14:master:INFO:	Setting encoding mode SOS for groups [0], downlinks [4]
11:49:14:setup_element:INFO:	Reassigning uplinks to uplinks which passed SOS detection
==============================================OOO==============================================
11:49:14:setup_element:INFO:	Scanning clock phase
11:49:14:master:INFO:	Setting encoding mode SOS for groups [0], downlinks [2]
11:49:14:master:INFO:	Setting encoding mode K.28.1 for groups [0], downlinks [2]
11:49:15:setup_element:INFO:	Clock phase scan results for group 0, downlink 2
11:49:15:setup_element:INFO:	Eye window for uplink 16: ______________________________________________________________________XXXXXXX___
Clock Delay: 33
11:49:15:setup_element:INFO:	Eye window for uplink 17: ______________________________________________________________________XXXXXXX___
Clock Delay: 33
11:49:15:setup_element:INFO:	Eye window for uplink 18: _______________________________________________________________________XXXXXXX__
Clock Delay: 34
11:49:15:setup_element:INFO:	Eye window for uplink 19: _______________________________________________________________________XXXXXXX__
Clock Delay: 34
11:49:15:setup_element:INFO:	Eye window for uplink 20: ________________________________________________________________________________
Clock Delay: 40
11:49:15:setup_element:INFO:	Eye window for uplink 21: ________________________________________________________________________________
Clock Delay: 40
11:49:15:setup_element:INFO:	Eye window for uplink 22: ______________________________________________________________________XXXXXXXX__
Clock Delay: 33
11:49:15:setup_element:INFO:	Eye window for uplink 23: ______________________________________________________________________XXXXXXXX__
Clock Delay: 33
11:49:15:setup_element:INFO:	Eye window for uplink 24: _____________________________________________________________________XXXXXXXXX__
Clock Delay: 33
11:49:15:setup_element:INFO:	Eye window for uplink 25: _____________________________________________________________________XXXXXXXXX__
Clock Delay: 33
11:49:15:setup_element:INFO:	Eye window for uplink 26: ______________________________________________________________________XXXXXXXX__
Clock Delay: 33
11:49:15:setup_element:INFO:	Eye window for uplink 27: ______________________________________________________________________XXXXXXXX__
Clock Delay: 33
11:49:15:setup_element:INFO:	Eye window for uplink 28: ______________________________________________________________________XXXXXXXX__
Clock Delay: 33
11:49:15:setup_element:INFO:	Eye window for uplink 29: ______________________________________________________________________XXXXXXXX__
Clock Delay: 33
11:49:15:setup_element:INFO:	Eye window for uplink 30: _______________________________________________________________________XXXXXXX_X
Clock Delay: 35
11:49:15:setup_element:INFO:	Eye window for uplink 31: _______________________________________________________________________XXXXXXX_X
Clock Delay: 35
11:49:15:setup_element:INFO:	Setting the clock phase to 34 for group 0, downlink 2
==============================================OOO==============================================
11:49:15:setup_element:INFO:	Scanning data phases
11:49:15:master:INFO:	Setting encoding mode SOS for groups [0], downlinks [2]
11:49:15:master:INFO:	Setting encoding mode K.28.1 for groups [0], downlinks [2]
11:49:20:setup_element:INFO:	Data phase scan results for group 0, downlink 2
11:49:20:setup_element:INFO:	Eye window for uplink 16: ___________________________________XXXX_
Data delay found: 16
11:49:20:setup_element:INFO:	Eye window for uplink 17: _________________________________XXXXX__
Data delay found: 15
11:49:20:setup_element:INFO:	Eye window for uplink 18: XXXXX_________________________________XX
Data delay found: 21
11:49:20:setup_element:INFO:	Eye window for uplink 19: XXX_________________________________XXXX
Data delay found: 19
11:49:20:setup_element:INFO:	Eye window for uplink 20: XXX____________________________________X
Data delay found: 20
11:49:20:setup_element:INFO:	Eye window for uplink 21: XXX__________________________________XXX
Data delay found: 19
11:49:20:setup_element:INFO:	Eye window for uplink 22: XXXX_________________________________XXX
Data delay found: 20
11:49:20:setup_element:INFO:	Eye window for uplink 23: XXXXXXX_____________________________XXXX
Data delay found: 21
11:49:20:setup_element:INFO:	Eye window for uplink 24: ________XXXXXX__________________________
Data delay found: 30
11:49:20:setup_element:INFO:	Eye window for uplink 25: __________XXXXXX________________________
Data delay found: 32
11:49:20:setup_element:INFO:	Eye window for uplink 26: _________XXXXX__________________________
Data delay found: 31
11:49:20:setup_element:INFO:	Eye window for uplink 27: ____________XXXXXX______________________
Data delay found: 34
11:49:20:setup_element:INFO:	Eye window for uplink 28: ______________XXXXX______XXXXXXXXXXXXXXX
Data delay found: 6
11:49:20:setup_element:INFO:	Eye window for uplink 29: ________________XXXXXX___XXXXXXXXXXXXXXX
Data delay found: 7
11:49:20:setup_element:INFO:	Eye window for uplink 30: __________________XXXXX_________________
Data delay found: 0
11:49:20:setup_element:INFO:	Eye window for uplink 31: __________________XXXXXX________________
Data delay found: 0
11:49:20:setup_element:INFO:	Setting the data phase to 16 for uplink 16
11:49:20:setup_element:INFO:	Setting the data phase to 15 for uplink 17
11:49:20:setup_element:INFO:	Setting the data phase to 21 for uplink 18
11:49:20:setup_element:INFO:	Setting the data phase to 19 for uplink 19
11:49:20:setup_element:INFO:	Setting the data phase to 20 for uplink 20
11:49:20:setup_element:INFO:	Setting the data phase to 19 for uplink 21
11:49:20:setup_element:INFO:	Setting the data phase to 20 for uplink 22
11:49:20:setup_element:INFO:	Setting the data phase to 21 for uplink 23
11:49:20:setup_element:INFO:	Setting the data phase to 30 for uplink 24
11:49:20:setup_element:INFO:	Setting the data phase to 32 for uplink 25
11:49:20:setup_element:INFO:	Setting the data phase to 31 for uplink 26
11:49:20:setup_element:INFO:	Setting the data phase to 34 for uplink 27
11:49:20:setup_element:INFO:	Setting the data phase to 6 for uplink 28
11:49:20:setup_element:INFO:	Setting the data phase to 7 for uplink 29
11:49:20:setup_element:INFO:	Setting the data phase to 0 for uplink 30
11:49:20:setup_element:INFO:	Setting the data phase to 0 for uplink 31
==============================================OOO==============================================
11:49:20:setup_element:INFO:	Beginning SMX ASICs map scan
11:49:20:master:INFO:	Setting encoding mode SOS for groups [0], downlinks [2]
11:49:20:master:INFO:	Setting encoding mode K.28.1 for groups [0], downlinks [2]
11:49:20:master:INFO:	Setting encoding mode EOS for groups [0], downlinks [2]
11:49:20:master:INFO:	Setting encoding mode FRAME for groups [0], downlinks [2]
11:49:20:uplink:INFO:	Setting uplinks mask [16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31]
11:49:20:setup_element:INFO:	Adding ASIC 0x0, ASIC uplink 0, uplink 23
11:49:20:setup_element:INFO:	Adding ASIC 0x0, ASIC uplink 1, uplink 22
11:49:21:setup_element:INFO:	Adding ASIC 0x1, ASIC uplink 1, uplink 31
11:49:21:setup_element:INFO:	Adding ASIC 0x2, ASIC uplink 0, uplink 21
11:49:21:setup_element:INFO:	Adding ASIC 0x2, ASIC uplink 1, uplink 20
11:49:21:setup_element:INFO:	Adding ASIC 0x3, ASIC uplink 0, uplink 28
11:49:21:setup_element:INFO:	Adding ASIC 0x3, ASIC uplink 1, uplink 29
11:49:21:setup_element:INFO:	Adding ASIC 0x4, ASIC uplink 0, uplink 19
11:49:21:setup_element:INFO:	Adding ASIC 0x4, ASIC uplink 1, uplink 18
11:49:21:setup_element:INFO:	Adding ASIC 0x5, ASIC uplink 0, uplink 26
11:49:21:setup_element:INFO:	Adding ASIC 0x5, ASIC uplink 1, uplink 27
11:49:21:setup_element:INFO:	Adding ASIC 0x6, ASIC uplink 0, uplink 17
11:49:21:setup_element:INFO:	Adding ASIC 0x6, ASIC uplink 1, uplink 16
11:49:22:setup_element:INFO:	Adding ASIC 0x7, ASIC uplink 0, uplink 24
11:49:22:setup_element:INFO:	Adding ASIC 0x7, ASIC uplink 1, uplink 25
11:49:23:ST3_emu:INFO:	
Setup Element:
  Group: 0
  Downlink: 2
  Uplinks: [16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31]
  ASICs Map:
    ASIC address 0x0: (ASIC uplink, uplink): (0, 23), (1, 22)
    ASIC address 0x1: (ASIC uplink, uplink): (1, 31)
    ASIC address 0x2: (ASIC uplink, uplink): (0, 21), (1, 20)
    ASIC address 0x3: (ASIC uplink, uplink): (0, 28), (1, 29)
    ASIC address 0x4: (ASIC uplink, uplink): (0, 19), (1, 18)
    ASIC address 0x5: (ASIC uplink, uplink): (0, 26), (1, 27)
    ASIC address 0x6: (ASIC uplink, uplink): (0, 17), (1, 16)
    ASIC address 0x7: (ASIC uplink, uplink): (0, 24), (1, 25)
  Clock Phase Characteristic:
    Optimal Phase: 34
    Window Length: 69
    Eye Windows:
      Uplink 16: ______________________________________________________________________XXXXXXX___
      Uplink 17: ______________________________________________________________________XXXXXXX___
      Uplink 18: _______________________________________________________________________XXXXXXX__
      Uplink 19: _______________________________________________________________________XXXXXXX__
      Uplink 20: ________________________________________________________________________________
      Uplink 21: ________________________________________________________________________________
      Uplink 22: ______________________________________________________________________XXXXXXXX__
      Uplink 23: ______________________________________________________________________XXXXXXXX__
      Uplink 24: _____________________________________________________________________XXXXXXXXX__
      Uplink 25: _____________________________________________________________________XXXXXXXXX__
      Uplink 26: ______________________________________________________________________XXXXXXXX__
      Uplink 27: ______________________________________________________________________XXXXXXXX__
      Uplink 28: ______________________________________________________________________XXXXXXXX__
      Uplink 29: ______________________________________________________________________XXXXXXXX__
      Uplink 30: _______________________________________________________________________XXXXXXX_X
      Uplink 31: _______________________________________________________________________XXXXXXX_X
  Data phase characteristics:
    Uplink 16:
      Optimal Phase: 16
      Window Length: 36
      Eye Window: ___________________________________XXXX_
    Uplink 17:
      Optimal Phase: 15
      Window Length: 35
      Eye Window: _________________________________XXXXX__
    Uplink 18:
      Optimal Phase: 21
      Window Length: 33
      Eye Window: XXXXX_________________________________XX
    Uplink 19:
      Optimal Phase: 19
      Window Length: 33
      Eye Window: XXX_________________________________XXXX
    Uplink 20:
      Optimal Phase: 20
      Window Length: 36
      Eye Window: XXX____________________________________X
    Uplink 21:
      Optimal Phase: 19
      Window Length: 34
      Eye Window: XXX__________________________________XXX
    Uplink 22:
      Optimal Phase: 20
      Window Length: 33
      Eye Window: XXXX_________________________________XXX
    Uplink 23:
      Optimal Phase: 21
      Window Length: 29
      Eye Window: XXXXXXX_____________________________XXXX
    Uplink 24:
      Optimal Phase: 30
      Window Length: 34
      Eye Window: ________XXXXXX__________________________
    Uplink 25:
      Optimal Phase: 32
      Window Length: 34
      Eye Window: __________XXXXXX________________________
    Uplink 26:
      Optimal Phase: 31
      Window Length: 35
      Eye Window: _________XXXXX__________________________
    Uplink 27:
      Optimal Phase: 34
      Window Length: 34
      Eye Window: ____________XXXXXX______________________
    Uplink 28:
      Optimal Phase: 6
      Window Length: 14
      Eye Window: ______________XXXXX______XXXXXXXXXXXXXXX
    Uplink 29:
      Optimal Phase: 7
      Window Length: 16
      Eye Window: ________________XXXXXX___XXXXXXXXXXXXXXX
    Uplink 30:
      Optimal Phase: 0
      Window Length: 35
      Eye Window: __________________XXXXX_________________
    Uplink 31:
      Optimal Phase: 0
      Window Length: 34
      Eye Window: __________________XXXXXX________________

==============================================OOO==============================================
11:49:23:setup_element:INFO:	Performing Elink synchronization
11:49:23:master:INFO:	Setting encoding mode SOS for groups [0], downlinks [2]
11:49:23:master:INFO:	Setting encoding mode K.28.1 for groups [0], downlinks [2]
11:49:23:master:INFO:	Setting encoding mode EOS for groups [0], downlinks [2]
11:49:23:master:INFO:	Setting encoding mode FRAME for groups [0], downlinks [2]
==============================================OOO==============================================
11:49:23:setup_element:INFO:	Writing SMX Elink masks for group 0, downlink 2
11:49:23:uplink:INFO:	Enabling uplinks [16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31]
==============================================OOO==============================================
|_________________________________________________________________________|
_addr_|_upli_|_dwnli_|_grp_|_uplinks_|_#uplinks_|_uplinks_map_
 0   | [0]  |   2   |  0  |  [23]   |    2    | [(0, 23), (1, 22)]
 1   | [1]  |   2   |  0  |  [31]   |    1    | [(1, 31)]
 2   | [0]  |   2   |  0  |  [21]   |    2    | [(0, 21), (1, 20)]
 3   | [0]  |   2   |  0  |  [28]   |    2    | [(0, 28), (1, 29)]
 4   | [0]  |   2   |  0  |  [19]   |    2    | [(0, 19), (1, 18)]
 5   | [0]  |   2   |  0  |  [26]   |    2    | [(0, 26), (1, 27)]
 6   | [0]  |   2   |  0  |  [17]   |    2    | [(0, 17), (1, 16)]
 7   | [0]  |   2   |  0  |  [24]   |    2    | [(0, 24), (1, 25)]
|_________________________________________________________________________|
Traceback (most recent call last):
  File "febtest.py", line 773, in DoFEB_AsicTest
    if self.DoScanFEB8():
  File "febtest.py", line 600, in DoScanFEB8
    self.EMU.Scan_FEB8(reporter)
  File "/home/cbm/ST3_v2.29.38/lib/ST3_emu_feb.py", line 61, in Scan_FEB8
    self.mysmx[nn] = ST3_smx.ST3_smx(   smx, 
  File "/home/cbm/ST3_v2.29.38/lib/ST3_smx.py", line 250, in __init__
    Canvas_index = smx_index[upln]
KeyError: 31