Trace collected at: 2010-12-14 09:54:19.140000 ---------------------------------------------------------------------- ../../GSEOS_scripts/DFB\dfb_functional_test.py[22]: print >> log, "Starting DFB Functional Test" ../../GSEOS_scripts/DFB\dfb_functional_test.py[24]: 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/DFB\dfb_functional_test.py[27]: ds345_gpib_addr = 12 ../../GSEOS_scripts/DFB\dfb_functional_test.py[28]: matrix_gpib_addr = 9 ../../GSEOS_scripts/DFB\dfb_functional_test.py[29]: ip = '192.168.0.5' ../../GSEOS_scripts/DFB\dfb_functional_test.py[30]: tcp_port = 1234 ../../GSEOS_scripts/DFB\dfb_functional_test.py[31]: matrix = sw_matrix.sw_matrix(matrix_gpib_addr, ip, tcp_port) ../../GSEOS_scripts/DFB\dfb_functional_test.py[32]: ds = ds345.ds345(ds345_gpib_addr, ip, tcp_port) ../../GSEOS_scripts/DFB\dfb_functional_test.py[36]: ds.write('rate 0.024') ../../GSEOS_scripts/DFB\dfb_functional_test.py[37]: ds.write('stfr 0') ../../GSEOS_scripts/DFB\dfb_functional_test.py[38]: ds.write('spfr 8000') ../../GSEOS_scripts/DFB\dfb_functional_test.py[39]: ds.set_trig_src('internal_rate') # Trigger on internal ../../GSEOS_scripts/DFB\dfb_functional_test.py[40]: ds.set_ampl(5) # 5 volts pk-pk ../../GSEOS_scripts/DFB\dfb_functional_test.py[41]: ds.set_mod_enable(True) ../../GSEOS_scripts/DFB\dfb_functional_test.py[44]: scr.dfb_set_matrix(matrix, sig1=['EF1','EF3', 'EF5', 'SCMU', 'SCMW', 'MAGU', 'MAGW'], others='gnd') ../../GSEOS_scripts/DFB\dfb_set_matrix.py[48]: """ ../../GSEOS_scripts/DFB\dfb_set_matrix.py[50]: def main(matrix, sig1=[], sig2=[], gnd=[], open=[], others=None): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[144]: class foo: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[144]: class foo: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[146]: def reset(self, n): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[149]: def close(self, n): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[152]: def open(self, n): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[155]: def test(): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[48]: """ ../../GSEOS_scripts/DFB\dfb_set_matrix.py[50]: def main(matrix, sig1=[], sig2=[], gnd=[], open=[], others=None): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[144]: class foo: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[144]: class foo: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[146]: def reset(self, n): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[149]: def close(self, n): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[152]: def open(self, n): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[155]: def test(): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[51]: channel_map = {'EF1': {'sig1': [211], ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: all_channels = channel_map.keys() ../../GSEOS_scripts/DFB\dfb_set_matrix.py[105]: if(others in channel_map['EF1'].keys()): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[106]: sig_gnd_open = sig1 + sig2 + gnd + open ../../GSEOS_scripts/DFB\dfb_set_matrix.py[108]: others_list = [] ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[121]: matrix.reset(200) # open everything ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: matrix.reset(300) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for item in sig1: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[125]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for item in sig1: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[125]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for item in sig1: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[125]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for item in sig1: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[125]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[125]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for item in sig1: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[125]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[125]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for item in sig1: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[125]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[125]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for item in sig1: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[125]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[125]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for item in sig1: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: for item in sig2: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[129]: for item in gnd: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[132]: for item in open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_functional_test.py[45]: scr.dfb_std_config(table=1) ../../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(not table): ../../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[84]: elif(table == 1): ../../GSEOS_scripts/DFB\dfb_std_config.py[85]: print >> log, "Configure DFB for standard mode" ../../GSEOS_scripts/DFB\dfb_std_config.py[86]: print >> log, "Burst 2" ../../GSEOS_scripts/DFB\dfb_std_config.py[87]: print >> log, "VAC and MSC @ 16kS/s, EDC Disabled in SSR Route" ../../GSEOS_scripts/DFB\dfb_std_config.py[88]: cmd.EFW_DFB_E_B2(E_B2_SPD=0x5, E_B2_ENA=0x7) ../../GSEOS_scripts/DFB\dfb_std_config.py[89]: cmd.EFW_DFB_V_B2(V_B2_SPD=0xE, V_B2_ENA=0x3F) ../../GSEOS_scripts/DFB\dfb_std_config.py[90]: cmd.EFW_DFB_SCM_B2(SCM_B2_SPD=0xE, SCM_B2_ENA=0x7) ../../GSEOS_scripts/DFB\dfb_std_config.py[92]: print >> log, "Burst 1" ../../GSEOS_scripts/DFB\dfb_std_config.py[93]: print >> log, "VDC, EDC and MSC @ 512S/s" ../../GSEOS_scripts/DFB\dfb_std_config.py[94]: cmd.EFW_DFB_E_B1(E_B1_SPD=0x9, E_B1_ENA=0x7) ../../GSEOS_scripts/DFB\dfb_std_config.py[95]: cmd.EFW_DFB_V_B1(V_B1_SPD=0x9, V_B1_ENA=0x3F) ../../GSEOS_scripts/DFB\dfb_std_config.py[96]: cmd.EFW_DFB_SCM_B1(SCM_B1_SPD=0x9, SCM_B1_ENA=0x7) ../../GSEOS_scripts/DFB\dfb_std_config.py[98]: print >> log, "Survey" ../../GSEOS_scripts/DFB\dfb_std_config.py[99]: print >> log, "VDC, EDC, Int Waveforms @ 32S/s, MAG @ 64S/s" ../../GSEOS_scripts/DFB\dfb_std_config.py[100]: cmd.EFW_DFB_E_SVY_ENA(E_SVY_SPD=5, E_SVY_ENA=0x7) ../../GSEOS_scripts/DFB\dfb_std_config.py[101]: cmd.EFW_DFB_V_SVY(V_SVY_SPD=5, V_SVY_ENA=0x3F) ../../GSEOS_scripts/DFB\dfb_std_config.py[102]: cmd.EFW_DFB_MAG(MAG_SVY_SPD=6, MAG_SVY_ENA=0x7) ../../GSEOS_scripts/DFB\dfb_std_config.py[103]: cmd.EFW_DFB_SVY_INT(SVY_INT_SPD=5, SVY_INT_ENA=0xFFF) ../../GSEOS_scripts/DFB\dfb_std_config.py[105]: print >> log, "Filter Banks AKA Triggers" ../../GSEOS_scripts/DFB\dfb_std_config.py[106]: print >> log, "E12DC, SCMU at 8S/s 7 Bins" ../../GSEOS_scripts/DFB\dfb_std_config.py[107]: cmd.EFW_DFB_FB(FB_SEL1=0, FB_SEL2=6, FB_ENA1=1, FB_ENA2=1, FB_FREQBANDS=0, FB_SPD=7) ../../GSEOS_scripts/DFB\dfb_std_config.py[109]: print >> log, "Internal Triggers" ../../GSEOS_scripts/DFB\dfb_std_config.py[110]: print >> log, "E12DC, SCMU at 32S/s 13 Bins" ../../GSEOS_scripts/DFB\dfb_std_config.py[111]: cmd.EFW_DFB_FB_INT(FB_SEL3=0, FB_SEL4=6, FB_ENA3=1, FB_ENA4=1, FB_FREQBANDS=1, FB_SPD=9) ../../GSEOS_scripts/DFB\dfb_std_config.py[113]: print >> log, "Spectra" ../../GSEOS_scripts/DFB\dfb_std_config.py[114]: print >> log, "All 7 Spectra Enabled: E12AC, E56AC, SCMU, SCMV, SCMW, V1AC, V2AC" ../../GSEOS_scripts/DFB\dfb_std_config.py[115]: cmd.EFW_DFB_SPEC1(SPEC_SRC=3, SPEC_NCAD=5, SPEC_NAVG=3, SPEC_BIN=1, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[116]: cmd.EFW_DFB_SPEC2(SPEC_SRC=5, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[117]: cmd.EFW_DFB_SPEC3(SPEC_SRC=0x10, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[118]: cmd.EFW_DFB_SPEC4(SPEC_SRC=0x11, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[119]: cmd.EFW_DFB_SPEC5(SPEC_SRC=0x12, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[120]: cmd.EFW_DFB_SPEC6(SPEC_SRC=0xA, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[121]: cmd.EFW_DFB_SPEC7(SPEC_SRC=0xB, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[122]: print >> log, "Cross Spectra" ../../GSEOS_scripts/DFB\dfb_std_config.py[123]: print >> log, "Two Cross Spectra Enabled: SCMW x E12AC, V1AC x V2AC" ../../GSEOS_scripts/DFB\dfb_std_config.py[124]: cmd.EFW_DFB_XSPEC1(XSPEC_SRC1=4, XSPEC_SRC2=0, XSPEC_NAVG=3, XSPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[125]: cmd.EFW_DFB_XSPEC2(XSPEC_SRC1=5, XSPEC_SRC2=6, XSPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[126]: cmd.EFW_DFB_XSPEC3(XSPEC_SRC1=0, XSPEC_SRC2=0, XSPEC_ENA=0) ../../GSEOS_scripts/DFB\dfb_std_config.py[127]: cmd.EFW_DFB_XSPEC4(XSPEC_SRC1=0, XSPEC_SRC2=0, XSPEC_ENA=0) ../../GSEOS_scripts/DFB\dfb_std_config.py[129]: print >> log, "Turn off Sweep & Enable Burst Collection" ../../GSEOS_scripts/DFB\dfb_std_config.py[130]: cmd.EFW_DISARM(4) ../../GSEOS_scripts/DFB\dfb_std_config.py[131]: cmd.EFW_SSR_ENABLE(OPTION=0) ../../GSEOS_scripts/DFB\dfb_std_config.py[132]: cmd.EFW_SSR_ENABLE(OPTION=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[133]: cmd.EFW_SSR_ENABLE(OPTION=2) ../../GSEOS_scripts/DFB\dfb_std_config.py[134]: cmd.EFW_SSR_ENABLE(OPTION=3) ../../GSEOS_scripts/DFB\dfb_std_config.py[136]: print >> log, "Route Packets as per standard configuration" ../../GSEOS_scripts/DFB\dfb_std_config.py[137]: cmd.EFW_SSR_ROUTE(APID=1, SEGMENT=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[138]: cmd.EFW_SSR_ROUTE(APID=3, SEGMENT=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[139]: cmd.EFW_SSR_ROUTE(APID=4, SEGMENT=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[140]: cmd.EFW_SSR_ROUTE(APID=5, SEGMENT=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[141]: cmd.EFW_SSR_ROUTE(APID=6, SEGMENT=2) ../../GSEOS_scripts/DFB\dfb_std_config.py[142]: cmd.EFW_SSR_ROUTE(APID=7, SEGMENT=2) ../../GSEOS_scripts/DFB\dfb_std_config.py[143]: cmd.EFW_SSR_ROUTE(APID=8, SEGMENT=2) ../../GSEOS_scripts/DFB\dfb_std_config.py[144]: cmd.EFW_SSR_ROUTE(APID=9, SEGMENT=0) ../../GSEOS_scripts/DFB\dfb_std_config.py[145]: cmd.EFW_SSR_ROUTE(APID=0xA, SEGMENT=3) ../../GSEOS_scripts/DFB\dfb_std_config.py[146]: cmd.EFW_SSR_ROUTE(APID=0xB, SEGMENT=3) ../../GSEOS_scripts/DFB\dfb_std_config.py[147]: cmd.EFW_SSR_ROUTE(APID=0xE, SEGMENT=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[148]: cmd.EFW_SSR_ROUTE(APID=0xF, SEGMENT=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[150]: 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[602]: print >> log, "Done setting up DFB for table %d" % table ../../GSEOS_scripts/DFB\dfb_functional_test.py[46]: print >> log ('Waiting for 360 Seconds') ../../GSEOS_scripts/DFB\dfb_functional_test.py[50]: scr.dfb_set_matrix(matrix, sig1=['EF1','EF3', 'EF5', 'SCMU', 'SCMW', 'MAGU', 'MAGW'], others='gnd') ../../GSEOS_scripts/DFB\dfb_set_matrix.py[48]: """ ../../GSEOS_scripts/DFB\dfb_set_matrix.py[50]: def main(matrix, sig1=[], sig2=[], gnd=[], open=[], others=None): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[144]: class foo: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[144]: class foo: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[146]: def reset(self, n): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[149]: def close(self, n): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[152]: def open(self, n): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[155]: def test(): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[48]: """ ../../GSEOS_scripts/DFB\dfb_set_matrix.py[50]: def main(matrix, sig1=[], sig2=[], gnd=[], open=[], others=None): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[144]: class foo: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[144]: class foo: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[146]: def reset(self, n): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[149]: def close(self, n): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[152]: def open(self, n): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[155]: def test(): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[51]: channel_map = {'EF1': {'sig1': [211], ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: all_channels = channel_map.keys() ../../GSEOS_scripts/DFB\dfb_set_matrix.py[105]: if(others in channel_map['EF1'].keys()): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[106]: sig_gnd_open = sig1 + sig2 + gnd + open ../../GSEOS_scripts/DFB\dfb_set_matrix.py[108]: others_list = [] ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[121]: matrix.reset(200) # open everything ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: matrix.reset(300) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for item in sig1: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[125]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for item in sig1: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[125]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for item in sig1: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[125]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for item in sig1: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[125]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[125]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for item in sig1: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[125]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[125]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for item in sig1: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[125]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[125]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for item in sig1: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[125]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[125]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for item in sig1: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: for item in sig2: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[129]: for item in gnd: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[132]: for item in open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_functional_test.py[51]: scr.dfb_std_config(table=2) ../../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(not table): ../../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[84]: elif(table == 1): ../../GSEOS_scripts/DFB\dfb_std_config.py[152]: elif(table == 2): ../../GSEOS_scripts/DFB\dfb_std_config.py[153]: print >> log, "Configure DFB for Waveform Faster Configuration" ../../GSEOS_scripts/DFB\dfb_std_config.py[154]: print >> log, "Burst 2 Disabled in SSR Route" ../../GSEOS_scripts/DFB\dfb_std_config.py[155]: cmd.EFW_DFB_E_B2(E_B2_SPD=0x5, E_B2_ENA=0x7) ../../GSEOS_scripts/DFB\dfb_std_config.py[156]: cmd.EFW_DFB_V_B2(V_B2_SPD=0x5, V_B2_ENA=0x3F) ../../GSEOS_scripts/DFB\dfb_std_config.py[157]: cmd.EFW_DFB_SCM_B2(SCM_B2_SPD=0x5, SCM_B2_ENA=0x7) ../../GSEOS_scripts/DFB\dfb_std_config.py[159]: print >> log, "Burst 1" ../../GSEOS_scripts/DFB\dfb_std_config.py[160]: print >> log, "VDC, EDC and MSC @ 4kS/s" ../../GSEOS_scripts/DFB\dfb_std_config.py[161]: cmd.EFW_DFB_E_B1(E_B1_SPD=0xC, E_B1_ENA=0x7) ../../GSEOS_scripts/DFB\dfb_std_config.py[162]: cmd.EFW_DFB_V_B1(V_B1_SPD=0xC, V_B1_ENA=0x3F) ../../GSEOS_scripts/DFB\dfb_std_config.py[163]: cmd.EFW_DFB_SCM_B1(SCM_B1_SPD=0xC, SCM_B1_ENA=0x7) ../../GSEOS_scripts/DFB\dfb_std_config.py[165]: print >> log, "Survey" ../../GSEOS_scripts/DFB\dfb_std_config.py[166]: print >> log, "VDC, EDC @ 64S/s, Int Waveforms @ 32S/s, MAG Disabled in SSR Route" ../../GSEOS_scripts/DFB\dfb_std_config.py[167]: cmd.EFW_DFB_E_SVY_ENA(E_SVY_SPD=6, E_SVY_ENA=0x7) ../../GSEOS_scripts/DFB\dfb_std_config.py[168]: cmd.EFW_DFB_V_SVY(V_SVY_SPD=6, V_SVY_ENA=0x3F) ../../GSEOS_scripts/DFB\dfb_std_config.py[169]: cmd.EFW_DFB_MAG(MAG_SVY_SPD=5, MAG_SVY_ENA=0x7) ../../GSEOS_scripts/DFB\dfb_std_config.py[170]: cmd.EFW_DFB_SVY_INT(SVY_INT_SPD=5, SVY_INT_ENA=0xFFF) ../../GSEOS_scripts/DFB\dfb_std_config.py[172]: print >> log, "Filter Banks AKA Triggers" ../../GSEOS_scripts/DFB\dfb_std_config.py[173]: print >> log, "E12DC, SCMU at 8S/s 7 Bins" ../../GSEOS_scripts/DFB\dfb_std_config.py[174]: cmd.EFW_DFB_FB(FB_SEL1=0, FB_SEL2=6, FB_ENA1=1, FB_ENA2=1, FB_FREQBANDS=0, FB_SPD=7) ../../GSEOS_scripts/DFB\dfb_std_config.py[176]: print >> log, "Internal Triggers" ../../GSEOS_scripts/DFB\dfb_std_config.py[177]: print >> log, "E12DC, SCMU at 32S/s 13 Bins" ../../GSEOS_scripts/DFB\dfb_std_config.py[178]: cmd.EFW_DFB_FB_INT(FB_SEL3=0, FB_SEL4=6, FB_ENA3=1, FB_ENA4=1, FB_FREQBANDS=1, FB_SPD=9) ../../GSEOS_scripts/DFB\dfb_std_config.py[180]: print >> log, "Spectra" ../../GSEOS_scripts/DFB\dfb_std_config.py[181]: print >> log, "All 7 Spectra Enabled: E12AC, E56AC, SCMU, SCMV, SCMW, V1AC, V2AC" ../../GSEOS_scripts/DFB\dfb_std_config.py[182]: cmd.EFW_DFB_SPEC1(SPEC_SRC=3, SPEC_NCAD=5, SPEC_NAVG=3, SPEC_BIN=1, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[183]: cmd.EFW_DFB_SPEC2(SPEC_SRC=5, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[184]: cmd.EFW_DFB_SPEC3(SPEC_SRC=0x10, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[185]: cmd.EFW_DFB_SPEC4(SPEC_SRC=0x11, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[186]: cmd.EFW_DFB_SPEC5(SPEC_SRC=0x12, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[187]: cmd.EFW_DFB_SPEC6(SPEC_SRC=0xA, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[188]: cmd.EFW_DFB_SPEC7(SPEC_SRC=0xB, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[189]: print >> log, "Cross Spectra" ../../GSEOS_scripts/DFB\dfb_std_config.py[190]: print >> log, "Two Cross Spectra Enabled: SCMW x E12AC, V1AC x V2AC" ../../GSEOS_scripts/DFB\dfb_std_config.py[191]: cmd.EFW_DFB_XSPEC1(XSPEC_SRC1=4, XSPEC_SRC2=0, XSPEC_NAVG=3, XSPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[192]: cmd.EFW_DFB_XSPEC2(XSPEC_SRC1=5, XSPEC_SRC2=6, XSPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[193]: cmd.EFW_DFB_XSPEC3(XSPEC_SRC1=0, XSPEC_SRC2=0, XSPEC_ENA=0) ../../GSEOS_scripts/DFB\dfb_std_config.py[194]: cmd.EFW_DFB_XSPEC4(XSPEC_SRC1=0, XSPEC_SRC2=0, XSPEC_ENA=0) ../../GSEOS_scripts/DFB\dfb_std_config.py[196]: print >> log, "Turn off Sweep & Enable Burst Collection" ../../GSEOS_scripts/DFB\dfb_std_config.py[197]: cmd.EFW_DISARM(4) ../../GSEOS_scripts/DFB\dfb_std_config.py[198]: cmd.EFW_SSR_ENABLE(OPTION=0) ../../GSEOS_scripts/DFB\dfb_std_config.py[199]: cmd.EFW_SSR_ENABLE(OPTION=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[200]: cmd.EFW_SSR_ENABLE(OPTION=2) ../../GSEOS_scripts/DFB\dfb_std_config.py[201]: cmd.EFW_SSR_ENABLE(OPTION=3) ../../GSEOS_scripts/DFB\dfb_std_config.py[203]: print >> log, "Route Packets as per standard configuration" ../../GSEOS_scripts/DFB\dfb_std_config.py[204]: cmd.EFW_SSR_ROUTE(APID=1, SEGMENT=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[205]: cmd.EFW_SSR_ROUTE(APID=3, SEGMENT=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[206]: cmd.EFW_SSR_ROUTE(APID=4, SEGMENT=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[207]: cmd.EFW_SSR_ROUTE(APID=5, SEGMENT=0) ../../GSEOS_scripts/DFB\dfb_std_config.py[208]: cmd.EFW_SSR_ROUTE(APID=6, SEGMENT=2) ../../GSEOS_scripts/DFB\dfb_std_config.py[209]: cmd.EFW_SSR_ROUTE(APID=7, SEGMENT=2) ../../GSEOS_scripts/DFB\dfb_std_config.py[210]: cmd.EFW_SSR_ROUTE(APID=8, SEGMENT=2) ../../GSEOS_scripts/DFB\dfb_std_config.py[211]: cmd.EFW_SSR_ROUTE(APID=9, SEGMENT=0) ../../GSEOS_scripts/DFB\dfb_std_config.py[212]: cmd.EFW_SSR_ROUTE(APID=0xA, SEGMENT=0) ../../GSEOS_scripts/DFB\dfb_std_config.py[213]: cmd.EFW_SSR_ROUTE(APID=0xB, SEGMENT=0) ../../GSEOS_scripts/DFB\dfb_std_config.py[214]: cmd.EFW_SSR_ROUTE(APID=0xE, SEGMENT=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[215]: cmd.EFW_SSR_ROUTE(APID=0xF, SEGMENT=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[217]: 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[602]: print >> log, "Done setting up DFB for table %d" % table ../../GSEOS_scripts/DFB\dfb_functional_test.py[52]: print >> log ('Waiting for 360 Seconds') ../../GSEOS_scripts/DFB\dfb_functional_test.py[56]: scr.dfb_set_matrix(matrix, sig1=['EF1','EF3', 'EF5', 'SCMU', 'SCMW', 'MAGU', 'MAGW'], others='gnd') ../../GSEOS_scripts/DFB\dfb_set_matrix.py[48]: """ ../../GSEOS_scripts/DFB\dfb_set_matrix.py[50]: def main(matrix, sig1=[], sig2=[], gnd=[], open=[], others=None): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[144]: class foo: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[144]: class foo: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[146]: def reset(self, n): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[149]: def close(self, n): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[152]: def open(self, n): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[155]: def test(): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[48]: """ ../../GSEOS_scripts/DFB\dfb_set_matrix.py[50]: def main(matrix, sig1=[], sig2=[], gnd=[], open=[], others=None): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[144]: class foo: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[144]: class foo: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[146]: def reset(self, n): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[149]: def close(self, n): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[152]: def open(self, n): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[155]: def test(): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[51]: channel_map = {'EF1': {'sig1': [211], ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: all_channels = channel_map.keys() ../../GSEOS_scripts/DFB\dfb_set_matrix.py[105]: if(others in channel_map['EF1'].keys()): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[106]: sig_gnd_open = sig1 + sig2 + gnd + open ../../GSEOS_scripts/DFB\dfb_set_matrix.py[108]: others_list = [] ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[121]: matrix.reset(200) # open everything ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: matrix.reset(300) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for item in sig1: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[125]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for item in sig1: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[125]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for item in sig1: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[125]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for item in sig1: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[125]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[125]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for item in sig1: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[125]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[125]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for item in sig1: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[125]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[125]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for item in sig1: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[125]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[125]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for item in sig1: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: for item in sig2: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[129]: for item in gnd: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[132]: for item in open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_functional_test.py[57]: scr.dfb_std_config(table=3) ../../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(not table): ../../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[84]: elif(table == 1): ../../GSEOS_scripts/DFB\dfb_std_config.py[152]: elif(table == 2): ../../GSEOS_scripts/DFB\dfb_std_config.py[219]: elif(table == 3): ../../GSEOS_scripts/DFB\dfb_std_config.py[220]: print >> log, "Configure DFB for Waveform Slower Configuration" ../../GSEOS_scripts/DFB\dfb_std_config.py[221]: print >> log, "Burst 2" ../../GSEOS_scripts/DFB\dfb_std_config.py[222]: print >> log, "VAC and MSC @ 16kS/s, EDC is Disable in SSR Route" ../../GSEOS_scripts/DFB\dfb_std_config.py[223]: cmd.EFW_DFB_E_B2(E_B2_SPD=0x5, E_B2_ENA=0x7) ../../GSEOS_scripts/DFB\dfb_std_config.py[224]: cmd.EFW_DFB_V_B2(V_B2_SPD=0xE, V_B2_ENA=0x3F) ../../GSEOS_scripts/DFB\dfb_std_config.py[225]: cmd.EFW_DFB_SCM_B2(SCM_B2_SPD=0xE, SCM_B2_ENA=0x7) ../../GSEOS_scripts/DFB\dfb_std_config.py[227]: print >> log, "Burst 1" ../../GSEOS_scripts/DFB\dfb_std_config.py[228]: print >> log, "VDC, EDC and MSC @ 256S/s" ../../GSEOS_scripts/DFB\dfb_std_config.py[229]: cmd.EFW_DFB_E_B1(E_B1_SPD=0x8, E_B1_ENA=0x7) ../../GSEOS_scripts/DFB\dfb_std_config.py[230]: cmd.EFW_DFB_V_B1(V_B1_SPD=0x8, V_B1_ENA=0x3F) ../../GSEOS_scripts/DFB\dfb_std_config.py[231]: cmd.EFW_DFB_SCM_B1(SCM_B1_SPD=0x8, SCM_B1_ENA=0x7) ../../GSEOS_scripts/DFB\dfb_std_config.py[233]: print >> log, "Survey" ../../GSEOS_scripts/DFB\dfb_std_config.py[234]: print >> log, "VDC, EDC @ 16S/s, Int Waveforms @ 32S/s, MAG Disabled in SSR Route" ../../GSEOS_scripts/DFB\dfb_std_config.py[235]: cmd.EFW_DFB_E_SVY_ENA(E_SVY_SPD=4, E_SVY_ENA=0x7) ../../GSEOS_scripts/DFB\dfb_std_config.py[236]: cmd.EFW_DFB_V_SVY(V_SVY_SPD=4, V_SVY_ENA=0x3F) ../../GSEOS_scripts/DFB\dfb_std_config.py[237]: cmd.EFW_DFB_MAG(MAG_SVY_SPD=1, MAG_SVY_ENA=0x7) ../../GSEOS_scripts/DFB\dfb_std_config.py[238]: cmd.EFW_DFB_SVY_INT(SVY_INT_SPD=5, SVY_INT_ENA=0xFFF) ../../GSEOS_scripts/DFB\dfb_std_config.py[240]: print >> log, "Filter Banks AKA Triggers" ../../GSEOS_scripts/DFB\dfb_std_config.py[241]: print >> log, "E12DC, SCMU at 8S/s 7 Bins" ../../GSEOS_scripts/DFB\dfb_std_config.py[242]: cmd.EFW_DFB_FB(FB_SEL1=0, FB_SEL2=6, FB_ENA1=1, FB_ENA2=1, FB_FREQBANDS=0, FB_SPD=7) ../../GSEOS_scripts/DFB\dfb_std_config.py[244]: print >> log, "Internal Triggers" ../../GSEOS_scripts/DFB\dfb_std_config.py[245]: print >> log, "E12DC, SCMU at 32S/s 13 Bins" ../../GSEOS_scripts/DFB\dfb_std_config.py[246]: cmd.EFW_DFB_FB_INT(FB_SEL3=0, FB_SEL4=6, FB_ENA3=1, FB_ENA4=1, FB_FREQBANDS=1, FB_SPD=9) ../../GSEOS_scripts/DFB\dfb_std_config.py[248]: print >> log, "Spectra" ../../GSEOS_scripts/DFB\dfb_std_config.py[249]: print >> log, "All 7 Spectra Enabled: E12AC, E56AC, SCMU, SCMV, SCMW, V1AC, V2AC" ../../GSEOS_scripts/DFB\dfb_std_config.py[250]: cmd.EFW_DFB_SPEC1(SPEC_SRC=3, SPEC_NCAD=5, SPEC_NAVG=3, SPEC_BIN=1, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[251]: cmd.EFW_DFB_SPEC2(SPEC_SRC=5, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[252]: cmd.EFW_DFB_SPEC3(SPEC_SRC=0x10, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[253]: cmd.EFW_DFB_SPEC4(SPEC_SRC=0x11, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[254]: cmd.EFW_DFB_SPEC5(SPEC_SRC=0x12, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[255]: cmd.EFW_DFB_SPEC6(SPEC_SRC=0xA, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[256]: cmd.EFW_DFB_SPEC7(SPEC_SRC=0xB, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[257]: print >> log, "Cross Spectra" ../../GSEOS_scripts/DFB\dfb_std_config.py[258]: print >> log, "Two Cross Spectra Enabled: SCMW x E12AC, V1AC x V2AC" ../../GSEOS_scripts/DFB\dfb_std_config.py[259]: cmd.EFW_DFB_XSPEC1(XSPEC_SRC1=4, XSPEC_SRC2=0, XSPEC_NAVG=3, XSPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[260]: cmd.EFW_DFB_XSPEC2(XSPEC_SRC1=5, XSPEC_SRC2=6, XSPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[261]: cmd.EFW_DFB_XSPEC3(XSPEC_SRC1=0, XSPEC_SRC2=0, XSPEC_ENA=0) ../../GSEOS_scripts/DFB\dfb_std_config.py[262]: cmd.EFW_DFB_XSPEC4(XSPEC_SRC1=0, XSPEC_SRC2=0, XSPEC_ENA=0) ../../GSEOS_scripts/DFB\dfb_std_config.py[264]: print >> log, "Turn off Sweep & Enable Burst Collection" ../../GSEOS_scripts/DFB\dfb_std_config.py[265]: cmd.EFW_DISARM(4) ../../GSEOS_scripts/DFB\dfb_std_config.py[266]: cmd.EFW_SSR_ENABLE(OPTION=0) ../../GSEOS_scripts/DFB\dfb_std_config.py[267]: cmd.EFW_SSR_ENABLE(OPTION=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[268]: cmd.EFW_SSR_ENABLE(OPTION=2) ../../GSEOS_scripts/DFB\dfb_std_config.py[269]: cmd.EFW_SSR_ENABLE(OPTION=3) ../../GSEOS_scripts/DFB\dfb_std_config.py[271]: print >> log, "Route Packets as per standard configuration" ../../GSEOS_scripts/DFB\dfb_std_config.py[272]: cmd.EFW_SSR_ROUTE(APID=1, SEGMENT=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[273]: cmd.EFW_SSR_ROUTE(APID=3, SEGMENT=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[274]: cmd.EFW_SSR_ROUTE(APID=4, SEGMENT=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[275]: cmd.EFW_SSR_ROUTE(APID=5, SEGMENT=0) ../../GSEOS_scripts/DFB\dfb_std_config.py[276]: cmd.EFW_SSR_ROUTE(APID=6, SEGMENT=2) ../../GSEOS_scripts/DFB\dfb_std_config.py[277]: cmd.EFW_SSR_ROUTE(APID=7, SEGMENT=2) ../../GSEOS_scripts/DFB\dfb_std_config.py[278]: cmd.EFW_SSR_ROUTE(APID=8, SEGMENT=2) ../../GSEOS_scripts/DFB\dfb_std_config.py[279]: cmd.EFW_SSR_ROUTE(APID=9, SEGMENT=0) ../../GSEOS_scripts/DFB\dfb_std_config.py[280]: cmd.EFW_SSR_ROUTE(APID=0xA, SEGMENT=3) ../../GSEOS_scripts/DFB\dfb_std_config.py[281]: cmd.EFW_SSR_ROUTE(APID=0xB, SEGMENT=3) ../../GSEOS_scripts/DFB\dfb_std_config.py[282]: cmd.EFW_SSR_ROUTE(APID=0xE, SEGMENT=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[283]: cmd.EFW_SSR_ROUTE(APID=0xF, SEGMENT=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[285]: 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[602]: print >> log, "Done setting up DFB for table %d" % table ../../GSEOS_scripts/DFB\dfb_functional_test.py[58]: print >> log ('Waiting for 360 Seconds') ../../GSEOS_scripts/DFB\dfb_functional_test.py[62]: scr.dfb_set_matrix(matrix, sig1=['EF1','EF3', 'EF5', 'SCMU', 'SCMW', 'MAGU', 'MAGW'], others='gnd') ../../GSEOS_scripts/DFB\dfb_set_matrix.py[48]: """ ../../GSEOS_scripts/DFB\dfb_set_matrix.py[50]: def main(matrix, sig1=[], sig2=[], gnd=[], open=[], others=None): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[144]: class foo: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[144]: class foo: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[146]: def reset(self, n): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[149]: def close(self, n): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[152]: def open(self, n): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[155]: def test(): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[48]: """ ../../GSEOS_scripts/DFB\dfb_set_matrix.py[50]: def main(matrix, sig1=[], sig2=[], gnd=[], open=[], others=None): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[144]: class foo: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[144]: class foo: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[146]: def reset(self, n): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[149]: def close(self, n): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[152]: def open(self, n): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[155]: def test(): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[51]: channel_map = {'EF1': {'sig1': [211], ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: all_channels = channel_map.keys() ../../GSEOS_scripts/DFB\dfb_set_matrix.py[105]: if(others in channel_map['EF1'].keys()): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[106]: sig_gnd_open = sig1 + sig2 + gnd + open ../../GSEOS_scripts/DFB\dfb_set_matrix.py[108]: others_list = [] ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[121]: matrix.reset(200) # open everything ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: matrix.reset(300) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for item in sig1: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[125]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for item in sig1: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[125]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for item in sig1: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[125]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for item in sig1: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[125]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[125]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for item in sig1: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[125]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[125]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for item in sig1: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[125]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[125]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for item in sig1: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[125]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[125]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for item in sig1: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: for item in sig2: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[129]: for item in gnd: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[132]: for item in open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_functional_test.py[63]: scr.dfb_std_config(table=4) ../../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(not table): ../../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[84]: elif(table == 1): ../../GSEOS_scripts/DFB\dfb_std_config.py[152]: elif(table == 2): ../../GSEOS_scripts/DFB\dfb_std_config.py[219]: elif(table == 3): ../../GSEOS_scripts/DFB\dfb_std_config.py[287]: elif(table == 4): ../../GSEOS_scripts/DFB\dfb_std_config.py[288]: print >> log, "Configure DFB for Waveform V1-V6, MSC + E Configuration" ../../GSEOS_scripts/DFB\dfb_std_config.py[289]: print >> log, "Burst 2" ../../GSEOS_scripts/DFB\dfb_std_config.py[290]: print >> log, "VAC, EDC and MSC @ 16kS/s" ../../GSEOS_scripts/DFB\dfb_std_config.py[291]: cmd.EFW_DFB_E_B2(E_B2_SPD=0xE, E_B2_ENA=0x7) ../../GSEOS_scripts/DFB\dfb_std_config.py[292]: cmd.EFW_DFB_V_B2(V_B2_SPD=0xE, V_B2_ENA=0x3F) ../../GSEOS_scripts/DFB\dfb_std_config.py[293]: cmd.EFW_DFB_SCM_B2(SCM_B2_SPD=0xE, SCM_B2_ENA=0x7) ../../GSEOS_scripts/DFB\dfb_std_config.py[295]: print >> log, "Burst 1" ../../GSEOS_scripts/DFB\dfb_std_config.py[296]: print >> log, "VDC @ 16kS/s, MSC and EDC Disabled in SSR Route" ../../GSEOS_scripts/DFB\dfb_std_config.py[297]: cmd.EFW_DFB_E_B1(E_B1_SPD=0x5, E_B1_ENA=0x7) ../../GSEOS_scripts/DFB\dfb_std_config.py[298]: cmd.EFW_DFB_V_B1(V_B1_SPD=0xE, V_B1_ENA=0x3F) ../../GSEOS_scripts/DFB\dfb_std_config.py[299]: cmd.EFW_DFB_SCM_B1(SCM_B1_SPD=0x5, SCM_B1_ENA=0x7) ../../GSEOS_scripts/DFB\dfb_std_config.py[301]: print >> log, "Survey" ../../GSEOS_scripts/DFB\dfb_std_config.py[302]: print >> log, "VDC, EDC and MAG @ 128S/s, Int Waveforms @ 32S/s" ../../GSEOS_scripts/DFB\dfb_std_config.py[303]: cmd.EFW_DFB_E_SVY_ENA(E_SVY_SPD=7, E_SVY_ENA=0x7) ../../GSEOS_scripts/DFB\dfb_std_config.py[304]: cmd.EFW_DFB_V_SVY(V_SVY_SPD=7, V_SVY_ENA=0x3F) ../../GSEOS_scripts/DFB\dfb_std_config.py[305]: cmd.EFW_DFB_MAG(MAG_SVY_SPD=7, MAG_SVY_ENA=0x7) ../../GSEOS_scripts/DFB\dfb_std_config.py[306]: cmd.EFW_DFB_SVY_INT(SVY_INT_SPD=5, SVY_INT_ENA=0xFFF) ../../GSEOS_scripts/DFB\dfb_std_config.py[308]: print >> log, "Filter Banks AKA Triggers" ../../GSEOS_scripts/DFB\dfb_std_config.py[309]: print >> log, "E12DC, SCMU at 8S/s 7 Bins" ../../GSEOS_scripts/DFB\dfb_std_config.py[310]: cmd.EFW_DFB_FB(FB_SEL1=0, FB_SEL2=6, FB_ENA1=1, FB_ENA2=1, FB_FREQBANDS=0, FB_SPD=7) ../../GSEOS_scripts/DFB\dfb_std_config.py[312]: print >> log, "Internal Triggers" ../../GSEOS_scripts/DFB\dfb_std_config.py[313]: print >> log, "E12DC, SCMU at 32S/s 13 Bins" ../../GSEOS_scripts/DFB\dfb_std_config.py[314]: cmd.EFW_DFB_FB_INT(FB_SEL3=0, FB_SEL4=6, FB_ENA3=1, FB_ENA4=1, FB_FREQBANDS=1, FB_SPD=9) ../../GSEOS_scripts/DFB\dfb_std_config.py[316]: print >> log, "Spectra" ../../GSEOS_scripts/DFB\dfb_std_config.py[317]: print >> log, "All 7 Spectra Enabled: E12AC, E56AC, SCMU, SCMV, SCMW, V1AC, V2AC" ../../GSEOS_scripts/DFB\dfb_std_config.py[318]: cmd.EFW_DFB_SPEC1(SPEC_SRC=3, SPEC_NCAD=5, SPEC_NAVG=3, SPEC_BIN=1, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[319]: cmd.EFW_DFB_SPEC2(SPEC_SRC=5, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[320]: cmd.EFW_DFB_SPEC3(SPEC_SRC=0x10, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[321]: cmd.EFW_DFB_SPEC4(SPEC_SRC=0x11, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[322]: cmd.EFW_DFB_SPEC5(SPEC_SRC=0x12, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[323]: cmd.EFW_DFB_SPEC6(SPEC_SRC=0xA, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[324]: cmd.EFW_DFB_SPEC7(SPEC_SRC=0xB, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[325]: print >> log, "Cross Spectra" ../../GSEOS_scripts/DFB\dfb_std_config.py[326]: print >> log, "Two Cross Spectra Enabled: SCMW x E12AC, V1AC x V2AC" ../../GSEOS_scripts/DFB\dfb_std_config.py[327]: cmd.EFW_DFB_XSPEC1(XSPEC_SRC1=4, XSPEC_SRC2=0, XSPEC_NAVG=3, XSPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[328]: cmd.EFW_DFB_XSPEC2(XSPEC_SRC1=5, XSPEC_SRC2=6, XSPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[329]: cmd.EFW_DFB_XSPEC3(XSPEC_SRC1=0, XSPEC_SRC2=0, XSPEC_ENA=0) ../../GSEOS_scripts/DFB\dfb_std_config.py[330]: cmd.EFW_DFB_XSPEC4(XSPEC_SRC1=0, XSPEC_SRC2=0, XSPEC_ENA=0) ../../GSEOS_scripts/DFB\dfb_std_config.py[332]: print >> log, "Turn off Sweep & Enable Burst Collection" ../../GSEOS_scripts/DFB\dfb_std_config.py[333]: cmd.EFW_DISARM(4) ../../GSEOS_scripts/DFB\dfb_std_config.py[334]: cmd.EFW_SSR_ENABLE(OPTION=0) ../../GSEOS_scripts/DFB\dfb_std_config.py[335]: cmd.EFW_SSR_ENABLE(OPTION=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[336]: cmd.EFW_SSR_ENABLE(OPTION=2) ../../GSEOS_scripts/DFB\dfb_std_config.py[337]: cmd.EFW_SSR_ENABLE(OPTION=3) ../../GSEOS_scripts/DFB\dfb_std_config.py[339]: print >> log, "Route Packets as per standard configuration" ../../GSEOS_scripts/DFB\dfb_std_config.py[340]: cmd.EFW_SSR_ROUTE(APID=1, SEGMENT=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[341]: cmd.EFW_SSR_ROUTE(APID=3, SEGMENT=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[342]: cmd.EFW_SSR_ROUTE(APID=4, SEGMENT=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[343]: cmd.EFW_SSR_ROUTE(APID=5, SEGMENT=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[344]: cmd.EFW_SSR_ROUTE(APID=6, SEGMENT=0) ../../GSEOS_scripts/DFB\dfb_std_config.py[345]: cmd.EFW_SSR_ROUTE(APID=7, SEGMENT=2) ../../GSEOS_scripts/DFB\dfb_std_config.py[346]: cmd.EFW_SSR_ROUTE(APID=8, SEGMENT=0) ../../GSEOS_scripts/DFB\dfb_std_config.py[347]: cmd.EFW_SSR_ROUTE(APID=9, SEGMENT=3) ../../GSEOS_scripts/DFB\dfb_std_config.py[348]: cmd.EFW_SSR_ROUTE(APID=0xA, SEGMENT=3) ../../GSEOS_scripts/DFB\dfb_std_config.py[349]: cmd.EFW_SSR_ROUTE(APID=0xB, SEGMENT=3) ../../GSEOS_scripts/DFB\dfb_std_config.py[350]: cmd.EFW_SSR_ROUTE(APID=0xE, SEGMENT=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[351]: cmd.EFW_SSR_ROUTE(APID=0xF, SEGMENT=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[353]: 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[602]: print >> log, "Done setting up DFB for table %d" % table ../../GSEOS_scripts/DFB\dfb_functional_test.py[64]: print >> log ('Waiting for 360 Seconds') ../../GSEOS_scripts/DFB\dfb_functional_test.py[74]: scr.dfb_set_matrix(matrix, sig1=['EF1'], others='gnd') ../../GSEOS_scripts/DFB\dfb_set_matrix.py[48]: """ ../../GSEOS_scripts/DFB\dfb_set_matrix.py[50]: def main(matrix, sig1=[], sig2=[], gnd=[], open=[], others=None): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[144]: class foo: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[144]: class foo: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[146]: def reset(self, n): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[149]: def close(self, n): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[152]: def open(self, n): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[155]: def test(): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[48]: """ ../../GSEOS_scripts/DFB\dfb_set_matrix.py[50]: def main(matrix, sig1=[], sig2=[], gnd=[], open=[], others=None): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[144]: class foo: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[144]: class foo: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[146]: def reset(self, n): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[149]: def close(self, n): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[152]: def open(self, n): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[155]: def test(): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[51]: channel_map = {'EF1': {'sig1': [211], ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: all_channels = channel_map.keys() ../../GSEOS_scripts/DFB\dfb_set_matrix.py[105]: if(others in channel_map['EF1'].keys()): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[106]: sig_gnd_open = sig1 + sig2 + gnd + open ../../GSEOS_scripts/DFB\dfb_set_matrix.py[108]: others_list = [] ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[121]: matrix.reset(200) # open everything ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: matrix.reset(300) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for item in sig1: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[125]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for item in sig1: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: for item in sig2: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[129]: for item in gnd: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[132]: for item in open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_functional_test.py[75]: ds.set_freq(1/12) # 1/12Hz. ../../GSEOS_scripts/DFB\dfb_functional_test.py[76]: ds.set_ampl(5) # 5Vpp. ../../GSEOS_scripts/DFB\dfb_functional_test.py[77]: ds.set_phase(0) # 0 Degrees Phase. ../../GSEOS_scripts/DFB\dfb_functional_test.py[79]: print >> log ('Waiting for 96 Seconds') ../../GSEOS_scripts/DFB\dfb_functional_test.py[81]: ds.set_phase(90) # 90 Degrees Phase. ../../GSEOS_scripts/DFB\dfb_functional_test.py[82]: print >> log ('Waiting for 96 Seconds') ../../GSEOS_scripts/DFB\dfb_functional_test.py[84]: ds.set_phase(180) # 180 Degrees Phase. ../../GSEOS_scripts/DFB\dfb_functional_test.py[85]: print >> log ('Waiting for 96 Seconds') ../../GSEOS_scripts/DFB\dfb_functional_test.py[87]: ds.set_phase(270) # 270 Degrees Phase. ../../GSEOS_scripts/DFB\dfb_functional_test.py[88]: print >> log ('Waiting for 96 Seconds') ../../GSEOS_scripts/DFB\dfb_functional_test.py[92]: cmd.EFW_FITMODE(ENABLE=1, BFIELD=1, EFIELD=0) ../../GSEOS_scripts/DFB\dfb_functional_test.py[93]: scr.dfb_set_matrix(matrix, sig1=['MAGU'], others='gnd') ../../GSEOS_scripts/DFB\dfb_set_matrix.py[48]: """ ../../GSEOS_scripts/DFB\dfb_set_matrix.py[50]: def main(matrix, sig1=[], sig2=[], gnd=[], open=[], others=None): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[144]: class foo: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[144]: class foo: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[146]: def reset(self, n): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[149]: def close(self, n): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[152]: def open(self, n): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[155]: def test(): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[48]: """ ../../GSEOS_scripts/DFB\dfb_set_matrix.py[50]: def main(matrix, sig1=[], sig2=[], gnd=[], open=[], others=None): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[144]: class foo: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[144]: class foo: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[146]: def reset(self, n): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[149]: def close(self, n): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[152]: def open(self, n): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[155]: def test(): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[51]: channel_map = {'EF1': {'sig1': [211], ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: all_channels = channel_map.keys() ../../GSEOS_scripts/DFB\dfb_set_matrix.py[105]: if(others in channel_map['EF1'].keys()): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[106]: sig_gnd_open = sig1 + sig2 + gnd + open ../../GSEOS_scripts/DFB\dfb_set_matrix.py[108]: others_list = [] ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[121]: matrix.reset(200) # open everything ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: matrix.reset(300) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for item in sig1: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[125]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[125]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for item in sig1: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: for item in sig2: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[129]: for item in gnd: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[132]: for item in open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_functional_test.py[94]: ds.set_phase(0) # 0 Degrees Phase. ../../GSEOS_scripts/DFB\dfb_functional_test.py[95]: print >> log ('Waiting for 96 Seconds') ../../GSEOS_scripts/DFB\dfb_functional_test.py[97]: ds.set_phase(90) # 90 Degrees Phase. ../../GSEOS_scripts/DFB\dfb_functional_test.py[98]: print >> log ('Waiting for 96 Seconds') ../../GSEOS_scripts/DFB\dfb_functional_test.py[100]: ds.set_phase(180) # 180 Degrees Phase. ../../GSEOS_scripts/DFB\dfb_functional_test.py[101]: print >> log ('Waiting for 96 Seconds') ../../GSEOS_scripts/DFB\dfb_functional_test.py[103]: ds.set_phase(270) # 270 Degrees Phase. ../../GSEOS_scripts/DFB\dfb_functional_test.py[104]: print >> log ('Waiting for 96 Seconds') ../../GSEOS_scripts/DFB\dfb_functional_test.py[108]: cmd.EFW_FITMODE(ENABLE=1, BFIELD=1, EFIELD=1) ../../GSEOS_scripts/DFB\dfb_functional_test.py[109]: scr.dfb_set_matrix(matrix, sig1=['MAGU', 'EF1'], others='gnd') ../../GSEOS_scripts/DFB\dfb_set_matrix.py[48]: """ ../../GSEOS_scripts/DFB\dfb_set_matrix.py[50]: def main(matrix, sig1=[], sig2=[], gnd=[], open=[], others=None): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[144]: class foo: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[144]: class foo: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[146]: def reset(self, n): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[149]: def close(self, n): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[152]: def open(self, n): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[155]: def test(): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[48]: """ ../../GSEOS_scripts/DFB\dfb_set_matrix.py[50]: def main(matrix, sig1=[], sig2=[], gnd=[], open=[], others=None): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[144]: class foo: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[144]: class foo: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[146]: def reset(self, n): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[149]: def close(self, n): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[152]: def open(self, n): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[155]: def test(): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[51]: channel_map = {'EF1': {'sig1': [211], ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: all_channels = channel_map.keys() ../../GSEOS_scripts/DFB\dfb_set_matrix.py[105]: if(others in channel_map['EF1'].keys()): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[106]: sig_gnd_open = sig1 + sig2 + gnd + open ../../GSEOS_scripts/DFB\dfb_set_matrix.py[108]: others_list = [] ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[121]: matrix.reset(200) # open everything ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: matrix.reset(300) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for item in sig1: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[125]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[125]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for item in sig1: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[125]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for item in sig1: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: for item in sig2: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[129]: for item in gnd: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[132]: for item in open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_functional_test.py[110]: ds.set_phase(0) # 0 Degrees Phase. ../../GSEOS_scripts/DFB\dfb_functional_test.py[111]: print >> log ('Waiting for 96 Seconds') ../../GSEOS_scripts/DFB\dfb_functional_test.py[113]: ds.set_phase(90) # 90 Degrees Phase. ../../GSEOS_scripts/DFB\dfb_functional_test.py[114]: print >> log ('Waiting for 96 Seconds') ../../GSEOS_scripts/DFB\dfb_functional_test.py[116]: ds.set_phase(180) # 180 Degrees Phase. ../../GSEOS_scripts/DFB\dfb_functional_test.py[117]: print >> log ('Waiting for 96 Seconds') ../../GSEOS_scripts/DFB\dfb_functional_test.py[119]: ds.set_phase(270) # 270 Degrees Phase. ../../GSEOS_scripts/DFB\dfb_functional_test.py[120]: print >> log ('Waiting for 96 Seconds') ../../GSEOS_scripts/DFB\dfb_functional_test.py[124]: ds.set_phase(0) # 0 Degrees Phase. ../../GSEOS_scripts/DFB\dfb_functional_test.py[128]: cmd.EFW_DUMPTABL(TABLE=0, OFFSET=0) ../../GSEOS_scripts/DFB\dfb_functional_test.py[130]: cmd.EFW_TMDUMPCTR(255) ../../GSEOS_scripts/DFB\dfb_functional_test.py[133]: ds.set_offset(5) # 5 volt DC offset ../../GSEOS_scripts/DFB\dfb_functional_test.py[134]: scr.dfb_set_matrix(matrix, sig1=['EF1', 'EF2'], others='gnd') ../../GSEOS_scripts/DFB\dfb_set_matrix.py[48]: """ ../../GSEOS_scripts/DFB\dfb_set_matrix.py[50]: def main(matrix, sig1=[], sig2=[], gnd=[], open=[], others=None): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[144]: class foo: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[144]: class foo: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[146]: def reset(self, n): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[149]: def close(self, n): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[152]: def open(self, n): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[155]: def test(): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[48]: """ ../../GSEOS_scripts/DFB\dfb_set_matrix.py[50]: def main(matrix, sig1=[], sig2=[], gnd=[], open=[], others=None): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[144]: class foo: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[144]: class foo: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[146]: def reset(self, n): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[149]: def close(self, n): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[152]: def open(self, n): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[155]: def test(): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[51]: channel_map = {'EF1': {'sig1': [211], ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: all_channels = channel_map.keys() ../../GSEOS_scripts/DFB\dfb_set_matrix.py[105]: if(others in channel_map['EF1'].keys()): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[106]: sig_gnd_open = sig1 + sig2 + gnd + open ../../GSEOS_scripts/DFB\dfb_set_matrix.py[108]: others_list = [] ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[121]: matrix.reset(200) # open everything ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: matrix.reset(300) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for item in sig1: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[125]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for item in sig1: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[125]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for item in sig1: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: for item in sig2: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[129]: for item in gnd: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[132]: for item in open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_functional_test.py[136]: try: ../../GSEOS_scripts/DFB\dfb_functional_test.py[137]: wait(APID_266, lambda: APID_266.Data[0] == 0, flTimeout=20) ../../GSEOS_scripts/DFB\dfb_functional_test.py[138]: except GseosError.TSeqTimeoutError: ../../GSEOS_scripts/DFB\dfb_functional_test.py[140]: log('Timed out #sleeping for tlm APID_266 to equal 0') ../../GSEOS_scripts/DFB\dfb_functional_test.py[144]: try: ../../GSEOS_scripts/DFB\dfb_functional_test.py[145]: wait(APID_266, lambda: APID_266.Data[1:2] == 0x4801, flTimeout=20) ../../GSEOS_scripts/DFB\dfb_functional_test.py[146]: except GseosError.TSeqTimeoutError: ../../GSEOS_scripts/DFB\dfb_functional_test.py[148]: log('Timed out #sleeping for tlm APID_266 to equal 0x4801') ../../GSEOS_scripts/DFB\dfb_functional_test.py[153]: cmd.EFW_TABLE(TABLE=0, OFFSET=0) ../../GSEOS_scripts/DFB\dfb_functional_test.py[154]: cmd.EFW_LOAD(VALUE=1) ../../GSEOS_scripts/DFB\dfb_functional_test.py[156]: try: ../../GSEOS_scripts/DFB\dfb_functional_test.py[157]: wait(APID_266, lambda: APID_266.Data[0] == 1, flTimeout=20) ../../GSEOS_scripts/DFB\dfb_functional_test.py[158]: except GseosError.TSeqTimeoutError: ../../GSEOS_scripts/DFB\dfb_functional_test.py[160]: log('Timed out #sleeping for tlm APID_266 to equal 1') ../../GSEOS_scripts/DFB\dfb_functional_test.py[164]: try: ../../GSEOS_scripts/DFB\dfb_functional_test.py[165]: wait(APID_266, lambda: APID_266.Data[1:2] == 0x0000, flTimeout=20) ../../GSEOS_scripts/DFB\dfb_functional_test.py[166]: except GseosError.TSeqTimeoutError: ../../GSEOS_scripts/DFB\dfb_functional_test.py[168]: log('Timed out #sleeping for tlm APID_266 to equal 0x0000') ../../GSEOS_scripts/DFB\dfb_functional_test.py[172]: ds.set_offset(-5) # -5 volt DC offset ../../GSEOS_scripts/DFB\dfb_functional_test.py[173]: scr.dfb_set_matrix(matrix, sig1=['EF3', 'EF4'], others='gnd') ../../GSEOS_scripts/DFB\dfb_set_matrix.py[48]: """ ../../GSEOS_scripts/DFB\dfb_set_matrix.py[50]: def main(matrix, sig1=[], sig2=[], gnd=[], open=[], others=None): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[144]: class foo: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[144]: class foo: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[146]: def reset(self, n): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[149]: def close(self, n): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[152]: def open(self, n): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[155]: def test(): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[48]: """ ../../GSEOS_scripts/DFB\dfb_set_matrix.py[50]: def main(matrix, sig1=[], sig2=[], gnd=[], open=[], others=None): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[144]: class foo: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[144]: class foo: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[146]: def reset(self, n): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[149]: def close(self, n): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[152]: def open(self, n): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[155]: def test(): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[51]: channel_map = {'EF1': {'sig1': [211], ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: all_channels = channel_map.keys() ../../GSEOS_scripts/DFB\dfb_set_matrix.py[105]: if(others in channel_map['EF1'].keys()): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[106]: sig_gnd_open = sig1 + sig2 + gnd + open ../../GSEOS_scripts/DFB\dfb_set_matrix.py[108]: others_list = [] ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[121]: matrix.reset(200) # open everything ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: matrix.reset(300) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for item in sig1: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[125]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for item in sig1: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[125]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for item in sig1: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: for item in sig2: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[129]: for item in gnd: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[132]: for item in open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_functional_test.py[175]: try: ../../GSEOS_scripts/DFB\dfb_functional_test.py[176]: wait(APID_266, lambda: APID_266.Data[1:2] == 0xD6FC, flTimeout=20) ../../GSEOS_scripts/DFB\dfb_functional_test.py[177]: except GseosError.TSeqTimeoutError: ../../GSEOS_scripts/DFB\dfb_functional_test.py[179]: log('Timed out sleeping for tlm APID_266 to equal 0xD6FC') ../../GSEOS_scripts/DFB\dfb_functional_test.py[184]: ds.set_offset(2.5) # 2.5 volt DC offset ../../GSEOS_scripts/DFB\dfb_functional_test.py[185]: scr.dfb_set_matrix(matrix, sig1=['EF1', 'EF2'], others='gnd') ../../GSEOS_scripts/DFB\dfb_set_matrix.py[48]: """ ../../GSEOS_scripts/DFB\dfb_set_matrix.py[50]: def main(matrix, sig1=[], sig2=[], gnd=[], open=[], others=None): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[144]: class foo: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[144]: class foo: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[146]: def reset(self, n): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[149]: def close(self, n): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[152]: def open(self, n): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[155]: def test(): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[48]: """ ../../GSEOS_scripts/DFB\dfb_set_matrix.py[50]: def main(matrix, sig1=[], sig2=[], gnd=[], open=[], others=None): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[144]: class foo: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[144]: class foo: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[146]: def reset(self, n): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[149]: def close(self, n): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[152]: def open(self, n): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[155]: def test(): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[51]: channel_map = {'EF1': {'sig1': [211], ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: all_channels = channel_map.keys() ../../GSEOS_scripts/DFB\dfb_set_matrix.py[105]: if(others in channel_map['EF1'].keys()): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[106]: sig_gnd_open = sig1 + sig2 + gnd + open ../../GSEOS_scripts/DFB\dfb_set_matrix.py[108]: others_list = [] ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[121]: matrix.reset(200) # open everything ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: matrix.reset(300) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for item in sig1: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[125]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for item in sig1: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[125]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for item in sig1: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: for item in sig2: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[129]: for item in gnd: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[132]: for item in open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_functional_test.py[187]: cmd.EFW_TABLE(TABLE=0, OFFSET=0) ../../GSEOS_scripts/DFB\dfb_functional_test.py[188]: cmd.EFW_LOAD(VALUE=0) ../../GSEOS_scripts/DFB\dfb_functional_test.py[190]: try: ../../GSEOS_scripts/DFB\dfb_functional_test.py[191]: wait(APID_266, lambda: APID_266.Data[0] == 0, flTimeout=20) Script killed by user.