Trace collected at: 2010-06-03 10:25:16.140000 ---------------------------------------------------------------------- ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[16]: gpib_addr = 12 ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[17]: ip = '192.168.0.4' ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[18]: tcp_port = 1234 ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[19]: my_ds345 = ds345.ds345(gpib_addr, ip, tcp_port) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[22]: gpib_addr = 9 ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[23]: ip = '192.168.0.4' ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[24]: tcp_port = 1234 ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[25]: s = sw_matrix.sw_matrix(gpib_addr, ip, tcp_port) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[27]: log("----------------------------------------", color=BLUE, attr=BOLD ) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[28]: log("Running Super Sync Test ", color=BLUE, attr=BOLD ) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[33]: log("Configuring the switch matrix") ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[35]: scr.dfb_set_matrix(s, signal=['EF1'], others='gnd') ../../GSEOS_scripts/DFB\dfb_set_matrix.py[46]: """ ../../GSEOS_scripts/DFB\dfb_set_matrix.py[48]: def main(matrix, signal=[], gnd=[], open=[], others=None): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[46]: """ ../../GSEOS_scripts/DFB\dfb_set_matrix.py[48]: def main(matrix, signal=[], gnd=[], open=[], others=None): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[53]: channel_map = {'EF1': {'sig': [211], ../../GSEOS_scripts/DFB\dfb_set_matrix.py[89]: all_channels = channel_map.keys() ../../GSEOS_scripts/DFB\dfb_set_matrix.py[95]: if(others in channel_map['EF1'].keys()): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[96]: sig_gnd_open = signal + gnd + open ../../GSEOS_scripts/DFB\dfb_set_matrix.py[98]: others_list = [] ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: matrix.reset(200) # open everything ../../GSEOS_scripts/DFB\dfb_set_matrix.py[112]: matrix.reset(300) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[113]: for item in signal: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[114]: for chan in channel_map[item]['sig']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[115]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[114]: for chan in channel_map[item]['sig']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[113]: for item in signal: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[116]: for item in gnd: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[119]: for item in open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[37]: log("configuring signal generator") ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[38]: idn = my_ds345.get_idn() ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[39]: log(idn) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[40]: my_ds345.set_func('sine') ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[41]: my_ds345.set_freq(200) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[42]: my_ds345.set_ampl(2.5) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[43]: my_ds345.set_mod_enable(False) # Disable the burst ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[44]: my_ds345.set_mod_type(5) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[45]: my_ds345.write('BCNT 50') ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[49]: my_ds345.set_mod_enable(True) # Enable the burst Trace collected at: 2010-06-03 10:25:55.234000 ---------------------------------------------------------------------- ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[16]: gpib_addr = 12 ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[17]: ip = '192.168.0.4' ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[18]: tcp_port = 1234 ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[19]: my_ds345 = ds345.ds345(gpib_addr, ip, tcp_port) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[22]: gpib_addr = 9 ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[23]: ip = '192.168.0.4' ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[24]: tcp_port = 1234 ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[25]: s = sw_matrix.sw_matrix(gpib_addr, ip, tcp_port) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[27]: log("----------------------------------------", color=BLUE, attr=BOLD ) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[28]: log("Running Super Sync Test ", color=BLUE, attr=BOLD ) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[33]: log("Configuring the switch matrix") ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[35]: scr.dfb_set_matrix(s, signal=['EF1'], others='gnd') ../../GSEOS_scripts/DFB\dfb_set_matrix.py[46]: """ ../../GSEOS_scripts/DFB\dfb_set_matrix.py[48]: def main(matrix, signal=[], gnd=[], open=[], others=None): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[46]: """ ../../GSEOS_scripts/DFB\dfb_set_matrix.py[48]: def main(matrix, signal=[], gnd=[], open=[], others=None): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[53]: channel_map = {'EF1': {'sig': [211], ../../GSEOS_scripts/DFB\dfb_set_matrix.py[89]: all_channels = channel_map.keys() ../../GSEOS_scripts/DFB\dfb_set_matrix.py[95]: if(others in channel_map['EF1'].keys()): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[96]: sig_gnd_open = signal + gnd + open ../../GSEOS_scripts/DFB\dfb_set_matrix.py[98]: others_list = [] ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: matrix.reset(200) # open everything ../../GSEOS_scripts/DFB\dfb_set_matrix.py[112]: matrix.reset(300) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[113]: for item in signal: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[114]: for chan in channel_map[item]['sig']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[115]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[114]: for chan in channel_map[item]['sig']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[113]: for item in signal: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[116]: for item in gnd: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[119]: for item in open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[37]: log("configuring signal generator") ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[38]: idn = my_ds345.get_idn() ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[39]: log(idn) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[40]: my_ds345.set_func('sine') ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[41]: my_ds345.set_freq(200) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[42]: my_ds345.set_ampl(2.5) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[43]: my_ds345.set_mod_enable(False) # Disable the burst ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[44]: my_ds345.set_mod_type(5) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[45]: my_ds345.write('BCNT 49') ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[49]: my_ds345.set_mod_enable(True) # Enable the burst Trace collected at: 2010-06-03 10:27:45.140000 ---------------------------------------------------------------------- ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[16]: gpib_addr = 12 ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[17]: ip = '192.168.0.4' ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[18]: tcp_port = 1234 ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[19]: my_ds345 = ds345.ds345(gpib_addr, ip, tcp_port) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[22]: gpib_addr = 9 ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[23]: ip = '192.168.0.4' ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[24]: tcp_port = 1234 ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[25]: s = sw_matrix.sw_matrix(gpib_addr, ip, tcp_port) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[27]: log("----------------------------------------", color=BLUE, attr=BOLD ) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[28]: log("Running Super Sync Test ", color=BLUE, attr=BOLD ) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[33]: log("Configuring the switch matrix") ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[35]: scr.dfb_set_matrix(s, signal=['EF1'], others='gnd') ../../GSEOS_scripts/DFB\dfb_set_matrix.py[46]: """ ../../GSEOS_scripts/DFB\dfb_set_matrix.py[48]: def main(matrix, signal=[], gnd=[], open=[], others=None): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[46]: """ ../../GSEOS_scripts/DFB\dfb_set_matrix.py[48]: def main(matrix, signal=[], gnd=[], open=[], others=None): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[53]: channel_map = {'EF1': {'sig': [211], ../../GSEOS_scripts/DFB\dfb_set_matrix.py[89]: all_channels = channel_map.keys() ../../GSEOS_scripts/DFB\dfb_set_matrix.py[95]: if(others in channel_map['EF1'].keys()): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[96]: sig_gnd_open = signal + gnd + open ../../GSEOS_scripts/DFB\dfb_set_matrix.py[98]: others_list = [] ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: matrix.reset(200) # open everything ../../GSEOS_scripts/DFB\dfb_set_matrix.py[112]: matrix.reset(300) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[113]: for item in signal: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[114]: for chan in channel_map[item]['sig']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[115]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[114]: for chan in channel_map[item]['sig']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[113]: for item in signal: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[116]: for item in gnd: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[119]: for item in open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[37]: log("configuring signal generator") ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[38]: idn = my_ds345.get_idn() ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[39]: log(idn) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[40]: my_ds345.set_func('sine') ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[41]: my_ds345.set_freq(200) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[42]: my_ds345.set_ampl(2.5) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[43]: my_ds345.set_mod_enable(False) # Disable the burst ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[44]: my_ds345.set_mod_type(5) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[45]: my_ds345.write('BCNT 49') ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[49]: my_ds345.set_mod_enable(True) # Enable the burst ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[59]: cmd.EFW_DFB_SPEC1(SPEC_NAVG=0, SPEC_NCAD=0xA, SPEC_BIN=2, SPEC_ENA=1, SPEC_SRC=0) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[60]: cmd.EFW_DFB_SEPC2(SPEC_ENA=0, SPEC_SRC=0) Trace collected at: 2010-06-03 10:28:29.218000 ---------------------------------------------------------------------- ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[16]: gpib_addr = 12 ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[17]: ip = '192.168.0.4' ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[18]: tcp_port = 1234 ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[19]: my_ds345 = ds345.ds345(gpib_addr, ip, tcp_port) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[22]: gpib_addr = 9 ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[23]: ip = '192.168.0.4' ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[24]: tcp_port = 1234 ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[25]: s = sw_matrix.sw_matrix(gpib_addr, ip, tcp_port) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[27]: log("----------------------------------------", color=BLUE, attr=BOLD ) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[28]: log("Running Super Sync Test ", color=BLUE, attr=BOLD ) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[33]: log("Configuring the switch matrix") ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[35]: scr.dfb_set_matrix(s, signal=['EF1'], others='gnd') ../../GSEOS_scripts/DFB\dfb_set_matrix.py[46]: """ ../../GSEOS_scripts/DFB\dfb_set_matrix.py[48]: def main(matrix, signal=[], gnd=[], open=[], others=None): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[46]: """ ../../GSEOS_scripts/DFB\dfb_set_matrix.py[48]: def main(matrix, signal=[], gnd=[], open=[], others=None): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[53]: channel_map = {'EF1': {'sig': [211], ../../GSEOS_scripts/DFB\dfb_set_matrix.py[89]: all_channels = channel_map.keys() ../../GSEOS_scripts/DFB\dfb_set_matrix.py[95]: if(others in channel_map['EF1'].keys()): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[96]: sig_gnd_open = signal + gnd + open ../../GSEOS_scripts/DFB\dfb_set_matrix.py[98]: others_list = [] ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: matrix.reset(200) # open everything ../../GSEOS_scripts/DFB\dfb_set_matrix.py[112]: matrix.reset(300) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[113]: for item in signal: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[114]: for chan in channel_map[item]['sig']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[115]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[114]: for chan in channel_map[item]['sig']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[113]: for item in signal: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[116]: for item in gnd: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[119]: for item in open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[37]: log("configuring signal generator") ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[38]: idn = my_ds345.get_idn() ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[39]: log(idn) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[40]: my_ds345.set_func('sine') ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[41]: my_ds345.set_freq(200) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[42]: my_ds345.set_ampl(2.5) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[43]: my_ds345.set_mod_enable(False) # Disable the burst ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[44]: my_ds345.set_mod_type(5) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[45]: my_ds345.write('BCNT 49') ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[49]: my_ds345.set_mod_enable(True) # Enable the burst ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[59]: cmd.EFW_DFB_SPEC1(SPEC_NAVG=0, SPEC_NCAD=0xA, SPEC_BIN=2, SPEC_ENA=1, SPEC_SRC=0) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[60]: cmd.EFW_DFB_SPEC2(SPEC_ENA=0, SPEC_SRC=0) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[61]: cmd.EFW_DFB_SPEC3(SPEC_ENA=0, SPEC_SRC=0) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[62]: cmd.EFW_DFB_SPEC4(SPEC_ENA=0, SPEC_SRC=0) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[63]: cmd.EFW_DFB_SPEC5(SPEC_ENA=0, SPEC_SRC=0) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[64]: cmd.EFW_DFB_SPEC6(SPEC_ENA=0, SPEC_SRC=0) ../../GSEOS_scripts/DFB/DFB_PlayDate_2010.01\dfb_etu1_supersync.py[65]: cmd.EFW_DFB_SPEC7(SPEC_ENA=0, SPEC_SRC=0)