Trace collected at: 2010-12-21 13:18:11.510000 ---------------------------------------------------------------------- ../../GSEOS_scripts/BEB/science_calibration\beb_scical_bias.py[38]: if(connector): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_bias.py[39]: print >> log, "User specified connector J%d. This will test channels %s" % (connector, str(channel_map[connector])) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_bias.py[46]: if(debug): ../../GSEOS_scripts/BEB/science_calibration\beb_scical_bias.py[50]: results = {} ../../GSEOS_scripts/BEB/science_calibration\beb_scical_bias.py[51]: readback = {} ../../GSEOS_scripts/BEB/science_calibration\beb_scical_bias.py[54]: msg = "Set FBOXes to GROUNDED" ../../GSEOS_scripts/BEB/science_calibration\beb_scical_bias.py[55]: print >> log, msg ../../GSEOS_scripts/BEB/science_calibration\beb_scical_bias.py[56]: Gseos.MessageBox(msg) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_bias.py[59]: cmd.efw_disarm(4) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_bias.py[62]: matrix_config(1) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[486]: matrix.reset(factory=True) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[488]: print >> log, "Invoking switch matrix configuration %d" % (config_num) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[492]: config_map = {0: [], ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[534]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[535]: switches = config_map[config_num] ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[540]: print >> log, "Closing matrix switch %d" % (switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[541]: matrix.close(switch) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[539]: for switch in switches: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_bias.py[65]: for channel in channel_map[connector]: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_bias.py[66]: sig_name = 'vsphere%d' % channel ../../GSEOS_scripts/BEB/science_calibration\beb_scical_bias.py[67]: results[sig_name] = {} ../../GSEOS_scripts/BEB/science_calibration\beb_scical_bias.py[68]: readback[sig_name] = {} ../../GSEOS_scripts/BEB/science_calibration\beb_scical_bias.py[69]: for value in dac_settings: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_bias.py[70]: print >> log, "Setting BIAS%d to 0x%02x" % (channel, value) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_bias.py[72]: util.SET_BIAS(channel, value) ../../GSEOS_scripts\util.py[26]: cmd.EFW_BIAS( ch, val>>8 ) ../../GSEOS_scripts\util.py[27]: cmd.EFW_BIASL( val & 0xff ) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_bias.py[73]: cmd.EFW_LDAC(readback=1) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_bias.py[77]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical_bias.py[78]: wait(APID_265, lambda: True, flTimeout=20) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_bias.py[78]: wait(APID_265, lambda: True, flTimeout=20) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_bias.py[88]: rb = EU('APID_265.IEFI_IBIAS%d' % (channel)) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_bias.py[89]: print >> log, 'APID_265.IEFI_IBIAS%d readback = %.04f' % (channel, rb) ../../GSEOS_scripts/BEB/science_calibration\beb_scical_bias.py[90]: readback[sig_name][value] = rb ../../GSEOS_scripts/BEB/science_calibration\beb_scical_bias.py[93]: result = measure(sig_name + '_333', 'electrometer') ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[294]: dmm_channel_map = {'vsphere1': 101, ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[341]: com1_open = [212, 213, 214, 221, 231, 241] # channels to open when reading com1 ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[342]: com2_open = [211, 213, 214, 222, 232, 242] # same for com2 ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[343]: amm_channel_map = { ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[429]: sig_name = sig_name.lower() ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[430]: if(with_what == 'dmm'): ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[452]: elif(with_what == 'electrometer'): ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[454]: try: ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[455]: channel = amm_channel_map[sig_name] ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[459]: matrix.abort() # If any previous dmm measurements were made, this erases the scan list so that channels can be closed w/o causing an error ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[460]: matrix.reset(100) # Open all channels on slot 100 ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[461]: open_channels = channel[0] ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[462]: close_channels = channel[1] ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[463]: print >> log, "Opening matrix channels %s" % (str(open_channels)) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[464]: print >> log, "Closing matrix channels %s" % (str(close_channels)) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[465]: matrix.open(open_channels) # Open channels on other slots ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[466]: matrix.close(close_channels) # Close channels needed to make this measurement ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[468]: time.sleep(.5) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[469]: electrometer.range('AUTO') ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[470]: electrometer.digits(7) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[471]: electrometer.zcheck(off) ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[472]: time.sleep(3) # Short delay so signal can settle after connections made ../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[473]: retval = electrometer.measure()