Trace collected at: 2011-11-03 08:59:05.496000 ---------------------------------------------------------------------- ../GSEOS_scripts/General\emf_bw_trans.py[13]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/General\emf_bw_trans.py[14]: log('EMFISIS BW Transition B1 Trigger', color=BLUE, attr=BOLD ) ../GSEOS_scripts/General\emf_bw_trans.py[15]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/General\emf_bw_trans.py[17]: txo = 30 # timeout setting constant here so I can adjust it easily. ../GSEOS_scripts/General\emf_bw_trans.py[19]: scr.dfb_std_config(table=7) ../GSEOS_scripts/DFB\dfb_std_config.py[20]: """ ../GSEOS_scripts/DFB\dfb_std_config.py[22]: from efw import * ../GSEOS_scripts/DFB\dfb_std_config.py[23]: import util ../GSEOS_scripts/DFB\dfb_std_config.py[25]: def usage(): ../GSEOS_scripts/DFB\dfb_std_config.py[29]: def main(table=None): ../GSEOS_scripts/DFB\dfb_std_config.py[20]: """ ../GSEOS_scripts/DFB\dfb_std_config.py[22]: from efw import * ../GSEOS_scripts/DFB\dfb_std_config.py[23]: import util ../GSEOS_scripts/DFB\dfb_std_config.py[25]: def usage(): ../GSEOS_scripts/DFB\dfb_std_config.py[29]: def main(table=None): ../GSEOS_scripts/DFB\dfb_std_config.py[30]: if(table == None): ../GSEOS_scripts/DFB\dfb_std_config.py[33]: print >> log, "Setting up DFB for table %d" % table ../GSEOS_scripts/DFB\dfb_std_config.py[35]: if(table == 0): ../GSEOS_scripts/DFB\dfb_std_config.py[85]: elif(table==99): ../GSEOS_scripts/DFB\dfb_std_config.py[102]: elif(table == 1): ../GSEOS_scripts/DFB\dfb_std_config.py[163]: elif(table == 2): ../GSEOS_scripts/DFB\dfb_std_config.py[230]: elif(table == 3): ../GSEOS_scripts/DFB\dfb_std_config.py[298]: elif(table == 4): ../GSEOS_scripts/DFB\dfb_std_config.py[368]: elif(table == 5): ../GSEOS_scripts/DFB\dfb_std_config.py[373]: elif(table == 6): ../GSEOS_scripts/DFB\dfb_std_config.py[378]: elif(table == 7): ../GSEOS_scripts/DFB\dfb_std_config.py[379]: print >> log, "Configure Triggers E12DC @ 8S/s, 13 Bins" ../GSEOS_scripts/DFB\dfb_std_config.py[380]: cmd.EFW_DFB_FB(FB_SEL1=0, FB_SEL2=0, FB_ENA1=1, FB_ENA2=0, FB_FREQBANDS=1, FB_SPD=7) ../GSEOS_scripts/DFB\dfb_std_config.py[381]: cmd.EFW_SSR_ROUTE(APID=1, SEGMENT=1) ../GSEOS_scripts/DFB\dfb_std_config.py[382]: util.DFBCONFIG_ALL() ../GSEOS_scripts\util.py[222]: for num in range(16): ../GSEOS_scripts\util.py[223]: cmd.EFW_DFBCONFIG(APID=num) ../GSEOS_scripts\util.py[222]: for num in range(16): ../GSEOS_scripts\util.py[223]: cmd.EFW_DFBCONFIG(APID=num) ../GSEOS_scripts\util.py[222]: for num in range(16): ../GSEOS_scripts\util.py[223]: cmd.EFW_DFBCONFIG(APID=num) ../GSEOS_scripts\util.py[222]: for num in range(16): ../GSEOS_scripts\util.py[223]: cmd.EFW_DFBCONFIG(APID=num) ../GSEOS_scripts\util.py[222]: for num in range(16): ../GSEOS_scripts\util.py[223]: cmd.EFW_DFBCONFIG(APID=num) ../GSEOS_scripts\util.py[222]: for num in range(16): ../GSEOS_scripts\util.py[223]: cmd.EFW_DFBCONFIG(APID=num) ../GSEOS_scripts\util.py[222]: for num in range(16): ../GSEOS_scripts\util.py[223]: cmd.EFW_DFBCONFIG(APID=num) ../GSEOS_scripts\util.py[222]: for num in range(16): ../GSEOS_scripts\util.py[223]: cmd.EFW_DFBCONFIG(APID=num) ../GSEOS_scripts\util.py[222]: for num in range(16): ../GSEOS_scripts\util.py[223]: cmd.EFW_DFBCONFIG(APID=num) ../GSEOS_scripts\util.py[222]: for num in range(16): ../GSEOS_scripts\util.py[223]: cmd.EFW_DFBCONFIG(APID=num) ../GSEOS_scripts\util.py[222]: for num in range(16): ../GSEOS_scripts\util.py[223]: cmd.EFW_DFBCONFIG(APID=num) ../GSEOS_scripts\util.py[222]: for num in range(16): ../GSEOS_scripts\util.py[223]: cmd.EFW_DFBCONFIG(APID=num) ../GSEOS_scripts\util.py[222]: for num in range(16): ../GSEOS_scripts\util.py[223]: cmd.EFW_DFBCONFIG(APID=num) ../GSEOS_scripts\util.py[222]: for num in range(16): ../GSEOS_scripts\util.py[223]: cmd.EFW_DFBCONFIG(APID=num) ../GSEOS_scripts\util.py[222]: for num in range(16): ../GSEOS_scripts\util.py[223]: cmd.EFW_DFBCONFIG(APID=num) ../GSEOS_scripts\util.py[222]: for num in range(16): ../GSEOS_scripts\util.py[223]: cmd.EFW_DFBCONFIG(APID=num) ../GSEOS_scripts\util.py[222]: for num in range(16): ../GSEOS_scripts/DFB\dfb_std_config.py[653]: print >> log, "Done setting up DFB for table %d" % table ../GSEOS_scripts/General\emf_bw_trans.py[21]: sleep(5) ../GSEOS_scripts/General\emf_bw_trans.py[23]: cmd.EFW_DFB_FB_INT(FB_SEL4=0, FB_SEL3=6, FB_FREQBANDS=1, FB_ENA4=0, FB_SPD=7, FB_ENA3=1) ../GSEOS_scripts/General\emf_bw_trans.py[24]: cmd.EFW_DFB_FB(FB_SEL1=0, FB_SEL2=6, FB_ENA2=1, FB_FREQBANDS=0, FB_SPD=7, FB_ENA1=0) ../GSEOS_scripts/General\emf_bw_trans.py[26]: cmd.EFW_SSR_ROUTE(APID=1, SEGMENT=1) ../GSEOS_scripts/General\emf_bw_trans.py[28]: cmd.EFW_DFB_SCM_B1(SCM_B1_SPD=0xE, SCM_B1_ENA=0x7) ../GSEOS_scripts/General\emf_bw_trans.py[29]: cmd.EFW_DFB_E_B1(E_B1_SPD=0xe, E_B1_ENA=0x7) ../GSEOS_scripts/General\emf_bw_trans.py[30]: cmd.EFW_DFB_V_B1(V_B1_SPD=0xe, V_B1_ENA=0x3f) ../GSEOS_scripts/General\emf_bw_trans.py[32]: sleep(10) ../GSEOS_scripts/General\emf_bw_trans.py[34]: util.DFBCONFIG_ALL() ../GSEOS_scripts\util.py[222]: for num in range(16): ../GSEOS_scripts\util.py[223]: cmd.EFW_DFBCONFIG(APID=num) ../GSEOS_scripts\util.py[222]: for num in range(16): ../GSEOS_scripts\util.py[223]: cmd.EFW_DFBCONFIG(APID=num) ../GSEOS_scripts\util.py[222]: for num in range(16): ../GSEOS_scripts\util.py[223]: cmd.EFW_DFBCONFIG(APID=num) ../GSEOS_scripts\util.py[222]: for num in range(16): ../GSEOS_scripts\util.py[223]: cmd.EFW_DFBCONFIG(APID=num) ../GSEOS_scripts\util.py[222]: for num in range(16): ../GSEOS_scripts\util.py[223]: cmd.EFW_DFBCONFIG(APID=num) ../GSEOS_scripts\util.py[222]: for num in range(16): ../GSEOS_scripts\util.py[223]: cmd.EFW_DFBCONFIG(APID=num) ../GSEOS_scripts\util.py[222]: for num in range(16): ../GSEOS_scripts\util.py[223]: cmd.EFW_DFBCONFIG(APID=num) ../GSEOS_scripts\util.py[222]: for num in range(16): ../GSEOS_scripts\util.py[223]: cmd.EFW_DFBCONFIG(APID=num) ../GSEOS_scripts\util.py[222]: for num in range(16): ../GSEOS_scripts\util.py[223]: cmd.EFW_DFBCONFIG(APID=num) ../GSEOS_scripts\util.py[222]: for num in range(16): ../GSEOS_scripts\util.py[223]: cmd.EFW_DFBCONFIG(APID=num) ../GSEOS_scripts\util.py[222]: for num in range(16): ../GSEOS_scripts\util.py[223]: cmd.EFW_DFBCONFIG(APID=num) ../GSEOS_scripts\util.py[222]: for num in range(16): ../GSEOS_scripts\util.py[223]: cmd.EFW_DFBCONFIG(APID=num) ../GSEOS_scripts\util.py[222]: for num in range(16): ../GSEOS_scripts\util.py[223]: cmd.EFW_DFBCONFIG(APID=num) ../GSEOS_scripts\util.py[222]: for num in range(16): ../GSEOS_scripts\util.py[223]: cmd.EFW_DFBCONFIG(APID=num) ../GSEOS_scripts\util.py[222]: for num in range(16): ../GSEOS_scripts\util.py[223]: cmd.EFW_DFBCONFIG(APID=num) ../GSEOS_scripts\util.py[222]: for num in range(16): ../GSEOS_scripts\util.py[223]: cmd.EFW_DFBCONFIG(APID=num) ../GSEOS_scripts\util.py[222]: for num in range(16): ../GSEOS_scripts/General\emf_bw_trans.py[38]: cmd.efw_dumptabl(5,0) ../GSEOS_scripts/General\emf_bw_trans.py[39]: cmd.efw_tmdumpctr(255) ../GSEOS_scripts/General\emf_bw_trans.py[42]: scr.set_flashmod() ../GSEOS_scripts\set_flashmod.py[6]: """ ../GSEOS_scripts\set_flashmod.py[8]: from __main__ import APID_263 ../GSEOS_scripts\set_flashmod.py[9]: from efw import * ../GSEOS_scripts\set_flashmod.py[10]: import time ../GSEOS_scripts\set_flashmod.py[12]: def set_flash_recptr(addr): ../GSEOS_scripts\set_flashmod.py[21]: def module_to_addr(module): ../GSEOS_scripts\set_flashmod.py[33]: def main(module=None): ../GSEOS_scripts\set_flashmod.py[6]: """ ../GSEOS_scripts\set_flashmod.py[8]: from __main__ import APID_263 ../GSEOS_scripts\set_flashmod.py[9]: from efw import * ../GSEOS_scripts\set_flashmod.py[10]: import time ../GSEOS_scripts\set_flashmod.py[12]: def set_flash_recptr(addr): ../GSEOS_scripts\set_flashmod.py[21]: def module_to_addr(module): ../GSEOS_scripts\set_flashmod.py[33]: def main(module=None): ../GSEOS_scripts\set_flashmod.py[39]: if(module == None): ../GSEOS_scripts\set_flashmod.py[42]: days_since_1970 = int(time.time() / 86400) ../GSEOS_scripts\set_flashmod.py[43]: module = days_since_1970 % 64 ../GSEOS_scripts\set_flashmod.py[44]: log("Calculated %d days since 1970 corresponds to module %d" % (days_since_1970, module)) ../GSEOS_scripts\set_flashmod.py[50]: current_addr = APID_263.B1_RECPTR ../GSEOS_scripts\set_flashmod.py[51]: current_module = (current_addr / 4096) % 64 ../GSEOS_scripts\set_flashmod.py[52]: if(current_module == module): ../GSEOS_scripts\set_flashmod.py[53]: print >> log, "Not setting flash pointer because it is already on module %d (addr=0x%06x)" % (module, current_addr) ../GSEOS_scripts\set_flashmod.py[54]: return() ../GSEOS_scripts/General\emf_bw_trans.py[43]: cmd.efw_b1_thresh(25) ../GSEOS_scripts/General\emf_bw_trans.py[46]: cmd.efw_tmkbps(60) ../GSEOS_scripts/General\emf_bw_trans.py[49]: cmd.efw_tmpktrate(4,1) ../GSEOS_scripts/General\emf_bw_trans.py[51]: sleep(5) ../GSEOS_scripts/General\emf_bw_trans.py[54]: cmd.EFW_ADRH(0x96) ../GSEOS_scripts/General\emf_bw_trans.py[55]: cmd.EFW_ADRL(0x16) ../GSEOS_scripts/General\emf_bw_trans.py[60]: wait(APID_267, lambda: APID_267.LOADADR==0x9616, flTimeout=10) ../GSEOS_scripts/General\emf_bw_trans.py[60]: wait(APID_267, lambda: APID_267.LOADADR==0x9616, flTimeout=10) ../GSEOS_scripts/General\emf_bw_trans.py[60]: wait(APID_267, lambda: APID_267.LOADADR==0x9616, flTimeout=10) ../GSEOS_scripts/General\emf_bw_trans.py[60]: wait(APID_267, lambda: APID_267.LOADADR==0x9616, flTimeout=10) ../GSEOS_scripts/General\emf_bw_trans.py[60]: wait(APID_267, lambda: APID_267.LOADADR==0x9616, flTimeout=10) ../GSEOS_scripts/General\emf_bw_trans.py[60]: wait(APID_267, lambda: APID_267.LOADADR==0x9616, flTimeout=10) ../GSEOS_scripts/General\emf_bw_trans.py[60]: wait(APID_267, lambda: APID_267.LOADADR==0x9616, flTimeout=10) ../GSEOS_scripts/General\emf_bw_trans.py[60]: wait(APID_267, lambda: APID_267.LOADADR==0x9616, flTimeout=10) ../GSEOS_scripts/General\emf_bw_trans.py[60]: wait(APID_267, lambda: APID_267.LOADADR==0x9616, flTimeout=10) ../GSEOS_scripts/General\emf_bw_trans.py[60]: wait(APID_267, lambda: APID_267.LOADADR==0x9616, flTimeout=10) ../GSEOS_scripts/General\emf_bw_trans.py[60]: wait(APID_267, lambda: APID_267.LOADADR==0x9616, flTimeout=10)