Trace collected at: 2012-08-24 19:31:42.100000 ---------------------------------------------------------------------- ../GSEOS_scripts/General\functional.py[13]: if(scope>=4): ../GSEOS_scripts/General\functional.py[16]: if (scope in [1,2,3]): ../GSEOS_scripts/General\functional.py[18]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/General\functional.py[19]: log('Performing Aliveness Test', color=BLUE, attr=BOLD ) ../GSEOS_scripts/General\functional.py[20]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/General\functional.py[23]: scr.efw_init() ../GSEOS_scripts/General\efw_init.py[10]: """ ../GSEOS_scripts/General\efw_init.py[12]: from efw import * ../GSEOS_scripts/General\efw_init.py[13]: from __main__ import APID_263, APID_267 ../GSEOS_scripts/General\efw_init.py[14]: import util ../GSEOS_scripts/General\efw_init.py[16]: def main(): ../GSEOS_scripts/General\efw_init.py[10]: """ ../GSEOS_scripts/General\efw_init.py[12]: from efw import * ../GSEOS_scripts/General\efw_init.py[13]: from __main__ import APID_263, APID_267 ../GSEOS_scripts/General\efw_init.py[14]: import util ../GSEOS_scripts/General\efw_init.py[16]: def main(): ../GSEOS_scripts/General\efw_init.py[18]: eem() ../GSEOS_scripts/General\efw_init.py[19]: em() ../GSEOS_scripts/General\efw_init.py[22]: idpu_load("0000ddff", "00") ../GSEOS_scripts/General\efw_init.py[25]: cmd.efw_clear() ../GSEOS_scripts/General\efw_init.py[27]: print >> log, "Resetting the SCE front panel error LEDs" ../GSEOS_scripts/General\efw_init.py[28]: cmd.SCE_CTRL_RESET_ERROR_COUNTERS() ../GSEOS_scripts/General\efw_init.py[31]: sleep(5) ../GSEOS_scripts/General\efw_init.py[34]: wait(APID_263, lambda: APID_263.RSTFLAG==0, flTimeout=30) ../GSEOS_scripts/General\efw_init.py[34]: wait(APID_263, lambda: APID_263.RSTFLAG==0, flTimeout=30) ../GSEOS_scripts/General\efw_init.py[34]: wait(APID_263, lambda: APID_263.RSTFLAG==0, flTimeout=30) ../GSEOS_scripts/General\efw_init.py[35]: wait(APID_267, lambda: APID_267.RSTCTR==0, flTimeout=30) ../GSEOS_scripts/General\efw_init.py[35]: wait(APID_267, lambda: APID_267.RSTCTR==0, flTimeout=30) ../GSEOS_scripts/General\efw_init.py[37]: print >> log, "Checking for normal mode" ../GSEOS_scripts/General\efw_init.py[38]: if(APID_263.IDPUMODE != 1): ../GSEOS_scripts/General\efw_init.py[42]: print >> log, "OK: normal mode" ../GSEOS_scripts/General\efw_init.py[44]: print >> log, "Disabling sweeps" ../GSEOS_scripts/General\efw_init.py[45]: cmd.efw_disarm(4) ../GSEOS_scripts/General\efw_init.py[47]: print >> log, "Changing sweeps initial value and steps" ../GSEOS_scripts/General\efw_init.py[48]: cmd.efw_table(table=6, offset=5) ../GSEOS_scripts/General\efw_init.py[49]: wait(APID_267, lambda: APID_267.LOADADR==0x94fd, flTimeout=30) ../GSEOS_scripts/General\efw_init.py[49]: wait(APID_267, lambda: APID_267.LOADADR==0x94fd, flTimeout=30) ../GSEOS_scripts/General\efw_init.py[50]: cmd.efw_load(0) ../GSEOS_scripts/General\efw_init.py[51]: sleep(5) ../GSEOS_scripts/General\efw_init.py[52]: cmd.efw_load(0) ../GSEOS_scripts/General\efw_init.py[53]: sleep(5) ../GSEOS_scripts/General\efw_init.py[54]: cmd.efw_load(0) ../GSEOS_scripts/General\efw_init.py[55]: sleep(5) ../GSEOS_scripts/General\efw_init.py[56]: cmd.efw_load(4) ../GSEOS_scripts/General\efw_init.py[58]: print >> log, 'Patching target location' ../GSEOS_scripts/General\efw_init.py[59]: cmd.EFW_DISARM(3) #SRAM Scanning disabled ../GSEOS_scripts/General\efw_init.py[60]: cmd.EFW_SRMWRTCTL(0) #SRAM write control off ../GSEOS_scripts/General\efw_init.py[61]: util.POKE( 0x0D31, 0x7F ) ../GSEOS_scripts\util.py[102]: cmd.EFW_ADRH( (addr >> 8 )& 0xff ) ../GSEOS_scripts\util.py[103]: cmd.EFW_ADRL( addr & 0xff ) ../GSEOS_scripts\util.py[104]: cmd.EFW_LOAD( byte ) ../GSEOS_scripts/General\efw_init.py[62]: cmd.EFW_SRMWRTCTL(1) ../GSEOS_scripts/General\efw_init.py[63]: cmd.EFW_ARM(3) ../GSEOS_scripts/General\efw_init.py[65]: print >> log, 'Turning on Compression' ../GSEOS_scripts/General\efw_init.py[66]: cmd.efw_arm(2) ../GSEOS_scripts/General\efw_init.py[68]: print >> log, 'Running script to load BEB Tables' ../GSEOS_scripts/General\efw_init.py[69]: scr.scr_0003() ../GSEOS_scripts\scr_0003.py[6]: """ ../GSEOS_scripts\scr_0003.py[7]: from efw import * ../GSEOS_scripts\scr_0003.py[8]: from UTIL import * ../GSEOS_scripts\UTIL.py[8]: """ ../GSEOS_scripts\UTIL.py[9]: from efw import * ../GSEOS_scripts\UTIL.py[10]: from GseosCmd import * ../GSEOS_scripts\UTIL.py[11]: from __main__ import * # required for access to APID_nnn telemetry blocks ../GSEOS_scripts\UTIL.py[13]: def SET_ALLBIASES( val ): ../GSEOS_scripts\UTIL.py[17]: def SET_ALLUSHERS( val ): ../GSEOS_scripts\UTIL.py[21]: def SET_ALLGUARDS( val ): ../GSEOS_scripts\UTIL.py[25]: def SET_BIAS( ch, val ): ../GSEOS_scripts\UTIL.py[29]: def SET_USHER( ch, val ): ../GSEOS_scripts\UTIL.py[33]: def SET_GUARD( ch, val ): ../GSEOS_scripts\UTIL.py[37]: def SET_ACTEST( ch2, ch1, freq ): ../GSEOS_scripts\UTIL.py[41]: def SET_B1RECORD( block ): ../GSEOS_scripts\UTIL.py[46]: def SET_B1PLAYBACK( block, leng ): ../GSEOS_scripts\UTIL.py[53]: def QUEUE_B1PLAYBACK( block, leng ): ../GSEOS_scripts\UTIL.py[59]: def SENDCDI( addr, data ): ../GSEOS_scripts\UTIL.py[64]: def DUMPADR( addr ): ../GSEOS_scripts\UTIL.py[71]: def DUMPCDI( addr ): ../GSEOS_scripts\UTIL.py[79]: def DUMPPKT( pkt ): ../GSEOS_scripts\UTIL.py[82]: def DUMP_FITPAGE(): ../GSEOS_scripts\UTIL.py[87]: def DUMP_TRGPAGE(): ../GSEOS_scripts\UTIL.py[92]: def DUMP_HSKPAGE(): ../GSEOS_scripts\UTIL.py[97]: def DUMP_DFBHSK( reg ): ../GSEOS_scripts\UTIL.py[101]: def POKE( addr, byte ): ../GSEOS_scripts\UTIL.py[106]: def SET_TBL( fn, index, weight, thresh): ../GSEOS_scripts\UTIL.py[111]: def SET_TESTVALUE0( byte ): ../GSEOS_scripts\UTIL.py[114]: def SET_TESTVALUE1( byte ): ../GSEOS_scripts\UTIL.py[117]: def SET_RSTCTR( byte ): ../GSEOS_scripts\UTIL.py[120]: def RESETCPU(): ../GSEOS_scripts\UTIL.py[150]: def SC_SAFE( d ): # Issue SAFE request if D==1 ../GSEOS_scripts\UTIL.py[153]: def SC_SPSS( d ): # Sun Sensor(B) if D==1 ../GSEOS_scripts\UTIL.py[156]: def SC_SPIN( sp ): # Spin Period Only ../GSEOS_scripts\UTIL.py[161]: def SC_SPAP( sp, ph ): # Spin Period and Phase ../GSEOS_scripts\UTIL.py[169]: def EMF_MAGRANGE( rr ): #EMFISIS MAG Range Bits in #15-14 ../GSEOS_scripts\UTIL.py[177]: def EMF_MAGVALID( sdr ): #EMFISIS Shared Data Received ../GSEOS_scripts\UTIL.py[181]: def EMF_BURST( val ): #EMFISIS Burst Byte in First Byte ../GSEOS_scripts\UTIL.py[188]: def ECT_BURST( val ): #ECT Burst Byte in First Byte ../GSEOS_scripts\UTIL.py[194]: def RBS_BURST( val ): #RBS Burst Byte in First Byte ../GSEOS_scripts\UTIL.py[201]: def verify_cmdcount(): ../GSEOS_scripts\UTIL.py[207]: def tryscript( script ): ../GSEOS_scripts\UTIL.py[216]: def GET_TABLEADDR( n ): ../GSEOS_scripts\UTIL.py[221]: def DFBCONFIG_ALL(): ../GSEOS_scripts\UTIL.py[225]: def DFBCONFIG_FIRSTHALF(): ../GSEOS_scripts\UTIL.py[235]: def DFBCONFIG_SECONDHALF(): ../GSEOS_scripts\UTIL.py[245]: def main(): ../GSEOS_scripts\scr_0003.py[10]: def main(): ../GSEOS_scripts\scr_0003.py[6]: """ ../GSEOS_scripts\scr_0003.py[7]: from efw import * ../GSEOS_scripts\scr_0003.py[8]: from UTIL import * ../GSEOS_scripts\scr_0003.py[10]: def main(): ../GSEOS_scripts\scr_0003.py[12]: cmd.EFW_SRMWRTCTL(PROTECT=0) ../GSEOS_scripts\scr_0003.py[13]: sleep(1) ../GSEOS_scripts\scr_0003.py[14]: cmd.EFW_CMDS(COUNT= 8) ../GSEOS_scripts\scr_0003.py[15]: sleep(1) ../GSEOS_scripts\scr_0003.py[16]: efw.idpu_load("00006000", " 21 22 23 24 25 26 27 28 00 00 00 00 00 00 00 00 00 06 0c 12 18 1e 24 2a 30 31 32 33 34 35 36 37 00 69 00 6a 8c 51 4d 50 7f 59 f8 58 7f 61 f8 60 8c 52 4d 50 7f 5a f8 58 7f 62 f8 60 8c 53 4d 50 7f 5b f8 58 7f 63 f8 60 8c 54 4d 50 7f 5c f8 58 7f 64 f8 60 8c 55 4d 50 7f 5d f8 58 7f 65 f8 60 8c 56 4d 50 7f 5e f8 58 7f 66 f8 60 01 68 01 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00") ../GSEOS_scripts\scr_0003.py[17]: sleep(1) ../GSEOS_scripts\scr_0003.py[18]: efw.idpu_load("00006080", " 00 69 00 6a 7f 51 fe 50 7f 59 f8 58 7f 61 f8 60 7f 52 fe 50 7f 5a f8 58 7f 62 f8 60 7f 53 fe 50 7f 5b f8 58 7f 63 f8 60 7f 54 fe 50 7f 5c f8 58 7f 64 f8 60 7f 55 fe 50 7f 5d f8 58 7f 65 f8 60 7f 56 fe 50 7f 5e f8 58 7f 66 f8 60 01 68 02 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 69 00 6a 67 51 61 50 86 59 5e 58 86 61 5e 60 67 52 61 50 86 5a 5e 58 86 62 5e 60 67 53 61 50") ../GSEOS_scripts\scr_0003.py[19]: sleep(1) ../GSEOS_scripts\scr_0003.py[20]: efw.idpu_load("00006100", " 86 5b 5e 58 86 63 5e 60 67 54 61 50 86 5c 5e 58 86 64 5e 60 67 55 61 50 86 5d 5e 58 86 65 5e 60 67 56 61 50 86 5e 5e 58 86 66 5e 60 01 68 03 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 69 00 6a 7f 51 fe 50 7f 59 f8 58 7f 61 f8 60 7f 52 fe 50 7f 5a f8 58 7f 62 f8 60 7f 53 fe 50 7f 5b f8 58 7f 63 f8 60 7f 54 fe 50 7f 5c f8 58 7f 64 f8 60 7f 55 fe 50 7f 5d f8 58 7f 65 f8 60") ../GSEOS_scripts\scr_0003.py[21]: sleep(1) ../GSEOS_scripts\scr_0003.py[22]: efw.idpu_load("00006180", " 7f 56 fe 50 7f 5e f8 58 7f 66 f8 60 01 68 04 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 69 00 6a 8c 51 4d 50 7f 59 f8 58 7f 61 f8 60 8c 52 4d 50 7f 5a f8 58 7f 62 f8 60 8c 53 4d 50 7f 5b f8 58 7f 63 f8 60 8c 54 4d 50 7f 5c f8 58 7f 64 f8 60 7f 5d f8 58 7f 65 f8 60 8c 56 4d 50 7f 5e f8 58 7f 66 f8 60 01 68 7f 55 f8 50 01 68 05 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00") ../GSEOS_scripts\scr_0003.py[23]: sleep(1) ../GSEOS_scripts\scr_0003.py[24]: efw.idpu_load("00006200", " 00 69 00 6a 7f 51 fe 50 7f 59 f8 58 7f 61 f8 60 7f 52 fe 50 7f 5a f8 58 7f 62 f8 60 7f 53 fe 50 7f 5b f8 58 7f 63 f8 60 7f 54 fe 50 7f 5c f8 58 7f 64 f8 60 7f 55 fe 50 7f 5d f8 58 7f 65 f8 60 7f 56 fe 50 7f 5e f8 58 7f 66 f8 60 01 68 06 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 69 00 6a 67 51 61 50 86 59 5e 58 86 61 5e 60 67 52 61 50 86 5a 5e 58 86 62 5e 60 67 53 61 50") ../GSEOS_scripts\scr_0003.py[25]: sleep(1) ../GSEOS_scripts\scr_0003.py[26]: efw.idpu_load("00006280", " 86 5b 5e 58 86 63 5e 60 67 54 61 50 86 5c 5e 58 86 64 5e 60 67 56 61 50 86 5e 5e 58 86 66 5e 60 01 68 7f 55 fe 50 7f 5d f8 58 7f 65 f8 60 01 68 07 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 69 00 6a 7f 51 fe 50 7f 59 f8 58 7f 61 f8 60 7f 52 fe 50 7f 5a f8 58 7f 62 f8 60 7f 53 fe 50 7f 5b f8 58 7f 63 f8 60 7f 54 fe 50 7f 5c f8 58 7f 64 f8 60 7f 55 fe 50 7f 5d f8 58 7f 65 f8 60") ../GSEOS_scripts\scr_0003.py[27]: sleep(1) ../GSEOS_scripts\scr_0003.py[28]: efw.idpu_load("00006300", " 7f 56 fe 50 7f 5e f8 58 7f 66 f8 60 01 68 08 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00") ../GSEOS_scripts\scr_0003.py[29]: sleep(1) ../GSEOS_scripts\scr_0003.py[30]: efw.idpu_load("00006380", " 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00") ../GSEOS_scripts\scr_0003.py[31]: sleep(1) ../GSEOS_scripts\scr_0003.py[33]: sleep(30) ../GSEOS_scripts\scr_0003.py[34]: cmd.EFW_SRMWRTCTL(PROTECT=1) ../GSEOS_scripts\scr_0003.py[36]: cmd.efw_dumptabl(12,0) ../GSEOS_scripts/General\efw_init.py[71]: print >> log, 'Setting internal filter banks to e12dc and scmu, and external to the same' ../GSEOS_scripts/General\efw_init.py[72]: cmd.EFW_DFB_FB_INT(FB_FREQBANDS=1, FB_ENA4=1, FB_ENA3=1, FB_SPD=9, FB_SEL4=6, FB_SEL3=0) ../GSEOS_scripts/General\functional.py[24]: sleep(10) ../GSEOS_scripts/General\functional.py[27]: scr.test_ld_6() ../GSEOS_scripts/FSW_scripts\test_ld_6.py[9]: """ ../GSEOS_scripts/FSW_scripts\test_ld_6.py[11]: from efw import * ../GSEOS_scripts/FSW_scripts\test_ld_6.py[12]: from UTIL import * ../GSEOS_scripts/FSW_scripts\test_ld_6.py[13]: from __main__ import * # required for access to APID_nnn telemetry blocks ../GSEOS_scripts/FSW_scripts\test_ld_6.py[15]: def main(): ../GSEOS_scripts/FSW_scripts\test_ld_6.py[9]: """ ../GSEOS_scripts/FSW_scripts\test_ld_6.py[11]: from efw import * ../GSEOS_scripts/FSW_scripts\test_ld_6.py[12]: from UTIL import * ../GSEOS_scripts/FSW_scripts\test_ld_6.py[13]: from __main__ import * # required for access to APID_nnn telemetry blocks ../GSEOS_scripts/FSW_scripts\test_ld_6.py[15]: def main(): ../GSEOS_scripts/FSW_scripts\test_ld_6.py[16]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\test_ld_6.py[17]: log('LD_6 - EEPROM LOADING/DUMPING ', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\test_ld_6.py[18]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\test_ld_6.py[19]: log('1. Initialize for the test ', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\test_ld_6.py[20]: PF=("FAIL","PASS") ../GSEOS_scripts/FSW_scripts\test_ld_6.py[21]: errcnt=0 ../GSEOS_scripts/FSW_scripts\test_ld_6.py[22]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz ../GSEOS_scripts/FSW_scripts\test_ld_6.py[24]: log('2.1 Dumping EEPROM at 2FF00 ', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\test_ld_6.py[25]: DUMPADR( 0x2FF00) ../GSEOS_scripts\UTIL.py[65]: cmd.EFW_DUMPADRX( (addr >> 24 )& 0xff ) ../GSEOS_scripts\UTIL.py[66]: cmd.EFW_DUMPADRE( (addr >> 16 )& 0xff ) ../GSEOS_scripts\UTIL.py[67]: cmd.EFW_DUMPADRH( (addr >> 8 )& 0xff ) ../GSEOS_scripts\UTIL.py[68]: cmd.EFW_DUMPADRL( addr & 0xff ) ../GSEOS_scripts\UTIL.py[69]: cmd.EFW_TMDUMPCTR(255) ../GSEOS_scripts/FSW_scripts\test_ld_6.py[26]: wait(APID_266, lambda: APID_266.DUMPADR==0x2FF00, flTimeout=32) ../GSEOS_scripts/FSW_scripts\test_ld_6.py[26]: wait(APID_266, lambda: APID_266.DUMPADR==0x2FF00, flTimeout=32) ../GSEOS_scripts/FSW_scripts\test_ld_6.py[27]: root = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\test_ld_6.py[28]: log('2.1 Read back %2x' % root, color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\test_ld_6.py[30]: log('2.2 Write Pattern at 2FF00 ', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\test_ld_6.py[31]: DUMPADR( 0x0000) #Don't read EEP w/ Writing ../GSEOS_scripts\UTIL.py[65]: cmd.EFW_DUMPADRX( (addr >> 24 )& 0xff ) ../GSEOS_scripts\UTIL.py[66]: cmd.EFW_DUMPADRE( (addr >> 16 )& 0xff ) ../GSEOS_scripts\UTIL.py[67]: cmd.EFW_DUMPADRH( (addr >> 8 )& 0xff ) ../GSEOS_scripts\UTIL.py[68]: cmd.EFW_DUMPADRL( addr & 0xff ) ../GSEOS_scripts\UTIL.py[69]: cmd.EFW_TMDUMPCTR(255) ../GSEOS_scripts/FSW_scripts\test_ld_6.py[32]: wait(APID_266, lambda: APID_266.DUMPADR==0x0000, flTimeout=12) ../GSEOS_scripts/FSW_scripts\test_ld_6.py[32]: wait(APID_266, lambda: APID_266.DUMPADR==0x0000, flTimeout=12) ../GSEOS_scripts/FSW_scripts\test_ld_6.py[32]: wait(APID_266, lambda: APID_266.DUMPADR==0x0000, flTimeout=12) ../GSEOS_scripts/FSW_scripts\test_ld_6.py[32]: wait(APID_266, lambda: APID_266.DUMPADR==0x0000, flTimeout=12) ../GSEOS_scripts/FSW_scripts\test_ld_6.py[32]: wait(APID_266, lambda: APID_266.DUMPADR==0x0000, flTimeout=12) ../GSEOS_scripts/FSW_scripts\test_ld_6.py[32]: wait(APID_266, lambda: APID_266.DUMPADR==0x0000, flTimeout=12) ../GSEOS_scripts/FSW_scripts\test_ld_6.py[32]: wait(APID_266, lambda: APID_266.DUMPADR==0x0000, flTimeout=12) ../GSEOS_scripts/FSW_scripts\test_ld_6.py[32]: wait(APID_266, lambda: APID_266.DUMPADR==0x0000, flTimeout=12) ../GSEOS_scripts/FSW_scripts\test_ld_6.py[32]: wait(APID_266, lambda: APID_266.DUMPADR==0x0000, flTimeout=12) ../GSEOS_scripts/FSW_scripts\test_ld_6.py[34]: cmd.EFW_EEPWRTCTL( 1 ) # Enable EEPROM Write ../GSEOS_scripts/FSW_scripts\test_ld_6.py[35]: if(root < 0x80): ../GSEOS_scripts/FSW_scripts\test_ld_6.py[40]: efw.idpu_load("0002FF00", "51 52 53 54 55 56 57 58") ../GSEOS_scripts/FSW_scripts\test_ld_6.py[41]: log('2.2 Pattern is 51 52 53 54 55 56 57 58', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\test_ld_6.py[42]: first=0x51 ../GSEOS_scripts/FSW_scripts\test_ld_6.py[43]: sleep(5) ../GSEOS_scripts/FSW_scripts\test_ld_6.py[44]: cmd.EFW_EEPWRTCTL( 0 ) #Disable EEPROM ../GSEOS_scripts/FSW_scripts\test_ld_6.py[46]: log('2.3 Dump/Verify Pattern at 2FF00 ', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\test_ld_6.py[47]: DUMPADR( 0x2FF00) #Read Pattern Location ../GSEOS_scripts\UTIL.py[65]: cmd.EFW_DUMPADRX( (addr >> 24 )& 0xff ) ../GSEOS_scripts\UTIL.py[66]: cmd.EFW_DUMPADRE( (addr >> 16 )& 0xff ) ../GSEOS_scripts\UTIL.py[67]: cmd.EFW_DUMPADRH( (addr >> 8 )& 0xff ) ../GSEOS_scripts\UTIL.py[68]: cmd.EFW_DUMPADRL( addr & 0xff ) ../GSEOS_scripts\UTIL.py[69]: cmd.EFW_TMDUMPCTR(255) ../GSEOS_scripts/FSW_scripts\test_ld_6.py[48]: wait(APID_266, lambda: APID_266.DUMPADR==0x2FF00, flTimeout=12) ../GSEOS_scripts/FSW_scripts\test_ld_6.py[26]: wait(APID_266, lambda: APID_266.DUMPADR==0x2FF00, flTimeout=32) ../GSEOS_scripts/FSW_scripts\test_ld_6.py[26]: wait(APID_266, lambda: APID_266.DUMPADR==0x2FF00, flTimeout=32) ../GSEOS_scripts/FSW_scripts\test_ld_6.py[26]: wait(APID_266, lambda: APID_266.DUMPADR==0x2FF00, flTimeout=32) ../GSEOS_scripts/FSW_scripts\test_ld_6.py[26]: wait(APID_266, lambda: APID_266.DUMPADR==0x2FF00, flTimeout=32) ../GSEOS_scripts/FSW_scripts\test_ld_6.py[26]: wait(APID_266, lambda: APID_266.DUMPADR==0x2FF00, flTimeout=32) ../GSEOS_scripts/FSW_scripts\test_ld_6.py[26]: wait(APID_266, lambda: APID_266.DUMPADR==0x2FF00, flTimeout=32) ../GSEOS_scripts/FSW_scripts\test_ld_6.py[26]: wait(APID_266, lambda: APID_266.DUMPADR==0x2FF00, flTimeout=32) ../GSEOS_scripts/FSW_scripts\test_ld_6.py[26]: wait(APID_266, lambda: APID_266.DUMPADR==0x2FF00, flTimeout=32) ../GSEOS_scripts/FSW_scripts\test_ld_6.py[26]: wait(APID_266, lambda: APID_266.DUMPADR==0x2FF00, flTimeout=32) ../GSEOS_scripts/FSW_scripts\test_ld_6.py[51]: for i in range(0,8): ../GSEOS_scripts/FSW_scripts\test_ld_6.py[52]: log('2.3 EEPROM[]= %02x : %s' % (APID_266.Data[i],PF[APID_266.Data[i]==first+i]), color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\test_ld_6.py[53]: if(APID_266.Data[i]!=(first+i)): ../GSEOS_scripts/FSW_scripts\test_ld_6.py[51]: for i in range(0,8): ../GSEOS_scripts/FSW_scripts\test_ld_6.py[52]: log('2.3 EEPROM[]= %02x : %s' % (APID_266.Data[i],PF[APID_266.Data[i]==first+i]), color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\test_ld_6.py[53]: if(APID_266.Data[i]!=(first+i)): ../GSEOS_scripts/FSW_scripts\test_ld_6.py[51]: for i in range(0,8): ../GSEOS_scripts/FSW_scripts\test_ld_6.py[52]: log('2.3 EEPROM[]= %02x : %s' % (APID_266.Data[i],PF[APID_266.Data[i]==first+i]), color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\test_ld_6.py[53]: if(APID_266.Data[i]!=(first+i)): ../GSEOS_scripts/FSW_scripts\test_ld_6.py[51]: for i in range(0,8): ../GSEOS_scripts/FSW_scripts\test_ld_6.py[52]: log('2.3 EEPROM[]= %02x : %s' % (APID_266.Data[i],PF[APID_266.Data[i]==first+i]), color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\test_ld_6.py[53]: if(APID_266.Data[i]!=(first+i)): ../GSEOS_scripts/FSW_scripts\test_ld_6.py[51]: for i in range(0,8): ../GSEOS_scripts/FSW_scripts\test_ld_6.py[52]: log('2.3 EEPROM[]= %02x : %s' % (APID_266.Data[i],PF[APID_266.Data[i]==first+i]), color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\test_ld_6.py[53]: if(APID_266.Data[i]!=(first+i)): ../GSEOS_scripts/FSW_scripts\test_ld_6.py[51]: for i in range(0,8): ../GSEOS_scripts/FSW_scripts\test_ld_6.py[52]: log('2.3 EEPROM[]= %02x : %s' % (APID_266.Data[i],PF[APID_266.Data[i]==first+i]), color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\test_ld_6.py[53]: if(APID_266.Data[i]!=(first+i)): ../GSEOS_scripts/FSW_scripts\test_ld_6.py[51]: for i in range(0,8): ../GSEOS_scripts/FSW_scripts\test_ld_6.py[52]: log('2.3 EEPROM[]= %02x : %s' % (APID_266.Data[i],PF[APID_266.Data[i]==first+i]), color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\test_ld_6.py[53]: if(APID_266.Data[i]!=(first+i)): ../GSEOS_scripts/FSW_scripts\test_ld_6.py[51]: for i in range(0,8): ../GSEOS_scripts/FSW_scripts\test_ld_6.py[52]: log('2.3 EEPROM[]= %02x : %s' % (APID_266.Data[i],PF[APID_266.Data[i]==first+i]), color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\test_ld_6.py[53]: if(APID_266.Data[i]!=(first+i)): ../GSEOS_scripts/FSW_scripts\test_ld_6.py[51]: for i in range(0,8): ../GSEOS_scripts/FSW_scripts\test_ld_6.py[56]: cmd.EFW_TMPKTRATE( 4, 8 ) #Set APID 267 back to 1/8Hz ../GSEOS_scripts/FSW_scripts\test_ld_6.py[58]: log('LD_6 - EEPROM LOAD/DUMP %d errors '%errcnt, color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\test_ld_6.py[59]: log('================END=====================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\test_ld_6.py[60]: return(errcnt) ../GSEOS_scripts/General\functional.py[29]: msg = 'Please verify there were no errors in the eeprom test.' ../GSEOS_scripts/General\functional.py[30]: Gseos.MessageBox(msg) ../GSEOS_scripts/General\functional.py[33]: scr.dc_functional() ../GSEOS_scripts/General\dc_functional.py[5]: """ ../GSEOS_scripts/General\dc_functional.py[7]: from efw import * ../GSEOS_scripts/General\dc_functional.py[8]: import util ../GSEOS_scripts/General\dc_functional.py[9]: from __main__ import APID_265 ../GSEOS_scripts/General\dc_functional.py[12]: tolerance = 12 # values can be +/- this value in nA and still pass ../GSEOS_scripts/General\dc_functional.py[13]: chan_map = {'odds': [1,3,5], ../GSEOS_scripts/General\dc_functional.py[17]: val_map = {0x0000: -525, ../GSEOS_scripts/General\dc_functional.py[23]: def get_bias_values(): ../GSEOS_scripts/General\dc_functional.py[34]: def set_check(channels, value, delay=None): ../GSEOS_scripts/General\dc_functional.py[88]: def main(): ../GSEOS_scripts/General\dc_functional.py[5]: """ ../GSEOS_scripts/General\dc_functional.py[7]: from efw import * ../GSEOS_scripts/General\dc_functional.py[8]: import util ../GSEOS_scripts/General\dc_functional.py[9]: from __main__ import APID_265 ../GSEOS_scripts/General\dc_functional.py[12]: tolerance = 12 # values can be +/- this value in nA and still pass ../GSEOS_scripts/General\dc_functional.py[13]: chan_map = {'odds': [1,3,5], ../GSEOS_scripts/General\dc_functional.py[17]: val_map = {0x0000: -525, ../GSEOS_scripts/General\dc_functional.py[23]: def get_bias_values(): ../GSEOS_scripts/General\dc_functional.py[34]: def set_check(channels, value, delay=None): ../GSEOS_scripts/General\dc_functional.py[88]: def main(): ../GSEOS_scripts/General\dc_functional.py[89]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/General\dc_functional.py[90]: log('DC Functional Script Running', color=BLUE, attr=BOLD ) ../GSEOS_scripts/General\dc_functional.py[91]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/General\dc_functional.py[94]: 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(table == None): ../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[85]: elif(table==99): ../GSEOS_scripts/DFB\dfb_std_config.py[102]: elif(table == 1): ../GSEOS_scripts/DFB\dfb_std_config.py[103]: print >> log, "Configure DFB for standard mode" ../GSEOS_scripts/DFB\dfb_std_config.py[104]: print >> log, "Burst 2" ../GSEOS_scripts/DFB\dfb_std_config.py[105]: print >> log, "VAC and MSC @ 16kS/s, EDC Disabled in SSR Route" ../GSEOS_scripts/DFB\dfb_std_config.py[106]: cmd.EFW_DFB_E_B2(E_B2_SPD=0x5, E_B2_ENA=0x7) ../GSEOS_scripts/DFB\dfb_std_config.py[107]: cmd.EFW_DFB_V_B2(V_B2_SPD=0xE, V_B2_ENA=0x3F) ../GSEOS_scripts/DFB\dfb_std_config.py[108]: cmd.EFW_DFB_SCM_B2(SCM_B2_SPD=0xE, SCM_B2_ENA=0x7) ../GSEOS_scripts/DFB\dfb_std_config.py[110]: print >> log, "Burst 1" ../GSEOS_scripts/DFB\dfb_std_config.py[111]: print >> log, "VDC, EDC and MSC @ 512S/s" ../GSEOS_scripts/DFB\dfb_std_config.py[112]: cmd.EFW_DFB_E_B1(E_B1_SPD=0x9, E_B1_ENA=0x7) ../GSEOS_scripts/DFB\dfb_std_config.py[113]: cmd.EFW_DFB_V_B1(V_B1_SPD=0x9, V_B1_ENA=0x3F) ../GSEOS_scripts/DFB\dfb_std_config.py[114]: cmd.EFW_DFB_SCM_B1(SCM_B1_SPD=0x9, SCM_B1_ENA=0x7) ../GSEOS_scripts/DFB\dfb_std_config.py[116]: print >> log, "Survey" ../GSEOS_scripts/DFB\dfb_std_config.py[117]: print >> log, "VDC at 16S/s, EDC, Int Waveforms @ 32S/s, MAG @ 64S/s" ../GSEOS_scripts/DFB\dfb_std_config.py[118]: cmd.EFW_DFB_E_SVY_ENA(E_SVY_SPD=5, E_SVY_ENA=0x7) ../GSEOS_scripts/DFB\dfb_std_config.py[119]: cmd.EFW_DFB_V_SVY(V_SVY_SPD=4, V_SVY_ENA=0x3F) ../GSEOS_scripts/DFB\dfb_std_config.py[120]: cmd.EFW_DFB_MAG(MAG_SVY_SPD=6, MAG_SVY_ENA=0x7) ../GSEOS_scripts/DFB\dfb_std_config.py[121]: cmd.EFW_DFB_SVY_INT(SVY_INT_SPD=5, SVY_INT_ENA=0xFFF) ../GSEOS_scripts/DFB\dfb_std_config.py[123]: print >> log, "Filter Banks AKA Triggers" ../GSEOS_scripts/DFB\dfb_std_config.py[124]: print >> log, "E12DC, SCMU at 8S/s 7 Bins" ../GSEOS_scripts/DFB\dfb_std_config.py[125]: 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[127]: print >> log, "Internal Triggers" ../GSEOS_scripts/DFB\dfb_std_config.py[128]: print >> log, "E12DC, SCMU at 32S/s 13 Bins" ../GSEOS_scripts/DFB\dfb_std_config.py[129]: 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[131]: print >> log, "Spectra" ../GSEOS_scripts/DFB\dfb_std_config.py[132]: print >> log, "All 7 Spectra Enabled: E12AC, E56AC, SCMU, SCMV, SCMW, V1AC, V2AC" ../GSEOS_scripts/DFB\dfb_std_config.py[133]: 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[134]: cmd.EFW_DFB_SPEC2(SPEC_SRC=5, SPEC_ENA=1) ../GSEOS_scripts/DFB\dfb_std_config.py[135]: cmd.EFW_DFB_SPEC3(SPEC_SRC=0x10, SPEC_ENA=1) ../GSEOS_scripts/DFB\dfb_std_config.py[136]: cmd.EFW_DFB_SPEC4(SPEC_SRC=0x11, SPEC_ENA=1) ../GSEOS_scripts/DFB\dfb_std_config.py[137]: cmd.EFW_DFB_SPEC5(SPEC_SRC=0x12, SPEC_ENA=1) ../GSEOS_scripts/DFB\dfb_std_config.py[138]: cmd.EFW_DFB_SPEC6(SPEC_SRC=0xA, SPEC_ENA=1) ../GSEOS_scripts/DFB\dfb_std_config.py[139]: cmd.EFW_DFB_SPEC7(SPEC_SRC=0xB, SPEC_ENA=1) ../GSEOS_scripts/DFB\dfb_std_config.py[140]: print >> log, "Cross Spectra" ../GSEOS_scripts/DFB\dfb_std_config.py[141]: print >> log, "Two Cross Spectra Enabled: SCMW x E12AC, V1AC x V2AC" ../GSEOS_scripts/DFB\dfb_std_config.py[142]: cmd.EFW_DFB_XSPEC1(XSPEC_SRC1=4, XSPEC_SRC2=0, XSPEC_NAVG=3, XSPEC_ENA=1) ../GSEOS_scripts/DFB\dfb_std_config.py[143]: cmd.EFW_DFB_XSPEC2(XSPEC_SRC1=5, XSPEC_SRC2=6, XSPEC_ENA=1) ../GSEOS_scripts/DFB\dfb_std_config.py[144]: cmd.EFW_DFB_XSPEC3(XSPEC_SRC1=0, XSPEC_SRC2=0, XSPEC_ENA=0) ../GSEOS_scripts/DFB\dfb_std_config.py[145]: cmd.EFW_DFB_XSPEC4(XSPEC_SRC1=0, XSPEC_SRC2=0, XSPEC_ENA=0) ../GSEOS_scripts/DFB\dfb_std_config.py[147]: print >> log, "Route Packets as per standard configuration" ../GSEOS_scripts/DFB\dfb_std_config.py[148]: cmd.EFW_SSR_ROUTE(APID=1, SEGMENT=1) ../GSEOS_scripts/DFB\dfb_std_config.py[149]: cmd.EFW_SSR_ROUTE(APID=3, SEGMENT=1) ../GSEOS_scripts/DFB\dfb_std_config.py[150]: cmd.EFW_SSR_ROUTE(APID=4, SEGMENT=1) ../GSEOS_scripts/DFB\dfb_std_config.py[151]: cmd.EFW_SSR_ROUTE(APID=5, SEGMENT=0) ../GSEOS_scripts/DFB\dfb_std_config.py[152]: cmd.EFW_SSR_ROUTE(APID=6, SEGMENT=2) ../GSEOS_scripts/DFB\dfb_std_config.py[153]: cmd.EFW_SSR_ROUTE(APID=7, SEGMENT=2) ../GSEOS_scripts/DFB\dfb_std_config.py[154]: cmd.EFW_SSR_ROUTE(APID=8, SEGMENT=2) ../GSEOS_scripts/DFB\dfb_std_config.py[155]: cmd.EFW_SSR_ROUTE(APID=9, SEGMENT=0) ../GSEOS_scripts/DFB\dfb_std_config.py[156]: cmd.EFW_SSR_ROUTE(APID=0xA, SEGMENT=3) ../GSEOS_scripts/DFB\dfb_std_config.py[157]: cmd.EFW_SSR_ROUTE(APID=0xB, SEGMENT=3) ../GSEOS_scripts/DFB\dfb_std_config.py[158]: cmd.EFW_SSR_ROUTE(APID=0xE, SEGMENT=1) ../GSEOS_scripts/DFB\dfb_std_config.py[159]: cmd.EFW_SSR_ROUTE(APID=0xF, SEGMENT=1) ../GSEOS_scripts/DFB\dfb_std_config.py[161]: sleep(5) ../GSEOS_scripts/DFB\dfb_std_config.py[162]: 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[654]: print >> log, "Done setting up DFB for table %d" % table ../GSEOS_scripts/General\dc_functional.py[95]: print >> log, "Sleeping 32 seconds" ../GSEOS_scripts/General\dc_functional.py[96]: sleep(32) ../GSEOS_scripts/General\dc_functional.py[99]: set_check('all', 0x7fff, delay=10) ../GSEOS_scripts/General\dc_functional.py[47]: print >> log, "Setting %s to 0x%04x" % (channels, value) ../GSEOS_scripts/General\dc_functional.py[48]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[49]: 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/General\dc_functional.py[48]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[49]: 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/General\dc_functional.py[48]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[49]: 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/General\dc_functional.py[48]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[49]: 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/General\dc_functional.py[48]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[49]: 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/General\dc_functional.py[48]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[49]: 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/General\dc_functional.py[48]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[50]: cmd.EFW_LDAC(READBACK=1) ../GSEOS_scripts/General\dc_functional.py[64]: print >> log, "Waiting for readback." ../GSEOS_scripts/General\dc_functional.py[65]: wait(APID_265, lambda: True, flTimeout=300) ../GSEOS_scripts/General\dc_functional.py[65]: wait(APID_265, lambda: True, flTimeout=300) ../GSEOS_scripts/General\dc_functional.py[66]: actual_values = get_bias_values() ../GSEOS_scripts/General\dc_functional.py[28]: retval = [] ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[32]: return retval ../GSEOS_scripts/General\dc_functional.py[69]: target_value = val_map[value] # Figure out the expected nA from the setpoint ../GSEOS_scripts/General\dc_functional.py[70]: min_value = target_value - tolerance ../GSEOS_scripts/General\dc_functional.py[71]: max_value = target_value + tolerance ../GSEOS_scripts/General\dc_functional.py[72]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[73]: actual_value = actual_values[channel-1] ../GSEOS_scripts/General\dc_functional.py[74]: if(min_value < actual_value < max_value): ../GSEOS_scripts/General\dc_functional.py[75]: print >> log, "OK: %.2f < BIAS%d(%.2f) < %.2f" % (min_value, ../GSEOS_scripts/General\dc_functional.py[72]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[73]: actual_value = actual_values[channel-1] ../GSEOS_scripts/General\dc_functional.py[74]: if(min_value < actual_value < max_value): ../GSEOS_scripts/General\dc_functional.py[75]: print >> log, "OK: %.2f < BIAS%d(%.2f) < %.2f" % (min_value, ../GSEOS_scripts/General\dc_functional.py[72]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[73]: actual_value = actual_values[channel-1] ../GSEOS_scripts/General\dc_functional.py[74]: if(min_value < actual_value < max_value): ../GSEOS_scripts/General\dc_functional.py[75]: print >> log, "OK: %.2f < BIAS%d(%.2f) < %.2f" % (min_value, ../GSEOS_scripts/General\dc_functional.py[72]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[73]: actual_value = actual_values[channel-1] ../GSEOS_scripts/General\dc_functional.py[74]: if(min_value < actual_value < max_value): ../GSEOS_scripts/General\dc_functional.py[75]: print >> log, "OK: %.2f < BIAS%d(%.2f) < %.2f" % (min_value, ../GSEOS_scripts/General\dc_functional.py[72]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[73]: actual_value = actual_values[channel-1] ../GSEOS_scripts/General\dc_functional.py[74]: if(min_value < actual_value < max_value): ../GSEOS_scripts/General\dc_functional.py[75]: print >> log, "OK: %.2f < BIAS%d(%.2f) < %.2f" % (min_value, ../GSEOS_scripts/General\dc_functional.py[72]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[73]: actual_value = actual_values[channel-1] ../GSEOS_scripts/General\dc_functional.py[74]: if(min_value < actual_value < max_value): ../GSEOS_scripts/General\dc_functional.py[75]: print >> log, "OK: %.2f < BIAS%d(%.2f) < %.2f" % (min_value, ../GSEOS_scripts/General\dc_functional.py[72]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[102]: values = val_map.keys() ../GSEOS_scripts/General\dc_functional.py[103]: values.sort() ../GSEOS_scripts/General\dc_functional.py[104]: for value in values: ../GSEOS_scripts/General\dc_functional.py[105]: set_check('odds', value, delay=32) ../GSEOS_scripts/General\dc_functional.py[47]: print >> log, "Setting %s to 0x%04x" % (channels, value) ../GSEOS_scripts/General\dc_functional.py[48]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[49]: 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/General\dc_functional.py[48]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[49]: 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/General\dc_functional.py[48]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[49]: 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/General\dc_functional.py[48]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[50]: cmd.EFW_LDAC(READBACK=1) ../GSEOS_scripts/General\dc_functional.py[64]: print >> log, "Waiting for readback." ../GSEOS_scripts/General\dc_functional.py[65]: wait(APID_265, lambda: True, flTimeout=300) ../GSEOS_scripts/General\dc_functional.py[65]: wait(APID_265, lambda: True, flTimeout=300) ../GSEOS_scripts/General\dc_functional.py[66]: actual_values = get_bias_values() ../GSEOS_scripts/General\dc_functional.py[28]: retval = [] ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[32]: return retval ../GSEOS_scripts/General\dc_functional.py[69]: target_value = val_map[value] # Figure out the expected nA from the setpoint ../GSEOS_scripts/General\dc_functional.py[70]: min_value = target_value - tolerance ../GSEOS_scripts/General\dc_functional.py[71]: max_value = target_value + tolerance ../GSEOS_scripts/General\dc_functional.py[72]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[73]: actual_value = actual_values[channel-1] ../GSEOS_scripts/General\dc_functional.py[74]: if(min_value < actual_value < max_value): ../GSEOS_scripts/General\dc_functional.py[75]: print >> log, "OK: %.2f < BIAS%d(%.2f) < %.2f" % (min_value, ../GSEOS_scripts/General\dc_functional.py[72]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[73]: actual_value = actual_values[channel-1] ../GSEOS_scripts/General\dc_functional.py[74]: if(min_value < actual_value < max_value): ../GSEOS_scripts/General\dc_functional.py[75]: print >> log, "OK: %.2f < BIAS%d(%.2f) < %.2f" % (min_value, ../GSEOS_scripts/General\dc_functional.py[72]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[73]: actual_value = actual_values[channel-1] ../GSEOS_scripts/General\dc_functional.py[74]: if(min_value < actual_value < max_value): ../GSEOS_scripts/General\dc_functional.py[75]: print >> log, "OK: %.2f < BIAS%d(%.2f) < %.2f" % (min_value, ../GSEOS_scripts/General\dc_functional.py[72]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[104]: for value in values: ../GSEOS_scripts/General\dc_functional.py[105]: set_check('odds', value, delay=32) ../GSEOS_scripts/General\dc_functional.py[47]: print >> log, "Setting %s to 0x%04x" % (channels, value) ../GSEOS_scripts/General\dc_functional.py[48]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[49]: 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/General\dc_functional.py[48]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[49]: 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/General\dc_functional.py[48]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[49]: 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/General\dc_functional.py[48]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[50]: cmd.EFW_LDAC(READBACK=1) ../GSEOS_scripts/General\dc_functional.py[64]: print >> log, "Waiting for readback." ../GSEOS_scripts/General\dc_functional.py[65]: wait(APID_265, lambda: True, flTimeout=300) ../GSEOS_scripts/General\dc_functional.py[65]: wait(APID_265, lambda: True, flTimeout=300) ../GSEOS_scripts/General\dc_functional.py[66]: actual_values = get_bias_values() ../GSEOS_scripts/General\dc_functional.py[28]: retval = [] ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[32]: return retval ../GSEOS_scripts/General\dc_functional.py[69]: target_value = val_map[value] # Figure out the expected nA from the setpoint ../GSEOS_scripts/General\dc_functional.py[70]: min_value = target_value - tolerance ../GSEOS_scripts/General\dc_functional.py[71]: max_value = target_value + tolerance ../GSEOS_scripts/General\dc_functional.py[72]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[73]: actual_value = actual_values[channel-1] ../GSEOS_scripts/General\dc_functional.py[74]: if(min_value < actual_value < max_value): ../GSEOS_scripts/General\dc_functional.py[75]: print >> log, "OK: %.2f < BIAS%d(%.2f) < %.2f" % (min_value, ../GSEOS_scripts/General\dc_functional.py[72]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[73]: actual_value = actual_values[channel-1] ../GSEOS_scripts/General\dc_functional.py[74]: if(min_value < actual_value < max_value): ../GSEOS_scripts/General\dc_functional.py[75]: print >> log, "OK: %.2f < BIAS%d(%.2f) < %.2f" % (min_value, ../GSEOS_scripts/General\dc_functional.py[72]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[73]: actual_value = actual_values[channel-1] ../GSEOS_scripts/General\dc_functional.py[74]: if(min_value < actual_value < max_value): ../GSEOS_scripts/General\dc_functional.py[75]: print >> log, "OK: %.2f < BIAS%d(%.2f) < %.2f" % (min_value, ../GSEOS_scripts/General\dc_functional.py[72]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[104]: for value in values: ../GSEOS_scripts/General\dc_functional.py[105]: set_check('odds', value, delay=32) ../GSEOS_scripts/General\dc_functional.py[47]: print >> log, "Setting %s to 0x%04x" % (channels, value) ../GSEOS_scripts/General\dc_functional.py[48]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[49]: 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/General\dc_functional.py[48]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[49]: 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/General\dc_functional.py[48]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[49]: 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/General\dc_functional.py[48]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[50]: cmd.EFW_LDAC(READBACK=1) ../GSEOS_scripts/General\dc_functional.py[64]: print >> log, "Waiting for readback." ../GSEOS_scripts/General\dc_functional.py[65]: wait(APID_265, lambda: True, flTimeout=300) ../GSEOS_scripts/General\dc_functional.py[65]: wait(APID_265, lambda: True, flTimeout=300) ../GSEOS_scripts/General\dc_functional.py[66]: actual_values = get_bias_values() ../GSEOS_scripts/General\dc_functional.py[28]: retval = [] ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[32]: return retval ../GSEOS_scripts/General\dc_functional.py[69]: target_value = val_map[value] # Figure out the expected nA from the setpoint ../GSEOS_scripts/General\dc_functional.py[70]: min_value = target_value - tolerance ../GSEOS_scripts/General\dc_functional.py[71]: max_value = target_value + tolerance ../GSEOS_scripts/General\dc_functional.py[72]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[73]: actual_value = actual_values[channel-1] ../GSEOS_scripts/General\dc_functional.py[74]: if(min_value < actual_value < max_value): ../GSEOS_scripts/General\dc_functional.py[75]: print >> log, "OK: %.2f < BIAS%d(%.2f) < %.2f" % (min_value, ../GSEOS_scripts/General\dc_functional.py[72]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[73]: actual_value = actual_values[channel-1] ../GSEOS_scripts/General\dc_functional.py[74]: if(min_value < actual_value < max_value): ../GSEOS_scripts/General\dc_functional.py[75]: print >> log, "OK: %.2f < BIAS%d(%.2f) < %.2f" % (min_value, ../GSEOS_scripts/General\dc_functional.py[72]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[73]: actual_value = actual_values[channel-1] ../GSEOS_scripts/General\dc_functional.py[74]: if(min_value < actual_value < max_value): ../GSEOS_scripts/General\dc_functional.py[75]: print >> log, "OK: %.2f < BIAS%d(%.2f) < %.2f" % (min_value, ../GSEOS_scripts/General\dc_functional.py[72]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[104]: for value in values: ../GSEOS_scripts/General\dc_functional.py[105]: set_check('odds', value, delay=32) ../GSEOS_scripts/General\dc_functional.py[47]: print >> log, "Setting %s to 0x%04x" % (channels, value) ../GSEOS_scripts/General\dc_functional.py[48]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[49]: 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/General\dc_functional.py[48]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[49]: 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/General\dc_functional.py[48]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[49]: 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/General\dc_functional.py[48]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[50]: cmd.EFW_LDAC(READBACK=1) ../GSEOS_scripts/General\dc_functional.py[64]: print >> log, "Waiting for readback." ../GSEOS_scripts/General\dc_functional.py[65]: wait(APID_265, lambda: True, flTimeout=300) ../GSEOS_scripts/General\dc_functional.py[65]: wait(APID_265, lambda: True, flTimeout=300) ../GSEOS_scripts/General\dc_functional.py[66]: actual_values = get_bias_values() ../GSEOS_scripts/General\dc_functional.py[28]: retval = [] ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[32]: return retval ../GSEOS_scripts/General\dc_functional.py[69]: target_value = val_map[value] # Figure out the expected nA from the setpoint ../GSEOS_scripts/General\dc_functional.py[70]: min_value = target_value - tolerance ../GSEOS_scripts/General\dc_functional.py[71]: max_value = target_value + tolerance ../GSEOS_scripts/General\dc_functional.py[72]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[73]: actual_value = actual_values[channel-1] ../GSEOS_scripts/General\dc_functional.py[74]: if(min_value < actual_value < max_value): ../GSEOS_scripts/General\dc_functional.py[75]: print >> log, "OK: %.2f < BIAS%d(%.2f) < %.2f" % (min_value, ../GSEOS_scripts/General\dc_functional.py[72]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[73]: actual_value = actual_values[channel-1] ../GSEOS_scripts/General\dc_functional.py[74]: if(min_value < actual_value < max_value): ../GSEOS_scripts/General\dc_functional.py[75]: print >> log, "OK: %.2f < BIAS%d(%.2f) < %.2f" % (min_value, ../GSEOS_scripts/General\dc_functional.py[72]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[73]: actual_value = actual_values[channel-1] ../GSEOS_scripts/General\dc_functional.py[74]: if(min_value < actual_value < max_value): ../GSEOS_scripts/General\dc_functional.py[75]: print >> log, "OK: %.2f < BIAS%d(%.2f) < %.2f" % (min_value, ../GSEOS_scripts/General\dc_functional.py[72]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[104]: for value in values: ../GSEOS_scripts/General\dc_functional.py[105]: set_check('odds', value, delay=32) ../GSEOS_scripts/General\dc_functional.py[47]: print >> log, "Setting %s to 0x%04x" % (channels, value) ../GSEOS_scripts/General\dc_functional.py[48]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[49]: 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/General\dc_functional.py[48]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[49]: 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/General\dc_functional.py[48]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[49]: 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/General\dc_functional.py[48]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[50]: cmd.EFW_LDAC(READBACK=1) ../GSEOS_scripts/General\dc_functional.py[64]: print >> log, "Waiting for readback." ../GSEOS_scripts/General\dc_functional.py[65]: wait(APID_265, lambda: True, flTimeout=300) ../GSEOS_scripts/General\dc_functional.py[65]: wait(APID_265, lambda: True, flTimeout=300) ../GSEOS_scripts/General\dc_functional.py[66]: actual_values = get_bias_values() ../GSEOS_scripts/General\dc_functional.py[28]: retval = [] ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[32]: return retval ../GSEOS_scripts/General\dc_functional.py[69]: target_value = val_map[value] # Figure out the expected nA from the setpoint ../GSEOS_scripts/General\dc_functional.py[70]: min_value = target_value - tolerance ../GSEOS_scripts/General\dc_functional.py[71]: max_value = target_value + tolerance ../GSEOS_scripts/General\dc_functional.py[72]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[73]: actual_value = actual_values[channel-1] ../GSEOS_scripts/General\dc_functional.py[74]: if(min_value < actual_value < max_value): ../GSEOS_scripts/General\dc_functional.py[75]: print >> log, "OK: %.2f < BIAS%d(%.2f) < %.2f" % (min_value, ../GSEOS_scripts/General\dc_functional.py[72]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[73]: actual_value = actual_values[channel-1] ../GSEOS_scripts/General\dc_functional.py[74]: if(min_value < actual_value < max_value): ../GSEOS_scripts/General\dc_functional.py[75]: print >> log, "OK: %.2f < BIAS%d(%.2f) < %.2f" % (min_value, ../GSEOS_scripts/General\dc_functional.py[72]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[73]: actual_value = actual_values[channel-1] ../GSEOS_scripts/General\dc_functional.py[74]: if(min_value < actual_value < max_value): ../GSEOS_scripts/General\dc_functional.py[75]: print >> log, "OK: %.2f < BIAS%d(%.2f) < %.2f" % (min_value, ../GSEOS_scripts/General\dc_functional.py[72]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[104]: for value in values: ../GSEOS_scripts/General\dc_functional.py[108]: set_check('all', 0x7fff, delay=10) ../GSEOS_scripts/General\dc_functional.py[47]: print >> log, "Setting %s to 0x%04x" % (channels, value) ../GSEOS_scripts/General\dc_functional.py[48]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[49]: 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/General\dc_functional.py[48]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[49]: 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/General\dc_functional.py[48]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[49]: 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/General\dc_functional.py[48]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[49]: 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/General\dc_functional.py[48]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[49]: 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/General\dc_functional.py[48]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[49]: 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/General\dc_functional.py[48]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[50]: cmd.EFW_LDAC(READBACK=1) ../GSEOS_scripts/General\dc_functional.py[64]: print >> log, "Waiting for readback." ../GSEOS_scripts/General\dc_functional.py[65]: wait(APID_265, lambda: True, flTimeout=300) ../GSEOS_scripts/General\dc_functional.py[65]: wait(APID_265, lambda: True, flTimeout=300) ../GSEOS_scripts/General\dc_functional.py[66]: actual_values = get_bias_values() ../GSEOS_scripts/General\dc_functional.py[28]: retval = [] ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[32]: return retval ../GSEOS_scripts/General\dc_functional.py[69]: target_value = val_map[value] # Figure out the expected nA from the setpoint ../GSEOS_scripts/General\dc_functional.py[70]: min_value = target_value - tolerance ../GSEOS_scripts/General\dc_functional.py[71]: max_value = target_value + tolerance ../GSEOS_scripts/General\dc_functional.py[72]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[73]: actual_value = actual_values[channel-1] ../GSEOS_scripts/General\dc_functional.py[74]: if(min_value < actual_value < max_value): ../GSEOS_scripts/General\dc_functional.py[75]: print >> log, "OK: %.2f < BIAS%d(%.2f) < %.2f" % (min_value, ../GSEOS_scripts/General\dc_functional.py[72]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[73]: actual_value = actual_values[channel-1] ../GSEOS_scripts/General\dc_functional.py[74]: if(min_value < actual_value < max_value): ../GSEOS_scripts/General\dc_functional.py[75]: print >> log, "OK: %.2f < BIAS%d(%.2f) < %.2f" % (min_value, ../GSEOS_scripts/General\dc_functional.py[72]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[73]: actual_value = actual_values[channel-1] ../GSEOS_scripts/General\dc_functional.py[74]: if(min_value < actual_value < max_value): ../GSEOS_scripts/General\dc_functional.py[75]: print >> log, "OK: %.2f < BIAS%d(%.2f) < %.2f" % (min_value, ../GSEOS_scripts/General\dc_functional.py[72]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[73]: actual_value = actual_values[channel-1] ../GSEOS_scripts/General\dc_functional.py[74]: if(min_value < actual_value < max_value): ../GSEOS_scripts/General\dc_functional.py[75]: print >> log, "OK: %.2f < BIAS%d(%.2f) < %.2f" % (min_value, ../GSEOS_scripts/General\dc_functional.py[72]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[73]: actual_value = actual_values[channel-1] ../GSEOS_scripts/General\dc_functional.py[74]: if(min_value < actual_value < max_value): ../GSEOS_scripts/General\dc_functional.py[75]: print >> log, "OK: %.2f < BIAS%d(%.2f) < %.2f" % (min_value, ../GSEOS_scripts/General\dc_functional.py[72]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[73]: actual_value = actual_values[channel-1] ../GSEOS_scripts/General\dc_functional.py[74]: if(min_value < actual_value < max_value): ../GSEOS_scripts/General\dc_functional.py[75]: print >> log, "OK: %.2f < BIAS%d(%.2f) < %.2f" % (min_value, ../GSEOS_scripts/General\dc_functional.py[72]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[111]: values = val_map.keys() ../GSEOS_scripts/General\dc_functional.py[112]: values.sort() ../GSEOS_scripts/General\dc_functional.py[113]: for value in values: ../GSEOS_scripts/General\dc_functional.py[114]: set_check('evens', value, delay=32) ../GSEOS_scripts/General\dc_functional.py[47]: print >> log, "Setting %s to 0x%04x" % (channels, value) ../GSEOS_scripts/General\dc_functional.py[48]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[49]: 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/General\dc_functional.py[48]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[49]: 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/General\dc_functional.py[48]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[49]: 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/General\dc_functional.py[48]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[50]: cmd.EFW_LDAC(READBACK=1) ../GSEOS_scripts/General\dc_functional.py[64]: print >> log, "Waiting for readback." ../GSEOS_scripts/General\dc_functional.py[65]: wait(APID_265, lambda: True, flTimeout=300) ../GSEOS_scripts/General\dc_functional.py[65]: wait(APID_265, lambda: True, flTimeout=300) ../GSEOS_scripts/General\dc_functional.py[66]: actual_values = get_bias_values() ../GSEOS_scripts/General\dc_functional.py[28]: retval = [] ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[32]: return retval ../GSEOS_scripts/General\dc_functional.py[69]: target_value = val_map[value] # Figure out the expected nA from the setpoint ../GSEOS_scripts/General\dc_functional.py[70]: min_value = target_value - tolerance ../GSEOS_scripts/General\dc_functional.py[71]: max_value = target_value + tolerance ../GSEOS_scripts/General\dc_functional.py[72]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[73]: actual_value = actual_values[channel-1] ../GSEOS_scripts/General\dc_functional.py[74]: if(min_value < actual_value < max_value): ../GSEOS_scripts/General\dc_functional.py[75]: print >> log, "OK: %.2f < BIAS%d(%.2f) < %.2f" % (min_value, ../GSEOS_scripts/General\dc_functional.py[72]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[73]: actual_value = actual_values[channel-1] ../GSEOS_scripts/General\dc_functional.py[74]: if(min_value < actual_value < max_value): ../GSEOS_scripts/General\dc_functional.py[75]: print >> log, "OK: %.2f < BIAS%d(%.2f) < %.2f" % (min_value, ../GSEOS_scripts/General\dc_functional.py[72]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[73]: actual_value = actual_values[channel-1] ../GSEOS_scripts/General\dc_functional.py[74]: if(min_value < actual_value < max_value): ../GSEOS_scripts/General\dc_functional.py[75]: print >> log, "OK: %.2f < BIAS%d(%.2f) < %.2f" % (min_value, ../GSEOS_scripts/General\dc_functional.py[72]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[113]: for value in values: ../GSEOS_scripts/General\dc_functional.py[114]: set_check('evens', value, delay=32) ../GSEOS_scripts/General\dc_functional.py[47]: print >> log, "Setting %s to 0x%04x" % (channels, value) ../GSEOS_scripts/General\dc_functional.py[48]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[49]: 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/General\dc_functional.py[48]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[49]: 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/General\dc_functional.py[48]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[49]: 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/General\dc_functional.py[48]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[50]: cmd.EFW_LDAC(READBACK=1) ../GSEOS_scripts/General\dc_functional.py[64]: print >> log, "Waiting for readback." ../GSEOS_scripts/General\dc_functional.py[65]: wait(APID_265, lambda: True, flTimeout=300) ../GSEOS_scripts/General\dc_functional.py[65]: wait(APID_265, lambda: True, flTimeout=300) ../GSEOS_scripts/General\dc_functional.py[66]: actual_values = get_bias_values() ../GSEOS_scripts/General\dc_functional.py[28]: retval = [] ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[32]: return retval ../GSEOS_scripts/General\dc_functional.py[69]: target_value = val_map[value] # Figure out the expected nA from the setpoint ../GSEOS_scripts/General\dc_functional.py[70]: min_value = target_value - tolerance ../GSEOS_scripts/General\dc_functional.py[71]: max_value = target_value + tolerance ../GSEOS_scripts/General\dc_functional.py[72]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[73]: actual_value = actual_values[channel-1] ../GSEOS_scripts/General\dc_functional.py[74]: if(min_value < actual_value < max_value): ../GSEOS_scripts/General\dc_functional.py[75]: print >> log, "OK: %.2f < BIAS%d(%.2f) < %.2f" % (min_value, ../GSEOS_scripts/General\dc_functional.py[72]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[73]: actual_value = actual_values[channel-1] ../GSEOS_scripts/General\dc_functional.py[74]: if(min_value < actual_value < max_value): ../GSEOS_scripts/General\dc_functional.py[75]: print >> log, "OK: %.2f < BIAS%d(%.2f) < %.2f" % (min_value, ../GSEOS_scripts/General\dc_functional.py[72]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[73]: actual_value = actual_values[channel-1] ../GSEOS_scripts/General\dc_functional.py[74]: if(min_value < actual_value < max_value): ../GSEOS_scripts/General\dc_functional.py[75]: print >> log, "OK: %.2f < BIAS%d(%.2f) < %.2f" % (min_value, ../GSEOS_scripts/General\dc_functional.py[72]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[113]: for value in values: ../GSEOS_scripts/General\dc_functional.py[114]: set_check('evens', value, delay=32) ../GSEOS_scripts/General\dc_functional.py[47]: print >> log, "Setting %s to 0x%04x" % (channels, value) ../GSEOS_scripts/General\dc_functional.py[48]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[49]: 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/General\dc_functional.py[48]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[49]: 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/General\dc_functional.py[48]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[49]: 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/General\dc_functional.py[48]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[50]: cmd.EFW_LDAC(READBACK=1) ../GSEOS_scripts/General\dc_functional.py[64]: print >> log, "Waiting for readback." ../GSEOS_scripts/General\dc_functional.py[65]: wait(APID_265, lambda: True, flTimeout=300) ../GSEOS_scripts/General\dc_functional.py[65]: wait(APID_265, lambda: True, flTimeout=300) ../GSEOS_scripts/General\dc_functional.py[66]: actual_values = get_bias_values() ../GSEOS_scripts/General\dc_functional.py[28]: retval = [] ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[32]: return retval ../GSEOS_scripts/General\dc_functional.py[69]: target_value = val_map[value] # Figure out the expected nA from the setpoint ../GSEOS_scripts/General\dc_functional.py[70]: min_value = target_value - tolerance ../GSEOS_scripts/General\dc_functional.py[71]: max_value = target_value + tolerance ../GSEOS_scripts/General\dc_functional.py[72]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[73]: actual_value = actual_values[channel-1] ../GSEOS_scripts/General\dc_functional.py[74]: if(min_value < actual_value < max_value): ../GSEOS_scripts/General\dc_functional.py[75]: print >> log, "OK: %.2f < BIAS%d(%.2f) < %.2f" % (min_value, ../GSEOS_scripts/General\dc_functional.py[72]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[73]: actual_value = actual_values[channel-1] ../GSEOS_scripts/General\dc_functional.py[74]: if(min_value < actual_value < max_value): ../GSEOS_scripts/General\dc_functional.py[75]: print >> log, "OK: %.2f < BIAS%d(%.2f) < %.2f" % (min_value, ../GSEOS_scripts/General\dc_functional.py[72]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[73]: actual_value = actual_values[channel-1] ../GSEOS_scripts/General\dc_functional.py[74]: if(min_value < actual_value < max_value): ../GSEOS_scripts/General\dc_functional.py[75]: print >> log, "OK: %.2f < BIAS%d(%.2f) < %.2f" % (min_value, ../GSEOS_scripts/General\dc_functional.py[72]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[113]: for value in values: ../GSEOS_scripts/General\dc_functional.py[114]: set_check('evens', value, delay=32) ../GSEOS_scripts/General\dc_functional.py[47]: print >> log, "Setting %s to 0x%04x" % (channels, value) ../GSEOS_scripts/General\dc_functional.py[48]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[49]: 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/General\dc_functional.py[48]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[49]: 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/General\dc_functional.py[48]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[49]: 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/General\dc_functional.py[48]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[50]: cmd.EFW_LDAC(READBACK=1) ../GSEOS_scripts/General\dc_functional.py[64]: print >> log, "Waiting for readback." ../GSEOS_scripts/General\dc_functional.py[65]: wait(APID_265, lambda: True, flTimeout=300) ../GSEOS_scripts/General\dc_functional.py[65]: wait(APID_265, lambda: True, flTimeout=300) ../GSEOS_scripts/General\dc_functional.py[66]: actual_values = get_bias_values() ../GSEOS_scripts/General\dc_functional.py[28]: retval = [] ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[32]: return retval ../GSEOS_scripts/General\dc_functional.py[69]: target_value = val_map[value] # Figure out the expected nA from the setpoint ../GSEOS_scripts/General\dc_functional.py[70]: min_value = target_value - tolerance ../GSEOS_scripts/General\dc_functional.py[71]: max_value = target_value + tolerance ../GSEOS_scripts/General\dc_functional.py[72]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[73]: actual_value = actual_values[channel-1] ../GSEOS_scripts/General\dc_functional.py[74]: if(min_value < actual_value < max_value): ../GSEOS_scripts/General\dc_functional.py[75]: print >> log, "OK: %.2f < BIAS%d(%.2f) < %.2f" % (min_value, ../GSEOS_scripts/General\dc_functional.py[72]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[73]: actual_value = actual_values[channel-1] ../GSEOS_scripts/General\dc_functional.py[74]: if(min_value < actual_value < max_value): ../GSEOS_scripts/General\dc_functional.py[75]: print >> log, "OK: %.2f < BIAS%d(%.2f) < %.2f" % (min_value, ../GSEOS_scripts/General\dc_functional.py[72]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[73]: actual_value = actual_values[channel-1] ../GSEOS_scripts/General\dc_functional.py[74]: if(min_value < actual_value < max_value): ../GSEOS_scripts/General\dc_functional.py[75]: print >> log, "OK: %.2f < BIAS%d(%.2f) < %.2f" % (min_value, ../GSEOS_scripts/General\dc_functional.py[72]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[113]: for value in values: ../GSEOS_scripts/General\dc_functional.py[114]: set_check('evens', value, delay=32) ../GSEOS_scripts/General\dc_functional.py[47]: print >> log, "Setting %s to 0x%04x" % (channels, value) ../GSEOS_scripts/General\dc_functional.py[48]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[49]: 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/General\dc_functional.py[48]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[49]: 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/General\dc_functional.py[48]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[49]: 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/General\dc_functional.py[48]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[50]: cmd.EFW_LDAC(READBACK=1) ../GSEOS_scripts/General\dc_functional.py[64]: print >> log, "Waiting for readback." ../GSEOS_scripts/General\dc_functional.py[65]: wait(APID_265, lambda: True, flTimeout=300) ../GSEOS_scripts/General\dc_functional.py[65]: wait(APID_265, lambda: True, flTimeout=300) ../GSEOS_scripts/General\dc_functional.py[66]: actual_values = get_bias_values() ../GSEOS_scripts/General\dc_functional.py[28]: retval = [] ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[32]: return retval ../GSEOS_scripts/General\dc_functional.py[69]: target_value = val_map[value] # Figure out the expected nA from the setpoint ../GSEOS_scripts/General\dc_functional.py[70]: min_value = target_value - tolerance ../GSEOS_scripts/General\dc_functional.py[71]: max_value = target_value + tolerance ../GSEOS_scripts/General\dc_functional.py[72]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[73]: actual_value = actual_values[channel-1] ../GSEOS_scripts/General\dc_functional.py[74]: if(min_value < actual_value < max_value): ../GSEOS_scripts/General\dc_functional.py[75]: print >> log, "OK: %.2f < BIAS%d(%.2f) < %.2f" % (min_value, ../GSEOS_scripts/General\dc_functional.py[72]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[73]: actual_value = actual_values[channel-1] ../GSEOS_scripts/General\dc_functional.py[74]: if(min_value < actual_value < max_value): ../GSEOS_scripts/General\dc_functional.py[75]: print >> log, "OK: %.2f < BIAS%d(%.2f) < %.2f" % (min_value, ../GSEOS_scripts/General\dc_functional.py[72]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[73]: actual_value = actual_values[channel-1] ../GSEOS_scripts/General\dc_functional.py[74]: if(min_value < actual_value < max_value): ../GSEOS_scripts/General\dc_functional.py[75]: print >> log, "OK: %.2f < BIAS%d(%.2f) < %.2f" % (min_value, ../GSEOS_scripts/General\dc_functional.py[72]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[113]: for value in values: ../GSEOS_scripts/General\dc_functional.py[117]: set_check('all', 0x7fff, delay=10) ../GSEOS_scripts/General\dc_functional.py[47]: print >> log, "Setting %s to 0x%04x" % (channels, value) ../GSEOS_scripts/General\dc_functional.py[48]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[49]: 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/General\dc_functional.py[48]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[49]: 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/General\dc_functional.py[48]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[49]: 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/General\dc_functional.py[48]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[49]: 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/General\dc_functional.py[48]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[49]: 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/General\dc_functional.py[48]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[49]: 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/General\dc_functional.py[48]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[50]: cmd.EFW_LDAC(READBACK=1) ../GSEOS_scripts/General\dc_functional.py[64]: print >> log, "Waiting for readback." ../GSEOS_scripts/General\dc_functional.py[65]: wait(APID_265, lambda: True, flTimeout=300) ../GSEOS_scripts/General\dc_functional.py[65]: wait(APID_265, lambda: True, flTimeout=300) ../GSEOS_scripts/General\dc_functional.py[66]: actual_values = get_bias_values() ../GSEOS_scripts/General\dc_functional.py[28]: retval = [] ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[30]: value = EU('APID_265.IEFI_IBIAS%d' % i) ../GSEOS_scripts/General\dc_functional.py[31]: retval.append(value) ../GSEOS_scripts/General\dc_functional.py[29]: for i in range(1,7): ../GSEOS_scripts/General\dc_functional.py[32]: return retval ../GSEOS_scripts/General\dc_functional.py[69]: target_value = val_map[value] # Figure out the expected nA from the setpoint ../GSEOS_scripts/General\dc_functional.py[70]: min_value = target_value - tolerance ../GSEOS_scripts/General\dc_functional.py[71]: max_value = target_value + tolerance ../GSEOS_scripts/General\dc_functional.py[72]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[73]: actual_value = actual_values[channel-1] ../GSEOS_scripts/General\dc_functional.py[74]: if(min_value < actual_value < max_value): ../GSEOS_scripts/General\dc_functional.py[75]: print >> log, "OK: %.2f < BIAS%d(%.2f) < %.2f" % (min_value, ../GSEOS_scripts/General\dc_functional.py[72]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[73]: actual_value = actual_values[channel-1] ../GSEOS_scripts/General\dc_functional.py[74]: if(min_value < actual_value < max_value): ../GSEOS_scripts/General\dc_functional.py[75]: print >> log, "OK: %.2f < BIAS%d(%.2f) < %.2f" % (min_value, ../GSEOS_scripts/General\dc_functional.py[72]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[73]: actual_value = actual_values[channel-1] ../GSEOS_scripts/General\dc_functional.py[74]: if(min_value < actual_value < max_value): ../GSEOS_scripts/General\dc_functional.py[75]: print >> log, "OK: %.2f < BIAS%d(%.2f) < %.2f" % (min_value, ../GSEOS_scripts/General\dc_functional.py[72]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[73]: actual_value = actual_values[channel-1] ../GSEOS_scripts/General\dc_functional.py[74]: if(min_value < actual_value < max_value): ../GSEOS_scripts/General\dc_functional.py[75]: print >> log, "OK: %.2f < BIAS%d(%.2f) < %.2f" % (min_value, ../GSEOS_scripts/General\dc_functional.py[72]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[73]: actual_value = actual_values[channel-1] ../GSEOS_scripts/General\dc_functional.py[74]: if(min_value < actual_value < max_value): ../GSEOS_scripts/General\dc_functional.py[75]: print >> log, "OK: %.2f < BIAS%d(%.2f) < %.2f" % (min_value, ../GSEOS_scripts/General\dc_functional.py[72]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[73]: actual_value = actual_values[channel-1] ../GSEOS_scripts/General\dc_functional.py[74]: if(min_value < actual_value < max_value): ../GSEOS_scripts/General\dc_functional.py[75]: print >> log, "OK: %.2f < BIAS%d(%.2f) < %.2f" % (min_value, ../GSEOS_scripts/General\dc_functional.py[72]: for channel in chan_map[channels]: ../GSEOS_scripts/General\dc_functional.py[119]: log('DC Functional Complete', color=BLUE, attr=BOLD ) ../GSEOS_scripts/General\dc_functional.py[120]: log('================END=====================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/General\functional.py[35]: print >> log, "while ug_functional is running, please check apid 243, 244" ../GSEOS_scripts/General\functional.py[36]: sleep(10) ../GSEOS_scripts/General\functional.py[39]: scr.ug_functional() ../GSEOS_scripts/General\ug_functional.py[6]: """ ../GSEOS_scripts/General\ug_functional.py[8]: from efw import * ../GSEOS_scripts/General\ug_functional.py[9]: from util import * ../GSEOS_scripts/General\ug_functional.py[10]: from __main__ import * # required for access to APID_nnn telemetry blocks ../GSEOS_scripts/General\ug_functional.py[12]: def check_values(surface, values, thresh=1): ../GSEOS_scripts/General\ug_functional.py[40]: def wait_for_readback(max_wait_time=120): ../GSEOS_scripts/General\ug_functional.py[48]: def main(): ../GSEOS_scripts/General\ug_functional.py[6]: """ ../GSEOS_scripts/General\ug_functional.py[8]: from efw import * ../GSEOS_scripts/General\ug_functional.py[9]: from util import * ../GSEOS_scripts/General\ug_functional.py[10]: from __main__ import * # required for access to APID_nnn telemetry blocks ../GSEOS_scripts/General\ug_functional.py[12]: def check_values(surface, values, thresh=1): ../GSEOS_scripts/General\ug_functional.py[40]: def wait_for_readback(max_wait_time=120): ../GSEOS_scripts/General\ug_functional.py[48]: def main(): ../GSEOS_scripts/General\ug_functional.py[51]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/General\ug_functional.py[52]: log('UG Functional Script Running', color=BLUE, attr=BOLD ) ../GSEOS_scripts/General\ug_functional.py[53]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/General\ug_functional.py[56]: Gseos.FileOpen('Instruments/EFW/screens/APID_265.gscr') ../GSEOS_scripts/General\ug_functional.py[58]: 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(table == None): ../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[85]: elif(table==99): ../GSEOS_scripts/DFB\dfb_std_config.py[102]: elif(table == 1): ../GSEOS_scripts/DFB\dfb_std_config.py[103]: print >> log, "Configure DFB for standard mode" ../GSEOS_scripts/DFB\dfb_std_config.py[104]: print >> log, "Burst 2" ../GSEOS_scripts/DFB\dfb_std_config.py[105]: print >> log, "VAC and MSC @ 16kS/s, EDC Disabled in SSR Route" ../GSEOS_scripts/DFB\dfb_std_config.py[106]: cmd.EFW_DFB_E_B2(E_B2_SPD=0x5, E_B2_ENA=0x7) ../GSEOS_scripts/DFB\dfb_std_config.py[107]: cmd.EFW_DFB_V_B2(V_B2_SPD=0xE, V_B2_ENA=0x3F) ../GSEOS_scripts/DFB\dfb_std_config.py[108]: cmd.EFW_DFB_SCM_B2(SCM_B2_SPD=0xE, SCM_B2_ENA=0x7) ../GSEOS_scripts/DFB\dfb_std_config.py[110]: print >> log, "Burst 1" ../GSEOS_scripts/DFB\dfb_std_config.py[111]: print >> log, "VDC, EDC and MSC @ 512S/s" ../GSEOS_scripts/DFB\dfb_std_config.py[112]: cmd.EFW_DFB_E_B1(E_B1_SPD=0x9, E_B1_ENA=0x7) ../GSEOS_scripts/DFB\dfb_std_config.py[113]: cmd.EFW_DFB_V_B1(V_B1_SPD=0x9, V_B1_ENA=0x3F) ../GSEOS_scripts/DFB\dfb_std_config.py[114]: cmd.EFW_DFB_SCM_B1(SCM_B1_SPD=0x9, SCM_B1_ENA=0x7) ../GSEOS_scripts/DFB\dfb_std_config.py[116]: print >> log, "Survey" ../GSEOS_scripts/DFB\dfb_std_config.py[117]: print >> log, "VDC at 16S/s, EDC, Int Waveforms @ 32S/s, MAG @ 64S/s" ../GSEOS_scripts/DFB\dfb_std_config.py[118]: cmd.EFW_DFB_E_SVY_ENA(E_SVY_SPD=5, E_SVY_ENA=0x7) ../GSEOS_scripts/DFB\dfb_std_config.py[119]: cmd.EFW_DFB_V_SVY(V_SVY_SPD=4, V_SVY_ENA=0x3F) ../GSEOS_scripts/DFB\dfb_std_config.py[120]: cmd.EFW_DFB_MAG(MAG_SVY_SPD=6, MAG_SVY_ENA=0x7) ../GSEOS_scripts/DFB\dfb_std_config.py[121]: cmd.EFW_DFB_SVY_INT(SVY_INT_SPD=5, SVY_INT_ENA=0xFFF) ../GSEOS_scripts/DFB\dfb_std_config.py[123]: print >> log, "Filter Banks AKA Triggers" ../GSEOS_scripts/DFB\dfb_std_config.py[124]: print >> log, "E12DC, SCMU at 8S/s 7 Bins" ../GSEOS_scripts/DFB\dfb_std_config.py[125]: 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[127]: print >> log, "Internal Triggers" ../GSEOS_scripts/DFB\dfb_std_config.py[128]: print >> log, "E12DC, SCMU at 32S/s 13 Bins" ../GSEOS_scripts/DFB\dfb_std_config.py[129]: 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[131]: print >> log, "Spectra" ../GSEOS_scripts/DFB\dfb_std_config.py[132]: print >> log, "All 7 Spectra Enabled: E12AC, E56AC, SCMU, SCMV, SCMW, V1AC, V2AC" ../GSEOS_scripts/DFB\dfb_std_config.py[133]: 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[134]: cmd.EFW_DFB_SPEC2(SPEC_SRC=5, SPEC_ENA=1) ../GSEOS_scripts/DFB\dfb_std_config.py[135]: cmd.EFW_DFB_SPEC3(SPEC_SRC=0x10, SPEC_ENA=1) ../GSEOS_scripts/DFB\dfb_std_config.py[136]: cmd.EFW_DFB_SPEC4(SPEC_SRC=0x11, SPEC_ENA=1) ../GSEOS_scripts/DFB\dfb_std_config.py[137]: cmd.EFW_DFB_SPEC5(SPEC_SRC=0x12, SPEC_ENA=1) ../GSEOS_scripts/DFB\dfb_std_config.py[138]: cmd.EFW_DFB_SPEC6(SPEC_SRC=0xA, SPEC_ENA=1) ../GSEOS_scripts/DFB\dfb_std_config.py[139]: cmd.EFW_DFB_SPEC7(SPEC_SRC=0xB, SPEC_ENA=1) ../GSEOS_scripts/DFB\dfb_std_config.py[140]: print >> log, "Cross Spectra" ../GSEOS_scripts/DFB\dfb_std_config.py[141]: print >> log, "Two Cross Spectra Enabled: SCMW x E12AC, V1AC x V2AC" ../GSEOS_scripts/DFB\dfb_std_config.py[142]: cmd.EFW_DFB_XSPEC1(XSPEC_SRC1=4, XSPEC_SRC2=0, XSPEC_NAVG=3, XSPEC_ENA=1) ../GSEOS_scripts/DFB\dfb_std_config.py[143]: cmd.EFW_DFB_XSPEC2(XSPEC_SRC1=5, XSPEC_SRC2=6, XSPEC_ENA=1) ../GSEOS_scripts/DFB\dfb_std_config.py[144]: cmd.EFW_DFB_XSPEC3(XSPEC_SRC1=0, XSPEC_SRC2=0, XSPEC_ENA=0) ../GSEOS_scripts/DFB\dfb_std_config.py[145]: cmd.EFW_DFB_XSPEC4(XSPEC_SRC1=0, XSPEC_SRC2=0, XSPEC_ENA=0) ../GSEOS_scripts/DFB\dfb_std_config.py[147]: print >> log, "Route Packets as per standard configuration" ../GSEOS_scripts/DFB\dfb_std_config.py[148]: cmd.EFW_SSR_ROUTE(APID=1, SEGMENT=1) ../GSEOS_scripts/DFB\dfb_std_config.py[149]: cmd.EFW_SSR_ROUTE(APID=3, SEGMENT=1) ../GSEOS_scripts/DFB\dfb_std_config.py[150]: cmd.EFW_SSR_ROUTE(APID=4, SEGMENT=1) ../GSEOS_scripts/DFB\dfb_std_config.py[151]: cmd.EFW_SSR_ROUTE(APID=5, SEGMENT=0) ../GSEOS_scripts/DFB\dfb_std_config.py[152]: cmd.EFW_SSR_ROUTE(APID=6, SEGMENT=2) ../GSEOS_scripts/DFB\dfb_std_config.py[153]: cmd.EFW_SSR_ROUTE(APID=7, SEGMENT=2) ../GSEOS_scripts/DFB\dfb_std_config.py[154]: cmd.EFW_SSR_ROUTE(APID=8, SEGMENT=2) ../GSEOS_scripts/DFB\dfb_std_config.py[155]: cmd.EFW_SSR_ROUTE(APID=9, SEGMENT=0) ../GSEOS_scripts/DFB\dfb_std_config.py[156]: cmd.EFW_SSR_ROUTE(APID=0xA, SEGMENT=3) ../GSEOS_scripts/DFB\dfb_std_config.py[157]: cmd.EFW_SSR_ROUTE(APID=0xB, SEGMENT=3) ../GSEOS_scripts/DFB\dfb_std_config.py[158]: cmd.EFW_SSR_ROUTE(APID=0xE, SEGMENT=1) ../GSEOS_scripts/DFB\dfb_std_config.py[159]: cmd.EFW_SSR_ROUTE(APID=0xF, SEGMENT=1) ../GSEOS_scripts/DFB\dfb_std_config.py[161]: sleep(5) ../GSEOS_scripts/DFB\dfb_std_config.py[162]: 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[654]: print >> log, "Done setting up DFB for table %d" % table ../GSEOS_scripts/General\ug_functional.py[60]: sleep(10) ../GSEOS_scripts/General\ug_functional.py[61]: print >> log, "Sleeping 10 seconds" ../GSEOS_scripts/General\ug_functional.py[64]: cmd.EFW_GUARD(CHAN=1, MSB=0x7F) ../GSEOS_scripts/General\ug_functional.py[65]: cmd.EFW_GUARDL(LSB=0xFF) ../GSEOS_scripts/General\ug_functional.py[66]: cmd.EFW_GUARD(CHAN=2, MSB=0x7F) ../GSEOS_scripts/General\ug_functional.py[67]: cmd.EFW_GUARDL(LSB=0xFF) ../GSEOS_scripts/General\ug_functional.py[68]: cmd.EFW_GUARD(CHAN=3, MSB=0x7F) ../GSEOS_scripts/General\ug_functional.py[69]: cmd.EFW_GUARDL(LSB=0xFF) ../GSEOS_scripts/General\ug_functional.py[70]: cmd.EFW_GUARD(CHAN=4, MSB=0x7F) ../GSEOS_scripts/General\ug_functional.py[71]: cmd.EFW_GUARDL(LSB=0xFF) ../GSEOS_scripts/General\ug_functional.py[72]: cmd.EFW_GUARD(CHAN=5, MSB=0x7F) ../GSEOS_scripts/General\ug_functional.py[73]: cmd.EFW_GUARDL(LSB=0xFF) ../GSEOS_scripts/General\ug_functional.py[74]: cmd.EFW_GUARD(CHAN=6, MSB=0x7F) ../GSEOS_scripts/General\ug_functional.py[75]: cmd.EFW_GUARDL(LSB=0xFF) ../GSEOS_scripts/General\ug_functional.py[76]: cmd.EFW_LDAC(READBACK=1) ../GSEOS_scripts/General\ug_functional.py[77]: wait_for_readback() ../GSEOS_scripts/General\ug_functional.py[44]: print >> log, "Waiting up to %d seconds for 0x265 readback..." % max_wait_time ../GSEOS_scripts/General\ug_functional.py[45]: wait(APID_265, lambda: True, flTimeout=max_wait_time)