Trace collected at: 2010-05-26 15:59:09.546000 ---------------------------------------------------------------------- ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_spectratest.py[16]: gpib_addr = 12 ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_spectratest.py[17]: ip = '192.168.0.4' ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_spectratest.py[18]: tcp_port = 1234 ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_spectratest.py[19]: my_ds345 = ds345.ds345(gpib_addr, ip, tcp_port) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_spectratest.py[22]: gpib_addr = 9 ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_spectratest.py[23]: ip = '192.168.0.4' ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_spectratest.py[24]: tcp_port = 1234 ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_spectratest.py[25]: s = sw_matrix.sw_matrix(gpib_addr, ip, tcp_port) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_spectratest.py[27]: log("----------------------------------------", color=BLUE, attr=BOLD ) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_spectratest.py[28]: log("Running Spectra Test Table 3 DFB ETU1 ", color=BLUE, attr=BOLD ) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_spectratest.py[31]: scr.dfb_pd_play(test='st1', table=18, DFB='ETU1') ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[23]: """ ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[25]: from efw import * ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[26]: from __main__ import * # required for access to APID_nnn telemetry blocks ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[27]: import util ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[28]: import GseosError ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[30]: def burst_collect(table=None, DFB=None): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[171]: def usage(): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[184]: def get_block_by_apid(apid): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[192]: def wait_for_packets(apid, num_packets, timeout=60): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[211]: def spectra_test(apid, discard_packets=4, num_packets=4, timeout=60): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[230]: def main(test=None, table=None, num_packets=4, discard_packets=4, timeout=60, DFB=None): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[23]: """ ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[25]: from efw import * ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[26]: from __main__ import * # required for access to APID_nnn telemetry blocks ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[27]: import util ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[28]: import GseosError ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[30]: def burst_collect(table=None, DFB=None): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[171]: def usage(): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[184]: def get_block_by_apid(apid): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[192]: def wait_for_packets(apid, num_packets, timeout=60): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[211]: def spectra_test(apid, discard_packets=4, num_packets=4, timeout=60): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[230]: def main(test=None, table=None, num_packets=4, discard_packets=4, timeout=60, DFB=None): ../../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, DFB=DFB) # Configure the DFB ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[28]: """ ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[30]: from efw import * ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[32]: def usage(): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[36]: def main(table=None, DFB=None): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[28]: """ ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[30]: from efw import * ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[32]: def usage(): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[36]: def main(table=None, DFB=None): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[37]: if(not table): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[41]: print >> log, "Setting up DFB for table %d" % table ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[42]: if(DFB): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[43]: print >> log, "Using DFB model %s" % str(DFB) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[45]: if(DFB == "ETU1"): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[46]: print >> log, "Disabling Burst 2." ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[47]: cmd.EFW_DFB_E_B2(E_B2_ENA=0, E_B2_SPD=0x0E) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[48]: cmd.EFW_DFB_V_B2(V_B2_ENA=0, V_B2_SPD=0x0E) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[49]: cmd.EFW_DFB_SCM_B2(SCM_B2_ENA=0, SCM_B2_SPD=0x0E) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[50]: cmd.EFW_DFBCONFIG(APID=1) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[51]: cmd.EFW_DFBCONFIG(APID=3) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[52]: cmd.EFW_DFBCONFIG(APID=4) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[59]: cmd.EFW_DFB_E_SVY_ENA(E_SVY_SPD=0, E_SVY_ENA=0) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[60]: cmd.EFW_DFB_V_SVY(V_SVY_SPD=0, V_SVY_ENA=0) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[61]: cmd.EFW_DFB_FB(FB_FREQBANDS=0, FB_ENA2=0, FB_ENA1=0, FB_SPD=0, FB_SEL1=0, FB_SEL2=0) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[63]: if(table == 1): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[84]: elif(table == 2): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[98]: elif(table == 3): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[118]: elif(table == 4): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[136]: elif(table == 5): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[148]: elif(table == 6): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[164]: elif(table == 7): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[182]: elif(table == 8): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[194]: elif(table == 9): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[210]: elif(table == 10): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[228]: elif(table == 11): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[240]: elif(table == 12): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[248]: elif(table == 13): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[256]: elif(table == 14): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[262]: elif(table == 15): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[270]: elif(table == 16): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[278]: elif(table == 17): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[284]: elif(table == 18): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[285]: print >> log, "Table 18. All Spectra and XSpectra Enabled, 112 bins." ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[288]: cmd.EFW_DFB_SPEC1(SPEC_NAVG=3, SPEC_NCAD=3, SPEC_BIN=2, SPEC_ENA=1, SPEC_SRC=0) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[289]: cmd.EFW_DFB_SPEC2(SPEC_ENA=1, SPEC_SRC=0) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[290]: cmd.EFW_DFB_SPEC3(SPEC_ENA=1, SPEC_SRC=0) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[291]: cmd.EFW_DFB_SPEC4(SPEC_ENA=1, SPEC_SRC=0) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[292]: cmd.EFW_DFB_SPEC5(SPEC_ENA=1, SPEC_SRC=0) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[293]: cmd.EFW_DFB_SPEC6(SPEC_ENA=1, SPEC_SRC=0) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[294]: cmd.EFW_DFB_SPEC7(SPEC_ENA=1, SPEC_SRC=0) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[296]: cmd.EFW_DFB_XSPEC1(XSPEC_SRC1=0, XSPEC_SRC2=0, XSPEC_ENA=1, XSPEC_NAVG=3) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[297]: cmd.EFW_DFB_XSPEC2(XSPEC_SRC1=0, XSPEC_SRC2=0, XSPEC_ENA=1) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[298]: cmd.EFW_DFB_XSPEC3(XSPEC_SRC1=0, XSPEC_SRC2=0, XSPEC_ENA=1) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[299]: cmd.EFW_DFB_XSPEC4(XSPEC_SRC1=0, XSPEC_SRC2=0, XSPEC_ENA=1) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[339]: 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 ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_spectratest.py[32]: log("Configuring the switch matrix") ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_spectratest.py[34]: scr.dfb_set_matrix(s, signal=['EF1'], others='gnd') ../../GSEOS_scripts/DFB\dfb_set_matrix.py[46]: """ ../../GSEOS_scripts/DFB\dfb_set_matrix.py[48]: def main(matrix, signal=[], gnd=[], open=[], others=None): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[46]: """ ../../GSEOS_scripts/DFB\dfb_set_matrix.py[48]: def main(matrix, signal=[], gnd=[], open=[], others=None): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[53]: channel_map = {'EF1': {'sig': [211], ../../GSEOS_scripts/DFB\dfb_set_matrix.py[89]: all_channels = channel_map.keys() ../../GSEOS_scripts/DFB\dfb_set_matrix.py[95]: if(others in channel_map['EF1'].keys()): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[96]: sig_gnd_open = signal + gnd + open ../../GSEOS_scripts/DFB\dfb_set_matrix.py[98]: others_list = [] ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: matrix.reset(200) # open everything ../../GSEOS_scripts/DFB\dfb_set_matrix.py[112]: matrix.reset(300) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[113]: for item in signal: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[114]: for chan in channel_map[item]['sig']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[115]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[114]: for chan in channel_map[item]['sig']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[113]: for item in signal: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[116]: for item in gnd: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[119]: for item in open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_spectratest.py[36]: log("configuring signal generator") ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_spectratest.py[37]: idn = my_ds345.get_idn() ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_spectratest.py[38]: log(idn) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_spectratest.py[39]: my_ds345.set_func('sine') ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_spectratest.py[40]: my_ds345.set_ampl(2.5) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_spectratest.py[41]: my_ds345.set_mod_enable(False) # Disable the burst ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_spectratest.py[42]: my_ds345.set_mod_type(0) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_spectratest.py[43]: my_ds345.write('MDWF 2') ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_spectratest.py[44]: my_ds345.write('RATE 0.001') ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_spectratest.py[45]: my_ds345.write('STFR 0.000001') ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_spectratest.py[46]: my_ds345.write('SPFR 8192') ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_spectratest.py[47]: my_ds345.set_mod_enable(True) # Enable the burst Trace collected at: 2010-05-26 16:04:25.515000 ---------------------------------------------------------------------- ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_spectratest.py[16]: gpib_addr = 12 ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_spectratest.py[17]: ip = '192.168.0.4' ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_spectratest.py[18]: tcp_port = 1234 ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_spectratest.py[19]: my_ds345 = ds345.ds345(gpib_addr, ip, tcp_port) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_spectratest.py[22]: gpib_addr = 9 ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_spectratest.py[23]: ip = '192.168.0.4' ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_spectratest.py[24]: tcp_port = 1234 ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_spectratest.py[25]: s = sw_matrix.sw_matrix(gpib_addr, ip, tcp_port) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_spectratest.py[27]: log("----------------------------------------", color=BLUE, attr=BOLD ) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_spectratest.py[28]: log("Running Spectra Test Table 3 DFB ETU1 ", color=BLUE, attr=BOLD ) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_spectratest.py[31]: scr.dfb_pd_play(test='st1', table=18, DFB='ETU1') ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[23]: """ ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[25]: from efw import * ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[26]: from __main__ import * # required for access to APID_nnn telemetry blocks ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[27]: import util ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[28]: import GseosError ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[30]: def burst_collect(table=None, DFB=None): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[171]: def usage(): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[184]: def get_block_by_apid(apid): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[192]: def wait_for_packets(apid, num_packets, timeout=60): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[211]: def spectra_test(apid, discard_packets=4, num_packets=4, timeout=60): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[230]: def main(test=None, table=None, num_packets=4, discard_packets=4, timeout=60, DFB=None): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[23]: """ ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[25]: from efw import * ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[26]: from __main__ import * # required for access to APID_nnn telemetry blocks ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[27]: import util ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[28]: import GseosError ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[30]: def burst_collect(table=None, DFB=None): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[171]: def usage(): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[184]: def get_block_by_apid(apid): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[192]: def wait_for_packets(apid, num_packets, timeout=60): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[211]: def spectra_test(apid, discard_packets=4, num_packets=4, timeout=60): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_play.py[230]: def main(test=None, table=None, num_packets=4, discard_packets=4, timeout=60, DFB=None): ../../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, DFB=DFB) # Configure the DFB ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[28]: """ ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[30]: from efw import * ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[32]: def usage(): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[36]: def main(table=None, DFB=None): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[28]: """ ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[30]: from efw import * ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[32]: def usage(): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[36]: def main(table=None, DFB=None): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[37]: if(not table): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[41]: print >> log, "Setting up DFB for table %d" % table ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[42]: if(DFB): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[43]: print >> log, "Using DFB model %s" % str(DFB) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[45]: if(DFB == "ETU1"): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[46]: print >> log, "Disabling Burst 2." ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[47]: cmd.EFW_DFB_E_B2(E_B2_ENA=0, E_B2_SPD=0x0E) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[48]: cmd.EFW_DFB_V_B2(V_B2_ENA=0, V_B2_SPD=0x0E) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[49]: cmd.EFW_DFB_SCM_B2(SCM_B2_ENA=0, SCM_B2_SPD=0x0E) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[50]: cmd.EFW_DFBCONFIG(APID=0xa) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[51]: cmd.EFW_DFBCONFIG(APID=0xb) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[52]: cmd.EFW_DFBCONFIG(APID=9) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[60]: cmd.EFW_DFB_E_SVY_ENA(E_SVY_SPD=0, E_SVY_ENA=0) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[61]: cmd.EFW_DFB_V_SVY(V_SVY_SPD=0, V_SVY_ENA=0) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[62]: cmd.EFW_DFB_FB(FB_FREQBANDS=0, FB_ENA2=0, FB_ENA1=0, FB_SPD=0, FB_SEL1=0, FB_SEL2=0) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[63]: cmd.EFW_DFBCONFIG(APID=1) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[64]: cmd.EFW_DFBCONFIG(APID=3) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[65]: cmd.EFW_DFBCONFIG(APID=4) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[67]: if(table == 1): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[88]: elif(table == 2): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[102]: elif(table == 3): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[122]: elif(table == 4): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[140]: elif(table == 5): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[152]: elif(table == 6): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[168]: elif(table == 7): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[186]: elif(table == 8): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[198]: elif(table == 9): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[214]: elif(table == 10): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[232]: elif(table == 11): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[244]: elif(table == 12): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[252]: elif(table == 13): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[260]: elif(table == 14): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[266]: elif(table == 15): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[274]: elif(table == 16): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[282]: elif(table == 17): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[288]: elif(table == 18): ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[289]: print >> log, "Table 18. All Spectra and XSpectra Enabled, 112 bins." ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[292]: cmd.EFW_DFB_SPEC1(SPEC_NAVG=3, SPEC_NCAD=3, SPEC_BIN=2, SPEC_ENA=1, SPEC_SRC=0) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[293]: cmd.EFW_DFB_SPEC2(SPEC_ENA=1, SPEC_SRC=0) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[294]: cmd.EFW_DFB_SPEC3(SPEC_ENA=1, SPEC_SRC=0) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[295]: cmd.EFW_DFB_SPEC4(SPEC_ENA=1, SPEC_SRC=0) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[296]: cmd.EFW_DFB_SPEC5(SPEC_ENA=1, SPEC_SRC=0) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[297]: cmd.EFW_DFB_SPEC6(SPEC_ENA=1, SPEC_SRC=0) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[298]: cmd.EFW_DFB_SPEC7(SPEC_ENA=1, SPEC_SRC=0) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[300]: cmd.EFW_DFB_XSPEC1(XSPEC_SRC1=0, XSPEC_SRC2=0, XSPEC_ENA=1, XSPEC_NAVG=3) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[301]: cmd.EFW_DFB_XSPEC2(XSPEC_SRC1=0, XSPEC_SRC2=0, XSPEC_ENA=1) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[302]: cmd.EFW_DFB_XSPEC3(XSPEC_SRC1=0, XSPEC_SRC2=0, XSPEC_ENA=1) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[303]: cmd.EFW_DFB_XSPEC4(XSPEC_SRC1=0, XSPEC_SRC2=0, XSPEC_ENA=1) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_pd_cfg.py[343]: 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 ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_spectratest.py[32]: log("Configuring the switch matrix") ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_spectratest.py[34]: scr.dfb_set_matrix(s, signal=['EF1'], others='gnd') ../../GSEOS_scripts/DFB\dfb_set_matrix.py[46]: """ ../../GSEOS_scripts/DFB\dfb_set_matrix.py[48]: def main(matrix, signal=[], gnd=[], open=[], others=None): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[46]: """ ../../GSEOS_scripts/DFB\dfb_set_matrix.py[48]: def main(matrix, signal=[], gnd=[], open=[], others=None): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[53]: channel_map = {'EF1': {'sig': [211], ../../GSEOS_scripts/DFB\dfb_set_matrix.py[89]: all_channels = channel_map.keys() ../../GSEOS_scripts/DFB\dfb_set_matrix.py[95]: if(others in channel_map['EF1'].keys()): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[96]: sig_gnd_open = signal + gnd + open ../../GSEOS_scripts/DFB\dfb_set_matrix.py[98]: others_list = [] ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: matrix.reset(200) # open everything ../../GSEOS_scripts/DFB\dfb_set_matrix.py[112]: matrix.reset(300) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[113]: for item in signal: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[114]: for chan in channel_map[item]['sig']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[115]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[114]: for chan in channel_map[item]['sig']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[113]: for item in signal: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[116]: for item in gnd: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[119]: for item in open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_spectratest.py[36]: log("configuring signal generator") ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_spectratest.py[37]: idn = my_ds345.get_idn() ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_spectratest.py[38]: log(idn) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_spectratest.py[39]: my_ds345.set_func('sine') ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_spectratest.py[40]: my_ds345.set_ampl(2.5) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_spectratest.py[41]: my_ds345.set_mod_enable(False) # Disable the burst ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_spectratest.py[42]: my_ds345.set_mod_type(0) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_spectratest.py[43]: my_ds345.write('MDWF 2') ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_spectratest.py[44]: my_ds345.write('RATE 0.001') ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_spectratest.py[45]: my_ds345.write('STFR 0.000001') ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_spectratest.py[46]: my_ds345.write('SPFR 8192') ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_spectratest.py[47]: my_ds345.set_mod_enable(True) # Enable the burst