Trace collected at: 2011-05-26 11:00:47.875000 ---------------------------------------------------------------------- ../../GSEOS_scripts/General\AC_functional.py[52]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/General\AC_functional.py[53]: log('AC Test Script Running', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/General\AC_functional.py[54]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/General\AC_functional.py[57]: 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[58]: addr = module_to_addr(module) ../../GSEOS_scripts\set_flashmod.py[22]: if(module != 0): ../../GSEOS_scripts\set_flashmod.py[24]: if(0 <= module <= 63): ../../GSEOS_scripts\set_flashmod.py[25]: addr = 4096 * module ../../GSEOS_scripts\set_flashmod.py[31]: return(addr) ../../GSEOS_scripts\set_flashmod.py[59]: log("Setting flash pointer to 0x%06x (module %d)" % (addr, module)) ../../GSEOS_scripts\set_flashmod.py[60]: set_flash_recptr(addr) ../../GSEOS_scripts\set_flashmod.py[14]: addrL = addr & 0xff ../../GSEOS_scripts\set_flashmod.py[15]: addrH = (addr >> 8) & 0xff ../../GSEOS_scripts\set_flashmod.py[16]: addrE = (addr >> 16) & 0xff ../../GSEOS_scripts\set_flashmod.py[17]: cmd.efw_b1_setrecptrl(addrL) ../../GSEOS_scripts\set_flashmod.py[18]: cmd.efw_b1_setrecptrh(addrH) ../../GSEOS_scripts\set_flashmod.py[19]: cmd.efw_b1_setrecptre(addrE) ../../GSEOS_scripts/General\AC_functional.py[58]: cmd.efw_b1_thresh(25) ../../GSEOS_scripts/General\AC_functional.py[61]: sleep(10) ../../GSEOS_scripts/General\AC_functional.py[64]: cmd.EFW_SSR_ENABLE(option=0) ../../GSEOS_scripts/General\AC_functional.py[65]: cmd.EFW_SSR_ENABLE(option=1) ../../GSEOS_scripts/General\AC_functional.py[66]: cmd.EFW_SSR_ENABLE(option=2) ../../GSEOS_scripts/General\AC_functional.py[67]: cmd.EFW_SSR_ENABLE(option=3) ../../GSEOS_scripts/General\AC_functional.py[70]: cmd.EFW_DUMPTABL(TABLE=8, OFFSET=0) ../../GSEOS_scripts/General\AC_functional.py[71]: cmd.EFW_TMDUMPCTR(255) ../../GSEOS_scripts/General\AC_functional.py[72]: cmd.efw_b2_config() ../../GSEOS_scripts/General\AC_functional.py[79]: cmd.EFW_TABLE(TABLE=9, OFFSET=1) ../../GSEOS_scripts/General\AC_functional.py[80]: wait(APID_267, lambda: APID_267.LOADADR==0x92fb, flTimeout=12) ../../GSEOS_scripts/General\AC_functional.py[80]: wait(APID_267, lambda: APID_267.LOADADR==0x92fb, flTimeout=12) ../../GSEOS_scripts/General\AC_functional.py[80]: wait(APID_267, lambda: APID_267.LOADADR==0x92fb, flTimeout=12) ../../GSEOS_scripts/General\AC_functional.py[80]: wait(APID_267, lambda: APID_267.LOADADR==0x92fb, flTimeout=12) ../../GSEOS_scripts/General\AC_functional.py[80]: wait(APID_267, lambda: APID_267.LOADADR==0x92fb, flTimeout=12) ../../GSEOS_scripts/General\AC_functional.py[80]: wait(APID_267, lambda: APID_267.LOADADR==0x92fb, flTimeout=12) ../../GSEOS_scripts/General\AC_functional.py[80]: wait(APID_267, lambda: APID_267.LOADADR==0x92fb, flTimeout=12) ../../GSEOS_scripts/General\AC_functional.py[81]: cmd.EFW_LOAD(0) ../../GSEOS_scripts/General\AC_functional.py[83]: cmd.EFW_TABLE(TABLE=9, OFFSET=0) ../../GSEOS_scripts/General\AC_functional.py[84]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=12) ../../GSEOS_scripts/General\AC_functional.py[84]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=12) ../../GSEOS_scripts/General\AC_functional.py[84]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=12) ../../GSEOS_scripts/General\AC_functional.py[84]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=12) ../../GSEOS_scripts/General\AC_functional.py[84]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=12) ../../GSEOS_scripts/General\AC_functional.py[84]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=12) ../../GSEOS_scripts/General\AC_functional.py[85]: cmd.EFW_LOAD(0) ../../GSEOS_scripts/General\AC_functional.py[89]: cmd.EFW_ACTESTHIGH(ACTEST2=0, ACTEST1=1, HHHH=0xF) ../../GSEOS_scripts/General\AC_functional.py[90]: cmd.EFW_ACTESTLOW(LSB=0xFF) ../../GSEOS_scripts/General\AC_functional.py[91]: sleep(2) ../../GSEOS_scripts/General\AC_functional.py[92]: cmd.EFW_ACTESTHIGH(ACTEST2=0, ACTEST1=0, HHHH=0xF) ../../GSEOS_scripts/General\AC_functional.py[94]: sleep(10) ../../GSEOS_scripts/General\AC_functional.py[97]: cmd.EFW_TABLE(TABLE=9, OFFSET=1) ../../GSEOS_scripts/General\AC_functional.py[98]: wait(APID_267, lambda: APID_267.LOADADR==0x92fb, flTimeout=10) ../../GSEOS_scripts/General\AC_functional.py[80]: wait(APID_267, lambda: APID_267.LOADADR==0x92fb, flTimeout=12) ../../GSEOS_scripts/General\AC_functional.py[99]: cmd.EFW_LOAD(1) ../../GSEOS_scripts/General\AC_functional.py[101]: cmd.EFW_TABLE(TABLE=9, OFFSET=0) ../../GSEOS_scripts/General\AC_functional.py[102]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=10) ../../GSEOS_scripts/General\AC_functional.py[84]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=12) ../../GSEOS_scripts/General\AC_functional.py[84]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=12) ../../GSEOS_scripts/General\AC_functional.py[84]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=12) ../../GSEOS_scripts/General\AC_functional.py[84]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=12) ../../GSEOS_scripts/General\AC_functional.py[84]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=12) ../../GSEOS_scripts/General\AC_functional.py[103]: cmd.EFW_LOAD(1) ../../GSEOS_scripts/General\AC_functional.py[107]: cmd.EFW_ACTESTHIGH(ACTEST2=0, ACTEST1=1, HHHH=0x1) ../../GSEOS_scripts/General\AC_functional.py[108]: cmd.EFW_ACTESTLOW(LSB=0x06) ../../GSEOS_scripts/General\AC_functional.py[109]: sleep(2) ../../GSEOS_scripts/General\AC_functional.py[110]: cmd.EFW_ACTESTHIGH(ACTEST2=0, ACTEST1=0, HHHH=0x1) ../../GSEOS_scripts/General\AC_functional.py[112]: sleep(10) ../../GSEOS_scripts/General\AC_functional.py[115]: cmd.EFW_TABLE(TABLE=9, OFFSET=1) ../../GSEOS_scripts/General\AC_functional.py[116]: wait(APID_267, lambda: APID_267.LOADADR==0x92fb, flTimeout=10) ../../GSEOS_scripts/General\AC_functional.py[80]: wait(APID_267, lambda: APID_267.LOADADR==0x92fb, flTimeout=12) ../../GSEOS_scripts/General\AC_functional.py[117]: cmd.EFW_LOAD(2) ../../GSEOS_scripts/General\AC_functional.py[119]: cmd.EFW_TABLE(TABLE=9, OFFSET=0) ../../GSEOS_scripts/General\AC_functional.py[120]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=10) ../../GSEOS_scripts/General\AC_functional.py[84]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=12) ../../GSEOS_scripts/General\AC_functional.py[84]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=12) ../../GSEOS_scripts/General\AC_functional.py[84]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=12) ../../GSEOS_scripts/General\AC_functional.py[84]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=12) ../../GSEOS_scripts/General\AC_functional.py[84]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=12) ../../GSEOS_scripts/General\AC_functional.py[121]: cmd.EFW_LOAD(2) ../../GSEOS_scripts/General\AC_functional.py[125]: cmd.EFW_ACTESTHIGH(ACTEST2=0, ACTEST1=1, HHHH=0x0) ../../GSEOS_scripts/General\AC_functional.py[126]: cmd.EFW_ACTESTLOW(LSB=0x57) ../../GSEOS_scripts/General\AC_functional.py[127]: sleep(2) ../../GSEOS_scripts/General\AC_functional.py[128]: cmd.EFW_ACTESTHIGH(ACTEST2=0, ACTEST1=0, HHHH=0x0) ../../GSEOS_scripts/General\AC_functional.py[130]: sleep(10) ../../GSEOS_scripts/General\AC_functional.py[133]: cmd.EFW_TABLE(TABLE=9, OFFSET=1) ../../GSEOS_scripts/General\AC_functional.py[134]: wait(APID_267, lambda: APID_267.LOADADR==0x92fb, flTimeout=10) ../../GSEOS_scripts/General\AC_functional.py[80]: wait(APID_267, lambda: APID_267.LOADADR==0x92fb, flTimeout=12) ../../GSEOS_scripts/General\AC_functional.py[135]: cmd.EFW_LOAD(7) ../../GSEOS_scripts/General\AC_functional.py[137]: cmd.efw_table(table=9, offset=0) ../../GSEOS_scripts/General\AC_functional.py[138]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=10) ../../GSEOS_scripts/General\AC_functional.py[84]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=12) ../../GSEOS_scripts/General\AC_functional.py[84]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=12) ../../GSEOS_scripts/General\AC_functional.py[84]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=12) ../../GSEOS_scripts/General\AC_functional.py[84]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=12) ../../GSEOS_scripts/General\AC_functional.py[84]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=12) ../../GSEOS_scripts/General\AC_functional.py[139]: cmd.efw_load(7) ../../GSEOS_scripts/General\AC_functional.py[144]: 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[614]: print >> log, "Done setting up DFB for table %d" % table ../../GSEOS_scripts/General\AC_functional.py[147]: cmd.EFW_ACTESTHIGH(ACTEST2=0, ACTEST1=1, HHHH=0xF) ../../GSEOS_scripts/General\AC_functional.py[148]: cmd.EFW_ACTESTLOW(LSB=0xFF) ../../GSEOS_scripts/General\AC_functional.py[149]: sleep(32) ../../GSEOS_scripts/General\AC_functional.py[152]: cmd.EFW_ACTESTHIGH(ACTEST2=0, ACTEST1=1, HHHH=0x1) ../../GSEOS_scripts/General\AC_functional.py[153]: cmd.EFW_ACTESTLOW(LSB=0x06) ../../GSEOS_scripts/General\AC_functional.py[154]: sleep(32) ../../GSEOS_scripts/General\AC_functional.py[157]: cmd.EFW_ACTESTHIGH(ACTEST2=0, ACTEST1=1, HHHH=0x00) ../../GSEOS_scripts/General\AC_functional.py[158]: cmd.EFW_ACTESTLOW(LSB=0x57) ../../GSEOS_scripts/General\AC_functional.py[159]: sleep(32) ../../GSEOS_scripts/General\AC_functional.py[162]: cmd.EFW_ACTESTHIGH(ACTEST2=1, ACTEST1=0, HHHH=0xF) ../../GSEOS_scripts/General\AC_functional.py[163]: cmd.EFW_ACTESTLOW(LSB=0xFF) ../../GSEOS_scripts/General\AC_functional.py[164]: sleep(32) ../../GSEOS_scripts/General\AC_functional.py[167]: cmd.EFW_ACTESTHIGH(ACTEST2=1, ACTEST1=0, HHHH=0x1) ../../GSEOS_scripts/General\AC_functional.py[168]: cmd.EFW_ACTESTLOW(LSB=0x06) ../../GSEOS_scripts/General\AC_functional.py[169]: sleep(32) ../../GSEOS_scripts/General\AC_functional.py[172]: cmd.EFW_ACTESTHIGH(ACTEST2=1, ACTEST1=0, HHHH=0x0) ../../GSEOS_scripts/General\AC_functional.py[173]: cmd.EFW_ACTESTLOW(LSB=0x57) ../../GSEOS_scripts/General\AC_functional.py[174]: sleep(32) ../../GSEOS_scripts/General\AC_functional.py[179]: cmd.EFW_ACTESTHIGH(ACTEST2=0, ACTEST1=1, HHHH=0x0) ../../GSEOS_scripts/General\AC_functional.py[180]: cmd.EFW_ACTESTLOW(LSB=0x03) ../../GSEOS_scripts/General\AC_functional.py[181]: msg = 'Please check 131kHz signal on odd channels. Take screenshot on scope. Click OK when done.' ../../GSEOS_scripts/General\AC_functional.py[182]: Gseos.MessageBox(msg) ../../GSEOS_scripts/General\AC_functional.py[185]: cmd.EFW_ACTESTHIGH(ACTEST2=0, ACTEST1=0, HHHH=0x0) ../../GSEOS_scripts/General\AC_functional.py[186]: cmd.EFW_ACTESTLOW(LSB=0x00) ../../GSEOS_scripts/General\AC_functional.py[188]: log('AC Test Complete', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/General\AC_functional.py[189]: log('================END=====================', color=BLUE, attr=BOLD )