Trace collected at: 2012-04-02 11:39:45.202000 ---------------------------------------------------------------------- ../GSEOS_scripts/General\ac_functional.py[54]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/General\ac_functional.py[55]: log('AC Test Script Running', color=BLUE, attr=BOLD ) ../GSEOS_scripts/General\ac_functional.py[56]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/General\ac_functional.py[58]: txo = 30 # timeout setting constant here so I can adjust it easily. ../GSEOS_scripts/General\ac_functional.py[61]: 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[62]: cmd.efw_b1_thresh(25) ../GSEOS_scripts/General\ac_functional.py[65]: cmd.efw_tmkbps(60) ../GSEOS_scripts/General\ac_functional.py[68]: scr.weight_thresh() ../GSEOS_scripts/General\weight_thresh.py[5]: """ ../GSEOS_scripts/General\weight_thresh.py[7]: import Gseos ../GSEOS_scripts/General\weight_thresh.py[8]: from efw import * ../GSEOS_scripts/General\weight_thresh.py[9]: from util import * ../GSEOS_scripts/General\weight_thresh.py[10]: from __main__ import * # required for access to APID_nnn telemetry blocks ../GSEOS_scripts/General\weight_thresh.py[14]: def main(): ../GSEOS_scripts/General\weight_thresh.py[5]: """ ../GSEOS_scripts/General\weight_thresh.py[7]: import Gseos ../GSEOS_scripts/General\weight_thresh.py[8]: from efw import * ../GSEOS_scripts/General\weight_thresh.py[9]: from util import * ../GSEOS_scripts/General\weight_thresh.py[10]: from __main__ import * # required for access to APID_nnn telemetry blocks ../GSEOS_scripts/General\weight_thresh.py[14]: def main(): ../GSEOS_scripts/General\weight_thresh.py[15]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/General\weight_thresh.py[16]: log('Setting Weights and Thresholds for Triggers', color=BLUE, attr=BOLD ) ../GSEOS_scripts/General\weight_thresh.py[17]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/General\weight_thresh.py[19]: cmd.efw_tmpktrate(4,1) ../GSEOS_scripts/General\weight_thresh.py[21]: sleep(5) ../GSEOS_scripts/General\weight_thresh.py[24]: cmd.EFW_ADRH(0x96) ../GSEOS_scripts/General\weight_thresh.py[25]: cmd.EFW_ADRL(0x17) ../GSEOS_scripts/General\weight_thresh.py[28]: wait(APID_267, lambda: APID_267.LOADADR==0x9617, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[28]: wait(APID_267, lambda: APID_267.LOADADR==0x9617, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[28]: wait(APID_267, lambda: APID_267.LOADADR==0x9617, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[31]: cmd.EFW_LOAD(0xFF) ../GSEOS_scripts/General\weight_thresh.py[34]: cmd.EFW_ADRH(0x96) ../GSEOS_scripts/General\weight_thresh.py[35]: cmd.EFW_ADRL(0x57) ../GSEOS_scripts/General\weight_thresh.py[36]: wait(APID_267, lambda: APID_267.LOADADR==0x9657, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[36]: wait(APID_267, lambda: APID_267.LOADADR==0x9657, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[36]: wait(APID_267, lambda: APID_267.LOADADR==0x9657, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[36]: wait(APID_267, lambda: APID_267.LOADADR==0x9657, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[36]: wait(APID_267, lambda: APID_267.LOADADR==0x9657, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[36]: wait(APID_267, lambda: APID_267.LOADADR==0x9657, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[36]: wait(APID_267, lambda: APID_267.LOADADR==0x9657, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[36]: wait(APID_267, lambda: APID_267.LOADADR==0x9657, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[36]: wait(APID_267, lambda: APID_267.LOADADR==0x9657, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[37]: cmd.EFW_LOAD(0x20) ../GSEOS_scripts/General\weight_thresh.py[40]: cmd.EFW_ADRH(0x96) ../GSEOS_scripts/General\weight_thresh.py[41]: cmd.EFW_ADRL(0x9B) ../GSEOS_scripts/General\weight_thresh.py[42]: wait(APID_267, lambda: APID_267.LOADADR==0x969B, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[42]: wait(APID_267, lambda: APID_267.LOADADR==0x969B, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[42]: wait(APID_267, lambda: APID_267.LOADADR==0x969B, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[42]: wait(APID_267, lambda: APID_267.LOADADR==0x969B, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[42]: wait(APID_267, lambda: APID_267.LOADADR==0x969B, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[42]: wait(APID_267, lambda: APID_267.LOADADR==0x969B, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[42]: wait(APID_267, lambda: APID_267.LOADADR==0x969B, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[42]: wait(APID_267, lambda: APID_267.LOADADR==0x969B, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[43]: cmd.EFW_LOAD(0xFF) ../GSEOS_scripts/General\weight_thresh.py[45]: cmd.EFW_ADRH(0x96) ../GSEOS_scripts/General\weight_thresh.py[46]: cmd.EFW_ADRL(0xDB) ../GSEOS_scripts/General\weight_thresh.py[47]: wait(APID_267, lambda: APID_267.LOADADR==0x96DB, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[47]: wait(APID_267, lambda: APID_267.LOADADR==0x96DB, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[47]: wait(APID_267, lambda: APID_267.LOADADR==0x96DB, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[47]: wait(APID_267, lambda: APID_267.LOADADR==0x96DB, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[47]: wait(APID_267, lambda: APID_267.LOADADR==0x96DB, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[47]: wait(APID_267, lambda: APID_267.LOADADR==0x96DB, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[47]: wait(APID_267, lambda: APID_267.LOADADR==0x96DB, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[47]: wait(APID_267, lambda: APID_267.LOADADR==0x96DB, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[48]: cmd.EFW_LOAD(0x20) ../GSEOS_scripts/General\weight_thresh.py[51]: cmd.EFW_ADRH(0x97) ../GSEOS_scripts/General\weight_thresh.py[52]: cmd.EFW_ADRL(0x1C) ../GSEOS_scripts/General\weight_thresh.py[53]: wait(APID_267, lambda: APID_267.LOADADR==0x971C, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[53]: wait(APID_267, lambda: APID_267.LOADADR==0x971C, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[53]: wait(APID_267, lambda: APID_267.LOADADR==0x971C, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[53]: wait(APID_267, lambda: APID_267.LOADADR==0x971C, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[53]: wait(APID_267, lambda: APID_267.LOADADR==0x971C, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[53]: wait(APID_267, lambda: APID_267.LOADADR==0x971C, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[53]: wait(APID_267, lambda: APID_267.LOADADR==0x971C, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[53]: wait(APID_267, lambda: APID_267.LOADADR==0x971C, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[54]: cmd.EFW_LOAD(0xFF) ../GSEOS_scripts/General\weight_thresh.py[56]: cmd.EFW_ADRH(0x97) ../GSEOS_scripts/General\weight_thresh.py[57]: cmd.EFW_ADRL(0x5C) ../GSEOS_scripts/General\weight_thresh.py[58]: wait(APID_267, lambda: APID_267.LOADADR==0x975C, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[58]: wait(APID_267, lambda: APID_267.LOADADR==0x975C, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[58]: wait(APID_267, lambda: APID_267.LOADADR==0x975C, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[58]: wait(APID_267, lambda: APID_267.LOADADR==0x975C, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[58]: wait(APID_267, lambda: APID_267.LOADADR==0x975C, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[58]: wait(APID_267, lambda: APID_267.LOADADR==0x975C, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[58]: wait(APID_267, lambda: APID_267.LOADADR==0x975C, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[58]: wait(APID_267, lambda: APID_267.LOADADR==0x975C, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[58]: wait(APID_267, lambda: APID_267.LOADADR==0x975C, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[59]: cmd.EFW_LOAD(0x20) ../GSEOS_scripts/General\weight_thresh.py[65]: log('Setting Complete', color=BLUE, attr=BOLD ) ../GSEOS_scripts/General\weight_thresh.py[66]: log('================END=====================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/General\ac_functional.py[70]: sleep(10) ../GSEOS_scripts/General\ac_functional.py[73]: cmd.EFW_SSR_ENABLE(option=0) ../GSEOS_scripts/General\ac_functional.py[74]: cmd.EFW_SSR_ENABLE(option=1) ../GSEOS_scripts/General\ac_functional.py[75]: cmd.EFW_SSR_ENABLE(option=2) ../GSEOS_scripts/General\ac_functional.py[76]: cmd.EFW_SSR_ENABLE(option=3) ../GSEOS_scripts/General\ac_functional.py[79]: cmd.EFW_DUMPTABL(TABLE=8, OFFSET=0) ../GSEOS_scripts/General\ac_functional.py[80]: cmd.EFW_TMDUMPCTR(255) ../GSEOS_scripts/General\ac_functional.py[81]: cmd.efw_b2_config() ../GSEOS_scripts/General\ac_functional.py[88]: cmd.EFW_TABLE(TABLE=9, OFFSET=1) ../GSEOS_scripts/General\ac_functional.py[89]: wait(APID_267, lambda: APID_267.LOADADR==0x92fb, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[89]: wait(APID_267, lambda: APID_267.LOADADR==0x92fb, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[89]: wait(APID_267, lambda: APID_267.LOADADR==0x92fb, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[89]: wait(APID_267, lambda: APID_267.LOADADR==0x92fb, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[89]: wait(APID_267, lambda: APID_267.LOADADR==0x92fb, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[89]: wait(APID_267, lambda: APID_267.LOADADR==0x92fb, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[89]: wait(APID_267, lambda: APID_267.LOADADR==0x92fb, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[89]: wait(APID_267, lambda: APID_267.LOADADR==0x92fb, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[89]: wait(APID_267, lambda: APID_267.LOADADR==0x92fb, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[89]: wait(APID_267, lambda: APID_267.LOADADR==0x92fb, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[89]: wait(APID_267, lambda: APID_267.LOADADR==0x92fb, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[89]: wait(APID_267, lambda: APID_267.LOADADR==0x92fb, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[90]: cmd.EFW_LOAD(0) ../GSEOS_scripts/General\ac_functional.py[92]: cmd.EFW_TABLE(TABLE=9, OFFSET=0) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[94]: cmd.EFW_LOAD(0) ../GSEOS_scripts/General\ac_functional.py[97]: sleep(10) ../GSEOS_scripts/General\ac_functional.py[99]: cmd.EFW_ACTESTHIGH(ACTEST2=0, ACTEST1=1, HHHH=0xF) ../GSEOS_scripts/General\ac_functional.py[100]: cmd.EFW_ACTESTLOW(LSB=0xFF) ../GSEOS_scripts/General\ac_functional.py[101]: sleep(2) ../GSEOS_scripts/General\ac_functional.py[102]: cmd.EFW_ACTESTHIGH(ACTEST2=1, ACTEST1=0, HHHH=0xF) ../GSEOS_scripts/General\ac_functional.py[103]: sleep(2) ../GSEOS_scripts/General\ac_functional.py[104]: cmd.EFW_ACTESTHIGH(ACTEST2=0, ACTEST1=0, HHHH=0xF) ../GSEOS_scripts/General\ac_functional.py[106]: sleep(10) ../GSEOS_scripts/General\ac_functional.py[109]: cmd.EFW_TABLE(TABLE=9, OFFSET=1) ../GSEOS_scripts/General\ac_functional.py[110]: wait(APID_267, lambda: APID_267.LOADADR==0x92fb, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[89]: wait(APID_267, lambda: APID_267.LOADADR==0x92fb, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[111]: cmd.EFW_LOAD(1) ../GSEOS_scripts/General\ac_functional.py[113]: cmd.EFW_TABLE(TABLE=9, OFFSET=0) ../GSEOS_scripts/General\ac_functional.py[114]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[115]: cmd.EFW_LOAD(1) ../GSEOS_scripts/General\ac_functional.py[119]: cmd.EFW_ACTESTHIGH(ACTEST2=0, ACTEST1=1, HHHH=0x1) ../GSEOS_scripts/General\ac_functional.py[120]: cmd.EFW_ACTESTLOW(LSB=0x06) ../GSEOS_scripts/General\ac_functional.py[121]: sleep(2) ../GSEOS_scripts/General\ac_functional.py[122]: cmd.EFW_ACTESTHIGH(ACTEST2=1, ACTEST1=0, HHHH=0x1) ../GSEOS_scripts/General\ac_functional.py[123]: sleep(2) ../GSEOS_scripts/General\ac_functional.py[124]: cmd.EFW_ACTESTHIGH(ACTEST2=0, ACTEST1=0, HHHH=0x1) ../GSEOS_scripts/General\ac_functional.py[126]: sleep(10) ../GSEOS_scripts/General\ac_functional.py[129]: cmd.EFW_TABLE(TABLE=9, OFFSET=1) ../GSEOS_scripts/General\ac_functional.py[130]: wait(APID_267, lambda: APID_267.LOADADR==0x92fb, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[89]: wait(APID_267, lambda: APID_267.LOADADR==0x92fb, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[131]: cmd.EFW_LOAD(2) ../GSEOS_scripts/General\ac_functional.py[133]: cmd.EFW_TABLE(TABLE=9, OFFSET=0) ../GSEOS_scripts/General\ac_functional.py[134]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[135]: cmd.EFW_LOAD(2) ../GSEOS_scripts/General\ac_functional.py[139]: cmd.EFW_ACTESTHIGH(ACTEST2=0, ACTEST1=1, HHHH=0x0) ../GSEOS_scripts/General\ac_functional.py[140]: cmd.EFW_ACTESTLOW(LSB=0x57) ../GSEOS_scripts/General\ac_functional.py[141]: sleep(2) ../GSEOS_scripts/General\ac_functional.py[142]: cmd.EFW_ACTESTHIGH(ACTEST2=1, ACTEST1=0, HHHH=0x0) ../GSEOS_scripts/General\ac_functional.py[143]: sleep(2) ../GSEOS_scripts/General\ac_functional.py[144]: cmd.EFW_ACTESTHIGH(ACTEST2=0, ACTEST1=0, HHHH=0x0) ../GSEOS_scripts/General\ac_functional.py[146]: sleep(10) ../GSEOS_scripts/General\ac_functional.py[149]: cmd.EFW_TABLE(TABLE=9, OFFSET=1) ../GSEOS_scripts/General\ac_functional.py[150]: wait(APID_267, lambda: APID_267.LOADADR==0x92fb, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[89]: wait(APID_267, lambda: APID_267.LOADADR==0x92fb, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[151]: cmd.EFW_LOAD(7) ../GSEOS_scripts/General\ac_functional.py[153]: cmd.efw_table(table=9, offset=0) ../GSEOS_scripts/General\ac_functional.py[154]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[155]: cmd.efw_load(7) ../GSEOS_scripts/General\ac_functional.py[160]: 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[164]: elif(table == 2): ../GSEOS_scripts/DFB\dfb_std_config.py[231]: elif(table == 3): ../GSEOS_scripts/DFB\dfb_std_config.py[299]: elif(table == 4): ../GSEOS_scripts/DFB\dfb_std_config.py[369]: elif(table == 5): ../GSEOS_scripts/DFB\dfb_std_config.py[374]: elif(table == 6): ../GSEOS_scripts/DFB\dfb_std_config.py[379]: elif(table == 7): ../GSEOS_scripts/DFB\dfb_std_config.py[380]: print >> log, "Configure Triggers E12DC @ 8S/s, 13 Bins" ../GSEOS_scripts/DFB\dfb_std_config.py[381]: 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[382]: cmd.EFW_SSR_ROUTE(APID=1, SEGMENT=1) ../GSEOS_scripts/DFB\dfb_std_config.py[383]: 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[654]: print >> log, "Done setting up DFB for table %d" % table ../GSEOS_scripts/General\ac_functional.py[163]: cmd.EFW_ACTESTHIGH(ACTEST2=0, ACTEST1=1, HHHH=0xF) ../GSEOS_scripts/General\ac_functional.py[164]: cmd.EFW_ACTESTLOW(LSB=0xFF) ../GSEOS_scripts/General\ac_functional.py[165]: sleep(32) ../GSEOS_scripts/General\ac_functional.py[168]: cmd.EFW_ACTESTHIGH(ACTEST2=0, ACTEST1=1, HHHH=0x1) ../GSEOS_scripts/General\ac_functional.py[169]: cmd.EFW_ACTESTLOW(LSB=0x06) ../GSEOS_scripts/General\ac_functional.py[170]: sleep(32) ../GSEOS_scripts/General\ac_functional.py[173]: cmd.EFW_ACTESTHIGH(ACTEST2=0, ACTEST1=1, HHHH=0x00) ../GSEOS_scripts/General\ac_functional.py[174]: cmd.EFW_ACTESTLOW(LSB=0x57) ../GSEOS_scripts/General\ac_functional.py[175]: sleep(32) ../GSEOS_scripts/General\ac_functional.py[178]: cmd.EFW_ACTESTHIGH(ACTEST2=1, ACTEST1=0, HHHH=0xF) ../GSEOS_scripts/General\ac_functional.py[179]: cmd.EFW_ACTESTLOW(LSB=0xFF) ../GSEOS_scripts/General\ac_functional.py[180]: sleep(32) ../GSEOS_scripts/General\ac_functional.py[183]: cmd.EFW_ACTESTHIGH(ACTEST2=1, ACTEST1=0, HHHH=0x1) ../GSEOS_scripts/General\ac_functional.py[184]: cmd.EFW_ACTESTLOW(LSB=0x06) ../GSEOS_scripts/General\ac_functional.py[185]: sleep(32) ../GSEOS_scripts/General\ac_functional.py[188]: cmd.EFW_ACTESTHIGH(ACTEST2=1, ACTEST1=0, HHHH=0x0) ../GSEOS_scripts/General\ac_functional.py[189]: cmd.EFW_ACTESTLOW(LSB=0x57) ../GSEOS_scripts/General\ac_functional.py[190]: sleep(32) ../GSEOS_scripts/General\ac_functional.py[195]: cmd.EFW_ACTESTHIGH(ACTEST2=0, ACTEST1=1, HHHH=0x0) ../GSEOS_scripts/General\ac_functional.py[196]: cmd.EFW_ACTESTLOW(LSB=0x03) ../GSEOS_scripts/General\ac_functional.py[197]: msg = 'Please check 131kHz signal on odd channels. Take screenshot on scope. Click OK when done.' ../GSEOS_scripts/General\ac_functional.py[198]: Gseos.MessageBox(msg) ../GSEOS_scripts/General\ac_functional.py[201]: cmd.EFW_ACTESTHIGH(ACTEST2=0, ACTEST1=0, HHHH=0x0) ../GSEOS_scripts/General\ac_functional.py[202]: cmd.EFW_ACTESTLOW(LSB=0x00) ../GSEOS_scripts/General\ac_functional.py[204]: log('AC Test Complete', color=BLUE, attr=BOLD ) ../GSEOS_scripts/General\ac_functional.py[205]: log('================END=====================', color=BLUE, attr=BOLD ) Trace collected at: 2012-04-02 14:05:02.887000 ---------------------------------------------------------------------- ../GSEOS_scripts/General\ac_functional.py[54]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/General\ac_functional.py[55]: log('AC Test Script Running', color=BLUE, attr=BOLD ) ../GSEOS_scripts/General\ac_functional.py[56]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/General\ac_functional.py[58]: txo = 30 # timeout setting constant here so I can adjust it easily. ../GSEOS_scripts/General\ac_functional.py[61]: 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\ac_functional.py[62]: cmd.efw_b1_thresh(25) ../GSEOS_scripts/General\ac_functional.py[65]: cmd.efw_tmkbps(60) ../GSEOS_scripts/General\ac_functional.py[68]: scr.weight_thresh() ../GSEOS_scripts/General\weight_thresh.py[5]: """ ../GSEOS_scripts/General\weight_thresh.py[7]: import Gseos ../GSEOS_scripts/General\weight_thresh.py[8]: from efw import * ../GSEOS_scripts/General\weight_thresh.py[9]: from util import * ../GSEOS_scripts/General\weight_thresh.py[10]: from __main__ import * # required for access to APID_nnn telemetry blocks ../GSEOS_scripts/General\weight_thresh.py[14]: def main(): ../GSEOS_scripts/General\weight_thresh.py[5]: """ ../GSEOS_scripts/General\weight_thresh.py[7]: import Gseos ../GSEOS_scripts/General\weight_thresh.py[8]: from efw import * ../GSEOS_scripts/General\weight_thresh.py[9]: from util import * ../GSEOS_scripts/General\weight_thresh.py[10]: from __main__ import * # required for access to APID_nnn telemetry blocks ../GSEOS_scripts/General\weight_thresh.py[14]: def main(): ../GSEOS_scripts/General\weight_thresh.py[15]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/General\weight_thresh.py[16]: log('Setting Weights and Thresholds for Triggers', color=BLUE, attr=BOLD ) ../GSEOS_scripts/General\weight_thresh.py[17]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/General\weight_thresh.py[19]: cmd.efw_tmpktrate(4,1) ../GSEOS_scripts/General\weight_thresh.py[21]: sleep(5) ../GSEOS_scripts/General\weight_thresh.py[24]: cmd.EFW_ADRH(0x96) ../GSEOS_scripts/General\weight_thresh.py[25]: cmd.EFW_ADRL(0x17) ../GSEOS_scripts/General\weight_thresh.py[28]: wait(APID_267, lambda: APID_267.LOADADR==0x9617, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[28]: wait(APID_267, lambda: APID_267.LOADADR==0x9617, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[28]: wait(APID_267, lambda: APID_267.LOADADR==0x9617, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[28]: wait(APID_267, lambda: APID_267.LOADADR==0x9617, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[28]: wait(APID_267, lambda: APID_267.LOADADR==0x9617, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[28]: wait(APID_267, lambda: APID_267.LOADADR==0x9617, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[31]: cmd.EFW_LOAD(0xFF) ../GSEOS_scripts/General\weight_thresh.py[34]: cmd.EFW_ADRH(0x96) ../GSEOS_scripts/General\weight_thresh.py[35]: cmd.EFW_ADRL(0x57) ../GSEOS_scripts/General\weight_thresh.py[36]: wait(APID_267, lambda: APID_267.LOADADR==0x9657, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[36]: wait(APID_267, lambda: APID_267.LOADADR==0x9657, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[36]: wait(APID_267, lambda: APID_267.LOADADR==0x9657, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[36]: wait(APID_267, lambda: APID_267.LOADADR==0x9657, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[36]: wait(APID_267, lambda: APID_267.LOADADR==0x9657, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[36]: wait(APID_267, lambda: APID_267.LOADADR==0x9657, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[36]: wait(APID_267, lambda: APID_267.LOADADR==0x9657, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[36]: wait(APID_267, lambda: APID_267.LOADADR==0x9657, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[37]: cmd.EFW_LOAD(0x20) ../GSEOS_scripts/General\weight_thresh.py[40]: cmd.EFW_ADRH(0x96) ../GSEOS_scripts/General\weight_thresh.py[41]: cmd.EFW_ADRL(0x9B) ../GSEOS_scripts/General\weight_thresh.py[42]: wait(APID_267, lambda: APID_267.LOADADR==0x969B, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[42]: wait(APID_267, lambda: APID_267.LOADADR==0x969B, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[42]: wait(APID_267, lambda: APID_267.LOADADR==0x969B, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[42]: wait(APID_267, lambda: APID_267.LOADADR==0x969B, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[42]: wait(APID_267, lambda: APID_267.LOADADR==0x969B, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[42]: wait(APID_267, lambda: APID_267.LOADADR==0x969B, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[42]: wait(APID_267, lambda: APID_267.LOADADR==0x969B, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[42]: wait(APID_267, lambda: APID_267.LOADADR==0x969B, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[42]: wait(APID_267, lambda: APID_267.LOADADR==0x969B, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[43]: cmd.EFW_LOAD(0xFF) ../GSEOS_scripts/General\weight_thresh.py[45]: cmd.EFW_ADRH(0x96) ../GSEOS_scripts/General\weight_thresh.py[46]: cmd.EFW_ADRL(0xDB) ../GSEOS_scripts/General\weight_thresh.py[47]: wait(APID_267, lambda: APID_267.LOADADR==0x96DB, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[47]: wait(APID_267, lambda: APID_267.LOADADR==0x96DB, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[47]: wait(APID_267, lambda: APID_267.LOADADR==0x96DB, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[47]: wait(APID_267, lambda: APID_267.LOADADR==0x96DB, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[47]: wait(APID_267, lambda: APID_267.LOADADR==0x96DB, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[47]: wait(APID_267, lambda: APID_267.LOADADR==0x96DB, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[47]: wait(APID_267, lambda: APID_267.LOADADR==0x96DB, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[47]: wait(APID_267, lambda: APID_267.LOADADR==0x96DB, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[48]: cmd.EFW_LOAD(0x20) ../GSEOS_scripts/General\weight_thresh.py[51]: cmd.EFW_ADRH(0x97) ../GSEOS_scripts/General\weight_thresh.py[52]: cmd.EFW_ADRL(0x1C) ../GSEOS_scripts/General\weight_thresh.py[53]: wait(APID_267, lambda: APID_267.LOADADR==0x971C, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[53]: wait(APID_267, lambda: APID_267.LOADADR==0x971C, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[53]: wait(APID_267, lambda: APID_267.LOADADR==0x971C, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[53]: wait(APID_267, lambda: APID_267.LOADADR==0x971C, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[53]: wait(APID_267, lambda: APID_267.LOADADR==0x971C, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[53]: wait(APID_267, lambda: APID_267.LOADADR==0x971C, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[53]: wait(APID_267, lambda: APID_267.LOADADR==0x971C, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[53]: wait(APID_267, lambda: APID_267.LOADADR==0x971C, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[54]: cmd.EFW_LOAD(0xFF) ../GSEOS_scripts/General\weight_thresh.py[56]: cmd.EFW_ADRH(0x97) ../GSEOS_scripts/General\weight_thresh.py[57]: cmd.EFW_ADRL(0x5C) ../GSEOS_scripts/General\weight_thresh.py[58]: wait(APID_267, lambda: APID_267.LOADADR==0x975C, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[58]: wait(APID_267, lambda: APID_267.LOADADR==0x975C, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[58]: wait(APID_267, lambda: APID_267.LOADADR==0x975C, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[58]: wait(APID_267, lambda: APID_267.LOADADR==0x975C, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[58]: wait(APID_267, lambda: APID_267.LOADADR==0x975C, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[58]: wait(APID_267, lambda: APID_267.LOADADR==0x975C, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[58]: wait(APID_267, lambda: APID_267.LOADADR==0x975C, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[58]: wait(APID_267, lambda: APID_267.LOADADR==0x975C, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[59]: cmd.EFW_LOAD(0x20) ../GSEOS_scripts/General\weight_thresh.py[65]: log('Setting Complete', color=BLUE, attr=BOLD ) ../GSEOS_scripts/General\weight_thresh.py[66]: log('================END=====================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/General\ac_functional.py[70]: sleep(10) ../GSEOS_scripts/General\ac_functional.py[73]: cmd.EFW_SSR_ENABLE(option=0) ../GSEOS_scripts/General\ac_functional.py[74]: cmd.EFW_SSR_ENABLE(option=1) ../GSEOS_scripts/General\ac_functional.py[75]: cmd.EFW_SSR_ENABLE(option=2) ../GSEOS_scripts/General\ac_functional.py[76]: cmd.EFW_SSR_ENABLE(option=3) ../GSEOS_scripts/General\ac_functional.py[79]: cmd.EFW_DUMPTABL(TABLE=8, OFFSET=0) ../GSEOS_scripts/General\ac_functional.py[80]: cmd.EFW_TMDUMPCTR(255) ../GSEOS_scripts/General\ac_functional.py[81]: cmd.efw_b2_config() ../GSEOS_scripts/General\ac_functional.py[88]: cmd.EFW_TABLE(TABLE=9, OFFSET=1) ../GSEOS_scripts/General\ac_functional.py[89]: wait(APID_267, lambda: APID_267.LOADADR==0x92fb, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[89]: wait(APID_267, lambda: APID_267.LOADADR==0x92fb, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[89]: wait(APID_267, lambda: APID_267.LOADADR==0x92fb, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[89]: wait(APID_267, lambda: APID_267.LOADADR==0x92fb, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[89]: wait(APID_267, lambda: APID_267.LOADADR==0x92fb, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[89]: wait(APID_267, lambda: APID_267.LOADADR==0x92fb, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[89]: wait(APID_267, lambda: APID_267.LOADADR==0x92fb, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[89]: wait(APID_267, lambda: APID_267.LOADADR==0x92fb, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[89]: wait(APID_267, lambda: APID_267.LOADADR==0x92fb, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[89]: wait(APID_267, lambda: APID_267.LOADADR==0x92fb, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[89]: wait(APID_267, lambda: APID_267.LOADADR==0x92fb, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[90]: cmd.EFW_LOAD(0) ../GSEOS_scripts/General\ac_functional.py[92]: cmd.EFW_TABLE(TABLE=9, OFFSET=0) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[94]: cmd.EFW_LOAD(0) ../GSEOS_scripts/General\ac_functional.py[97]: sleep(10) ../GSEOS_scripts/General\ac_functional.py[99]: cmd.EFW_ACTESTHIGH(ACTEST2=0, ACTEST1=1, HHHH=0xF) ../GSEOS_scripts/General\ac_functional.py[100]: cmd.EFW_ACTESTLOW(LSB=0xFF) ../GSEOS_scripts/General\ac_functional.py[101]: sleep(2) ../GSEOS_scripts/General\ac_functional.py[102]: cmd.EFW_ACTESTHIGH(ACTEST2=1, ACTEST1=0, HHHH=0xF) ../GSEOS_scripts/General\ac_functional.py[103]: sleep(2) ../GSEOS_scripts/General\ac_functional.py[104]: cmd.EFW_ACTESTHIGH(ACTEST2=0, ACTEST1=0, HHHH=0xF) ../GSEOS_scripts/General\ac_functional.py[106]: sleep(10) ../GSEOS_scripts/General\ac_functional.py[109]: cmd.EFW_TABLE(TABLE=9, OFFSET=1) ../GSEOS_scripts/General\ac_functional.py[110]: wait(APID_267, lambda: APID_267.LOADADR==0x92fb, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[89]: wait(APID_267, lambda: APID_267.LOADADR==0x92fb, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[111]: cmd.EFW_LOAD(1) ../GSEOS_scripts/General\ac_functional.py[113]: cmd.EFW_TABLE(TABLE=9, OFFSET=0) ../GSEOS_scripts/General\ac_functional.py[114]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) Trace collected at: 2012-04-02 14:08:26.580000 ---------------------------------------------------------------------- ../GSEOS_scripts/General\ac_functional.py[54]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/General\ac_functional.py[55]: log('AC Test Script Running', color=BLUE, attr=BOLD ) ../GSEOS_scripts/General\ac_functional.py[56]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/General\ac_functional.py[58]: txo = 30 # timeout setting constant here so I can adjust it easily. ../GSEOS_scripts/General\ac_functional.py[61]: 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\ac_functional.py[62]: cmd.efw_b1_thresh(25) ../GSEOS_scripts/General\ac_functional.py[65]: cmd.efw_tmkbps(60) ../GSEOS_scripts/General\ac_functional.py[68]: scr.weight_thresh() ../GSEOS_scripts/General\weight_thresh.py[5]: """ ../GSEOS_scripts/General\weight_thresh.py[7]: import Gseos ../GSEOS_scripts/General\weight_thresh.py[8]: from efw import * ../GSEOS_scripts/General\weight_thresh.py[9]: from util import * ../GSEOS_scripts/General\weight_thresh.py[10]: from __main__ import * # required for access to APID_nnn telemetry blocks ../GSEOS_scripts/General\weight_thresh.py[14]: def main(): ../GSEOS_scripts/General\weight_thresh.py[5]: """ ../GSEOS_scripts/General\weight_thresh.py[7]: import Gseos ../GSEOS_scripts/General\weight_thresh.py[8]: from efw import * ../GSEOS_scripts/General\weight_thresh.py[9]: from util import * ../GSEOS_scripts/General\weight_thresh.py[10]: from __main__ import * # required for access to APID_nnn telemetry blocks ../GSEOS_scripts/General\weight_thresh.py[14]: def main(): ../GSEOS_scripts/General\weight_thresh.py[15]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/General\weight_thresh.py[16]: log('Setting Weights and Thresholds for Triggers', color=BLUE, attr=BOLD ) ../GSEOS_scripts/General\weight_thresh.py[17]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/General\weight_thresh.py[19]: cmd.efw_tmpktrate(4,1) ../GSEOS_scripts/General\weight_thresh.py[21]: sleep(5) ../GSEOS_scripts/General\weight_thresh.py[24]: cmd.EFW_ADRH(0x96) ../GSEOS_scripts/General\weight_thresh.py[25]: cmd.EFW_ADRL(0x17) ../GSEOS_scripts/General\weight_thresh.py[28]: wait(APID_267, lambda: APID_267.LOADADR==0x9617, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[28]: wait(APID_267, lambda: APID_267.LOADADR==0x9617, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[28]: wait(APID_267, lambda: APID_267.LOADADR==0x9617, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[28]: wait(APID_267, lambda: APID_267.LOADADR==0x9617, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[28]: wait(APID_267, lambda: APID_267.LOADADR==0x9617, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[28]: wait(APID_267, lambda: APID_267.LOADADR==0x9617, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[28]: wait(APID_267, lambda: APID_267.LOADADR==0x9617, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[28]: wait(APID_267, lambda: APID_267.LOADADR==0x9617, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[28]: wait(APID_267, lambda: APID_267.LOADADR==0x9617, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[28]: wait(APID_267, lambda: APID_267.LOADADR==0x9617, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[28]: wait(APID_267, lambda: APID_267.LOADADR==0x9617, flTimeout=10) Trace collected at: 2012-04-02 14:15:26.804000 ---------------------------------------------------------------------- ../GSEOS_scripts/General\ac_functional.py[54]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/General\ac_functional.py[55]: log('AC Test Script Running', color=BLUE, attr=BOLD ) ../GSEOS_scripts/General\ac_functional.py[56]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/General\ac_functional.py[58]: txo = 30 # timeout setting constant here so I can adjust it easily. ../GSEOS_scripts/General\ac_functional.py[61]: 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\ac_functional.py[62]: cmd.efw_b1_thresh(25) ../GSEOS_scripts/General\ac_functional.py[65]: cmd.efw_tmkbps(60) ../GSEOS_scripts/General\ac_functional.py[68]: scr.weight_thresh() ../GSEOS_scripts/General\weight_thresh.py[5]: """ ../GSEOS_scripts/General\weight_thresh.py[7]: import Gseos ../GSEOS_scripts/General\weight_thresh.py[8]: from efw import * ../GSEOS_scripts/General\weight_thresh.py[9]: from util import * ../GSEOS_scripts/General\weight_thresh.py[10]: from __main__ import * # required for access to APID_nnn telemetry blocks ../GSEOS_scripts/General\weight_thresh.py[14]: def main(): ../GSEOS_scripts/General\weight_thresh.py[5]: """ ../GSEOS_scripts/General\weight_thresh.py[7]: import Gseos ../GSEOS_scripts/General\weight_thresh.py[8]: from efw import * ../GSEOS_scripts/General\weight_thresh.py[9]: from util import * ../GSEOS_scripts/General\weight_thresh.py[10]: from __main__ import * # required for access to APID_nnn telemetry blocks ../GSEOS_scripts/General\weight_thresh.py[14]: def main(): ../GSEOS_scripts/General\weight_thresh.py[15]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/General\weight_thresh.py[16]: log('Setting Weights and Thresholds for Triggers', color=BLUE, attr=BOLD ) ../GSEOS_scripts/General\weight_thresh.py[17]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/General\weight_thresh.py[19]: cmd.efw_tmpktrate(4,1) ../GSEOS_scripts/General\weight_thresh.py[21]: sleep(5) ../GSEOS_scripts/General\weight_thresh.py[24]: cmd.EFW_ADRH(0x96) ../GSEOS_scripts/General\weight_thresh.py[25]: cmd.EFW_ADRL(0x17) ../GSEOS_scripts/General\weight_thresh.py[28]: wait(APID_267, lambda: APID_267.LOADADR==0x9617, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[28]: wait(APID_267, lambda: APID_267.LOADADR==0x9617, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[31]: cmd.EFW_LOAD(0xFF) ../GSEOS_scripts/General\weight_thresh.py[34]: cmd.EFW_ADRH(0x96) ../GSEOS_scripts/General\weight_thresh.py[35]: cmd.EFW_ADRL(0x57) ../GSEOS_scripts/General\weight_thresh.py[36]: wait(APID_267, lambda: APID_267.LOADADR==0x9657, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[36]: wait(APID_267, lambda: APID_267.LOADADR==0x9657, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[36]: wait(APID_267, lambda: APID_267.LOADADR==0x9657, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[36]: wait(APID_267, lambda: APID_267.LOADADR==0x9657, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[36]: wait(APID_267, lambda: APID_267.LOADADR==0x9657, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[36]: wait(APID_267, lambda: APID_267.LOADADR==0x9657, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[36]: wait(APID_267, lambda: APID_267.LOADADR==0x9657, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[36]: wait(APID_267, lambda: APID_267.LOADADR==0x9657, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[36]: wait(APID_267, lambda: APID_267.LOADADR==0x9657, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[36]: wait(APID_267, lambda: APID_267.LOADADR==0x9657, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[37]: cmd.EFW_LOAD(0x20) ../GSEOS_scripts/General\weight_thresh.py[40]: cmd.EFW_ADRH(0x96) ../GSEOS_scripts/General\weight_thresh.py[41]: cmd.EFW_ADRL(0x9B) ../GSEOS_scripts/General\weight_thresh.py[42]: wait(APID_267, lambda: APID_267.LOADADR==0x969B, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[42]: wait(APID_267, lambda: APID_267.LOADADR==0x969B, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[42]: wait(APID_267, lambda: APID_267.LOADADR==0x969B, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[42]: wait(APID_267, lambda: APID_267.LOADADR==0x969B, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[42]: wait(APID_267, lambda: APID_267.LOADADR==0x969B, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[42]: wait(APID_267, lambda: APID_267.LOADADR==0x969B, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[42]: wait(APID_267, lambda: APID_267.LOADADR==0x969B, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[42]: wait(APID_267, lambda: APID_267.LOADADR==0x969B, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[42]: wait(APID_267, lambda: APID_267.LOADADR==0x969B, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[43]: cmd.EFW_LOAD(0xFF) ../GSEOS_scripts/General\weight_thresh.py[45]: cmd.EFW_ADRH(0x96) ../GSEOS_scripts/General\weight_thresh.py[46]: cmd.EFW_ADRL(0xDB) ../GSEOS_scripts/General\weight_thresh.py[47]: wait(APID_267, lambda: APID_267.LOADADR==0x96DB, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[47]: wait(APID_267, lambda: APID_267.LOADADR==0x96DB, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[47]: wait(APID_267, lambda: APID_267.LOADADR==0x96DB, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[47]: wait(APID_267, lambda: APID_267.LOADADR==0x96DB, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[47]: wait(APID_267, lambda: APID_267.LOADADR==0x96DB, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[47]: wait(APID_267, lambda: APID_267.LOADADR==0x96DB, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[47]: wait(APID_267, lambda: APID_267.LOADADR==0x96DB, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[47]: wait(APID_267, lambda: APID_267.LOADADR==0x96DB, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[48]: cmd.EFW_LOAD(0x20) ../GSEOS_scripts/General\weight_thresh.py[51]: cmd.EFW_ADRH(0x97) ../GSEOS_scripts/General\weight_thresh.py[52]: cmd.EFW_ADRL(0x1C) ../GSEOS_scripts/General\weight_thresh.py[53]: wait(APID_267, lambda: APID_267.LOADADR==0x971C, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[53]: wait(APID_267, lambda: APID_267.LOADADR==0x971C, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[53]: wait(APID_267, lambda: APID_267.LOADADR==0x971C, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[53]: wait(APID_267, lambda: APID_267.LOADADR==0x971C, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[53]: wait(APID_267, lambda: APID_267.LOADADR==0x971C, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[53]: wait(APID_267, lambda: APID_267.LOADADR==0x971C, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[53]: wait(APID_267, lambda: APID_267.LOADADR==0x971C, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[53]: wait(APID_267, lambda: APID_267.LOADADR==0x971C, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[53]: wait(APID_267, lambda: APID_267.LOADADR==0x971C, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[54]: cmd.EFW_LOAD(0xFF) ../GSEOS_scripts/General\weight_thresh.py[56]: cmd.EFW_ADRH(0x97) ../GSEOS_scripts/General\weight_thresh.py[57]: cmd.EFW_ADRL(0x5C) ../GSEOS_scripts/General\weight_thresh.py[58]: wait(APID_267, lambda: APID_267.LOADADR==0x975C, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[58]: wait(APID_267, lambda: APID_267.LOADADR==0x975C, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[58]: wait(APID_267, lambda: APID_267.LOADADR==0x975C, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[58]: wait(APID_267, lambda: APID_267.LOADADR==0x975C, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[58]: wait(APID_267, lambda: APID_267.LOADADR==0x975C, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[58]: wait(APID_267, lambda: APID_267.LOADADR==0x975C, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[58]: wait(APID_267, lambda: APID_267.LOADADR==0x975C, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[58]: wait(APID_267, lambda: APID_267.LOADADR==0x975C, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[59]: cmd.EFW_LOAD(0x20) ../GSEOS_scripts/General\weight_thresh.py[65]: log('Setting Complete', color=BLUE, attr=BOLD ) ../GSEOS_scripts/General\weight_thresh.py[66]: log('================END=====================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/General\ac_functional.py[70]: sleep(10) ../GSEOS_scripts/General\ac_functional.py[73]: cmd.EFW_SSR_ENABLE(option=0) ../GSEOS_scripts/General\ac_functional.py[74]: cmd.EFW_SSR_ENABLE(option=1) ../GSEOS_scripts/General\ac_functional.py[75]: cmd.EFW_SSR_ENABLE(option=2) ../GSEOS_scripts/General\ac_functional.py[76]: cmd.EFW_SSR_ENABLE(option=3) ../GSEOS_scripts/General\ac_functional.py[79]: cmd.EFW_DUMPTABL(TABLE=8, OFFSET=0) ../GSEOS_scripts/General\ac_functional.py[80]: cmd.EFW_TMDUMPCTR(255) ../GSEOS_scripts/General\ac_functional.py[81]: cmd.efw_b2_config() ../GSEOS_scripts/General\ac_functional.py[88]: cmd.EFW_TABLE(TABLE=9, OFFSET=1) ../GSEOS_scripts/General\ac_functional.py[89]: wait(APID_267, lambda: APID_267.LOADADR==0x92fb, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[89]: wait(APID_267, lambda: APID_267.LOADADR==0x92fb, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[89]: wait(APID_267, lambda: APID_267.LOADADR==0x92fb, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[89]: wait(APID_267, lambda: APID_267.LOADADR==0x92fb, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[89]: wait(APID_267, lambda: APID_267.LOADADR==0x92fb, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[89]: wait(APID_267, lambda: APID_267.LOADADR==0x92fb, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[89]: wait(APID_267, lambda: APID_267.LOADADR==0x92fb, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[89]: wait(APID_267, lambda: APID_267.LOADADR==0x92fb, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[89]: wait(APID_267, lambda: APID_267.LOADADR==0x92fb, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[89]: wait(APID_267, lambda: APID_267.LOADADR==0x92fb, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[89]: wait(APID_267, lambda: APID_267.LOADADR==0x92fb, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[89]: wait(APID_267, lambda: APID_267.LOADADR==0x92fb, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[89]: wait(APID_267, lambda: APID_267.LOADADR==0x92fb, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[89]: wait(APID_267, lambda: APID_267.LOADADR==0x92fb, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[89]: wait(APID_267, lambda: APID_267.LOADADR==0x92fb, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[90]: cmd.EFW_LOAD(0) ../GSEOS_scripts/General\ac_functional.py[92]: cmd.EFW_TABLE(TABLE=9, OFFSET=0) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[94]: cmd.EFW_LOAD(0) ../GSEOS_scripts/General\ac_functional.py[97]: sleep(10) ../GSEOS_scripts/General\ac_functional.py[99]: cmd.EFW_ACTESTHIGH(ACTEST2=0, ACTEST1=1, HHHH=0xF) ../GSEOS_scripts/General\ac_functional.py[100]: cmd.EFW_ACTESTLOW(LSB=0xFF) ../GSEOS_scripts/General\ac_functional.py[101]: sleep(2) ../GSEOS_scripts/General\ac_functional.py[102]: cmd.EFW_ACTESTHIGH(ACTEST2=1, ACTEST1=0, HHHH=0xF) ../GSEOS_scripts/General\ac_functional.py[103]: sleep(2) ../GSEOS_scripts/General\ac_functional.py[104]: cmd.EFW_ACTESTHIGH(ACTEST2=0, ACTEST1=0, HHHH=0xF) ../GSEOS_scripts/General\ac_functional.py[106]: sleep(10) ../GSEOS_scripts/General\ac_functional.py[109]: cmd.EFW_TABLE(TABLE=9, OFFSET=1) ../GSEOS_scripts/General\ac_functional.py[110]: wait(APID_267, lambda: APID_267.LOADADR==0x92fb, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[89]: wait(APID_267, lambda: APID_267.LOADADR==0x92fb, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[111]: cmd.EFW_LOAD(1) ../GSEOS_scripts/General\ac_functional.py[113]: cmd.EFW_TABLE(TABLE=9, OFFSET=0) ../GSEOS_scripts/General\ac_functional.py[114]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[115]: cmd.EFW_LOAD(1) ../GSEOS_scripts/General\ac_functional.py[119]: cmd.EFW_ACTESTHIGH(ACTEST2=0, ACTEST1=1, HHHH=0x1) ../GSEOS_scripts/General\ac_functional.py[120]: cmd.EFW_ACTESTLOW(LSB=0x06) ../GSEOS_scripts/General\ac_functional.py[121]: sleep(2) ../GSEOS_scripts/General\ac_functional.py[122]: cmd.EFW_ACTESTHIGH(ACTEST2=1, ACTEST1=0, HHHH=0x1) ../GSEOS_scripts/General\ac_functional.py[123]: sleep(2) ../GSEOS_scripts/General\ac_functional.py[124]: cmd.EFW_ACTESTHIGH(ACTEST2=0, ACTEST1=0, HHHH=0x1) ../GSEOS_scripts/General\ac_functional.py[126]: sleep(10) ../GSEOS_scripts/General\ac_functional.py[129]: cmd.EFW_TABLE(TABLE=9, OFFSET=1) ../GSEOS_scripts/General\ac_functional.py[130]: wait(APID_267, lambda: APID_267.LOADADR==0x92fb, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[89]: wait(APID_267, lambda: APID_267.LOADADR==0x92fb, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[131]: cmd.EFW_LOAD(2) ../GSEOS_scripts/General\ac_functional.py[133]: cmd.EFW_TABLE(TABLE=9, OFFSET=0) ../GSEOS_scripts/General\ac_functional.py[134]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[135]: cmd.EFW_LOAD(2) ../GSEOS_scripts/General\ac_functional.py[139]: cmd.EFW_ACTESTHIGH(ACTEST2=0, ACTEST1=1, HHHH=0x0) ../GSEOS_scripts/General\ac_functional.py[140]: cmd.EFW_ACTESTLOW(LSB=0x57) ../GSEOS_scripts/General\ac_functional.py[141]: sleep(2) ../GSEOS_scripts/General\ac_functional.py[142]: cmd.EFW_ACTESTHIGH(ACTEST2=1, ACTEST1=0, HHHH=0x0) ../GSEOS_scripts/General\ac_functional.py[143]: sleep(2) ../GSEOS_scripts/General\ac_functional.py[144]: cmd.EFW_ACTESTHIGH(ACTEST2=0, ACTEST1=0, HHHH=0x0) ../GSEOS_scripts/General\ac_functional.py[146]: sleep(10) ../GSEOS_scripts/General\ac_functional.py[149]: cmd.EFW_TABLE(TABLE=9, OFFSET=1) ../GSEOS_scripts/General\ac_functional.py[150]: wait(APID_267, lambda: APID_267.LOADADR==0x92fb, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[89]: wait(APID_267, lambda: APID_267.LOADADR==0x92fb, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[151]: cmd.EFW_LOAD(7) ../GSEOS_scripts/General\ac_functional.py[153]: cmd.efw_table(table=9, offset=0) ../GSEOS_scripts/General\ac_functional.py[154]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[93]: wait(APID_267, lambda: APID_267.LOADADR==0x92fa, flTimeout=txo) ../GSEOS_scripts/General\ac_functional.py[155]: cmd.efw_load(7) ../GSEOS_scripts/General\ac_functional.py[160]: 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[164]: elif(table == 2): ../GSEOS_scripts/DFB\dfb_std_config.py[231]: elif(table == 3): ../GSEOS_scripts/DFB\dfb_std_config.py[299]: elif(table == 4): ../GSEOS_scripts/DFB\dfb_std_config.py[369]: elif(table == 5): ../GSEOS_scripts/DFB\dfb_std_config.py[374]: elif(table == 6): ../GSEOS_scripts/DFB\dfb_std_config.py[379]: elif(table == 7): ../GSEOS_scripts/DFB\dfb_std_config.py[380]: print >> log, "Configure Triggers E12DC @ 8S/s, 13 Bins" ../GSEOS_scripts/DFB\dfb_std_config.py[381]: 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[382]: cmd.EFW_SSR_ROUTE(APID=1, SEGMENT=1) ../GSEOS_scripts/DFB\dfb_std_config.py[383]: 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[654]: print >> log, "Done setting up DFB for table %d" % table ../GSEOS_scripts/General\ac_functional.py[163]: cmd.EFW_ACTESTHIGH(ACTEST2=0, ACTEST1=1, HHHH=0xF) ../GSEOS_scripts/General\ac_functional.py[164]: cmd.EFW_ACTESTLOW(LSB=0xFF) ../GSEOS_scripts/General\ac_functional.py[165]: sleep(32) ../GSEOS_scripts/General\ac_functional.py[168]: cmd.EFW_ACTESTHIGH(ACTEST2=0, ACTEST1=1, HHHH=0x1) ../GSEOS_scripts/General\ac_functional.py[169]: cmd.EFW_ACTESTLOW(LSB=0x06) ../GSEOS_scripts/General\ac_functional.py[170]: sleep(32) ../GSEOS_scripts/General\ac_functional.py[173]: cmd.EFW_ACTESTHIGH(ACTEST2=0, ACTEST1=1, HHHH=0x00) ../GSEOS_scripts/General\ac_functional.py[174]: cmd.EFW_ACTESTLOW(LSB=0x57) ../GSEOS_scripts/General\ac_functional.py[175]: sleep(32) ../GSEOS_scripts/General\ac_functional.py[178]: cmd.EFW_ACTESTHIGH(ACTEST2=1, ACTEST1=0, HHHH=0xF) ../GSEOS_scripts/General\ac_functional.py[179]: cmd.EFW_ACTESTLOW(LSB=0xFF) ../GSEOS_scripts/General\ac_functional.py[180]: sleep(32) ../GSEOS_scripts/General\ac_functional.py[183]: cmd.EFW_ACTESTHIGH(ACTEST2=1, ACTEST1=0, HHHH=0x1) ../GSEOS_scripts/General\ac_functional.py[184]: cmd.EFW_ACTESTLOW(LSB=0x06) ../GSEOS_scripts/General\ac_functional.py[185]: sleep(32) ../GSEOS_scripts/General\ac_functional.py[188]: cmd.EFW_ACTESTHIGH(ACTEST2=1, ACTEST1=0, HHHH=0x0) ../GSEOS_scripts/General\ac_functional.py[189]: cmd.EFW_ACTESTLOW(LSB=0x57) ../GSEOS_scripts/General\ac_functional.py[190]: sleep(32) ../GSEOS_scripts/General\ac_functional.py[195]: cmd.EFW_ACTESTHIGH(ACTEST2=0, ACTEST1=1, HHHH=0x0) ../GSEOS_scripts/General\ac_functional.py[196]: cmd.EFW_ACTESTLOW(LSB=0x03) ../GSEOS_scripts/General\ac_functional.py[197]: msg = 'Please check 131kHz signal on odd channels. Take screenshot on scope. Click OK when done.' ../GSEOS_scripts/General\ac_functional.py[198]: Gseos.MessageBox(msg) ../GSEOS_scripts/General\ac_functional.py[201]: cmd.EFW_ACTESTHIGH(ACTEST2=0, ACTEST1=0, HHHH=0x0) ../GSEOS_scripts/General\ac_functional.py[202]: cmd.EFW_ACTESTLOW(LSB=0x00) ../GSEOS_scripts/General\ac_functional.py[204]: log('AC Test Complete', color=BLUE, attr=BOLD ) ../GSEOS_scripts/General\ac_functional.py[205]: log('================END=====================', color=BLUE, attr=BOLD ) Trace collected at: 2012-04-02 14:33:18.350000 ---------------------------------------------------------------------- ../GSEOS_scripts/General\ac_functional.py[54]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/General\ac_functional.py[55]: log('AC Test Script Running', color=BLUE, attr=BOLD ) ../GSEOS_scripts/General\ac_functional.py[56]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/General\ac_functional.py[58]: txo = 30 # timeout setting constant here so I can adjust it easily. ../GSEOS_scripts/General\ac_functional.py[61]: 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\ac_functional.py[62]: cmd.efw_b1_thresh(25) ../GSEOS_scripts/General\ac_functional.py[65]: cmd.efw_tmkbps(60) ../GSEOS_scripts/General\ac_functional.py[68]: scr.weight_thresh() ../GSEOS_scripts/General\weight_thresh.py[5]: """ ../GSEOS_scripts/General\weight_thresh.py[7]: import Gseos ../GSEOS_scripts/General\weight_thresh.py[8]: from efw import * ../GSEOS_scripts/General\weight_thresh.py[9]: from util import * ../GSEOS_scripts/General\weight_thresh.py[10]: from __main__ import * # required for access to APID_nnn telemetry blocks ../GSEOS_scripts/General\weight_thresh.py[14]: def main(): ../GSEOS_scripts/General\weight_thresh.py[5]: """ ../GSEOS_scripts/General\weight_thresh.py[7]: import Gseos ../GSEOS_scripts/General\weight_thresh.py[8]: from efw import * ../GSEOS_scripts/General\weight_thresh.py[9]: from util import * ../GSEOS_scripts/General\weight_thresh.py[10]: from __main__ import * # required for access to APID_nnn telemetry blocks ../GSEOS_scripts/General\weight_thresh.py[14]: def main(): ../GSEOS_scripts/General\weight_thresh.py[15]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/General\weight_thresh.py[16]: log('Setting Weights and Thresholds for Triggers', color=BLUE, attr=BOLD ) ../GSEOS_scripts/General\weight_thresh.py[17]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/General\weight_thresh.py[19]: cmd.efw_tmpktrate(4,1) ../GSEOS_scripts/General\weight_thresh.py[21]: sleep(5) ../GSEOS_scripts/General\weight_thresh.py[24]: cmd.EFW_ADRH(0x96) ../GSEOS_scripts/General\weight_thresh.py[25]: cmd.EFW_ADRL(0x17) ../GSEOS_scripts/General\weight_thresh.py[28]: wait(APID_267, lambda: APID_267.LOADADR==0x9617, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[28]: wait(APID_267, lambda: APID_267.LOADADR==0x9617, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[28]: wait(APID_267, lambda: APID_267.LOADADR==0x9617, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[28]: wait(APID_267, lambda: APID_267.LOADADR==0x9617, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[28]: wait(APID_267, lambda: APID_267.LOADADR==0x9617, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[28]: wait(APID_267, lambda: APID_267.LOADADR==0x9617, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[28]: wait(APID_267, lambda: APID_267.LOADADR==0x9617, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[28]: wait(APID_267, lambda: APID_267.LOADADR==0x9617, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[31]: cmd.EFW_LOAD(0xFF) ../GSEOS_scripts/General\weight_thresh.py[34]: cmd.EFW_ADRH(0x96) ../GSEOS_scripts/General\weight_thresh.py[35]: cmd.EFW_ADRL(0x57) ../GSEOS_scripts/General\weight_thresh.py[36]: wait(APID_267, lambda: APID_267.LOADADR==0x9657, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[36]: wait(APID_267, lambda: APID_267.LOADADR==0x9657, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[36]: wait(APID_267, lambda: APID_267.LOADADR==0x9657, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[36]: wait(APID_267, lambda: APID_267.LOADADR==0x9657, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[36]: wait(APID_267, lambda: APID_267.LOADADR==0x9657, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[36]: wait(APID_267, lambda: APID_267.LOADADR==0x9657, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[36]: wait(APID_267, lambda: APID_267.LOADADR==0x9657, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[36]: wait(APID_267, lambda: APID_267.LOADADR==0x9657, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[36]: wait(APID_267, lambda: APID_267.LOADADR==0x9657, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[37]: cmd.EFW_LOAD(0x20) ../GSEOS_scripts/General\weight_thresh.py[40]: cmd.EFW_ADRH(0x96) ../GSEOS_scripts/General\weight_thresh.py[41]: cmd.EFW_ADRL(0x9B) ../GSEOS_scripts/General\weight_thresh.py[42]: wait(APID_267, lambda: APID_267.LOADADR==0x969B, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[42]: wait(APID_267, lambda: APID_267.LOADADR==0x969B, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[42]: wait(APID_267, lambda: APID_267.LOADADR==0x969B, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[42]: wait(APID_267, lambda: APID_267.LOADADR==0x969B, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[42]: wait(APID_267, lambda: APID_267.LOADADR==0x969B, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[42]: wait(APID_267, lambda: APID_267.LOADADR==0x969B, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[42]: wait(APID_267, lambda: APID_267.LOADADR==0x969B, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[42]: wait(APID_267, lambda: APID_267.LOADADR==0x969B, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[42]: wait(APID_267, lambda: APID_267.LOADADR==0x969B, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[43]: cmd.EFW_LOAD(0xFF) ../GSEOS_scripts/General\weight_thresh.py[45]: cmd.EFW_ADRH(0x96) ../GSEOS_scripts/General\weight_thresh.py[46]: cmd.EFW_ADRL(0xDB) ../GSEOS_scripts/General\weight_thresh.py[47]: wait(APID_267, lambda: APID_267.LOADADR==0x96DB, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[47]: wait(APID_267, lambda: APID_267.LOADADR==0x96DB, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[47]: wait(APID_267, lambda: APID_267.LOADADR==0x96DB, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[47]: wait(APID_267, lambda: APID_267.LOADADR==0x96DB, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[47]: wait(APID_267, lambda: APID_267.LOADADR==0x96DB, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[47]: wait(APID_267, lambda: APID_267.LOADADR==0x96DB, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[47]: wait(APID_267, lambda: APID_267.LOADADR==0x96DB, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[47]: wait(APID_267, lambda: APID_267.LOADADR==0x96DB, flTimeout=10) ../GSEOS_scripts/General\weight_thresh.py[47]: wait(APID_267, lambda: APID_267.LOADADR==0x96DB, flTimeout=10) Script killed by user.