Trace collected at: 2010-12-14 16:28:57.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.006') ../../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[47]: sleep(360) ../../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[53]: sleep(360) ../../GSEOS_scripts/DFB\dfb_functional_test.py[56]: ../../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]: # Faster ../../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]: scr.dfb_set_matrix(matrix, sig1=['EF1','EF3', 'EF5', 'SCMU', 'SCMW', 'MAGU', 'MAGW'], others='gnd') ../../GSEOS_scripts/DFB\dfb_functional_test.py[59]: scr.dfb_std_config(table=2) ../../GSEOS_scripts/DFB\dfb_functional_test.py[62]: sleep(360) ../../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]: ../../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]: # Slower ../../GSEOS_scripts/DFB\dfb_functional_test.py[65]: scr.dfb_set_matrix(matrix, sig1=['EF1','EF3', 'EF5', 'SCMU', 'SCMW', 'MAGU', 'MAGW'], others='gnd') ../../GSEOS_scripts/DFB\dfb_functional_test.py[74]: sleep(360) ../../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]: ../../GSEOS_scripts/DFB\dfb_functional_test.py[76]: ../../GSEOS_scripts/DFB\dfb_functional_test.py[77]: #Internal waveforms ../../GSEOS_scripts/DFB\dfb_functional_test.py[79]: #E Field ../../GSEOS_scripts/DFB\dfb_functional_test.py[80]: #1/12Hz sine wave 5Vp-p on EF1, Ground EF2. Sync to sun pulse? ../../GSEOS_scripts/DFB\dfb_functional_test.py[81]: #Change phase of signal generator 0, 90, 180, 270 ../../GSEOS_scripts/DFB\dfb_functional_test.py[82]: ../../GSEOS_scripts/DFB\dfb_functional_test.py[83]: scr.dfb_set_matrix(matrix, sig1=['EF1'], others='gnd') ../../GSEOS_scripts/DFB\dfb_functional_test.py[84]: ds.set_freq(1/12) # 1/12Hz. ../../GSEOS_scripts/DFB\dfb_functional_test.py[85]: ds.set_ampl(5) # 5Vpp. ../../GSEOS_scripts/DFB\dfb_functional_test.py[86]: ds.set_phase(0) # 0 Degrees Phase. ../../GSEOS_scripts/DFB\dfb_functional_test.py[87]: # How to sync to sun pulse. ../../GSEOS_scripts/DFB\dfb_functional_test.py[88]: #Reconfigure for table1 ../../GSEOS_scripts/DFB\dfb_functional_test.py[89]: scr.dfb_std_config(table=1) ../../GSEOS_scripts/DFB\dfb_functional_test.py[92]: ../../GSEOS_scripts/DFB\dfb_functional_test.py[93]: print >> log ('Waiting for 96 Seconds') ../../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]: sleep (96) ../../GSEOS_scripts/DFB\dfb_functional_test.py[95]: ds.set_phase(90) # 90 Degrees Phase. ../../GSEOS_scripts/DFB\dfb_functional_test.py[96]: print >> log ('Waiting for 96 Seconds') ../../GSEOS_scripts/DFB\dfb_functional_test.py[97]: sleep (96) ../../GSEOS_scripts/DFB\dfb_functional_test.py[98]: ds.set_phase(180) # 180 Degrees Phase. ../../GSEOS_scripts/DFB\dfb_functional_test.py[99]: print >> log ('Waiting for 96 Seconds') ../../GSEOS_scripts/DFB\dfb_functional_test.py[100]: sleep (96) ../../GSEOS_scripts/DFB\dfb_functional_test.py[101]: ds.set_phase(270) # 270 Degrees Phase. ../../GSEOS_scripts/DFB\dfb_functional_test.py[102]: print >> log ('Waiting for 96 Seconds') ../../GSEOS_scripts/DFB\dfb_functional_test.py[103]: sleep (96) ../../GSEOS_scripts/DFB\dfb_functional_test.py[104]: ../../GSEOS_scripts/DFB\dfb_functional_test.py[105]: #B Field ../../GSEOS_scripts/DFB\dfb_functional_test.py[108]: ds.set_phase(0) # 0 Degrees Phase. ../../GSEOS_scripts/DFB\dfb_functional_test.py[109]: print >> log ('Waiting for 96 Seconds') ../../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]: sleep (96) ../../GSEOS_scripts/DFB\dfb_functional_test.py[111]: ds.set_phase(90) # 90 Degrees Phase. ../../GSEOS_scripts/DFB\dfb_functional_test.py[112]: print >> log ('Waiting for 96 Seconds') ../../GSEOS_scripts/DFB\dfb_functional_test.py[113]: ds.set_phase(0) # 0 Degrees Phase. ../../GSEOS_scripts/DFB\dfb_functional_test.py[114]: print >> log ('Waiting for 96 Seconds') ../../GSEOS_scripts/DFB\dfb_functional_test.py[115]: sleep (96) ../../GSEOS_scripts/DFB\dfb_functional_test.py[116]: ds.set_phase(90) # 90 Degrees Phase. ../../GSEOS_scripts/DFB\dfb_functional_test.py[117]: print >> log ('Waiting for 96 Seconds') ../../GSEOS_scripts/DFB\dfb_functional_test.py[118]: sleep (96) ../../GSEOS_scripts/DFB\dfb_functional_test.py[119]: ds.set_phase(180) # 180 Degrees Phase. ../../GSEOS_scripts/DFB\dfb_functional_test.py[120]: print >> log ('Waiting for 96 Seconds') ../../GSEOS_scripts/DFB\dfb_functional_test.py[121]: sleep (96) ../../GSEOS_scripts/DFB\dfb_functional_test.py[124]: sleep (96) ../../GSEOS_scripts/DFB\dfb_functional_test.py[128]: scr.dfb_set_matrix(matrix, sig1=['MAGU', 'EF1'], others='gnd') ../../GSEOS_scripts/DFB\dfb_functional_test.py[130]: print >> log ('Waiting for 96 Seconds') ../../GSEOS_scripts/DFB\dfb_functional_test.py[133]: print >> log ('Waiting for 96 Seconds') ../../GSEOS_scripts/DFB\dfb_functional_test.py[134]: sleep (96) ../../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]: print >> log ('Waiting for 96 Seconds') ../../GSEOS_scripts/DFB\dfb_functional_test.py[137]: sleep (96) ../../GSEOS_scripts/DFB\dfb_functional_test.py[137]: sleep (96) ../../GSEOS_scripts/DFB\dfb_functional_test.py[142]: #Return Phase to 0 at end of test ../../GSEOS_scripts/DFB\dfb_functional_test.py[144]: ../../GSEOS_scripts/DFB\dfb_functional_test.py[145]: #Spacecraft Potential Test ../../GSEOS_scripts/DFB\dfb_functional_test.py[145]: #Spacecraft Potential Test ../../GSEOS_scripts/DFB\dfb_functional_test.py[145]: #Spacecraft Potential Test ../../GSEOS_scripts/DFB\dfb_functional_test.py[145]: #Spacecraft Potential Test ../../GSEOS_scripts/DFB\dfb_functional_test.py[145]: #Spacecraft Potential Test ../../GSEOS_scripts/DFB\dfb_functional_test.py[145]: #Spacecraft Potential Test ../../GSEOS_scripts/DFB\dfb_functional_test.py[145]: #Spacecraft Potential Test ../../GSEOS_scripts/DFB\dfb_functional_test.py[145]: #Spacecraft Potential Test ../../GSEOS_scripts/DFB\dfb_functional_test.py[145]: #Spacecraft Potential Test ../../GSEOS_scripts/DFB\dfb_functional_test.py[145]: #Spacecraft Potential Test ../../GSEOS_scripts/DFB\dfb_functional_test.py[145]: #Spacecraft Potential Test ../../GSEOS_scripts/DFB\dfb_functional_test.py[145]: #Spacecraft Potential Test ../../GSEOS_scripts/DFB\dfb_functional_test.py[145]: #Spacecraft Potential Test ../../GSEOS_scripts/DFB\dfb_functional_test.py[145]: #Spacecraft Potential Test ../../GSEOS_scripts/DFB\dfb_functional_test.py[145]: #Spacecraft Potential Test ../../GSEOS_scripts/DFB\dfb_functional_test.py[145]: #Spacecraft Potential Test ../../GSEOS_scripts/DFB\dfb_functional_test.py[145]: #Spacecraft Potential Test ../../GSEOS_scripts/DFB\dfb_functional_test.py[145]: #Spacecraft Potential Test ../../GSEOS_scripts/DFB\dfb_functional_test.py[145]: #Spacecraft Potential Test ../../GSEOS_scripts/DFB\dfb_functional_test.py[145]: #Spacecraft Potential Test ../../GSEOS_scripts/DFB\dfb_functional_test.py[145]: #Spacecraft Potential Test ../../GSEOS_scripts/DFB\dfb_functional_test.py[146]: #Dump Table 0 ../../GSEOS_scripts/DFB\dfb_functional_test.py[148]: #Enable memory dumps ../../GSEOS_scripts/DFB\dfb_functional_test.py[153]: scr.dfb_set_matrix(matrix, sig1=['EF1', 'EF2'], others='gnd') ../../GSEOS_scripts/DFB\dfb_functional_test.py[154]: ../../GSEOS_scripts/DFB\dfb_functional_test.py[156]: wait(APID_266, lambda: APID_266.Data[0] == 0, flTimeout=20) ../../GSEOS_scripts/DFB\dfb_functional_test.py[157]: except GseosError.TSeqTimeoutError: ../../GSEOS_scripts/DFB\dfb_functional_test.py[157]: except GseosError.TSeqTimeoutError: ../../GSEOS_scripts/DFB\dfb_functional_test.py[157]: except GseosError.TSeqTimeoutError: ../../GSEOS_scripts/DFB\dfb_functional_test.py[157]: except GseosError.TSeqTimeoutError: ../../GSEOS_scripts/DFB\dfb_functional_test.py[157]: except GseosError.TSeqTimeoutError: ../../GSEOS_scripts/DFB\dfb_functional_test.py[157]: except GseosError.TSeqTimeoutError: ../../GSEOS_scripts/DFB\dfb_functional_test.py[162]: ../../GSEOS_scripts/DFB\dfb_functional_test.py[164]: wait(APID_266, lambda: APID_266.Data[1:2] == 0x4801, flTimeout=20) ../../GSEOS_scripts/DFB\dfb_functional_test.py[165]: except GseosError.TSeqTimeoutError: ../../GSEOS_scripts/DFB\dfb_functional_test.py[165]: except GseosError.TSeqTimeoutError: ../../GSEOS_scripts/DFB\dfb_functional_test.py[165]: except GseosError.TSeqTimeoutError: ../../GSEOS_scripts/DFB\dfb_functional_test.py[165]: except GseosError.TSeqTimeoutError: ../../GSEOS_scripts/DFB\dfb_functional_test.py[165]: except GseosError.TSeqTimeoutError: ../../GSEOS_scripts/DFB\dfb_functional_test.py[165]: except GseosError.TSeqTimeoutError: ../../GSEOS_scripts/DFB\dfb_functional_test.py[165]: except GseosError.TSeqTimeoutError: ../../GSEOS_scripts/DFB\dfb_functional_test.py[165]: except GseosError.TSeqTimeoutError: ../../GSEOS_scripts/DFB\dfb_functional_test.py[165]: except GseosError.TSeqTimeoutError: ../../GSEOS_scripts/DFB\dfb_functional_test.py[165]: except GseosError.TSeqTimeoutError: ../../GSEOS_scripts/DFB\dfb_functional_test.py[165]: except GseosError.TSeqTimeoutError: ../../GSEOS_scripts/DFB\dfb_functional_test.py[165]: except GseosError.TSeqTimeoutError: ../../GSEOS_scripts/DFB\dfb_functional_test.py[165]: except GseosError.TSeqTimeoutError: ../../GSEOS_scripts/DFB\dfb_functional_test.py[165]: except GseosError.TSeqTimeoutError: ../../GSEOS_scripts/DFB\dfb_functional_test.py[165]: except GseosError.TSeqTimeoutError: ../../GSEOS_scripts/DFB\dfb_functional_test.py[165]: except GseosError.TSeqTimeoutError: ../../GSEOS_scripts/DFB\dfb_functional_test.py[165]: except GseosError.TSeqTimeoutError: ../../GSEOS_scripts/DFB\dfb_functional_test.py[165]: except GseosError.TSeqTimeoutError: ../../GSEOS_scripts/DFB\dfb_functional_test.py[165]: except GseosError.TSeqTimeoutError: ../../GSEOS_scripts/DFB\dfb_functional_test.py[165]: except GseosError.TSeqTimeoutError: ../../GSEOS_scripts/DFB\dfb_functional_test.py[165]: except GseosError.TSeqTimeoutError: ../../GSEOS_scripts/DFB\dfb_functional_test.py[166]: # The except block gets evaluated if sleep times out and raises an exception. ../../GSEOS_scripts/DFB\dfb_functional_test.py[168]: else: ../../GSEOS_scripts/DFB\dfb_functional_test.py[172]: cmd.EFW_TABLE(TABLE=0, OFFSET=0) ../../GSEOS_scripts/DFB\dfb_functional_test.py[173]: cmd.EFW_LOAD(VALUE=1) ../../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[0] == 1, flTimeout=20) ../../GSEOS_scripts/DFB\dfb_functional_test.py[176]: wait(APID_266, lambda: APID_266.Data[0] == 1, flTimeout=20) ../../GSEOS_scripts/DFB\dfb_functional_test.py[176]: wait(APID_266, lambda: APID_266.Data[0] == 1, flTimeout=20) ../../GSEOS_scripts/DFB\dfb_functional_test.py[176]: wait(APID_266, lambda: APID_266.Data[0] == 1, flTimeout=20) ../../GSEOS_scripts/DFB\dfb_functional_test.py[176]: wait(APID_266, lambda: APID_266.Data[0] == 1, flTimeout=20) ../../GSEOS_scripts/DFB\dfb_functional_test.py[176]: wait(APID_266, lambda: APID_266.Data[0] == 1, flTimeout=20) ../../GSEOS_scripts/DFB\dfb_functional_test.py[176]: wait(APID_266, lambda: APID_266.Data[0] == 1, flTimeout=20) ../../GSEOS_scripts/DFB\dfb_functional_test.py[176]: wait(APID_266, lambda: APID_266.Data[0] == 1, flTimeout=20) ../../GSEOS_scripts/DFB\dfb_functional_test.py[176]: wait(APID_266, lambda: APID_266.Data[0] == 1, flTimeout=20) ../../GSEOS_scripts/DFB\dfb_functional_test.py[176]: wait(APID_266, lambda: APID_266.Data[0] == 1, flTimeout=20) ../../GSEOS_scripts/DFB\dfb_functional_test.py[176]: wait(APID_266, lambda: APID_266.Data[0] == 1, flTimeout=20) ../../GSEOS_scripts/DFB\dfb_functional_test.py[176]: wait(APID_266, lambda: APID_266.Data[0] == 1, flTimeout=20) ../../GSEOS_scripts/DFB\dfb_functional_test.py[176]: wait(APID_266, lambda: APID_266.Data[0] == 1, flTimeout=20) ../../GSEOS_scripts/DFB\dfb_functional_test.py[176]: wait(APID_266, lambda: APID_266.Data[0] == 1, flTimeout=20) ../../GSEOS_scripts/DFB\dfb_functional_test.py[176]: wait(APID_266, lambda: APID_266.Data[0] == 1, flTimeout=20) ../../GSEOS_scripts/DFB\dfb_functional_test.py[176]: wait(APID_266, lambda: APID_266.Data[0] == 1, flTimeout=20) ../../GSEOS_scripts/DFB\dfb_functional_test.py[176]: wait(APID_266, lambda: APID_266.Data[0] == 1, flTimeout=20) ../../GSEOS_scripts/DFB\dfb_functional_test.py[176]: wait(APID_266, lambda: APID_266.Data[0] == 1, flTimeout=20) ../../GSEOS_scripts/DFB\dfb_functional_test.py[176]: wait(APID_266, lambda: APID_266.Data[0] == 1, flTimeout=20) ../../GSEOS_scripts/DFB\dfb_functional_test.py[176]: wait(APID_266, lambda: APID_266.Data[0] == 1, flTimeout=20) ../../GSEOS_scripts/DFB\dfb_functional_test.py[176]: wait(APID_266, lambda: APID_266.Data[0] == 1, 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 1') ../../GSEOS_scripts/DFB\dfb_functional_test.py[184]: wait(APID_266, lambda: APID_266.Data[1:2] == 0x0000, flTimeout=20) ../../GSEOS_scripts/DFB\dfb_functional_test.py[185]: except GseosError.TSeqTimeoutError: ../../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]: log('Timed out sleeping for tlm APID_266 to equal 0x0000') ../../GSEOS_scripts/DFB\dfb_functional_test.py[188]: else: ../../GSEOS_scripts/DFB\dfb_functional_test.py[190]: ../../GSEOS_scripts/DFB\dfb_functional_test.py[191]: ds.set_offset(-5) # -5 volt DC offset ../../GSEOS_scripts/DFB\dfb_functional_test.py[137]: sleep (96) ../../GSEOS_scripts/DFB\dfb_functional_test.py[137]: sleep (96) ../../GSEOS_scripts/DFB\dfb_functional_test.py[137]: sleep (96) ../../GSEOS_scripts/DFB\dfb_functional_test.py[137]: sleep (96) ../../GSEOS_scripts/DFB\dfb_functional_test.py[137]: sleep (96) ../../GSEOS_scripts/DFB\dfb_functional_test.py[196]: except GseosError.TSeqTimeoutError: ../../GSEOS_scripts/DFB\dfb_functional_test.py[198]: log('Timed out sleeping for tlm APID_266 to equal 0xD6FC') ../../GSEOS_scripts/DFB\dfb_functional_test.py[199]: else: ../../GSEOS_scripts/DFB\dfb_functional_test.py[199]: else: ../../GSEOS_scripts/DFB\dfb_functional_test.py[199]: else: ../../GSEOS_scripts/DFB\dfb_functional_test.py[199]: else: ../../GSEOS_scripts/DFB\dfb_functional_test.py[199]: else: ../../GSEOS_scripts/DFB\dfb_functional_test.py[199]: else: ../../GSEOS_scripts/DFB\dfb_functional_test.py[199]: else: ../../GSEOS_scripts/DFB\dfb_functional_test.py[199]: else: ../../GSEOS_scripts/DFB\dfb_functional_test.py[199]: else: ../../GSEOS_scripts/DFB\dfb_functional_test.py[199]: else: ../../GSEOS_scripts/DFB\dfb_functional_test.py[199]: else: ../../GSEOS_scripts/DFB\dfb_functional_test.py[199]: else: ../../GSEOS_scripts/DFB\dfb_functional_test.py[199]: else: ../../GSEOS_scripts/DFB\dfb_functional_test.py[199]: else: ../../GSEOS_scripts/DFB\dfb_functional_test.py[199]: else: ../../GSEOS_scripts/DFB\dfb_functional_test.py[199]: else: ../../GSEOS_scripts/DFB\dfb_functional_test.py[199]: else: ../../GSEOS_scripts/DFB\dfb_functional_test.py[199]: else: ../../GSEOS_scripts/DFB\dfb_functional_test.py[199]: else: ../../GSEOS_scripts/DFB\dfb_functional_test.py[199]: else: ../../GSEOS_scripts/DFB\dfb_functional_test.py[200]: print >> log('SC Potential is -5V') ../../GSEOS_scripts/DFB\dfb_functional_test.py[202]: ../../GSEOS_scripts/DFB\dfb_functional_test.py[206]: cmd.EFW_TABLE(TABLE=0, OFFSET=0) ../../GSEOS_scripts/DFB\dfb_functional_test.py[207]: cmd.EFW_LOAD(VALUE=0) ../../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[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[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_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[211]: except GseosError.TSeqTimeoutError: ../../GSEOS_scripts/DFB\dfb_functional_test.py[212]: # The except block gets evaluated if sleep times out and raises an exception. ../../GSEOS_scripts/DFB\dfb_functional_test.py[213]: log('Timed out sleeping for tlm APID_266 to equal 0') ../../GSEOS_scripts/DFB\dfb_functional_test.py[214]: else: ../../GSEOS_scripts/DFB\dfb_functional_test.py[215]: print >> log('Calculation of SC Potential is from EF12.') ../../GSEOS_scripts/DFB\dfb_functional_test.py[216]: ../../GSEOS_scripts/DFB\dfb_functional_test.py[218]: wait(APID_266, lambda: APID_266.Data[1:2] == 0xA400, flTimeout=20) ../../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[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[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[219]: except GseosError.TSeqTimeoutError: ../../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[220]: # The except block gets evaluated if sleep times out and raises an exception. ../../GSEOS_scripts/DFB\dfb_functional_test.py[221]: log('Timed out sleeping for tlm APID_266 to equal 0xA400') ../../GSEOS_scripts/DFB\dfb_functional_test.py[223]: print >> log('SC Potential is 2.5V') ../../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[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[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[224]: ../../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[356]: elif(table == 5): ../../GSEOS_scripts/DFB\dfb_std_config.py[357]: print >> log, "Configure Triggers E12DC, SCMU @ 1/8S/s, 7 Bins" ../../GSEOS_scripts/DFB\dfb_std_config.py[358]: cmd.EFW_DFB_FB(FB_SEL1=0, FB_SEL2=6, FB_ENA1=1, FB_ENA2=1, FB_FREQBANDS=0, FB_SPD=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[359]: cmd.EFW_SSR_ROUTE(APID=1, SEGMENT=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[360]: 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[225]: ds.set_offset(0) # 0volt DC offset ../../GSEOS_scripts/DFB\dfb_functional_test.py[226]: scr.dfb_set_matrix(matrix, others='gnd') ../../GSEOS_scripts/DFB\dfb_functional_test.py[228]: #triggers ../../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[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[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[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[229]: #Set up signal Generator ../../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[356]: elif(table == 5): ../../GSEOS_scripts/DFB\dfb_std_config.py[361]: elif(table == 6): ../../GSEOS_scripts/DFB\dfb_std_config.py[362]: print >> log, "Configure Triggers E34AC, SCMW @ 8S/s, 13 Bins" ../../GSEOS_scripts/DFB\dfb_std_config.py[363]: cmd.EFW_DFB_FB(FB_SEL1=4, FB_SEL2=8, FB_ENA1=1, FB_ENA2=1, FB_FREQBANDS=1, FB_SPD=7) ../../GSEOS_scripts/DFB\dfb_std_config.py[364]: cmd.EFW_SSR_ROUTE(APID=1, SEGMENT=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[365]: 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[230]: ds.write('rate 0.124') ../../GSEOS_scripts/DFB\dfb_functional_test.py[231]: ds.write('stfr 0') ../../GSEOS_scripts/DFB\dfb_functional_test.py[233]: ds.set_trig_src('rising_edge') # Trigger on falling edge of BIB pulse ../../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[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[234]: ds.set_ampl(5) # 5 volts pk-pk ../../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[356]: elif(table == 5): ../../GSEOS_scripts/DFB\dfb_std_config.py[361]: elif(table == 6): ../../GSEOS_scripts/DFB\dfb_std_config.py[366]: elif(table == 7): ../../GSEOS_scripts/DFB\dfb_std_config.py[367]: print >> log, "Configure Triggers E12DC @ 1/8S/s, 13 Bins" ../../GSEOS_scripts/DFB\dfb_std_config.py[368]: cmd.EFW_DFB_FB(FB_SEL1=0, FB_SEL2=0, FB_ENA1=1, FB_ENA2=0, FB_FREQBANDS=1, FB_SPD=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[369]: cmd.EFW_SSR_ROUTE(APID=1, SEGMENT=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[370]: 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[235]: ds.set_mod_enable(True) ../../GSEOS_scripts/DFB\dfb_functional_test.py[236]: ../../GSEOS_scripts/DFB\dfb_functional_test.py[238]: scr.dfb_std_config(table=1) ../../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[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[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[239]: print >> log ('Waiting for 60 Seconds') ../../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[356]: elif(table == 5): ../../GSEOS_scripts/DFB\dfb_std_config.py[361]: elif(table == 6): ../../GSEOS_scripts/DFB\dfb_std_config.py[366]: elif(table == 7): ../../GSEOS_scripts/DFB\dfb_std_config.py[371]: elif(table == 8): ../../GSEOS_scripts/DFB\dfb_std_config.py[372]: print >> log, "Configure Triggers SCMU @ 1/8S/s, 13 Bins" ../../GSEOS_scripts/DFB\dfb_std_config.py[373]: cmd.EFW_DFB_FB(FB_SEL1=0, FB_SEL2=6, FB_ENA1=0, FB_ENA2=1, FB_FREQBANDS=1, FB_SPD=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[374]: cmd.EFW_SSR_ROUTE(APID=1, SEGMENT=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[375]: 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[240]: sleep(60) ../../GSEOS_scripts/DFB\dfb_functional_test.py[241]: ../../GSEOS_scripts/DFB\dfb_functional_test.py[249]: print >> log ('Waiting for 60 Seconds') ../../GSEOS_scripts/DFB\dfb_functional_test.py[250]: sleep(60) ../../GSEOS_scripts/DFB\dfb_functional_test.py[251]: ../../GSEOS_scripts/DFB\dfb_functional_test.py[252]: scr.dfb_set_matrix(matrix, sig1=['EF2'], others='gnd') ../../GSEOS_scripts/DFB\dfb_functional_test.py[253]: scr.dfb_std_config(table=7) ../../GSEOS_scripts/DFB\dfb_functional_test.py[254]: print >> log ('Waiting for 120 Seconds') ../../GSEOS_scripts/DFB\dfb_functional_test.py[256]: ../../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[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[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_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[257]: scr.dfb_set_matrix(matrix, sig1=['SCMU'], others='gnd') ../../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[258]: scr.dfb_std_config(table=8) ../../GSEOS_scripts/DFB\dfb_functional_test.py[259]: print >> log ('Waiting for 120 Seconds') ../../GSEOS_scripts/DFB\dfb_functional_test.py[261]: ../../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[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[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[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_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[262]: #internal triggers ../../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[356]: elif(table == 5): ../../GSEOS_scripts/DFB\dfb_std_config.py[361]: elif(table == 6): ../../GSEOS_scripts/DFB\dfb_std_config.py[366]: elif(table == 7): ../../GSEOS_scripts/DFB\dfb_std_config.py[371]: elif(table == 8): ../../GSEOS_scripts/DFB\dfb_std_config.py[378]: elif(table ==9): ../../GSEOS_scripts/DFB\dfb_std_config.py[379]: print >> log, "Configure Spectra and Cross Spectra" ../../GSEOS_scripts/DFB\dfb_std_config.py[380]: print >> log, "Spectra" ../../GSEOS_scripts/DFB\dfb_std_config.py[381]: print >> log, "All 7 Spectra Enabled: E12AC, E56AC, SCMU, SCMV, SCMW, V1AC, V2AC" ../../GSEOS_scripts/DFB\dfb_std_config.py[382]: print >> log, "Cadence 5, Average 3, Bins 64" ../../GSEOS_scripts/DFB\dfb_std_config.py[383]: 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[384]: cmd.EFW_DFB_SPEC2(SPEC_SRC=5, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[385]: cmd.EFW_DFB_SPEC3(SPEC_SRC=0x10, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[386]: cmd.EFW_DFB_SPEC4(SPEC_SRC=0x11, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[387]: cmd.EFW_DFB_SPEC5(SPEC_SRC=0x12, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[388]: cmd.EFW_DFB_SPEC6(SPEC_SRC=0xA, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[389]: cmd.EFW_DFB_SPEC7(SPEC_SRC=0xB, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[390]: print >> log, "Cross Spectra" ../../GSEOS_scripts/DFB\dfb_std_config.py[391]: print >> log, "Two Cross Spectra Enabled: SCMW x E12AC, V1AC x V2AC" ../../GSEOS_scripts/DFB\dfb_std_config.py[392]: print >> log, "Average 2" ../../GSEOS_scripts/DFB\dfb_std_config.py[393]: cmd.EFW_DFB_XSPEC1(XSPEC_SRC1=4, XSPEC_SRC2=0, XSPEC_NAVG=2, XSPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[394]: cmd.EFW_DFB_XSPEC2(XSPEC_SRC1=5, XSPEC_SRC2=6, XSPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[395]: cmd.EFW_DFB_XSPEC3(XSPEC_SRC1=0, XSPEC_SRC2=0, XSPEC_ENA=0) ../../GSEOS_scripts/DFB\dfb_std_config.py[396]: cmd.EFW_DFB_XSPEC4(XSPEC_SRC1=0, XSPEC_SRC2=0, XSPEC_ENA=0) ../../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[263]: #Needs a bit more thought.... ../../GSEOS_scripts/DFB\dfb_functional_test.py[264]: ../../GSEOS_scripts/DFB\dfb_functional_test.py[266]: #Set up signal generator to do burst sweep every 8 seconds. ../../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[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[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[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_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[267]: ../../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[356]: elif(table == 5): ../../GSEOS_scripts/DFB\dfb_std_config.py[361]: elif(table == 6): ../../GSEOS_scripts/DFB\dfb_std_config.py[366]: elif(table == 7): ../../GSEOS_scripts/DFB\dfb_std_config.py[371]: elif(table == 8): ../../GSEOS_scripts/DFB\dfb_std_config.py[378]: elif(table ==9): ../../GSEOS_scripts/DFB\dfb_std_config.py[398]: elif(table ==10): ../../GSEOS_scripts/DFB\dfb_std_config.py[399]: print >> log, "Configure Spectra and Cross Spectra" ../../GSEOS_scripts/DFB\dfb_std_config.py[400]: print >> log, "Spectra" ../../GSEOS_scripts/DFB\dfb_std_config.py[401]: print >> log, "All 7 Spectra Enabled: E12AC, E56AC, SCMU, SCMV, SCMW, V1AC, V2AC" ../../GSEOS_scripts/DFB\dfb_std_config.py[402]: print >> log, "Cadence 4, Average 3, Bins 64" ../../GSEOS_scripts/DFB\dfb_std_config.py[403]: cmd.EFW_DFB_SPEC1(SPEC_SRC=3, SPEC_NCAD=4, SPEC_NAVG=3, SPEC_BIN=1, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[404]: cmd.EFW_DFB_SPEC2(SPEC_SRC=5, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[405]: cmd.EFW_DFB_SPEC3(SPEC_SRC=0x10, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[406]: cmd.EFW_DFB_SPEC4(SPEC_SRC=0x11, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[407]: cmd.EFW_DFB_SPEC5(SPEC_SRC=0x12, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[408]: cmd.EFW_DFB_SPEC6(SPEC_SRC=0xA, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[409]: cmd.EFW_DFB_SPEC7(SPEC_SRC=0xB, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[410]: print >> log, "Cross Spectra" ../../GSEOS_scripts/DFB\dfb_std_config.py[411]: print >> log, "Two Cross Spectra Enabled: SCMW x E12AC, V1AC x V2AC" ../../GSEOS_scripts/DFB\dfb_std_config.py[412]: print >> log, "Average 3" ../../GSEOS_scripts/DFB\dfb_std_config.py[413]: cmd.EFW_DFB_XSPEC1(XSPEC_SRC1=4, XSPEC_SRC2=0, XSPEC_NAVG=3, XSPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[414]: cmd.EFW_DFB_XSPEC2(XSPEC_SRC1=5, XSPEC_SRC2=6, XSPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[415]: cmd.EFW_DFB_XSPEC3(XSPEC_SRC1=0, XSPEC_SRC2=0, XSPEC_ENA=0) ../../GSEOS_scripts/DFB\dfb_std_config.py[416]: cmd.EFW_DFB_XSPEC4(XSPEC_SRC1=0, XSPEC_SRC2=0, XSPEC_ENA=0) ../../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[268]: ds.write('rate 0.124') ../../GSEOS_scripts/DFB\dfb_functional_test.py[269]: ds.write('stfr 0') ../../GSEOS_scripts/DFB\dfb_functional_test.py[271]: ds.set_trig_src('rising_edge') # Trigger on falling edge of BIB pulse ../../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[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[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_functional_test.py[272]: ds.set_ampl(5) # 5 volts pk-pk ../../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[356]: elif(table == 5): ../../GSEOS_scripts/DFB\dfb_std_config.py[361]: elif(table == 6): ../../GSEOS_scripts/DFB\dfb_std_config.py[366]: elif(table == 7): ../../GSEOS_scripts/DFB\dfb_std_config.py[371]: elif(table == 8): ../../GSEOS_scripts/DFB\dfb_std_config.py[378]: elif(table ==9): ../../GSEOS_scripts/DFB\dfb_std_config.py[398]: elif(table ==10): ../../GSEOS_scripts/DFB\dfb_std_config.py[418]: elif(table ==11): ../../GSEOS_scripts/DFB\dfb_std_config.py[419]: print >> log, "Configure Spectra and Cross Spectra" ../../GSEOS_scripts/DFB\dfb_std_config.py[420]: print >> log, "Spectra" ../../GSEOS_scripts/DFB\dfb_std_config.py[421]: print >> log, "All 7 Spectra Enabled: E12AC, E56AC, SCMU, SCMV, SCMW, V1AC, V2AC" ../../GSEOS_scripts/DFB\dfb_std_config.py[422]: print >> log, "Cadence 4, Average 3, Bins 112" ../../GSEOS_scripts/DFB\dfb_std_config.py[423]: cmd.EFW_DFB_SPEC1(SPEC_SRC=3, SPEC_NCAD=4, SPEC_NAVG=3, SPEC_BIN=2, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[424]: cmd.EFW_DFB_SPEC2(SPEC_SRC=5, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[425]: cmd.EFW_DFB_SPEC3(SPEC_SRC=0x10, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[426]: cmd.EFW_DFB_SPEC4(SPEC_SRC=0x11, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[427]: cmd.EFW_DFB_SPEC5(SPEC_SRC=0x12, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[428]: cmd.EFW_DFB_SPEC6(SPEC_SRC=0xA, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[429]: cmd.EFW_DFB_SPEC7(SPEC_SRC=0xB, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[430]: print >> log, "Cross Spectra" ../../GSEOS_scripts/DFB\dfb_std_config.py[431]: print >> log, "Two Cross Spectra Enabled: SCMW x E12AC, V1AC x V2AC" ../../GSEOS_scripts/DFB\dfb_std_config.py[432]: print >> log, "Average 2" ../../GSEOS_scripts/DFB\dfb_std_config.py[433]: cmd.EFW_DFB_XSPEC1(XSPEC_SRC1=4, XSPEC_SRC2=0, XSPEC_NAVG=2, XSPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[434]: cmd.EFW_DFB_XSPEC2(XSPEC_SRC1=5, XSPEC_SRC2=6, XSPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[435]: cmd.EFW_DFB_XSPEC3(XSPEC_SRC1=0, XSPEC_SRC2=0, XSPEC_ENA=0) ../../GSEOS_scripts/DFB\dfb_std_config.py[436]: cmd.EFW_DFB_XSPEC4(XSPEC_SRC1=0, XSPEC_SRC2=0, XSPEC_ENA=0) ../../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[273]: ds.set_mod_enable(True) ../../GSEOS_scripts/DFB\dfb_functional_test.py[274]: ../../GSEOS_scripts/DFB\dfb_functional_test.py[276]: scr.dfb_std_config(table=1) ../../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[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[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_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[277]: #Keep burst data production off for spectra test. ../../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[356]: elif(table == 5): ../../GSEOS_scripts/DFB\dfb_std_config.py[361]: elif(table == 6): ../../GSEOS_scripts/DFB\dfb_std_config.py[366]: elif(table == 7): ../../GSEOS_scripts/DFB\dfb_std_config.py[371]: elif(table == 8): ../../GSEOS_scripts/DFB\dfb_std_config.py[378]: elif(table ==9): ../../GSEOS_scripts/DFB\dfb_std_config.py[398]: elif(table ==10): ../../GSEOS_scripts/DFB\dfb_std_config.py[418]: elif(table ==11): ../../GSEOS_scripts/DFB\dfb_std_config.py[438]: elif(table ==12): ../../GSEOS_scripts/DFB\dfb_std_config.py[439]: print >> log, "Configure Spectra and Cross Spectra" ../../GSEOS_scripts/DFB\dfb_std_config.py[440]: print >> log, "Spectra" ../../GSEOS_scripts/DFB\dfb_std_config.py[441]: print >> log, "All 7 Spectra Enabled: E12AC, E34AC, SCMU, SCMV, SCMW, V1AC, V2AC" ../../GSEOS_scripts/DFB\dfb_std_config.py[442]: print >> log, "Cadence 5, Average 3, Bins 112" ../../GSEOS_scripts/DFB\dfb_std_config.py[443]: cmd.EFW_DFB_SPEC1(SPEC_SRC=3, SPEC_NCAD=5, SPEC_NAVG=3, SPEC_BIN=2, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[444]: cmd.EFW_DFB_SPEC2(SPEC_SRC=4, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[445]: cmd.EFW_DFB_SPEC3(SPEC_SRC=0x10, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[446]: cmd.EFW_DFB_SPEC4(SPEC_SRC=0x11, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[447]: cmd.EFW_DFB_SPEC5(SPEC_SRC=0x12, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[448]: cmd.EFW_DFB_SPEC6(SPEC_SRC=0xA, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[449]: cmd.EFW_DFB_SPEC7(SPEC_SRC=0xB, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[450]: print >> log, "Cross Spectra" ../../GSEOS_scripts/DFB\dfb_std_config.py[451]: print >> log, "Three Cross Spectra Enabled: SCMW x E12AC, V1AC x V2AC, E12AC x E34AC" ../../GSEOS_scripts/DFB\dfb_std_config.py[452]: print >> log, "Average 3" ../../GSEOS_scripts/DFB\dfb_std_config.py[453]: cmd.EFW_DFB_XSPEC1(XSPEC_SRC1=4, XSPEC_SRC2=0, XSPEC_NAVG=3, XSPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[454]: cmd.EFW_DFB_XSPEC2(XSPEC_SRC1=5, XSPEC_SRC2=6, XSPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[455]: cmd.EFW_DFB_XSPEC3(XSPEC_SRC1=0, XSPEC_SRC2=1, XSPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[456]: cmd.EFW_DFB_XSPEC4(XSPEC_SRC1=0, XSPEC_SRC2=0, XSPEC_ENA=0) ../../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[278]: cmd.EFW_SSR_DISABLE(OPTION=0) ../../GSEOS_scripts/DFB\dfb_functional_test.py[279]: cmd.EFW_SSR_DISABLE(OPTION=2) ../../GSEOS_scripts/DFB\dfb_functional_test.py[281]: sleep(60) ../../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[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[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[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_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[282]: ../../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[356]: elif(table == 5): ../../GSEOS_scripts/DFB\dfb_std_config.py[361]: elif(table == 6): ../../GSEOS_scripts/DFB\dfb_std_config.py[366]: elif(table == 7): ../../GSEOS_scripts/DFB\dfb_std_config.py[371]: elif(table == 8): ../../GSEOS_scripts/DFB\dfb_std_config.py[378]: elif(table ==9): ../../GSEOS_scripts/DFB\dfb_std_config.py[398]: elif(table ==10): ../../GSEOS_scripts/DFB\dfb_std_config.py[418]: elif(table ==11): ../../GSEOS_scripts/DFB\dfb_std_config.py[438]: elif(table ==12): ../../GSEOS_scripts/DFB\dfb_std_config.py[458]: elif(table ==13): ../../GSEOS_scripts/DFB\dfb_std_config.py[459]: print >> log, "Configure Spectra and Cross Spectra" ../../GSEOS_scripts/DFB\dfb_std_config.py[460]: print >> log, "Spectra" ../../GSEOS_scripts/DFB\dfb_std_config.py[461]: print >> log, "All 7 Spectra Enabled: E12AC, E34AC, SCMU, SCMV, SCMW, V1AC, V2AC" ../../GSEOS_scripts/DFB\dfb_std_config.py[462]: print >> log, "Cadence 5, Average 3, Bins 64" ../../GSEOS_scripts/DFB\dfb_std_config.py[463]: 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[464]: cmd.EFW_DFB_SPEC2(SPEC_SRC=4, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[465]: cmd.EFW_DFB_SPEC3(SPEC_SRC=0x10, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[466]: cmd.EFW_DFB_SPEC4(SPEC_SRC=0x11, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[467]: cmd.EFW_DFB_SPEC5(SPEC_SRC=0x12, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[468]: cmd.EFW_DFB_SPEC6(SPEC_SRC=0xA, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[469]: cmd.EFW_DFB_SPEC7(SPEC_SRC=0xB, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[470]: print >> log, "Cross Spectra" ../../GSEOS_scripts/DFB\dfb_std_config.py[471]: print >> log, "Three Cross Spectra Enabled: SCMW x E12AC, V1AC x V2AC, E12AC x E34AC" ../../GSEOS_scripts/DFB\dfb_std_config.py[472]: print >> log, "Average 2" ../../GSEOS_scripts/DFB\dfb_std_config.py[473]: cmd.EFW_DFB_XSPEC1(XSPEC_SRC1=4, XSPEC_SRC2=0, XSPEC_NAVG=2, XSPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[474]: cmd.EFW_DFB_XSPEC2(XSPEC_SRC1=5, XSPEC_SRC2=6, XSPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[475]: cmd.EFW_DFB_XSPEC3(XSPEC_SRC1=0, XSPEC_SRC2=1, XSPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[476]: cmd.EFW_DFB_XSPEC4(XSPEC_SRC1=0, XSPEC_SRC2=0, XSPEC_ENA=0) ../../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[283]: scr.dfb_set_matrix(matrix, sig1=['EF5', 'SCMV', 'SCMW'], others='gnd') ../../GSEOS_scripts/DFB\dfb_functional_test.py[284]: scr.dfb_std_config(table=9) ../../GSEOS_scripts/DFB\dfb_functional_test.py[286]: sleep(60) ../../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[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[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[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_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[287]: ../../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[356]: elif(table == 5): ../../GSEOS_scripts/DFB\dfb_std_config.py[361]: elif(table == 6): ../../GSEOS_scripts/DFB\dfb_std_config.py[366]: elif(table == 7): ../../GSEOS_scripts/DFB\dfb_std_config.py[371]: elif(table == 8): ../../GSEOS_scripts/DFB\dfb_std_config.py[378]: elif(table ==9): ../../GSEOS_scripts/DFB\dfb_std_config.py[398]: elif(table ==10): ../../GSEOS_scripts/DFB\dfb_std_config.py[418]: elif(table ==11): ../../GSEOS_scripts/DFB\dfb_std_config.py[438]: elif(table ==12): ../../GSEOS_scripts/DFB\dfb_std_config.py[458]: elif(table ==13): ../../GSEOS_scripts/DFB\dfb_std_config.py[478]: elif(table ==14): ../../GSEOS_scripts/DFB\dfb_std_config.py[479]: print >> log, "Configure Spectra and Cross Spectra" ../../GSEOS_scripts/DFB\dfb_std_config.py[480]: print >> log, "Spectra" ../../GSEOS_scripts/DFB\dfb_std_config.py[481]: print >> log, "All 7 Spectra Enabled: E12AC, E34AC, SCMU, SCMV, SCMW, V1AC, V2AC" ../../GSEOS_scripts/DFB\dfb_std_config.py[482]: print >> log, "Cadence 4, Average 3, Bins 64" ../../GSEOS_scripts/DFB\dfb_std_config.py[483]: cmd.EFW_DFB_SPEC1(SPEC_SRC=3, SPEC_NCAD=4, SPEC_NAVG=3, SPEC_BIN=1, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[484]: cmd.EFW_DFB_SPEC2(SPEC_SRC=4, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[485]: cmd.EFW_DFB_SPEC3(SPEC_SRC=0x10, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[486]: cmd.EFW_DFB_SPEC4(SPEC_SRC=0x11, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[487]: cmd.EFW_DFB_SPEC5(SPEC_SRC=0x12, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[488]: cmd.EFW_DFB_SPEC6(SPEC_SRC=0xA, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[489]: cmd.EFW_DFB_SPEC7(SPEC_SRC=0xB, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[490]: print >> log, "Cross Spectra" ../../GSEOS_scripts/DFB\dfb_std_config.py[491]: print >> log, "Three Cross Spectra Enabled: SCMW x E12AC, V1AC x V2AC, E12AC x E34AC" ../../GSEOS_scripts/DFB\dfb_std_config.py[492]: print >> log, "Average 3" ../../GSEOS_scripts/DFB\dfb_std_config.py[493]: cmd.EFW_DFB_XSPEC1(XSPEC_SRC1=4, XSPEC_SRC2=0, XSPEC_NAVG=3, XSPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[494]: cmd.EFW_DFB_XSPEC2(XSPEC_SRC1=5, XSPEC_SRC2=6, XSPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[495]: cmd.EFW_DFB_XSPEC3(XSPEC_SRC1=0, XSPEC_SRC2=1, XSPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[496]: cmd.EFW_DFB_XSPEC4(XSPEC_SRC1=0, XSPEC_SRC2=0, XSPEC_ENA=0) ../../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[288]: scr.dfb_set_matrix(matrix, sig1=['EF2', 'SCMU', 'SCMV'], others='gnd') ../../GSEOS_scripts/DFB\dfb_functional_test.py[289]: scr.dfb_std_config(table=10) ../../GSEOS_scripts/DFB\dfb_functional_test.py[291]: sleep(60) ../../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[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[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_functional_test.py[292]: ../../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[356]: elif(table == 5): ../../GSEOS_scripts/DFB\dfb_std_config.py[361]: elif(table == 6): ../../GSEOS_scripts/DFB\dfb_std_config.py[366]: elif(table == 7): ../../GSEOS_scripts/DFB\dfb_std_config.py[371]: elif(table == 8): ../../GSEOS_scripts/DFB\dfb_std_config.py[378]: elif(table ==9): ../../GSEOS_scripts/DFB\dfb_std_config.py[398]: elif(table ==10): ../../GSEOS_scripts/DFB\dfb_std_config.py[418]: elif(table ==11): ../../GSEOS_scripts/DFB\dfb_std_config.py[438]: elif(table ==12): ../../GSEOS_scripts/DFB\dfb_std_config.py[458]: elif(table ==13): ../../GSEOS_scripts/DFB\dfb_std_config.py[478]: elif(table ==14): ../../GSEOS_scripts/DFB\dfb_std_config.py[498]: elif(table ==15): ../../GSEOS_scripts/DFB\dfb_std_config.py[499]: print >> log, "Configure Spectra and Cross Spectra" ../../GSEOS_scripts/DFB\dfb_std_config.py[500]: print >> log, "Spectra" ../../GSEOS_scripts/DFB\dfb_std_config.py[501]: print >> log, "All 7 Spectra Enabled: E12AC, E34AC, SCMU, SCMV, SCMW, V1AC, V2AC" ../../GSEOS_scripts/DFB\dfb_std_config.py[502]: print >> log, "Cadence 4, Average 3, Bins 112" ../../GSEOS_scripts/DFB\dfb_std_config.py[503]: cmd.EFW_DFB_SPEC1(SPEC_SRC=3, SPEC_NCAD=4, SPEC_NAVG=3, SPEC_BIN=2, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[504]: cmd.EFW_DFB_SPEC2(SPEC_SRC=4, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[505]: cmd.EFW_DFB_SPEC3(SPEC_SRC=0x10, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[506]: cmd.EFW_DFB_SPEC4(SPEC_SRC=0x11, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[507]: cmd.EFW_DFB_SPEC5(SPEC_SRC=0x12, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[508]: cmd.EFW_DFB_SPEC6(SPEC_SRC=0xA, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[509]: cmd.EFW_DFB_SPEC7(SPEC_SRC=0xB, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[510]: print >> log, "Cross Spectra" ../../GSEOS_scripts/DFB\dfb_std_config.py[511]: print >> log, "Three Cross Spectra Enabled: SCMW x E12AC, V1AC x V2AC, E12AC x E34AC" ../../GSEOS_scripts/DFB\dfb_std_config.py[512]: print >> log, "Average 2" ../../GSEOS_scripts/DFB\dfb_std_config.py[513]: cmd.EFW_DFB_XSPEC1(XSPEC_SRC1=4, XSPEC_SRC2=0, XSPEC_NAVG=2, XSPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[514]: cmd.EFW_DFB_XSPEC2(XSPEC_SRC1=5, XSPEC_SRC2=6, XSPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[515]: cmd.EFW_DFB_XSPEC3(XSPEC_SRC1=0, XSPEC_SRC2=1, XSPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[516]: cmd.EFW_DFB_XSPEC4(XSPEC_SRC1=0, XSPEC_SRC2=0, XSPEC_ENA=0) ../../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[293]: scr.dfb_set_matrix(matrix, sig1=['EF1', 'EF2', 'SCMU'], others='gnd') ../../GSEOS_scripts/DFB\dfb_functional_test.py[294]: scr.dfb_std_config(table=11) ../../GSEOS_scripts/DFB\dfb_functional_test.py[296]: cmd.EFW_SSR_DISABLE(OPTION=2) ../../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[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[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_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[297]: print >> log ('Waiting for 60 Seconds') ../../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[356]: elif(table == 5): ../../GSEOS_scripts/DFB\dfb_std_config.py[361]: elif(table == 6): ../../GSEOS_scripts/DFB\dfb_std_config.py[366]: elif(table == 7): ../../GSEOS_scripts/DFB\dfb_std_config.py[371]: elif(table == 8): ../../GSEOS_scripts/DFB\dfb_std_config.py[378]: elif(table ==9): ../../GSEOS_scripts/DFB\dfb_std_config.py[398]: elif(table ==10): ../../GSEOS_scripts/DFB\dfb_std_config.py[418]: elif(table ==11): ../../GSEOS_scripts/DFB\dfb_std_config.py[438]: elif(table ==12): ../../GSEOS_scripts/DFB\dfb_std_config.py[458]: elif(table ==13): ../../GSEOS_scripts/DFB\dfb_std_config.py[478]: elif(table ==14): ../../GSEOS_scripts/DFB\dfb_std_config.py[498]: elif(table ==15): ../../GSEOS_scripts/DFB\dfb_std_config.py[518]: elif(table ==16): ../../GSEOS_scripts/DFB\dfb_std_config.py[519]: print >> log, "Configure Spectra and Cross Spectra" ../../GSEOS_scripts/DFB\dfb_std_config.py[520]: print >> log, "Spectra" ../../GSEOS_scripts/DFB\dfb_std_config.py[521]: print >> log, "Six Spectra Enabled: E12AC, E34AC, SCMU, SCMV, V1AC, V2AC" ../../GSEOS_scripts/DFB\dfb_std_config.py[522]: print >> log, "Cadence 5, Average 3, Bins 112" ../../GSEOS_scripts/DFB\dfb_std_config.py[523]: cmd.EFW_DFB_SPEC1(SPEC_SRC=3, SPEC_NCAD=5, SPEC_NAVG=3, SPEC_BIN=2, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[524]: cmd.EFW_DFB_SPEC2(SPEC_SRC=4, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[525]: cmd.EFW_DFB_SPEC3(SPEC_SRC=0x10, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[526]: cmd.EFW_DFB_SPEC4(SPEC_SRC=0x11, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[527]: cmd.EFW_DFB_SPEC5(SPEC_SRC=0x12, SPEC_ENA=0) ../../GSEOS_scripts/DFB\dfb_std_config.py[528]: cmd.EFW_DFB_SPEC6(SPEC_SRC=0xA, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[529]: cmd.EFW_DFB_SPEC7(SPEC_SRC=0xB, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[530]: print >> log, "Cross Spectra" ../../GSEOS_scripts/DFB\dfb_std_config.py[531]: print >> log, "Four Cross Spectra Enabled: E12AC x E34AC, V1AC x V2AC, SCMU x SCMV, E12AC x SCMU " ../../GSEOS_scripts/DFB\dfb_std_config.py[532]: print >> log, "Average 3" ../../GSEOS_scripts/DFB\dfb_std_config.py[533]: cmd.EFW_DFB_XSPEC1(XSPEC_SRC1=0, XSPEC_SRC2=1, XSPEC_NAVG=3, XSPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[534]: cmd.EFW_DFB_XSPEC2(XSPEC_SRC1=2, XSPEC_SRC2=3, XSPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[535]: cmd.EFW_DFB_XSPEC3(XSPEC_SRC1=5, XSPEC_SRC2=6, XSPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[536]: cmd.EFW_DFB_XSPEC4(XSPEC_SRC1=0, XSPEC_SRC2=2, XSPEC_ENA=1) ../../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[298]: sleep(60) ../../GSEOS_scripts/DFB\dfb_functional_test.py[299]: ../../GSEOS_scripts/DFB\dfb_functional_test.py[301]: scr.dfb_std_config(table=9) ../../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[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[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[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_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[302]: print >> log ('Waiting for 60 Seconds') ../../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[356]: elif(table == 5): ../../GSEOS_scripts/DFB\dfb_std_config.py[361]: elif(table == 6): ../../GSEOS_scripts/DFB\dfb_std_config.py[366]: elif(table == 7): ../../GSEOS_scripts/DFB\dfb_std_config.py[371]: elif(table == 8): ../../GSEOS_scripts/DFB\dfb_std_config.py[378]: elif(table ==9): ../../GSEOS_scripts/DFB\dfb_std_config.py[398]: elif(table ==10): ../../GSEOS_scripts/DFB\dfb_std_config.py[418]: elif(table ==11): ../../GSEOS_scripts/DFB\dfb_std_config.py[438]: elif(table ==12): ../../GSEOS_scripts/DFB\dfb_std_config.py[458]: elif(table ==13): ../../GSEOS_scripts/DFB\dfb_std_config.py[478]: elif(table ==14): ../../GSEOS_scripts/DFB\dfb_std_config.py[498]: elif(table ==15): ../../GSEOS_scripts/DFB\dfb_std_config.py[518]: elif(table ==16): ../../GSEOS_scripts/DFB\dfb_std_config.py[538]: elif(table ==17): ../../GSEOS_scripts/DFB\dfb_std_config.py[539]: print >> log, "Configure Spectra and Cross Spectra" ../../GSEOS_scripts/DFB\dfb_std_config.py[540]: print >> log, "Spectra" ../../GSEOS_scripts/DFB\dfb_std_config.py[541]: print >> log, "Six Spectra Enabled: E12AC, E34AC, SCMU, SCMV, V1AC, V2AC" ../../GSEOS_scripts/DFB\dfb_std_config.py[542]: print >> log, "Cadence 5, Average 3, Bins 64" ../../GSEOS_scripts/DFB\dfb_std_config.py[543]: 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[544]: cmd.EFW_DFB_SPEC2(SPEC_SRC=4, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[545]: cmd.EFW_DFB_SPEC3(SPEC_SRC=0x10, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[546]: cmd.EFW_DFB_SPEC4(SPEC_SRC=0x11, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[547]: cmd.EFW_DFB_SPEC5(SPEC_SRC=0x12, SPEC_ENA=0) ../../GSEOS_scripts/DFB\dfb_std_config.py[548]: cmd.EFW_DFB_SPEC6(SPEC_SRC=0xA, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[549]: cmd.EFW_DFB_SPEC7(SPEC_SRC=0xB, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[550]: print >> log, "Cross Spectra" ../../GSEOS_scripts/DFB\dfb_std_config.py[551]: print >> log, "Four Cross Spectra Enabled: E12AC x E34AC, V1AC x V2AC, SCMU x SCMV, E12AC x SCMU " ../../GSEOS_scripts/DFB\dfb_std_config.py[552]: print >> log, "Average 2" ../../GSEOS_scripts/DFB\dfb_std_config.py[553]: cmd.EFW_DFB_XSPEC1(XSPEC_SRC1=0, XSPEC_SRC2=1, XSPEC_NAVG=2, XSPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[554]: cmd.EFW_DFB_XSPEC2(XSPEC_SRC1=2, XSPEC_SRC2=3, XSPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[555]: cmd.EFW_DFB_XSPEC3(XSPEC_SRC1=5, XSPEC_SRC2=6, XSPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[556]: cmd.EFW_DFB_XSPEC4(XSPEC_SRC1=0, XSPEC_SRC2=2, XSPEC_ENA=1) ../../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[303]: sleep(60) ../../GSEOS_scripts/DFB\dfb_functional_test.py[304]: ../../GSEOS_scripts/DFB\dfb_functional_test.py[306]: scr.dfb_std_config(table=10) ../../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[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[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[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_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[307]: print >> log ('Waiting for 60 Seconds') ../../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[356]: elif(table == 5): ../../GSEOS_scripts/DFB\dfb_std_config.py[361]: elif(table == 6): ../../GSEOS_scripts/DFB\dfb_std_config.py[366]: elif(table == 7): ../../GSEOS_scripts/DFB\dfb_std_config.py[371]: elif(table == 8): ../../GSEOS_scripts/DFB\dfb_std_config.py[378]: elif(table ==9): ../../GSEOS_scripts/DFB\dfb_std_config.py[398]: elif(table ==10): ../../GSEOS_scripts/DFB\dfb_std_config.py[418]: elif(table ==11): ../../GSEOS_scripts/DFB\dfb_std_config.py[438]: elif(table ==12): ../../GSEOS_scripts/DFB\dfb_std_config.py[458]: elif(table ==13): ../../GSEOS_scripts/DFB\dfb_std_config.py[478]: elif(table ==14): ../../GSEOS_scripts/DFB\dfb_std_config.py[498]: elif(table ==15): ../../GSEOS_scripts/DFB\dfb_std_config.py[518]: elif(table ==16): ../../GSEOS_scripts/DFB\dfb_std_config.py[538]: elif(table ==17): ../../GSEOS_scripts/DFB\dfb_std_config.py[558]: elif(table ==16): ../../GSEOS_scripts/DFB\dfb_std_config.py[578]: elif(table ==19): ../../GSEOS_scripts/DFB\dfb_std_config.py[598]: print >> log, "Invalid table number for DFB configuration. Valid range 1-19." ../../GSEOS_scripts/DFB\dfb_std_config.py[599]: usage() ../../GSEOS_scripts/DFB\dfb_std_config.py[26]: print >> log, "Usage: scr.dfb_configure(table=N), where N is the table number from the config document:" ../../GSEOS_scripts/DFB\dfb_std_config.py[600]: return ../../GSEOS_scripts/DFB\dfb_functional_test.py[308]: sleep(60) ../../GSEOS_scripts/DFB\dfb_functional_test.py[309]: ../../GSEOS_scripts/DFB\dfb_functional_test.py[311]: scr.dfb_std_config(table=11) ../../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[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[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_functional_test.py[312]: print >> log ('Waiting for 60 Seconds') ../../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[356]: elif(table == 5): ../../GSEOS_scripts/DFB\dfb_std_config.py[361]: elif(table == 6): ../../GSEOS_scripts/DFB\dfb_std_config.py[366]: elif(table == 7): ../../GSEOS_scripts/DFB\dfb_std_config.py[371]: elif(table == 8): ../../GSEOS_scripts/DFB\dfb_std_config.py[378]: elif(table ==9): ../../GSEOS_scripts/DFB\dfb_std_config.py[398]: elif(table ==10): ../../GSEOS_scripts/DFB\dfb_std_config.py[418]: elif(table ==11): ../../GSEOS_scripts/DFB\dfb_std_config.py[438]: elif(table ==12): ../../GSEOS_scripts/DFB\dfb_std_config.py[458]: elif(table ==13): ../../GSEOS_scripts/DFB\dfb_std_config.py[478]: elif(table ==14): ../../GSEOS_scripts/DFB\dfb_std_config.py[498]: elif(table ==15): ../../GSEOS_scripts/DFB\dfb_std_config.py[518]: elif(table ==16): ../../GSEOS_scripts/DFB\dfb_std_config.py[538]: elif(table ==17): ../../GSEOS_scripts/DFB\dfb_std_config.py[558]: elif(table ==16): ../../GSEOS_scripts/DFB\dfb_std_config.py[578]: elif(table ==19): ../../GSEOS_scripts/DFB\dfb_std_config.py[579]: print >> log, "Configure Spectra and Cross Spectra" ../../GSEOS_scripts/DFB\dfb_std_config.py[580]: print >> log, "Spectra" ../../GSEOS_scripts/DFB\dfb_std_config.py[581]: print >> log, "Six Spectra Enabled: E12AC, E34AC, SCMU, SCMV, V1AC, V2AC" ../../GSEOS_scripts/DFB\dfb_std_config.py[582]: print >> log, "Cadence 4, Average 3, Bins 112" ../../GSEOS_scripts/DFB\dfb_std_config.py[583]: cmd.EFW_DFB_SPEC1(SPEC_SRC=3, SPEC_NCAD=4, SPEC_NAVG=3, SPEC_BIN=2, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[584]: cmd.EFW_DFB_SPEC2(SPEC_SRC=4, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[585]: cmd.EFW_DFB_SPEC3(SPEC_SRC=0x10, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[586]: cmd.EFW_DFB_SPEC4(SPEC_SRC=0x11, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[587]: cmd.EFW_DFB_SPEC5(SPEC_SRC=0x12, SPEC_ENA=0) ../../GSEOS_scripts/DFB\dfb_std_config.py[588]: cmd.EFW_DFB_SPEC6(SPEC_SRC=0xA, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[589]: cmd.EFW_DFB_SPEC7(SPEC_SRC=0xB, SPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[590]: print >> log, "Cross Spectra" ../../GSEOS_scripts/DFB\dfb_std_config.py[591]: print >> log, "Four Cross Spectra Enabled: E12AC x E34AC, V1AC x V2AC, SCMU x SCMV, E12AC x SCMU " ../../GSEOS_scripts/DFB\dfb_std_config.py[592]: print >> log, "Average 2" ../../GSEOS_scripts/DFB\dfb_std_config.py[593]: cmd.EFW_DFB_XSPEC1(XSPEC_SRC1=0, XSPEC_SRC2=1, XSPEC_NAVG=2, XSPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[594]: cmd.EFW_DFB_XSPEC2(XSPEC_SRC1=2, XSPEC_SRC2=3, XSPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[595]: cmd.EFW_DFB_XSPEC3(XSPEC_SRC1=5, XSPEC_SRC2=6, XSPEC_ENA=1) ../../GSEOS_scripts/DFB\dfb_std_config.py[596]: cmd.EFW_DFB_XSPEC4(XSPEC_SRC1=0, XSPEC_SRC2=2, XSPEC_ENA=1) ../../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[313]: sleep(60) ../../GSEOS_scripts/DFB\dfb_functional_test.py[314]: ../../GSEOS_scripts/DFB\dfb_functional_test.py[317]: print >> log ('Waiting for 60 Seconds') ../../GSEOS_scripts/DFB\dfb_functional_test.py[318]: sleep(60) ../../GSEOS_scripts/DFB\dfb_functional_test.py[319]: ../../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[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[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_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[322]: print >> log ('Waiting for 60 Seconds')