Trace collected at: 2010-09-17 11:57:55.375000 ---------------------------------------------------------------------- ../../GSEOS_scripts/DFB\sw_matrix_configure.py[13]: gpib_addr = 9 ../../GSEOS_scripts/DFB\sw_matrix_configure.py[14]: ip = '192.168.0.4' ../../GSEOS_scripts/DFB\sw_matrix_configure.py[15]: tcp_port = 1234 ../../GSEOS_scripts/DFB\sw_matrix_configure.py[16]: s = sw_matrix.sw_matrix(gpib_addr, ip, tcp_port) ../../GSEOS_scripts/DFB\sw_matrix_configure.py[18]: scr.dfb_set_matrix(s, sig1=['EF1','EF2'], others='gnd') ../../GSEOS_scripts/DFB\dfb_set_matrix.py[48]: """ ../../GSEOS_scripts/DFB\dfb_set_matrix.py[50]: def main(matrix, sig1=[], sig2=[], gnd=[], open=[], others=None): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[144]: class foo: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[144]: class foo: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[146]: def reset(self, n): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[149]: def close(self, n): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[152]: def open(self, n): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[155]: def test(): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[48]: """ ../../GSEOS_scripts/DFB\dfb_set_matrix.py[50]: def main(matrix, sig1=[], sig2=[], gnd=[], open=[], others=None): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[144]: class foo: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[144]: class foo: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[146]: def reset(self, n): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[149]: def close(self, n): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[152]: def open(self, n): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[155]: def test(): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[51]: channel_map = {'EF1': {'sig1': [211], ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: all_channels = channel_map.keys() ../../GSEOS_scripts/DFB\dfb_set_matrix.py[105]: if(others in channel_map['EF1'].keys()): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[106]: sig_gnd_open = sig1 + sig2 + gnd + open ../../GSEOS_scripts/DFB\dfb_set_matrix.py[108]: others_list = [] ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[121]: matrix.reset(200) # open everything ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: matrix.reset(300) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for item in sig1: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[125]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for item in sig1: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[125]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: for chan in channel_map[item]['sig1']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for item in sig1: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: for item in sig2: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[129]: for item in gnd: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[132]: for item in open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]: for item in others_list: