Trace collected at: 2010-05-20 14:40:43.354000 ---------------------------------------------------------------------- ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[231]: if(not test): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[234]: elif(test=='wt1'): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[238]: elif(test=='wt2'): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[242]: elif(test=='wt3'): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[246]: elif(test=='st1'): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[247]: if(not table): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[250]: log("'st1' - Spectra Test #1, using table %d" % table) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[251]: scr.dfb_pd_cfg(table=table) # Configure the DFB ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[27]: """ ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[29]: from efw import * ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[31]: def usage(): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[35]: def main(table=None, DFB=None): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[27]: """ ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[29]: from efw import * ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[31]: def usage(): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[35]: def main(table=None, DFB=None): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[36]: if(not table): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[40]: print >> log, "Setting up DFB for table %d" % table ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[41]: if(DFB): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[44]: if(table == 1): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[73]: elif(table == 2): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[91]: elif(table == 3): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[92]: print >> log, "Table 3. SPEC Configuration Set 1, 64 Bins." ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[95]: cmd.EFW_DFB_SPEC1(NAVG=3, NCAD=3, SPEC_BIN=1, SPEC_ENA=1, SPEC_SRC=0) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[97]: cmd.EFW_DFB_SPEC2(NAVG=3, NCAD=3, SPEC_BIN=1, SPEC_ENA=1, SPEC_SRC=1) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[99]: cmd.EFW_DFB_SPEC3(NAVG=3, NCAD=3, SPEC_BIN=1, SPEC_ENA=1, SPEC_SRC=2) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[101]: cmd.EFW_DFB_SPEC4(NAVG=3, NCAD=3, SPEC_BIN=1, SPEC_ENA=1, SPEC_SRC=3) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[103]: cmd.EFW_DFB_SPEC5(NAVG=3, NCAD=3, SPEC_BIN=1, SPEC_ENA=1, SPEC_SRC=4) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[105]: cmd.EFW_DFB_SPEC6(NAVG=3, NCAD=3, SPEC_BIN=1, SPEC_ENA=1, SPEC_SRC=5) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[106]: if(DFB == "ETU1"): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[110]: cmd.EFW_DFB_E_B2(E_B2_SPD=0x0e, E_B2_ENA=7) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[112]: cmd.EFW_DFB_SVY_INT(SVY_INT_SPD=0x05, SVY_INT_ENA=7) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[286]: print >> log, "Done setting up DFB for table %d" % table ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[252]: cmd.EFW_DFBCONFIG(0x0e) # Notify DCB of DFB configuration change ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[253]: spectra_test(apid=0x24e, num_packets=num_packets, discard_packets=discard_packets, timeout=timeout) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[219]: log("Waiting for new configuration by discarding %d 0x%03x packets." % (discard_packets, apid)) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[220]: if(wait_for_packets(apid, discard_packets, timeout)): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[199]: block = get_block_by_apid(apid) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[188]: apid_str = ('APID_%03x' % apid).upper() ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[190]: return GseosBlocks.Blocks[apid_str] ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[200]: for i in range(num_packets): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[201]: try: ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[202]: wait(block, lambda: True, flTimeout=timeout) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[202]: wait(block, lambda: True, flTimeout=timeout) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[208]: log("Got packet %d" % i) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[200]: for i in range(num_packets): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[201]: try: ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[202]: wait(block, lambda: True, flTimeout=timeout) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[203]: except GseosError.TSeqTimeoutError: ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[204]: log("Timed out. Did not receive 1 ApID 0x%03x within %d second(s)." % (apid, timeout)) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[205]: log("Reconfigure instrument to output ApID 0x%03x at a higher rate, or increase the script timeout value." % apid) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[206]: return True ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[221]: return Trace collected at: 2010-05-20 14:43:22.526000 ---------------------------------------------------------------------- ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[231]: if(not test): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[234]: elif(test=='wt1'): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[238]: elif(test=='wt2'): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[242]: elif(test=='wt3'): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[246]: elif(test=='st1'): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[247]: if(not table): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[250]: log("'st1' - Spectra Test #1, using table %d" % table) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[251]: scr.dfb_pd_cfg(table=table) # Configure the DFB ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[27]: """ ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[29]: from efw import * ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[31]: def usage(): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[35]: def main(table=None, DFB=None): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[27]: """ ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[29]: from efw import * ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[31]: def usage(): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[35]: def main(table=None, DFB=None): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[36]: if(not table): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[40]: print >> log, "Setting up DFB for table %d" % table ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[41]: if(DFB): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[44]: if(table == 1): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[73]: elif(table == 2): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[91]: elif(table == 3): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[92]: print >> log, "Table 3. SPEC Configuration Set 1, 64 Bins." ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[95]: cmd.EFW_DFB_SPEC1(SPEC_NCAD=3, SPEC_NAVG=3, SPEC_BIN=1, SPEC_ENA=1, SPEC_SRC=0) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[97]: cmd.EFW_DFB_SPEC2(SPEC_NCAD=3, SPEC_NAVG=3, SPEC_BIN=1, SPEC_ENA=1, SPEC_SRC=1) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[99]: cmd.EFW_DFB_SPEC3(SPEC_NCAD=3, SPEC_NAVG=3, SPEC_BIN=1, SPEC_ENA=1, SPEC_SRC=2) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[101]: cmd.EFW_DFB_SPEC4(SPEC_NCAD=3, SPEC_NAVG=3, SPEC_BIN=1, SPEC_ENA=1, SPEC_SRC=3) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[103]: cmd.EFW_DFB_SPEC5(SPEC_NCAD=3, SPEC_NAVG=3, SPEC_BIN=1, SPEC_ENA=1, SPEC_SRC=4) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[105]: cmd.EFW_DFB_SPEC6(SPEC_NCAD=3, SPEC_NAVG=3, SPEC_BIN=1, SPEC_ENA=1, SPEC_SRC=5) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[106]: if(DFB == "ETU1"): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[110]: cmd.EFW_DFB_E_B2(E_B2_SPD=0x0e, E_B2_ENA=7) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[112]: cmd.EFW_DFB_SVY_INT(SVY_INT_SPD=0x05, SVY_INT_ENA=7) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[286]: print >> log, "Done setting up DFB for table %d" % table ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[252]: cmd.EFW_DFBCONFIG(0x0e) # Notify DCB of DFB configuration change ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[253]: spectra_test(apid=0x24e, num_packets=num_packets, discard_packets=discard_packets, timeout=timeout) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[219]: log("Waiting for new configuration by discarding %d 0x%03x packets." % (discard_packets, apid)) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[220]: if(wait_for_packets(apid, discard_packets, timeout)): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[199]: block = get_block_by_apid(apid) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[188]: apid_str = ('APID_%03x' % apid).upper() ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[190]: return GseosBlocks.Blocks[apid_str] ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[200]: for i in range(num_packets): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[201]: try: ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[202]: wait(block, lambda: True, flTimeout=timeout) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[202]: wait(block, lambda: True, flTimeout=timeout) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[208]: log("Got packet %d" % i) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[200]: for i in range(num_packets): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[201]: try: ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[202]: wait(block, lambda: True, flTimeout=timeout) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[202]: wait(block, lambda: True, flTimeout=timeout) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[208]: log("Got packet %d" % i) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[200]: for i in range(num_packets): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[201]: try: ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[202]: wait(block, lambda: True, flTimeout=timeout) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[202]: wait(block, lambda: True, flTimeout=timeout) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[208]: log("Got packet %d" % i) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[200]: for i in range(num_packets): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[201]: try: ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[202]: wait(block, lambda: True, flTimeout=timeout) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[202]: wait(block, lambda: True, flTimeout=timeout) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[208]: log("Got packet %d" % i) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[200]: for i in range(num_packets): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[209]: return None ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[223]: log("Receiving packets from new DFB configuration as of UTC: %s" % numeric_conv.efw_datetime(time.time(), utc=True)[6]) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[226]: log("Collecting %d more 0x%03x packets." % (num_packets, apid)) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[227]: wait_for_packets(apid, num_packets, timeout) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[199]: block = get_block_by_apid(apid) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[188]: apid_str = ('APID_%03x' % apid).upper() ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[190]: return GseosBlocks.Blocks[apid_str] ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[200]: for i in range(num_packets): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[201]: try: ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[202]: wait(block, lambda: True, flTimeout=timeout) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[202]: wait(block, lambda: True, flTimeout=timeout) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[208]: log("Got packet %d" % i) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[200]: for i in range(num_packets): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[201]: try: ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[202]: wait(block, lambda: True, flTimeout=timeout) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[202]: wait(block, lambda: True, flTimeout=timeout) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[208]: log("Got packet %d" % i) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[200]: for i in range(num_packets): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[201]: try: ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[202]: wait(block, lambda: True, flTimeout=timeout) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[202]: wait(block, lambda: True, flTimeout=timeout) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[208]: log("Got packet %d" % i) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[200]: for i in range(num_packets): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[201]: try: ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[202]: wait(block, lambda: True, flTimeout=timeout) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[202]: wait(block, lambda: True, flTimeout=timeout) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[208]: log("Got packet %d" % i) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[200]: for i in range(num_packets): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[209]: return None Trace collected at: 2010-05-20 14:44:46.635000 ---------------------------------------------------------------------- ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[231]: if(not test): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[234]: elif(test=='wt1'): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[238]: elif(test=='wt2'): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[242]: elif(test=='wt3'): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[246]: elif(test=='st1'): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[247]: if(not table): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[250]: log("'st1' - Spectra Test #1, using table %d" % table) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[251]: scr.dfb_pd_cfg(table=table) # Configure the DFB ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[27]: """ ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[29]: from efw import * ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[31]: def usage(): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[35]: def main(table=None, DFB=None): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[27]: """ ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[29]: from efw import * ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[31]: def usage(): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[35]: def main(table=None, DFB=None): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[36]: if(not table): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[40]: print >> log, "Setting up DFB for table %d" % table ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[41]: if(DFB): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[44]: if(table == 1): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[73]: elif(table == 2): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[91]: elif(table == 3): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[92]: print >> log, "Table 3. SPEC Configuration Set 1, 64 Bins." ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[95]: cmd.EFW_DFB_SPEC1(SPEC_NCAD=3, SPEC_NAVG=3, SPEC_BIN=1, SPEC_ENA=1, SPEC_SRC=0) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[97]: cmd.EFW_DFB_SPEC2(SPEC_ENA=1, SPEC_SRC=1) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[99]: cmd.EFW_DFB_SPEC3(SPEC_ENA=1, SPEC_SRC=2) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[101]: cmd.EFW_DFB_SPEC4(SPEC_ENA=1, SPEC_SRC=3) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[103]: cmd.EFW_DFB_SPEC5(SPEC_ENA=1, SPEC_SRC=4) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[105]: cmd.EFW_DFB_SPEC6(SPEC_ENA=1, SPEC_SRC=5) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[106]: if(DFB == "ETU1"): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[110]: cmd.EFW_DFB_E_B2(E_B2_SPD=0x0e, E_B2_ENA=7) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[112]: cmd.EFW_DFB_SVY_INT(SVY_INT_SPD=0x05, SVY_INT_ENA=7) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[286]: print >> log, "Done setting up DFB for table %d" % table ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[252]: cmd.EFW_DFBCONFIG(0x0e) # Notify DCB of DFB configuration change ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[253]: spectra_test(apid=0x24e, num_packets=num_packets, discard_packets=discard_packets, timeout=timeout) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[219]: log("Waiting for new configuration by discarding %d 0x%03x packets." % (discard_packets, apid)) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[220]: if(wait_for_packets(apid, discard_packets, timeout)): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[199]: block = get_block_by_apid(apid) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[188]: apid_str = ('APID_%03x' % apid).upper() ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[190]: return GseosBlocks.Blocks[apid_str] ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[200]: for i in range(num_packets): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[201]: try: ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[202]: wait(block, lambda: True, flTimeout=timeout) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[202]: wait(block, lambda: True, flTimeout=timeout) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[208]: log("Got packet %d" % i) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[200]: for i in range(num_packets): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[201]: try: ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[202]: wait(block, lambda: True, flTimeout=timeout) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[202]: wait(block, lambda: True, flTimeout=timeout) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[208]: log("Got packet %d" % i) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[200]: for i in range(num_packets): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[201]: try: ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[202]: wait(block, lambda: True, flTimeout=timeout) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[202]: wait(block, lambda: True, flTimeout=timeout) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[208]: log("Got packet %d" % i) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[200]: for i in range(num_packets): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[201]: try: ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[202]: wait(block, lambda: True, flTimeout=timeout) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[202]: wait(block, lambda: True, flTimeout=timeout) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[208]: log("Got packet %d" % i) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[200]: for i in range(num_packets): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[209]: return None ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[223]: log("Receiving packets from new DFB configuration as of UTC: %s" % numeric_conv.efw_datetime(time.time(), utc=True)[6]) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[226]: log("Collecting %d more 0x%03x packets." % (num_packets, apid)) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[227]: wait_for_packets(apid, num_packets, timeout) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[199]: block = get_block_by_apid(apid) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[188]: apid_str = ('APID_%03x' % apid).upper() ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[190]: return GseosBlocks.Blocks[apid_str] ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[200]: for i in range(num_packets): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[201]: try: ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[202]: wait(block, lambda: True, flTimeout=timeout) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[202]: wait(block, lambda: True, flTimeout=timeout) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[208]: log("Got packet %d" % i) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[200]: for i in range(num_packets): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[201]: try: ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[202]: wait(block, lambda: True, flTimeout=timeout) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[202]: wait(block, lambda: True, flTimeout=timeout) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[208]: log("Got packet %d" % i) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[200]: for i in range(num_packets): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[201]: try: ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[202]: wait(block, lambda: True, flTimeout=timeout) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[202]: wait(block, lambda: True, flTimeout=timeout) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[208]: log("Got packet %d" % i) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[200]: for i in range(num_packets): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[201]: try: ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[202]: wait(block, lambda: True, flTimeout=timeout) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[202]: wait(block, lambda: True, flTimeout=timeout) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[208]: log("Got packet %d" % i) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[200]: for i in range(num_packets): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[209]: return None