Trace collected at: 2010-01-27 16:04:17.453000 ---------------------------------------------------------------------- ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[172]: if(not test): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[175]: elif(test=='wt1'): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[179]: elif(test=='wt2'): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[183]: elif(test=='wt3'): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[187]: elif(test=='st1'): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[188]: if(not table): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[189]: usage() ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[113]: msg = "Please specify which test to run. Options are:\n" +\ ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[121]: print msg ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[122]: log(msg) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[190]: return Trace collected at: 2010-01-27 16:08:28.641000 ---------------------------------------------------------------------- ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[172]: if(not test): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[175]: elif(test=='wt1'): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[179]: elif(test=='wt2'): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[183]: elif(test=='wt3'): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[187]: elif(test=='st1'): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[188]: if(not table): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[191]: log("'st1' - Spectra Test #1, using table %d" % table) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[192]: 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): ../../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): ../../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[42]: if(table == 1): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[68]: elif(table == 2): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[83]: elif(table == 3): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[84]: print >> log, "Table 3. SPEC Configuration Set 1, 64 Bins." ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[87]: cmd.EFW_DFB_SPEC1(SPEC_SPD=0, SPEC_BIN=1, SPEC_ENA=1, SPEC_SRC=0) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[89]: cmd.EFW_DFB_SPEC2(SPEC_SPD=0, SPEC_BIN=1, SPEC_ENA=1, SPEC_SRC=1) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[91]: cmd.EFW_DFB_SPEC3(SPEC_SPD=0, SPEC_BIN=1, SPEC_ENA=1, SPEC_SRC=2) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[93]: cmd.EFW_DFB_SPEC4(SPEC_SPD=0, SPEC_BIN=1, SPEC_ENA=1, SPEC_SRC=3) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[95]: cmd.EFW_DFB_SPEC5(SPEC_SPD=0, SPEC_BIN=1, SPEC_ENA=1, SPEC_SRC=4) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[97]: cmd.EFW_DFB_SPEC6(SPEC_SPD=0, SPEC_BIN=1, SPEC_ENA=1, SPEC_SRC=5) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[270]: print >> log, "Done setting up DFB for table %d" % table ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[193]: cmd.EFW_DFBCONFIG(0x0e) # Notify DCB of DFB configuration change ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[194]: 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[160]: 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[161]: if(wait_for_packets(apid, discard_packets, timeout)): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[140]: block = get_block_by_apid(apid) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[129]: apid_str = ('APID_%03x' % apid).upper() ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[131]: return GseosBlocks.Blocks[apid_str] ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[141]: for i in range(num_packets): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[142]: try: ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[143]: wait(block, lambda: True, flTimeout=timeout) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[144]: except GseosError.TSeqTimeoutError: ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[145]: 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[146]: 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[147]: return True ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[162]: return Trace collected at: 2010-01-27 16:34:19.750000 ---------------------------------------------------------------------- ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[172]: if(not test): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[175]: elif(test=='wt1'): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[179]: elif(test=='wt2'): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[183]: elif(test=='wt3'): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[187]: elif(test=='st1'): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[196]: elif(test=='st2'): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[205]: elif(test=='st3'): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[214]: elif(test=='tt1'): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[215]: if(not table): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[218]: log("'tt3' - Trigger Test #1, using table %d" % table) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[219]: 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): ../../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): ../../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[42]: if(table == 1): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[68]: elif(table == 2): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[83]: elif(table == 3): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[99]: elif(table == 4): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[117]: elif(table == 5): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[129]: elif(table == 6): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[145]: elif(table == 7): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[163]: elif(table == 8): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[175]: elif(table == 9): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[191]: elif(table == 10): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[209]: elif(table == 11): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[221]: elif(table == 12): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[222]: print >> log, "Table 12. Trigger Configuration 1, 13 Bins." ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[225]: cmd.EFW_DFB_FB(FB_FREQBANDS=1, FB_ENA2=1, FB_ENA1=1, FB_SPD=0x0a, FB_SEL2=1, FB_SEL1=0) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[227]: cmd.EFW_DFB_FB_INT(FB_FREQBANDS=1, FB_ENA2=1, FB_ENA1=1, FB_SPD=0x0a, FB_SEL2=3, FB_SEL1=2) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[270]: print >> log, "Done setting up DFB for table %d" % table ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[220]: cmd.EFW_DFBCONFIG(0x01) # Notify DCB of DFB configuration change ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[222]: spectra_test(apid=0x241, num_packets=num_packets, discard_packets=discard_packets, timeout=timeout) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[160]: 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[161]: if(wait_for_packets(apid, discard_packets, timeout)): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[140]: block = get_block_by_apid(apid) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[129]: apid_str = ('APID_%03x' % apid).upper() ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[131]: return GseosBlocks.Blocks[apid_str] ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[141]: for i in range(num_packets): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[142]: try: ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[143]: wait(block, lambda: True, flTimeout=timeout) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[143]: wait(block, lambda: True, flTimeout=timeout) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[149]: log("Got packet %d" % i) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[141]: for i in range(num_packets): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[142]: try: ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[143]: wait(block, lambda: True, flTimeout=timeout) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[143]: wait(block, lambda: True, flTimeout=timeout) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[149]: log("Got packet %d" % i) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[141]: for i in range(num_packets): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[142]: try: ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[143]: wait(block, lambda: True, flTimeout=timeout) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[144]: except GseosError.TSeqTimeoutError: ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[145]: 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[146]: 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[147]: return True ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[162]: return