Trace collected at: 2014-01-27 12:35:49.596000 ---------------------------------------------------------------------- ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: log('TEST SCV BIASING' , color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: cmd.EFW_TMPKTRATE( 3, 1 ) #Set APID 266 to 1Hz ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: cmd.EFW_TMDUMPCTR(255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: cmd.EFW_DUMPADRH(0xA0) # SCVB STATUS BLOCK ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[97]: disable_scpot() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: cmd.EFW_SRMWRTCTL(PROTECT=0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: cmd.EFW_ADRH(0x3a) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: cmd.EFW_ADRL(0xF2) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[77]: cmd.EFW_LOAD(0xC9) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[78]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[99]: dvsc= 1.0 # Steps per point ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[100]: vsc = -2.0 # -2.0 Volts to start ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: log("Jamming SCPOT = %5.3f" % v) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: loadpair( int(v*145) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[103]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: wait(APID_266, lambda:True, flTimeout=12) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: wait(APID_266, lambda:True, flTimeout=12) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: sleep(8) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[108]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: log("Jamming SCPOT = %5.3f" % v) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: loadpair( int(v*145) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[103]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: wait(APID_266, lambda:True, flTimeout=12) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: wait(APID_266, lambda:True, flTimeout=12) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: sleep(8) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[108]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: log("Jamming SCPOT = %5.3f" % v) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: loadpair( int(v*145) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[103]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: wait(APID_266, lambda:True, flTimeout=12) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: wait(APID_266, lambda:True, flTimeout=12) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: sleep(8) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[108]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: log("Jamming SCPOT = %5.3f" % v) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: loadpair( int(v*145) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[103]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: wait(APID_266, lambda:True, flTimeout=12) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: wait(APID_266, lambda:True, flTimeout=12) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: sleep(8) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[108]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: log("Jamming SCPOT = %5.3f" % v) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: loadpair( int(v*145) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[103]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: wait(APID_266, lambda:True, flTimeout=12) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: wait(APID_266, lambda:True, flTimeout=12) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: sleep(8) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[108]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: log("Jamming SCPOT = %5.3f" % v) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: loadpair( int(v*145) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[103]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: wait(APID_266, lambda:True, flTimeout=12) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: wait(APID_266, lambda:True, flTimeout=12) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: sleep(8) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[108]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: log("Jamming SCPOT = %5.3f" % v) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: loadpair( int(v*145) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[103]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: wait(APID_266, lambda:True, flTimeout=12) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: wait(APID_266, lambda:True, flTimeout=12) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: sleep(8) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[108]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: log("Jamming SCPOT = %5.3f" % v) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: loadpair( int(v*145) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[103]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: wait(APID_266, lambda:True, flTimeout=12) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: wait(APID_266, lambda:True, flTimeout=12) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: sleep(8) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[108]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: log("Jamming SCPOT = %5.3f" % v) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: loadpair( int(v*145) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[103]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: wait(APID_266, lambda:True, flTimeout=12) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: wait(APID_266, lambda:True, flTimeout=12) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: sleep(8) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[108]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: log("Jamming SCPOT = %5.3f" % v) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: loadpair( int(v*145) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[103]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: wait(APID_266, lambda:True, flTimeout=12) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: wait(APID_266, lambda:True, flTimeout=12) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: sleep(8) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[108]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: log("Jamming SCPOT = %5.3f" % v) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: loadpair( int(v*145) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[103]: for i in range(duration): Trace collected at: 2014-01-27 12:59:19.197000 ---------------------------------------------------------------------- ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: log('TEST SCV BIASING' , color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: cmd.EFW_TMPKTRATE( 3, 1 ) #Set APID 266 to 1Hz ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: cmd.EFW_TMDUMPCTR(255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: cmd.EFW_DUMPADRH(0xA0) # SCVB STATUS BLOCK ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[97]: disable_scpot() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: cmd.EFW_SRMWRTCTL(PROTECT=0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: cmd.EFW_ADRH(0x3a) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: cmd.EFW_ADRL(0xF2) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[77]: cmd.EFW_LOAD(0xC9) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[78]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[99]: dvsc= 1.0 # Steps per point ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[100]: vsc = -2.0 # -2.0 Volts to start ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: log("Jamming SCPOT = %5.3f" % v) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: loadpair( int(v*145) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[103]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: wait(APID_266, lambda:True, flTimeout=12) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: wait(APID_266, lambda:True, flTimeout=12) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: sleep(8) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[108]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: log("Jamming SCPOT = %5.3f" % v) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: loadpair( int(v*145) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[103]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: wait(APID_266, lambda:True, flTimeout=12) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: wait(APID_266, lambda:True, flTimeout=12) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: sleep(8) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[108]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: log("Jamming SCPOT = %5.3f" % v) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: loadpair( int(v*145) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[103]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: wait(APID_266, lambda:True, flTimeout=12) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: wait(APID_266, lambda:True, flTimeout=12) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: sleep(8) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[108]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: log("Jamming SCPOT = %5.3f" % v) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: loadpair( int(v*145) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[103]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: wait(APID_266, lambda:True, flTimeout=12) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: wait(APID_266, lambda:True, flTimeout=12) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: sleep(8) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[108]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: log("Jamming SCPOT = %5.3f" % v) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: loadpair( int(v*145) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[103]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: wait(APID_266, lambda:True, flTimeout=12) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: wait(APID_266, lambda:True, flTimeout=12) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: sleep(8) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[108]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: log("Jamming SCPOT = %5.3f" % v) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: loadpair( int(v*145) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[103]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: wait(APID_266, lambda:True, flTimeout=12) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: wait(APID_266, lambda:True, flTimeout=12) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: sleep(8) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[108]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: log("Jamming SCPOT = %5.3f" % v) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: loadpair( int(v*145) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[103]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: wait(APID_266, lambda:True, flTimeout=12) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: wait(APID_266, lambda:True, flTimeout=12) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: sleep(8) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[108]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: log("Jamming SCPOT = %5.3f" % v) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: loadpair( int(v*145) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[103]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: wait(APID_266, lambda:True, flTimeout=12) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: wait(APID_266, lambda:True, flTimeout=12) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: sleep(8) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[108]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: log("Jamming SCPOT = %5.3f" % v) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: loadpair( int(v*145) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[103]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: wait(APID_266, lambda:True, flTimeout=12) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: wait(APID_266, lambda:True, flTimeout=12) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: sleep(8) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[108]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: log("Jamming SCPOT = %5.3f" % v) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: loadpair( int(v*145) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[103]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: wait(APID_266, lambda:True, flTimeout=12) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: wait(APID_266, lambda:True, flTimeout=12) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: sleep(8) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[108]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: log("Jamming SCPOT = %5.3f" % v) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: loadpair( int(v*145) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[103]: for i in range(duration): Trace collected at: 2014-01-27 13:25:30.499000 ---------------------------------------------------------------------- ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: log('TEST SCV BIASING' , color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: cmd.EFW_TMPKTRATE( 3, 1 ) #Set APID 266 to 1Hz ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: cmd.EFW_TMDUMPCTR(255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: cmd.EFW_DUMPADRH(0xA0) # SCVB STATUS BLOCK ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[97]: disable_scpot() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: cmd.EFW_SRMWRTCTL(PROTECT=0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: cmd.EFW_ADRH(0x3a) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: cmd.EFW_ADRL(0xF2) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[77]: cmd.EFW_LOAD(0xC9) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[78]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[99]: dvsc= 1.0 # Steps per point ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[100]: vsc = -2.0 # -2.0 Volts to start ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: log("Jamming SCPOT = %5.3f" % v) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: loadpair( int(v*145) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[103]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: wait(APID_266, lambda:True, flTimeout=12) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: wait(APID_266, lambda:True, flTimeout=12) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: sleep(8) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[108]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: log("Jamming SCPOT = %5.3f" % v) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: loadpair( int(v*145) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[103]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: wait(APID_266, lambda:True, flTimeout=12) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: wait(APID_266, lambda:True, flTimeout=12) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: sleep(8) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[108]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: log("Jamming SCPOT = %5.3f" % v) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: loadpair( int(v*145) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[103]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: wait(APID_266, lambda:True, flTimeout=12) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: wait(APID_266, lambda:True, flTimeout=12) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: sleep(8) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[108]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: log("Jamming SCPOT = %5.3f" % v) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: loadpair( int(v*145) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[103]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: wait(APID_266, lambda:True, flTimeout=12) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: wait(APID_266, lambda:True, flTimeout=12) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: sleep(8) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[108]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: log("Jamming SCPOT = %5.3f" % v) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: loadpair( int(v*145) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[103]: for i in range(duration): Trace collected at: 2014-01-27 13:30:42.528000 ---------------------------------------------------------------------- ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: log('TEST SCV BIASING' , color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: cmd.EFW_TMPKTRATE( 3, 1 ) #Set APID 266 to 1Hz ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: cmd.EFW_TMDUMPCTR(255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: cmd.EFW_DUMPADRH(0xA0) # SCVB STATUS BLOCK ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[98]: disable_scpot() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: cmd.EFW_SRMWRTCTL(PROTECT=0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: cmd.EFW_ADRH(0x3a) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: cmd.EFW_ADRL(0xF2) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[77]: cmd.EFW_LOAD(0xC9) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[78]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[100]: dvsc= 1.0 # Steps per point ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: vsc = -2.0 # -2.0 Volts to start ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[102]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: d = int(v*145.0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[87]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: wait(APID_266, lambda:True, flTimeout=12) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: wait(APID_266, lambda:True, flTimeout=12) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: sleep(8) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[108]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[109]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: d = int(v*145.0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[87]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: wait(APID_266, lambda:True, flTimeout=12) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: wait(APID_266, lambda:True, flTimeout=12) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: sleep(8) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[108]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[109]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: d = int(v*145.0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[87]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: wait(APID_266, lambda:True, flTimeout=12) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: wait(APID_266, lambda:True, flTimeout=12) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: sleep(8) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[108]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[109]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: d = int(v*145.0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[87]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: wait(APID_266, lambda:True, flTimeout=12) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: wait(APID_266, lambda:True, flTimeout=12) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: sleep(8) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[108]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[109]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: d = int(v*145.0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[87]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: for i in range(duration): Trace collected at: 2014-01-27 13:49:52.162000 ---------------------------------------------------------------------- ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: log('TEST SCV BIASING' , color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: cmd.EFW_TMPKTRATE( 3, 1 ) #Set APID 266 to 1Hz ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: cmd.EFW_TMDUMPCTR(255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: cmd.EFW_DUMPADRH(0xA0) # SCVB STATUS BLOCK ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[98]: disable_scpot() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: cmd.EFW_SRMWRTCTL(PROTECT=0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: cmd.EFW_ADRH(0x3a) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: cmd.EFW_ADRL(0xF2) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[77]: cmd.EFW_LOAD(0xC9) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[78]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[100]: dvsc= 1.0 # Steps per point ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: vsc = -2.0 # -2.0 Volts to start ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[102]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: d = int(v*145.0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[87]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: wait(APID_266, lambda:True, flTimeout=12) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: wait(APID_266, lambda:True, flTimeout=12) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: sleep(8) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[108]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[109]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: d = int(v*145.0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[87]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: wait(APID_266, lambda:True, flTimeout=12) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: wait(APID_266, lambda:True, flTimeout=12) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: sleep(8) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[108]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[109]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: d = int(v*145.0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[87]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: wait(APID_266, lambda:True, flTimeout=12) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: wait(APID_266, lambda:True, flTimeout=12) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: sleep(8) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[108]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[109]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: d = int(v*145.0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[87]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: wait(APID_266, lambda:True, flTimeout=12) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: wait(APID_266, lambda:True, flTimeout=12) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: sleep(8) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[108]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[109]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: d = int(v*145.0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[87]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: for i in range(duration): Trace collected at: 2014-01-27 14:00:51.486000 ---------------------------------------------------------------------- ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: log('TEST SCV BIASING' , color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: cmd.EFW_TMPKTRATE( 3, 1 ) #Set APID 266 to 1Hz ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: cmd.EFW_TMDUMPCTR(255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: cmd.EFW_DUMPADRH(0xA0) # SCVB STATUS BLOCK ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[98]: disable_scpot() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: cmd.EFW_SRMWRTCTL(PROTECT=0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: cmd.EFW_ADRH(0x3a) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: cmd.EFW_ADRL(0xF2) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[77]: cmd.EFW_LOAD(0xC9) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[78]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[100]: dvsc= 1.0 # Steps per point ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: vsc = -2.0 # -2.0 Volts to start ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[102]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: d = int(v*145.0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[87]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: wait(APID_266, lambda:True, flTimeout=12) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: wait(APID_266, lambda:True, flTimeout=12) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: sleep(8) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[108]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[109]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: d = int(v*145.0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[87]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: wait(APID_266, lambda:True, flTimeout=12) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: wait(APID_266, lambda:True, flTimeout=12) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: sleep(8) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[108]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[109]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: d = int(v*145.0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[87]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: wait(APID_266, lambda:True, flTimeout=12) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: wait(APID_266, lambda:True, flTimeout=12) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: sleep(8) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[108]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[109]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: d = int(v*145.0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[87]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: wait(APID_266, lambda:True, flTimeout=12) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: wait(APID_266, lambda:True, flTimeout=12) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: sleep(8) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[108]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[109]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: d = int(v*145.0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[87]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: for i in range(duration): Trace collected at: 2014-01-27 14:07:35.608000 ---------------------------------------------------------------------- ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: log('TEST SCV BIASING' , color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: cmd.EFW_TMPKTRATE( 3, 1 ) #Set APID 266 to 1Hz ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: cmd.EFW_TMDUMPCTR(255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: cmd.EFW_DUMPADRH(0xA0) # SCVB STATUS BLOCK ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[98]: disable_scpot() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: cmd.EFW_SRMWRTCTL(PROTECT=0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: cmd.EFW_ADRH(0x3a) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: cmd.EFW_ADRL(0xF2) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[77]: cmd.EFW_LOAD(0xC9) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[78]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[100]: dvsc= 1.0 # Steps per point ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: vsc = -2.0 # -2.0 Volts to start ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[102]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: d = int(v*145.0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[87]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[108]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[109]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: d = int(v*145.0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[87]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[110]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[110]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[110]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[110]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[110]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[110]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[111]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[112]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[113]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[114]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: d = int(v*145.0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[87]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[108]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[109]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: d = int(v*145.0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[87]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[110]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[110]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[110]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[110]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[110]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[110]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[111]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[112]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[113]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[114]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: d = int(v*145.0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[87]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[108]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[109]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: d = int(v*145.0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[87]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[110]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[110]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[110]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[110]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[110]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[111]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[112]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[113]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[114]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: d = int(v*145.0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[87]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[108]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[109]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: d = int(v*145.0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[87]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[110]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[110]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[110]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[110]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[110]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[111]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[112]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[113]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[114]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: d = int(v*145.0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[87]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: for i in range(duration): Trace collected at: 2014-01-27 14:41:45.989000 ---------------------------------------------------------------------- ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[98]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[99]: log('TEST SCV BIASING' , color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[100]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: cmd.EFW_TMPKTRATE( 3, 1 ) #Set APID 266 to 1Hz ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[102]: cmd.EFW_TMDUMPCTR(255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[103]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: cmd.EFW_DUMPADRH(0xA0) # SCVB STATUS BLOCK ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[109]: disable_scpot() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: cmd.EFW_SRMWRTCTL(PROTECT=0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[80]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: cmd.EFW_ADRH(0x3a) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: cmd.EFW_ADRL(0xF2) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: cmd.EFW_LOAD(0xC9) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[111]: dvsc= 1.0 # Steps per point ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[112]: vsc = -2.0 # -2.0 Volts to start ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[113]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: d = int(v*145.0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[115]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[69]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[119]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: d = int(v*145.0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[69]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[124]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[125]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: d = int(v*145.0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[115]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[69]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[119]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: d = int(v*145.0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[69]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[124]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[125]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: d = int(v*145.0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[115]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[69]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[119]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: d = int(v*145.0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[69]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[124]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[125]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: d = int(v*145.0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[115]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[69]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[119]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: d = int(v*145.0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[69]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[124]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[125]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: d = int(v*145.0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[115]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[69]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[119]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: d = int(v*145.0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[69]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[124]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[125]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: d = int(v*145.0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[115]: for i in range(duration): Trace collected at: 2014-01-27 14:54:01.942000 ---------------------------------------------------------------------- ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[98]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[99]: log('TEST SCV BIASING' , color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[100]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: cmd.EFW_TMPKTRATE( 3, 1 ) #Set APID 266 to 1Hz ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[102]: cmd.EFW_TMDUMPCTR(255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[103]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: cmd.EFW_DUMPADRH(0xA0) # SCVB STATUS BLOCK ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[109]: disable_scpot() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: cmd.EFW_SRMWRTCTL(PROTECT=0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[80]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: cmd.EFW_ADRH(0x3a) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: cmd.EFW_ADRL(0xF2) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: cmd.EFW_LOAD(0xC9) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[111]: dvsc= 1.0 # Steps per point ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[112]: vsc = -2.0 # -2.0 Volts to start ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[113]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: d = int(v*145.0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[115]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[69]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[119]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: d = int(v*145.0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[115]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[69]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[119]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: d = int(v*145.0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[115]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[69]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[119]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: d = int(v*145.0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[115]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[69]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[119]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: d = int(v*145.0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[115]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[69]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[119]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: d = int(v*145.0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[115]: for i in range(duration): Trace collected at: 2014-01-27 15:03:29.254000 ---------------------------------------------------------------------- ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[98]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[99]: log('TEST SCV BIASING' , color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[100]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: cmd.EFW_TMPKTRATE( 3, 1 ) #Set APID 266 to 1Hz ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[102]: cmd.EFW_TMDUMPCTR(255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[103]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: cmd.EFW_DUMPADRH(0xA0) # SCVB STATUS BLOCK ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[109]: disable_scpot() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: cmd.EFW_SRMWRTCTL(PROTECT=0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[80]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: cmd.EFW_ADRH(0x3a) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: cmd.EFW_ADRL(0xF2) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: cmd.EFW_LOAD(0xC9) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[111]: dvsc= 1.0 # Steps per point ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[112]: vsc = -2.0 # -2.0 Volts to start ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[113]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: d = int(v*145.0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[115]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[69]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[119]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: d = int(v*145.0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[115]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: sign = -1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[69]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[119]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: d = int(v*145.0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[115]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[69]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[119]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: d = int(v*145.0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[115]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[69]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[119]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: d = int(v*145.0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[115]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[69]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[119]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: d = int(v*145.0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[115]: for i in range(duration): Trace collected at: 2014-01-27 15:09:21.926000 ---------------------------------------------------------------------- ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[98]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[99]: log('TEST SCV BIASING' , color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[100]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: cmd.EFW_TMPKTRATE( 3, 1 ) #Set APID 266 to 1Hz ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[102]: cmd.EFW_TMDUMPCTR(255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[103]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: cmd.EFW_DUMPADRH(0xA0) # SCVB STATUS BLOCK ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[109]: disable_scpot() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: cmd.EFW_SRMWRTCTL(PROTECT=0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[80]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: cmd.EFW_ADRH(0x3a) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: cmd.EFW_ADRL(0xF2) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: cmd.EFW_LOAD(0xC9) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[111]: dvsc= 1.0 # Steps per point ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[112]: vsc = -2.0 # -2.0 Volts to start ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[113]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: d = int(v*145.636 + 1.0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[114]: sleep(8) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[119]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: sign = -1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[69]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: d = int(v*145.636 + 1.0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[119]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: sign = -1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[69]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: d = int(v*145.636 + 1.0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[119]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[69]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: d = int(v*145.636 + 1.0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[119]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[69]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: d = int(v*145.636 + 1.0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[119]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[69]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: d = int(v*145.636 + 1.0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: for i in range(duration): Trace collected at: 2014-01-27 15:11:30.098000 ---------------------------------------------------------------------- ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[98]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[99]: log('TEST SCV BIASING' , color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[100]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: cmd.EFW_TMPKTRATE( 3, 1 ) #Set APID 266 to 1Hz ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[102]: cmd.EFW_TMDUMPCTR(255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[103]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: cmd.EFW_DUMPADRH(0xA0) # SCVB STATUS BLOCK ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[109]: disable_scpot() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: cmd.EFW_SRMWRTCTL(PROTECT=0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[80]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: cmd.EFW_ADRH(0x3a) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: cmd.EFW_ADRL(0xF2) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: cmd.EFW_LOAD(0xC9) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[111]: dvsc= 1.0 # Steps per point ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[112]: vsc = -2.0 # -2.0 Volts to start ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[113]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[114]: sleep(8) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[119]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: sign = -1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[69]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[119]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: sign = -1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[69]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[119]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[69]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[119]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[69]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[119]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[69]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: for i in range(duration): Trace collected at: 2014-01-28 13:45:16.570000 ---------------------------------------------------------------------- ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[98]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[99]: log('TEST SCV BIASING' , color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[100]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: cmd.EFW_TMPKTRATE( 3, 1 ) #Set APID 266 to 1Hz ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[102]: cmd.EFW_TMDUMPCTR(255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[103]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: cmd.EFW_DUMPADRH(0x77) # SCVB STATUS BLOCK ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[109]: disable_scpot() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: cmd.EFW_SRMWRTCTL(PROTECT=0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[80]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: cmd.EFW_ADRH(0x3a) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: cmd.EFW_ADRL(0xF2) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: cmd.EFW_LOAD(0xC9) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[111]: dvsc= 1.0 # Steps per point ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[112]: vsc = -2.0 # -2.0 Volts to start ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[113]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[114]: sleep(8) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) Trace collected at: 2014-01-28 14:03:06.367000 ---------------------------------------------------------------------- ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[98]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[99]: log('TEST SCV BIASING' , color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[100]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: cmd.EFW_TMPKTRATE( 3, 1 ) #Set APID 266 to 1Hz ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[102]: cmd.EFW_TMDUMPCTR(255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[103]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: cmd.EFW_DUMPADRH(0x77) # SCVB STATUS BLOCK ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[109]: disable_scpot() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: cmd.EFW_SRMWRTCTL(PROTECT=0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[80]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: cmd.EFW_ADRH(0x3a) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: cmd.EFW_ADRL(0xF2) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: cmd.EFW_LOAD(0xC9) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[111]: dvsc= 1.0 # Steps per point ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[112]: vsc = -2.0 # -2.0 Volts to start ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[113]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[114]: sleep(8) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) Trace collected at: 2014-01-28 14:22:10.055000 ---------------------------------------------------------------------- ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[98]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[99]: log('TEST SCV BIASING' , color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[100]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: cmd.EFW_TMPKTRATE( 3, 1 ) #Set APID 266 to 1Hz ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[102]: cmd.EFW_TMDUMPCTR(255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[103]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: cmd.EFW_DUMPADRH(0x77) # SCVB STATUS BLOCK ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[109]: disable_scpot() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: cmd.EFW_SRMWRTCTL(PROTECT=0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[80]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: cmd.EFW_ADRH(0x3a) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: cmd.EFW_ADRL(0xF2) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: cmd.EFW_LOAD(0xC9) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[111]: dvsc= 1.0 # Steps per point ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[112]: vsc = -2.0 # -2.0 Volts to start ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[113]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[114]: sleep(8) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[119]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: sign = -1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[69]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[119]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: sign = -1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[69]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[119]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[69]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[119]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[69]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[119]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[69]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: for i in range(duration): Trace collected at: 2014-01-28 14:29:06.336000 ---------------------------------------------------------------------- ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[98]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[99]: log('TEST SCV BIASING' , color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[100]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: cmd.EFW_TMPKTRATE( 3, 1 ) #Set APID 266 to 1Hz ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[102]: cmd.EFW_TMDUMPCTR(255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[103]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: cmd.EFW_DUMPADRH(0x77) # SCVB STATUS BLOCK ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[109]: disable_scpot() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: cmd.EFW_SRMWRTCTL(PROTECT=0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[80]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: cmd.EFW_ADRH(0x3a) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: cmd.EFW_ADRL(0xF2) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: cmd.EFW_LOAD(0xC9) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[111]: dvsc= 1.0 # Steps per point ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[112]: vsc = -2.0 # -2.0 Volts to start ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[113]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[114]: sleep(8) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[119]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: sign = -1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[69]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[119]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: sign = -1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[69]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[119]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[69]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[119]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[69]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[119]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[69]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: for i in range(duration): Trace collected at: 2014-01-28 15:27:29.008000 ---------------------------------------------------------------------- ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[100]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: log('TEST SCV BIASING' , color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[102]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[103]: cmd.EFW_TMPKTRATE( 3, 1 ) #Set APID 266 to 1Hz ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: cmd.EFW_TMDUMPCTR(255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: cmd.EFW_DUMPADRH(0xA0) # SCVB STATUS BLOCK ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[108]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[109]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[111]: disable_scpot() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: cmd.EFW_SRMWRTCTL(PROTECT=0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: cmd.EFW_ADRH(0x3a) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: cmd.EFW_ADRL(0xF2) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[87]: cmd.EFW_LOAD(0xC9) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[88]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[113]: dvsc= 0.25 # Steps per point ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[114]: vsc = -2.0 # -2.0 Volts to start ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[115]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[97]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: sleep(8) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[119]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[97]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) Trace collected at: 2014-01-28 15:37:48.365000 ---------------------------------------------------------------------- ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[100]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: log('TEST SCV BIASING' , color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[102]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[103]: cmd.EFW_TMPKTRATE( 3, 1 ) #Set APID 266 to 1Hz ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: cmd.EFW_TMDUMPCTR(255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: cmd.EFW_DUMPADRH(0xA0) # SCVB STATUS BLOCK ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[108]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[109]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[111]: disable_scpot() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: cmd.EFW_SRMWRTCTL(PROTECT=0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: cmd.EFW_ADRH(0x3a) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: cmd.EFW_ADRL(0xF2) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[87]: cmd.EFW_LOAD(0xC9) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[88]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[113]: dvsc= 0.25 # Steps per point ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[114]: vsc = -2.0 # -2.0 Volts to start ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[115]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[97]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: sleep(8) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[119]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[97]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: sign = -1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[69]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[77]: LOG("----------------------------------------") Trace collected at: 2014-01-28 15:44:12.113000 ---------------------------------------------------------------------- ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[100]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: log('TEST SCV BIASING' , color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[102]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[103]: cmd.EFW_TMPKTRATE( 3, 1 ) #Set APID 266 to 1Hz ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: cmd.EFW_TMDUMPCTR(255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: cmd.EFW_DUMPADRH(0xA0) # SCVB STATUS BLOCK ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[108]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[109]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[111]: disable_scpot() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: cmd.EFW_SRMWRTCTL(PROTECT=0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: cmd.EFW_ADRH(0x3a) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: cmd.EFW_ADRL(0xF2) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[87]: cmd.EFW_LOAD(0xC9) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[88]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[113]: dvsc= 0.25 # Steps per point ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[114]: vsc = -2.0 # -2.0 Volts to start ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[115]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[97]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: sleep(8) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[119]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[97]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: sign = -1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[69]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[77]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[119]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[97]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: sign = -1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[69]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[77]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[119]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[97]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: sign = -1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[69]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[77]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[119]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[97]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: sign = -1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[69]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[77]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[119]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[97]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: sign = -1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[69]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: x = -x ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: x = -x ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[77]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[119]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[97]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: sign = -1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[69]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: x = -x ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: x = -x ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[77]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[119]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[97]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: sign = -1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[69]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: x = -x ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: x = -x ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[77]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[119]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[97]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: sign = -1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[69]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: x = -x ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: x = -x ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[77]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[119]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[97]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[69]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: x = -x ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: x = -x ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[77]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[119]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[97]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[69]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: x = -x ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: x = -x ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIB=%5.3f nA" % (scp, scv, tmp, cibflt)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[77]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: for i in range(duration): Trace collected at: 2014-01-29 15:15:01.332000 ---------------------------------------------------------------------- ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[102]: log('TEST SCV BIASING' , color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[103]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: cmd.EFW_TMPKTRATE( 3, 1 ) #Set APID 266 to 1Hz ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: cmd.EFW_TMDUMPCTR(255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: cmd.EFW_DUMPADRH(0xA0) # SCVB STATUS BLOCK ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[108]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[109]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[110]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[112]: disable_scpot() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: cmd.EFW_SRMWRTCTL(PROTECT=0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: cmd.EFW_ADRH(0x3a) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: cmd.EFW_ADRL(0xF2) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[87]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[88]: cmd.EFW_LOAD(0xC9) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[114]: dvsc= 0.25 # Steps per point ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[115]: vsc = -2.0 # -2.0 Volts to start ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[97]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[98]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: sleep(8) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[119]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[97]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[98]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[12]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[53]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[54]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[53]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[54]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[53]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[54]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[53]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[54]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[69]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[53]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[54]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: dac1 = APID_265.IEFI_BIAS1 Trace collected at: 2014-01-29 15:27:16.890000 ---------------------------------------------------------------------- ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[102]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[103]: log('TEST SCV BIASING' , color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: cmd.EFW_TMPKTRATE( 3, 1 ) #Set APID 266 to 1Hz ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: cmd.EFW_TMDUMPCTR(255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[108]: cmd.EFW_DUMPADRH(0xA0) # SCVB STATUS BLOCK ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[109]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[110]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[111]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[113]: disable_scpot() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: cmd.EFW_SRMWRTCTL(PROTECT=0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: cmd.EFW_ADRH(0x3a) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[87]: cmd.EFW_ADRL(0xF2) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[88]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: cmd.EFW_LOAD(0xC9) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[115]: dvsc= 0.25 # Steps per point ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: vsc = -2.0 # -2.0 Volts to start ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[97]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[98]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[99]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[16]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: sleep(8) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[97]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[98]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[99]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[16]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[124]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[53]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[54]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[53]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[54]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[53]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[54]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[69]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[53]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[54]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[53]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[54]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: dac1 = APID_265.IEFI_IBIAS1 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: dac2 = APID_265.IEFI_IBIAS2 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: dac3 = APID_265.IEFI_IBIAS3 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: dac4 = APID_265.IEFI_IBIAS4 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIBf=%5.3f nA CIB = %04x" % (scp, scv, tmp, cibflt,cib)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[77]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[78]: log("D1 = %04x D2 = %04x D3 = %04x D4 = %04x" % (dac1,dac2,dac3,dac4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[125]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[97]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[98]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[99]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[16]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[124]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[53]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[54]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[53]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[54]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[53]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[54]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[69]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[53]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[54]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[53]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[54]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: dac1 = APID_265.IEFI_IBIAS1 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: dac2 = APID_265.IEFI_IBIAS2 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: dac3 = APID_265.IEFI_IBIAS3 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: dac4 = APID_265.IEFI_IBIAS4 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIBf=%5.3f nA CIB = %04x" % (scp, scv, tmp, cibflt,cib)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[77]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[78]: log("D1 = %04x D2 = %04x D3 = %04x D4 = %04x" % (dac1,dac2,dac3,dac4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[125]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[97]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[98]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[99]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[16]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[124]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[53]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[54]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[53]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[54]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[53]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[54]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[69]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[53]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[54]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[53]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[54]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: dac1 = APID_265.IEFI_IBIAS1 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: dac2 = APID_265.IEFI_IBIAS2 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: dac3 = APID_265.IEFI_IBIAS3 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: dac4 = APID_265.IEFI_IBIAS4 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIBf=%5.3f nA CIB = %04x" % (scp, scv, tmp, cibflt,cib)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[77]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[78]: log("D1 = %04x D2 = %04x D3 = %04x D4 = %04x" % (dac1,dac2,dac3,dac4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[125]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[97]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[98]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[99]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[16]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[124]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[53]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[54]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[53]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[54]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[53]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[54]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[69]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[53]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[54]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[53]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[54]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: dac1 = APID_265.IEFI_IBIAS1 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: dac2 = APID_265.IEFI_IBIAS2 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: dac3 = APID_265.IEFI_IBIAS3 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: dac4 = APID_265.IEFI_IBIAS4 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIBf=%5.3f nA CIB = %04x" % (scp, scv, tmp, cibflt,cib)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[77]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[78]: log("D1 = %04x D2 = %04x D3 = %04x D4 = %04x" % (dac1,dac2,dac3,dac4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[125]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[97]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[98]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[99]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[16]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[124]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[53]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[54]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[53]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[54]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[53]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[54]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[69]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[53]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[54]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[53]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[54]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: dac1 = APID_265.IEFI_IBIAS1 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: dac2 = APID_265.IEFI_IBIAS2 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: dac3 = APID_265.IEFI_IBIAS3 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: dac4 = APID_265.IEFI_IBIAS4 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIBf=%5.3f nA CIB = %04x" % (scp, scv, tmp, cibflt,cib)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[77]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[78]: log("D1 = %04x D2 = %04x D3 = %04x D4 = %04x" % (dac1,dac2,dac3,dac4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[125]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[97]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[98]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[99]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[16]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[124]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[53]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[54]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[53]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[54]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: x = -x ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[53]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[54]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: x = -x ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[69]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[53]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[54]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[53]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[54]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: dac1 = APID_265.IEFI_IBIAS1 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: dac2 = APID_265.IEFI_IBIAS2 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: dac3 = APID_265.IEFI_IBIAS3 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: dac4 = APID_265.IEFI_IBIAS4 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIBf=%5.3f nA CIB = %04x" % (scp, scv, tmp, cibflt,cib)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[77]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[78]: log("D1 = %04x D2 = %04x D3 = %04x D4 = %04x" % (dac1,dac2,dac3,dac4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[125]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[97]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[98]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[99]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[16]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[124]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[53]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[54]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[53]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[54]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[53]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[54]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[69]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[53]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[54]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[53]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[54]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: dac1 = APID_265.IEFI_IBIAS1 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: dac2 = APID_265.IEFI_IBIAS2 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: dac3 = APID_265.IEFI_IBIAS3 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: dac4 = APID_265.IEFI_IBIAS4 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIBf=%5.3f nA CIB = %04x" % (scp, scv, tmp, cibflt,cib)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[77]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[78]: log("D1 = %04x D2 = %04x D3 = %04x D4 = %04x" % (dac1,dac2,dac3,dac4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[125]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[97]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[98]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[99]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[16]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[124]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[53]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[54]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[53]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[54]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[53]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[54]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[69]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[53]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[54]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[53]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[54]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: dac1 = APID_265.IEFI_IBIAS1 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: dac2 = APID_265.IEFI_IBIAS2 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: dac3 = APID_265.IEFI_IBIAS3 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: dac4 = APID_265.IEFI_IBIAS4 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIBf=%5.3f nA CIB = %04x" % (scp, scv, tmp, cibflt,cib)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[77]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[78]: log("D1 = %04x D2 = %04x D3 = %04x D4 = %04x" % (dac1,dac2,dac3,dac4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[125]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[97]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[98]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[99]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[16]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[124]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[53]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[54]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[53]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[54]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[53]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[54]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[69]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[53]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[54]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[53]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[54]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: dac1 = APID_265.IEFI_IBIAS1 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: dac2 = APID_265.IEFI_IBIAS2 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: dac3 = APID_265.IEFI_IBIAS3 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: dac4 = APID_265.IEFI_IBIAS4 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIBf=%5.3f nA CIB = %04x" % (scp, scv, tmp, cibflt,cib)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[77]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[78]: log("D1 = %04x D2 = %04x D3 = %04x D4 = %04x" % (dac1,dac2,dac3,dac4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[125]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[97]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[98]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[99]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[16]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[123]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[124]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[53]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[54]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[53]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[54]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[53]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[54]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[69]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[53]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[54]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[53]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[54]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: dac1 = APID_265.IEFI_IBIAS1 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: dac2 = APID_265.IEFI_IBIAS2 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: dac3 = APID_265.IEFI_IBIAS3 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: dac4 = APID_265.IEFI_IBIAS4 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIBf=%5.3f nA CIB = %04x" % (scp, scv, tmp, cibflt,cib)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[77]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[78]: log("D1 = %04x D2 = %04x D3 = %04x D4 = %04x" % (dac1,dac2,dac3,dac4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[125]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: for i in range(duration): Trace collected at: 2014-01-29 16:03:41.173000 ---------------------------------------------------------------------- ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[102]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[103]: log('TEST SCV BIASING' , color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: cmd.EFW_TMPKTRATE( 3, 1 ) #Set APID 266 to 1Hz ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: cmd.EFW_TMDUMPCTR(255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[108]: cmd.EFW_DUMPADRH(0xA0) # SCVB STATUS BLOCK ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[109]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[110]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[111]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[113]: disable_scpot() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: cmd.EFW_SRMWRTCTL(PROTECT=0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: cmd.EFW_ADRH(0x3a) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[87]: cmd.EFW_ADRL(0xF2) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[88]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: cmd.EFW_LOAD(0xC9) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[114]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[97]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[98]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[99]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[16]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[115]: sleep(8) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: for i in range(duration): Trace collected at: 2014-01-29 16:05:24.672000 ---------------------------------------------------------------------- ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[102]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[103]: log('TEST SCV BIASING' , color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: cmd.EFW_TMPKTRATE( 3, 1 ) #Set APID 266 to 1Hz ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: cmd.EFW_TMDUMPCTR(255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[108]: cmd.EFW_DUMPADRH(0xA0) # SCVB STATUS BLOCK ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[109]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[110]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[111]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[113]: disable_scpot() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: cmd.EFW_SRMWRTCTL(PROTECT=0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: cmd.EFW_ADRH(0x3a) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[87]: cmd.EFW_ADRL(0xF2) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[88]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: cmd.EFW_LOAD(0xC9) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[114]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[97]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[98]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[99]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[16]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[115]: sleep(8) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[97]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[98]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[99]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[16]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[119]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[119]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[53]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[54]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[53]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[54]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[53]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[54]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[69]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[53]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[54]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[53]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[54]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: dac1 = APID_265.IEFI_IBIAS1 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: dac2 = APID_265.IEFI_IBIAS2 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: dac3 = APID_265.IEFI_IBIAS3 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: dac4 = APID_265.IEFI_IBIAS4 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIBf=%5.3f nA CIB = %04x" % (scp, scv, tmp, cibflt,cib)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[77]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[78]: log("D1 = %04x D2 = %04x D3 = %04x D4 = %04x" % (dac1,dac2,dac3,dac4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: for i in range(duration): Trace collected at: 2014-01-29 16:20:20.604000 ---------------------------------------------------------------------- ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[102]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[103]: log('TEST SCV BIASING' , color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: cmd.EFW_TMPKTRATE( 3, 1 ) #Set APID 266 to 1Hz ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: cmd.EFW_TMDUMPCTR(255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[108]: cmd.EFW_DUMPADRH(0xA0) # SCVB STATUS BLOCK ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[109]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[110]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[111]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[113]: disable_scpot() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: cmd.EFW_SRMWRTCTL(PROTECT=0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: cmd.EFW_ADRH(0x3a) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[87]: cmd.EFW_ADRL(0xF2) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[88]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: cmd.EFW_LOAD(0xC9) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[114]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[97]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[98]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[99]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[16]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[115]: sleep(8) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: cmd.EFW_ADRH(0x9F) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[97]: cmd.EFW_ADRL(0x56) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[98]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[99]: loadpair( d ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[13]: cmd.EFW_LOAD( x & 255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[14]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[15]: cmd.EFW_LOAD( (x >> 8 )&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[16]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[119]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[119]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[119]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[119]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[119]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[119]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[119]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[119]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[119]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[119]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[119]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[119]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[120]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[121]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[53]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[54]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[53]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[54]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[53]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[54]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[69]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[53]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[54]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[53]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[54]: x = (h&127) + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: if( (APID_266.Data[n+1]&128)>0 ): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: dac1 = APID_265.IEFI_IBIAS1 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: dac2 = APID_265.IEFI_IBIAS2 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: dac3 = APID_265.IEFI_IBIAS3 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: dac4 = APID_265.IEFI_IBIAS4 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIBf=%5.3f nA CIB = %04x" % (scp, scv, tmp, cibflt,cib)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[77]: log("B1 = %04x B2 = %04x B3 = %04x B4 = %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[78]: log("D1 = %04x D2 = %04x D3 = %04x D4 = %04x" % (dac1,dac2,dac3,dac4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[122]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: for i in range(duration): Trace collected at: 2014-01-29 21:21:44.105000 ---------------------------------------------------------------------- ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: log('TEST SCV BIASING' , color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: cmd.EFW_TMPKTRATE( 3, 1 ) #Set APID 266 to 1Hz ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[69]: cmd.EFW_TMDUMPCTR(255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: cmd.EFW_DUMPADRH(0xA0) # SCVB STATUS BLOCK ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: disable_scpot() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[54]: cmd.EFW_SRMWRTCTL(PROTECT=0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: efw.idpu_load("00003AF2", " C9") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[77]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: s = " %02x %02x" % ((d>>8)&255, d&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: efw.idpu_load("00009F56", s) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[78]: sleep(8) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[80]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: s = " %02x %02x" % ((d>>8)&255, d&255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: efw.idpu_load("00009F56", s) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[25]: sign = -1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIBf=%5.3f nA CIB = %04x" % (scp, scv, tmp, cibflt,cib)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: log("BASELINE = %04x, %04x, %04x, %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[80]: for i in range(duration): Trace collected at: 2014-01-29 21:25:06.088000 ---------------------------------------------------------------------- ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: log('TEST SCV BIASING' , color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: cmd.EFW_TMPKTRATE( 3, 1 ) #Set APID 266 to 1Hz ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[69]: cmd.EFW_TMDUMPCTR(255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: cmd.EFW_DUMPADRH(0xA0) # SCVB STATUS BLOCK ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: disable_scpot() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[54]: cmd.EFW_SRMWRTCTL(PROTECT=0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: efw.idpu_load("00003AF2", " C9") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[77]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: s = " %02x %02x" % (d&255,(d>>8)&255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: efw.idpu_load("00009F56", s) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[78]: sleep(8) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[80]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: s = " %02x %02x" % (d&255,(d>>8)&255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: efw.idpu_load("00009F56", s) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIBf=%5.3f nA CIB = %04x" % (scp, scv, tmp, cibflt,cib)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: log("BASELINE = %04x, %04x, %04x, %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[80]: for i in range(duration): Trace collected at: 2014-01-29 21:27:55.946000 ---------------------------------------------------------------------- ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: log('TEST SCV BIASING' , color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: cmd.EFW_TMPKTRATE( 3, 1 ) #Set APID 266 to 1Hz ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[69]: cmd.EFW_TMDUMPCTR(255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: cmd.EFW_DUMPADRH(0xA0) # SCVB STATUS BLOCK ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: disable_scpot() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[54]: cmd.EFW_SRMWRTCTL(PROTECT=0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: efw.idpu_load("00003AF2", " C9") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[77]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: s = " %02x %02x" % (d&255,(d>>8)&255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: efw.idpu_load("00009F56", s) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[78]: sleep(8) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[80]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: s = " %02x %02x" % (d&255,(d>>8)&255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: efw.idpu_load("00009F56", s) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIBf=%5.3f nA CIB = %04x" % (scp, scv, tmp, cibflt,cib)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: log("BASELINE = %04x, %04x, %04x, %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[80]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: s = " %02x %02x" % (d&255,(d>>8)&255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: efw.idpu_load("00009F56", s) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIBf=%5.3f nA CIB = %04x" % (scp, scv, tmp, cibflt,cib)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: log("BASELINE = %04x, %04x, %04x, %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[80]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: s = " %02x %02x" % (d&255,(d>>8)&255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: efw.idpu_load("00009F56", s) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIBf=%5.3f nA CIB = %04x" % (scp, scv, tmp, cibflt,cib)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: log("BASELINE = %04x, %04x, %04x, %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[80]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: s = " %02x %02x" % (d&255,(d>>8)&255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: efw.idpu_load("00009F56", s) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIBf=%5.3f nA CIB = %04x" % (scp, scv, tmp, cibflt,cib)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: log("BASELINE = %04x, %04x, %04x, %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[80]: for i in range(duration): Trace collected at: 2014-01-29 21:30:34.070000 ---------------------------------------------------------------------- ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: log('TEST SCV BIASING' , color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[69]: cmd.EFW_TMPKTRATE( 3, 1 ) #Set APID 266 to 1Hz ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: cmd.EFW_TMDUMPCTR(255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: cmd.EFW_DUMPADRH(0xA0) # SCVB STATUS BLOCK ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[77]: disable_scpot() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[54]: cmd.EFW_SRMWRTCTL(PROTECT=0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: efw.idpu_load("00003AF2", " C9") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[78]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: s = " %02x %02x" % (d&255,(d>>8)&255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: efw.idpu_load("00009F56", s) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: sleep(2.0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: sleep(8) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: s = " %02x %02x" % (d&255,(d>>8)&255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: efw.idpu_load("00009F56", s) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: sleep(2.0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIBf=%5.3f nA CIB = %04x" % (scp, scv, tmp, cibflt,cib)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: log("BASELINE = %04x, %04x, %04x, %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: s = " %02x %02x" % (d&255,(d>>8)&255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: efw.idpu_load("00009F56", s) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: sleep(2.0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIBf=%5.3f nA CIB = %04x" % (scp, scv, tmp, cibflt,cib)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: log("BASELINE = %04x, %04x, %04x, %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: s = " %02x %02x" % (d&255,(d>>8)&255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: efw.idpu_load("00009F56", s) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: sleep(2.0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIBf=%5.3f nA CIB = %04x" % (scp, scv, tmp, cibflt,cib)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: log("BASELINE = %04x, %04x, %04x, %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: s = " %02x %02x" % (d&255,(d>>8)&255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: efw.idpu_load("00009F56", s) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: sleep(2.0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIBf=%5.3f nA CIB = %04x" % (scp, scv, tmp, cibflt,cib)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: log("BASELINE = %04x, %04x, %04x, %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: for i in range(duration): Trace collected at: 2014-01-29 21:36:37.928000 ---------------------------------------------------------------------- ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: log('TEST SCV BIASING' , color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: cmd.EFW_TMPKTRATE( 3, 1 ) #Set APID 266 to 1Hz ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[69]: cmd.EFW_TMDUMPCTR(255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: cmd.EFW_DUMPADRH(0xA0) # SCVB STATUS BLOCK ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: disable_scpot() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[54]: cmd.EFW_SRMWRTCTL(PROTECT=0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: efw.idpu_load("00003AF2", " C9") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[77]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: s = " %02x %02x" % (d&255,(d>>8)&255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: efw.idpu_load("00009F56", s) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[78]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[78]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[78]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: s = " %02x %02x" % (d&255,(d>>8)&255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: efw.idpu_load("00009F56", s) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: sleep(4) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[78]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIBf=%5.3f nA CIB = %04x" % (scp, scv, tmp, cibflt,cib)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: log("BASELINE = %04x, %04x, %04x, %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[87]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: s = " %02x %02x" % (d&255,(d>>8)&255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: efw.idpu_load("00009F56", s) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: sleep(4) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[78]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIBf=%5.3f nA CIB = %04x" % (scp, scv, tmp, cibflt,cib)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: log("BASELINE = %04x, %04x, %04x, %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[87]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: s = " %02x %02x" % (d&255,(d>>8)&255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: efw.idpu_load("00009F56", s) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: sleep(4) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[78]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIBf=%5.3f nA CIB = %04x" % (scp, scv, tmp, cibflt,cib)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: log("BASELINE = %04x, %04x, %04x, %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[87]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: s = " %02x %02x" % (d&255,(d>>8)&255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: efw.idpu_load("00009F56", s) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: sleep(4) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[78]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIBf=%5.3f nA CIB = %04x" % (scp, scv, tmp, cibflt,cib)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: log("BASELINE = %04x, %04x, %04x, %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[87]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: for i in range(duration): Trace collected at: 2014-01-29 21:49:40.100000 ---------------------------------------------------------------------- ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[77]: log('TEST SCV BIASING' , color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[78]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: cmd.EFW_TMPKTRATE( 3, 1 ) #Set APID 266 to 1Hz ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[80]: cmd.EFW_TMDUMPCTR(255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: cmd.EFW_DUMPADRH(0xA0) # SCVB STATUS BLOCK ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[87]: disable_scpot() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: cmd.EFW_SRMWRTCTL(PROTECT=0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: efw.idpu_load("00003AF2", " C9") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[88]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: s = " %02x %02x" % (d&255,(d>>8)&255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: efw.idpu_load("00009F56", s) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: s = " %02x %02x" % (d&255,(d>>8)&255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: efw.idpu_load("00009F56", s) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: sleep(4) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[97]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: cmd.EFW_DUMPDARL(0x00) Trace collected at: 2014-01-29 21:51:13.210000 ---------------------------------------------------------------------- ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[77]: log('TEST SCV BIASING' , color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[78]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: cmd.EFW_TMPKTRATE( 3, 1 ) #Set APID 266 to 1Hz ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[80]: cmd.EFW_TMDUMPCTR(255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: cmd.EFW_DUMPADRH(0xA0) # SCVB STATUS BLOCK ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[87]: disable_scpot() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: cmd.EFW_SRMWRTCTL(PROTECT=0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: efw.idpu_load("00003AF2", " C9") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[88]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: s = " %02x %02x" % (d&255,(d>>8)&255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: efw.idpu_load("00009F56", s) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: s = " %02x %02x" % (d&255,(d>>8)&255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: efw.idpu_load("00009F56", s) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: sleep(4) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[97]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIBf=%5.3f nA CIB = %04x" % (scp, scv, tmp, cibflt,cib)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: log("BASELINE = %04x, %04x, %04x, %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[98]: readback() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: cmd.EFW_DUMPADRH(0x94) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: cmd.EFW_DUMPADRL(0xD0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: b1 = hexpair( 0 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: b2 = hexpair( 2 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: b3 = hexpair( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: b4 = hexpair( 6 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: log("BIASDACS = %04x, %04x, %04x, %04x" % (b1,b2,b3,b4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[99]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[100]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: s = " %02x %02x" % (d&255,(d>>8)&255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: efw.idpu_load("00009F56", s) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: sleep(4) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) Trace collected at: 2014-01-29 21:54:39.803000 ---------------------------------------------------------------------- ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[77]: log('TEST SCV BIASING' , color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[78]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: cmd.EFW_TMPKTRATE( 3, 1 ) #Set APID 266 to 1Hz ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[80]: cmd.EFW_TMDUMPCTR(255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: cmd.EFW_DUMPADRH(0xA0) # SCVB STATUS BLOCK ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[87]: disable_scpot() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: cmd.EFW_SRMWRTCTL(PROTECT=0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: efw.idpu_load("00003AF2", " C9") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[88]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: s = " %02x %02x" % (d&255,(d>>8)&255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: efw.idpu_load("00009F56", s) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: s = " %02x %02x" % (d&255,(d>>8)&255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: efw.idpu_load("00009F56", s) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[97]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[98]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[99]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIBf=%5.3f nA CIB = %04x" % (scp, scv, tmp, cibflt,cib)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: log("BASELINE = %04x, %04x, %04x, %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[100]: readback() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: cmd.EFW_DUMPADRH(0x94) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: cmd.EFW_DUMPADRL(0xD0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: b1 = hexpair( 0 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: b2 = hexpair( 2 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: b3 = hexpair( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: b4 = hexpair( 6 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: log("BIASDACS = %04x, %04x, %04x, %04x" % (b1,b2,b3,b4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[102]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: s = " %02x %02x" % (d&255,(d>>8)&255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: efw.idpu_load("00009F56", s) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[97]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[98]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[99]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIBf=%5.3f nA CIB = %04x" % (scp, scv, tmp, cibflt,cib)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: log("BASELINE = %04x, %04x, %04x, %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[100]: readback() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: cmd.EFW_DUMPADRH(0x94) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: cmd.EFW_DUMPADRL(0xD0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: b1 = hexpair( 0 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: b2 = hexpair( 2 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: b3 = hexpair( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: b4 = hexpair( 6 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: log("BIASDACS = %04x, %04x, %04x, %04x" % (b1,b2,b3,b4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[102]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: s = " %02x %02x" % (d&255,(d>>8)&255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: efw.idpu_load("00009F56", s) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[97]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[98]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[99]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIBf=%5.3f nA CIB = %04x" % (scp, scv, tmp, cibflt,cib)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: log("BASELINE = %04x, %04x, %04x, %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[100]: readback() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: cmd.EFW_DUMPADRH(0x94) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: cmd.EFW_DUMPADRL(0xD0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: b1 = hexpair( 0 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: b2 = hexpair( 2 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: b3 = hexpair( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: b4 = hexpair( 6 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: log("BIASDACS = %04x, %04x, %04x, %04x" % (b1,b2,b3,b4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[102]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: s = " %02x %02x" % (d&255,(d>>8)&255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: efw.idpu_load("00009F56", s) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[97]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[98]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[99]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIBf=%5.3f nA CIB = %04x" % (scp, scv, tmp, cibflt,cib)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: log("BASELINE = %04x, %04x, %04x, %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[100]: readback() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: cmd.EFW_DUMPADRH(0x94) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: cmd.EFW_DUMPADRL(0xD0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: b1 = hexpair( 0 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: b2 = hexpair( 2 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: b3 = hexpair( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: b4 = hexpair( 6 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: log("BIASDACS = %04x, %04x, %04x, %04x" % (b1,b2,b3,b4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[102]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: for i in range(duration): Trace collected at: 2014-01-29 22:11:03.757000 ---------------------------------------------------------------------- ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[77]: log('TEST SCV BIASING' , color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[78]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: cmd.EFW_TMPKTRATE( 3, 1 ) #Set APID 266 to 1Hz ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[80]: cmd.EFW_TMDUMPCTR(255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: cmd.EFW_DUMPADRH(0xA0) # SCVB STATUS BLOCK ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[87]: disable_scpot() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: cmd.EFW_SRMWRTCTL(PROTECT=0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: efw.idpu_load("00003AF2", " C9") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[88]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: s = " %02x %02x" % (d&255,(d>>8)&255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: efw.idpu_load("00009F56", s) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: s = " %02x %02x" % (d&255,(d>>8)&255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: efw.idpu_load("00009F56", s) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[97]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[98]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[99]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIBf=%5.3f nA CIB = %04x" % (scp, scv, tmp, cibflt,cib)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: log("BASELINE = %04x, %04x, %04x, %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[100]: readback() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: cmd.EFW_DUMPADRH(0x94) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: cmd.EFW_DUMPADRL(0xD0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: b1 = hexpair( 0 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: b2 = hexpair( 2 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: b3 = hexpair( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: b4 = hexpair( 6 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: log("BIASDACS = %04x, %04x, %04x, %04x" % (b1,b2,b3,b4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[102]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: s = " %02x %02x" % (d&255,(d>>8)&255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: efw.idpu_load("00009F56", s) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[97]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[98]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[99]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIBf=%5.3f nA CIB = %04x" % (scp, scv, tmp, cibflt,cib)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: log("BASELINE = %04x, %04x, %04x, %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[100]: readback() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: cmd.EFW_DUMPADRH(0x94) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: cmd.EFW_DUMPADRL(0xD0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: b1 = hexpair( 0 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: b2 = hexpair( 2 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: b3 = hexpair( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: b4 = hexpair( 6 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: log("BIASDACS = %04x, %04x, %04x, %04x" % (b1,b2,b3,b4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[102]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: s = " %02x %02x" % (d&255,(d>>8)&255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: efw.idpu_load("00009F56", s) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[97]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[98]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[99]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIBf=%5.3f nA CIB = %04x" % (scp, scv, tmp, cibflt,cib)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: log("BASELINE = %04x, %04x, %04x, %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[100]: readback() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: cmd.EFW_DUMPADRH(0x94) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: cmd.EFW_DUMPADRL(0xD0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: b1 = hexpair( 0 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: b2 = hexpair( 2 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: b3 = hexpair( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: b4 = hexpair( 6 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: log("BIASDACS = %04x, %04x, %04x, %04x" % (b1,b2,b3,b4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[102]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: s = " %02x %02x" % (d&255,(d>>8)&255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: efw.idpu_load("00009F56", s) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[97]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[98]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[99]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIBf=%5.3f nA CIB = %04x" % (scp, scv, tmp, cibflt,cib)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: log("BASELINE = %04x, %04x, %04x, %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[100]: readback() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: cmd.EFW_DUMPADRH(0x94) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: cmd.EFW_DUMPADRL(0xD0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: b1 = hexpair( 0 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: b2 = hexpair( 2 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: b3 = hexpair( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: b4 = hexpair( 6 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: log("BIASDACS = %04x, %04x, %04x, %04x" % (b1,b2,b3,b4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[102]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: for i in range(duration): Trace collected at: 2014-01-29 22:12:21.788000 ---------------------------------------------------------------------- ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[77]: log('TEST SCV BIASING' , color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[78]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: cmd.EFW_TMPKTRATE( 3, 1 ) #Set APID 266 to 1Hz ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[80]: cmd.EFW_TMDUMPCTR(255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: cmd.EFW_DUMPADRH(0xA0) # SCVB STATUS BLOCK ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[87]: disable_scpot() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: cmd.EFW_SRMWRTCTL(PROTECT=0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: efw.idpu_load("00003AF2", " C9") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[88]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: s = " %02x %02x" % (d&255,(d>>8)&255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: efw.idpu_load("00009F56", s) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: s = " %02x %02x" % (d&255,(d>>8)&255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: efw.idpu_load("00009F56", s) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[97]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[98]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[99]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIBf=%5.3f nA CIB = %04x" % (scp, scv, tmp, cibflt,cib)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: log("BASELINE = %04x, %04x, %04x, %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[100]: readback() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: cmd.EFW_DUMPADRH(0x94) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: cmd.EFW_DUMPADRL(0xD0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: b1 = hexpair( 0 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: b2 = hexpair( 2 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: b3 = hexpair( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: b4 = hexpair( 6 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: log("BIASDACS = %04x, %04x, %04x, %04x" % (b1,b2,b3,b4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[102]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: s = " %02x %02x" % (d&255,(d>>8)&255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: efw.idpu_load("00009F56", s) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[97]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[98]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[99]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIBf=%5.3f nA CIB = %04x" % (scp, scv, tmp, cibflt,cib)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: log("BASELINE = %04x, %04x, %04x, %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[100]: readback() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: cmd.EFW_DUMPADRH(0x94) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: cmd.EFW_DUMPADRL(0xD0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: b1 = hexpair( 0 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: b2 = hexpair( 2 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: b3 = hexpair( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: b4 = hexpair( 6 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: log("BIASDACS = %04x, %04x, %04x, %04x" % (b1,b2,b3,b4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[102]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: s = " %02x %02x" % (d&255,(d>>8)&255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: efw.idpu_load("00009F56", s) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[97]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[98]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[99]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIBf=%5.3f nA CIB = %04x" % (scp, scv, tmp, cibflt,cib)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: log("BASELINE = %04x, %04x, %04x, %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[100]: readback() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: cmd.EFW_DUMPADRH(0x94) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: cmd.EFW_DUMPADRL(0xD0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: b1 = hexpair( 0 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: b2 = hexpair( 2 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: b3 = hexpair( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: b4 = hexpair( 6 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: log("BIASDACS = %04x, %04x, %04x, %04x" % (b1,b2,b3,b4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[102]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: s = " %02x %02x" % (d&255,(d>>8)&255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: efw.idpu_load("00009F56", s) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[97]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[98]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[99]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIBf=%5.3f nA CIB = %04x" % (scp, scv, tmp, cibflt,cib)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: log("BASELINE = %04x, %04x, %04x, %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[100]: readback() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: cmd.EFW_DUMPADRH(0x94) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: cmd.EFW_DUMPADRL(0xD0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: b1 = hexpair( 0 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: b2 = hexpair( 2 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: b3 = hexpair( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: b4 = hexpair( 6 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: log("BIASDACS = %04x, %04x, %04x, %04x" % (b1,b2,b3,b4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[102]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: for i in range(duration): Trace collected at: 2014-01-30 11:10:09.114000 ---------------------------------------------------------------------- ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[77]: log('TEST SCV BIASING' , color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[78]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: cmd.EFW_TMPKTRATE( 3, 1 ) #Set APID 266 to 1Hz ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[80]: cmd.EFW_TMDUMPCTR(255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: cmd.EFW_DUMPADRH(0xA0) # SCVB STATUS BLOCK ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[87]: disable_scpot() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: cmd.EFW_SRMWRTCTL(PROTECT=0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: efw.idpu_load("00003AF2", " C9") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[88]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: s = " %02x %02x" % (d&255,(d>>8)&255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: efw.idpu_load("00009F56", s) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: s = " %02x %02x" % (d&255,(d>>8)&255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: efw.idpu_load("00009F56", s) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[97]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[98]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[99]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIBf=%5.3f nA CIB = %04x" % (scp, scv, tmp, cibflt,cib)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: log("BASELINE = %04x, %04x, %04x, %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[100]: readback() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: cmd.EFW_DUMPADRH(0x94) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: cmd.EFW_DUMPADRL(0xD0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: b1 = hexpair( 0 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: b2 = hexpair( 2 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: b3 = hexpair( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: b4 = hexpair( 6 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: log("BIASDACS = %04x, %04x, %04x, %04x" % (b1,b2,b3,b4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[102]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[103]: vsct[i] = vsc Trace collected at: 2014-01-30 11:26:16.920000 ---------------------------------------------------------------------- ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[77]: log('TEST SCV BIASING' , color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[78]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: cmd.EFW_TMPKTRATE( 3, 1 ) #Set APID 266 to 1Hz ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[80]: cmd.EFW_TMDUMPCTR(255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: cmd.EFW_DUMPADRH(0xA0) # SCVB STATUS BLOCK ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[87]: disable_scpot() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: cmd.EFW_SRMWRTCTL(PROTECT=0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: efw.idpu_load("00003AF2", " C9") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[88]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: s = " %02x %02x" % (d&255,(d>>8)&255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: efw.idpu_load("00009F56", s) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: vsct=[] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: b1 = [] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: b2 = [] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: b3 = [] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: b4 = [] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[97]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[98]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: s = " %02x %02x" % (d&255,(d>>8)&255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: efw.idpu_load("00009F56", s) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[99]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[100]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[102]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[103]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[25]: sign = -1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIBf=%5.3f nA CIB = %04x" % (scp, scv, tmp, cibflt,cib)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: log("BASELINE = %04x, %04x, %04x, %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: readback() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: cmd.EFW_DUMPADRH(0x94) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: cmd.EFW_DUMPADRL(0xD0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: b1 = hexpair( 0 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: b2 = hexpair( 2 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: b3 = hexpair( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: b4 = hexpair( 6 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: log("BIASDACS = %04x, %04x, %04x, %04x" % (b1,b2,b3,b4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[108]: vsct.append(vsc) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[109]: b1t.append(b1) Trace collected at: 2014-01-30 11:27:31.201000 ---------------------------------------------------------------------- ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[77]: log('TEST SCV BIASING' , color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[78]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: cmd.EFW_TMPKTRATE( 3, 1 ) #Set APID 266 to 1Hz ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[80]: cmd.EFW_TMDUMPCTR(255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: cmd.EFW_DUMPADRH(0xA0) # SCVB STATUS BLOCK ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[87]: disable_scpot() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[65]: cmd.EFW_SRMWRTCTL(PROTECT=0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: efw.idpu_load("00003AF2", " C9") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[88]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: s = " %02x %02x" % (d&255,(d>>8)&255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: efw.idpu_load("00009F56", s) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: vsct=[] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: b1t = [] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: b2t = [] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: b3t = [] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: b4t = [] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[98]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[99]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: s = " %02x %02x" % (d&255,(d>>8)&255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: efw.idpu_load("00009F56", s) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[100]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[102]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[102]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[103]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[25]: sign = -1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIBf=%5.3f nA CIB = %04x" % (scp, scv, tmp, cibflt,cib)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: log("BASELINE = %04x, %04x, %04x, %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: readback() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: cmd.EFW_DUMPADRH(0x94) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: cmd.EFW_DUMPADRL(0xD0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: b1 = hexpair( 0 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: b2 = hexpair( 2 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: b3 = hexpair( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: b4 = hexpair( 6 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: log("BIASDACS = %04x, %04x, %04x, %04x" % (b1,b2,b3,b4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[108]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[109]: vsct.append(vsc) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[110]: b1t.append(b1) Trace collected at: 2014-01-30 11:30:44.997000 ---------------------------------------------------------------------- ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[81]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: log('TEST SCV BIASING' , color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: cmd.EFW_TMPKTRATE( 3, 1 ) #Set APID 266 to 1Hz ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: cmd.EFW_TMDUMPCTR(255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[87]: cmd.EFW_DUMPADRH(0xA0) # SCVB STATUS BLOCK ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[88]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[90]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: disable_scpot() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: cmd.EFW_SRMWRTCTL(PROTECT=0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: efw.idpu_load("00003AF2", " C9") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[77]: s = " %02x %02x" % (d&255,(d>>8)&255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[78]: efw.idpu_load("00009F56", s) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[97]: vsct=[] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[98]: b1t = [] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[99]: b2t = [] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[100]: b3t = [] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: b4t = [] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[103]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[76]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[77]: s = " %02x %02x" % (d&255,(d>>8)&255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[78]: efw.idpu_load("00009F56", s) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: vsct.append(vsc) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[108]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[108]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[109]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[110]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[111]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[25]: sign = -1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIBf=%5.3f nA CIB = %04x" % (scp, scv, tmp, cibflt,cib)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: log("BASELINE = %04x, %04x, %04x, %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[112]: readback() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: cmd.EFW_DUMPADRH(0x94) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: cmd.EFW_DUMPADRL(0xD0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[58]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[59]: b1 = hexpair( 0 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: b2 = hexpair( 2 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: b3 = hexpair( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: b4 = hexpair( 6 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: log("BIASDACS = %04x, %04x, %04x, %04x" % (b1,b2,b3,b4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[64]: b1t.append(b1) Trace collected at: 2014-01-30 11:38:48.619000 ---------------------------------------------------------------------- ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: log('TEST SCV BIASING' , color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[69]: cmd.EFW_TMPKTRATE( 3, 1 ) #Set APID 266 to 1Hz ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: cmd.EFW_TMDUMPCTR(255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: cmd.EFW_DUMPADRH(0xA0) # SCVB STATUS BLOCK ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[77]: disable_scpot() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: cmd.EFW_SRMWRTCTL(PROTECT=0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: efw.idpu_load("00003AF2", " C9") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[78]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: s = " %02x %02x" % (d&255,(d>>8)&255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: efw.idpu_load("00009F56", s) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[80]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[80]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: vsct=[] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: b1t = [] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: b2t = [] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: b3t = [] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: b4t = [] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[88]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: s = " %02x %02x" % (d&255,(d>>8)&255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: efw.idpu_load("00009F56", s) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[80]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[25]: sign = -1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIBf=%5.3f nA CIB = %04x" % (scp, scv, tmp, cibflt,cib)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: log("BASELINE = %04x, %04x, %04x, %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[98]: vsct.append(vsc) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[99]: cmd.EFW_DUMPADRH(0x94) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[100]: cmd.EFW_DUMPADRL(0xD0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[102]: b1 = hexpair( 0 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[103]: b2 = hexpair( 2 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: b3 = hexpair( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: b4 = hexpair( 6 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: log("BIASDACS = %04x, %04x, %04x, %04x" % (b1,b2,b3,b4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: b1t.append(b1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[108]: b2t.append(b2) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[109]: b3t.append(b3) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[110]: b4t.append(b4) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[112]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[113]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[88]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: s = " %02x %02x" % (d&255,(d>>8)&255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: efw.idpu_load("00009F56", s) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[80]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[25]: sign = -1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIBf=%5.3f nA CIB = %04x" % (scp, scv, tmp, cibflt,cib)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: log("BASELINE = %04x, %04x, %04x, %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[98]: vsct.append(vsc) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[99]: cmd.EFW_DUMPADRH(0x94) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[100]: cmd.EFW_DUMPADRL(0xD0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[102]: b1 = hexpair( 0 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[103]: b2 = hexpair( 2 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: b3 = hexpair( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: b4 = hexpair( 6 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: log("BIASDACS = %04x, %04x, %04x, %04x" % (b1,b2,b3,b4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: b1t.append(b1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[108]: b2t.append(b2) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[109]: b3t.append(b3) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[110]: b4t.append(b4) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[112]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[113]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[88]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: s = " %02x %02x" % (d&255,(d>>8)&255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: efw.idpu_load("00009F56", s) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[80]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[25]: sign = -1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIBf=%5.3f nA CIB = %04x" % (scp, scv, tmp, cibflt,cib)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: log("BASELINE = %04x, %04x, %04x, %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[98]: vsct.append(vsc) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[99]: cmd.EFW_DUMPADRH(0x94) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[100]: cmd.EFW_DUMPADRL(0xD0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[102]: b1 = hexpair( 0 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[103]: b2 = hexpair( 2 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: b3 = hexpair( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: b4 = hexpair( 6 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: log("BIASDACS = %04x, %04x, %04x, %04x" % (b1,b2,b3,b4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: b1t.append(b1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[108]: b2t.append(b2) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[109]: b3t.append(b3) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[110]: b4t.append(b4) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[112]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[113]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[88]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: s = " %02x %02x" % (d&255,(d>>8)&255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: efw.idpu_load("00009F56", s) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[80]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[25]: sign = -1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIBf=%5.3f nA CIB = %04x" % (scp, scv, tmp, cibflt,cib)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: log("BASELINE = %04x, %04x, %04x, %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[98]: vsct.append(vsc) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[99]: cmd.EFW_DUMPADRH(0x94) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[100]: cmd.EFW_DUMPADRL(0xD0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[102]: b1 = hexpair( 0 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[103]: b2 = hexpair( 2 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: b3 = hexpair( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: b4 = hexpair( 6 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: log("BIASDACS = %04x, %04x, %04x, %04x" % (b1,b2,b3,b4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: b1t.append(b1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[108]: b2t.append(b2) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[109]: b3t.append(b3) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[110]: b4t.append(b4) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[112]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[113]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[88]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: s = " %02x %02x" % (d&255,(d>>8)&255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: efw.idpu_load("00009F56", s) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[80]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[25]: sign = -1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIBf=%5.3f nA CIB = %04x" % (scp, scv, tmp, cibflt,cib)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: log("BASELINE = %04x, %04x, %04x, %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[98]: vsct.append(vsc) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[99]: cmd.EFW_DUMPADRH(0x94) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[100]: cmd.EFW_DUMPADRL(0xD0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[102]: b1 = hexpair( 0 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[103]: b2 = hexpair( 2 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: b3 = hexpair( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: b4 = hexpair( 6 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: log("BIASDACS = %04x, %04x, %04x, %04x" % (b1,b2,b3,b4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: b1t.append(b1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[108]: b2t.append(b2) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[109]: b3t.append(b3) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[110]: b4t.append(b4) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[112]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[113]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[88]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: s = " %02x %02x" % (d&255,(d>>8)&255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: efw.idpu_load("00009F56", s) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[80]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[25]: sign = -1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIBf=%5.3f nA CIB = %04x" % (scp, scv, tmp, cibflt,cib)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: log("BASELINE = %04x, %04x, %04x, %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[98]: vsct.append(vsc) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[99]: cmd.EFW_DUMPADRH(0x94) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[100]: cmd.EFW_DUMPADRL(0xD0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[102]: b1 = hexpair( 0 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[103]: b2 = hexpair( 2 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: b3 = hexpair( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: b4 = hexpair( 6 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: log("BIASDACS = %04x, %04x, %04x, %04x" % (b1,b2,b3,b4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: b1t.append(b1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[108]: b2t.append(b2) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[109]: b3t.append(b3) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[110]: b4t.append(b4) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[112]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[113]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[88]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: s = " %02x %02x" % (d&255,(d>>8)&255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: efw.idpu_load("00009F56", s) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[80]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[25]: sign = -1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIBf=%5.3f nA CIB = %04x" % (scp, scv, tmp, cibflt,cib)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: log("BASELINE = %04x, %04x, %04x, %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[98]: vsct.append(vsc) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[99]: cmd.EFW_DUMPADRH(0x94) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[100]: cmd.EFW_DUMPADRL(0xD0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[102]: b1 = hexpair( 0 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[103]: b2 = hexpair( 2 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: b3 = hexpair( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: b4 = hexpair( 6 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: log("BIASDACS = %04x, %04x, %04x, %04x" % (b1,b2,b3,b4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: b1t.append(b1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[108]: b2t.append(b2) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[109]: b3t.append(b3) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[110]: b4t.append(b4) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[112]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[113]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[88]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: s = " %02x %02x" % (d&255,(d>>8)&255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: efw.idpu_load("00009F56", s) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[80]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[25]: sign = -1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIBf=%5.3f nA CIB = %04x" % (scp, scv, tmp, cibflt,cib)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: log("BASELINE = %04x, %04x, %04x, %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[98]: vsct.append(vsc) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[99]: cmd.EFW_DUMPADRH(0x94) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[100]: cmd.EFW_DUMPADRL(0xD0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[102]: b1 = hexpair( 0 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[103]: b2 = hexpair( 2 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: b3 = hexpair( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: b4 = hexpair( 6 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: log("BIASDACS = %04x, %04x, %04x, %04x" % (b1,b2,b3,b4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: b1t.append(b1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[108]: b2t.append(b2) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[109]: b3t.append(b3) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[110]: b4t.append(b4) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[112]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[113]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[88]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: s = " %02x %02x" % (d&255,(d>>8)&255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: efw.idpu_load("00009F56", s) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[80]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIBf=%5.3f nA CIB = %04x" % (scp, scv, tmp, cibflt,cib)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: log("BASELINE = %04x, %04x, %04x, %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[98]: vsct.append(vsc) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[99]: cmd.EFW_DUMPADRH(0x94) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[100]: cmd.EFW_DUMPADRL(0xD0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[102]: b1 = hexpair( 0 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[103]: b2 = hexpair( 2 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: b3 = hexpair( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: b4 = hexpair( 6 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: log("BIASDACS = %04x, %04x, %04x, %04x" % (b1,b2,b3,b4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: b1t.append(b1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[108]: b2t.append(b2) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[109]: b3t.append(b3) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[110]: b4t.append(b4) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[112]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[113]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[88]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: s = " %02x %02x" % (d&255,(d>>8)&255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: efw.idpu_load("00009F56", s) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[80]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIBf=%5.3f nA CIB = %04x" % (scp, scv, tmp, cibflt,cib)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: log("BASELINE = %04x, %04x, %04x, %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[98]: vsct.append(vsc) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[99]: cmd.EFW_DUMPADRH(0x94) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[100]: cmd.EFW_DUMPADRL(0xD0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[102]: b1 = hexpair( 0 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[103]: b2 = hexpair( 2 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: b3 = hexpair( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: b4 = hexpair( 6 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: log("BIASDACS = %04x, %04x, %04x, %04x" % (b1,b2,b3,b4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: b1t.append(b1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[108]: b2t.append(b2) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[109]: b3t.append(b3) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[110]: b4t.append(b4) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[112]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[113]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[88]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: s = " %02x %02x" % (d&255,(d>>8)&255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: efw.idpu_load("00009F56", s) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[80]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIBf=%5.3f nA CIB = %04x" % (scp, scv, tmp, cibflt,cib)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: log("BASELINE = %04x, %04x, %04x, %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[98]: vsct.append(vsc) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[99]: cmd.EFW_DUMPADRH(0x94) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[100]: cmd.EFW_DUMPADRL(0xD0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[102]: b1 = hexpair( 0 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[103]: b2 = hexpair( 2 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: b3 = hexpair( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: b4 = hexpair( 6 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: log("BIASDACS = %04x, %04x, %04x, %04x" % (b1,b2,b3,b4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: b1t.append(b1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[108]: b2t.append(b2) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[109]: b3t.append(b3) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[110]: b4t.append(b4) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[112]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[113]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[88]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: s = " %02x %02x" % (d&255,(d>>8)&255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: efw.idpu_load("00009F56", s) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[80]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIBf=%5.3f nA CIB = %04x" % (scp, scv, tmp, cibflt,cib)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: log("BASELINE = %04x, %04x, %04x, %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[98]: vsct.append(vsc) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[99]: cmd.EFW_DUMPADRH(0x94) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[100]: cmd.EFW_DUMPADRL(0xD0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[102]: b1 = hexpair( 0 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[103]: b2 = hexpair( 2 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: b3 = hexpair( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: b4 = hexpair( 6 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: log("BIASDACS = %04x, %04x, %04x, %04x" % (b1,b2,b3,b4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: b1t.append(b1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[108]: b2t.append(b2) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[109]: b3t.append(b3) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[110]: b4t.append(b4) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[112]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[113]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[88]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: s = " %02x %02x" % (d&255,(d>>8)&255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: efw.idpu_load("00009F56", s) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[80]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIBf=%5.3f nA CIB = %04x" % (scp, scv, tmp, cibflt,cib)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: log("BASELINE = %04x, %04x, %04x, %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[98]: vsct.append(vsc) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[99]: cmd.EFW_DUMPADRH(0x94) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[100]: cmd.EFW_DUMPADRL(0xD0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[102]: b1 = hexpair( 0 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[103]: b2 = hexpair( 2 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: b3 = hexpair( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: b4 = hexpair( 6 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: log("BIASDACS = %04x, %04x, %04x, %04x" % (b1,b2,b3,b4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: b1t.append(b1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[108]: b2t.append(b2) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[109]: b3t.append(b3) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[110]: b4t.append(b4) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[112]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[113]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[88]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: s = " %02x %02x" % (d&255,(d>>8)&255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: efw.idpu_load("00009F56", s) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[80]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIBf=%5.3f nA CIB = %04x" % (scp, scv, tmp, cibflt,cib)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: log("BASELINE = %04x, %04x, %04x, %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[98]: vsct.append(vsc) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[99]: cmd.EFW_DUMPADRH(0x94) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[100]: cmd.EFW_DUMPADRL(0xD0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[102]: b1 = hexpair( 0 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[103]: b2 = hexpair( 2 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: b3 = hexpair( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: b4 = hexpair( 6 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: log("BIASDACS = %04x, %04x, %04x, %04x" % (b1,b2,b3,b4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: b1t.append(b1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[108]: b2t.append(b2) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[109]: b3t.append(b3) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[110]: b4t.append(b4) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[112]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[113]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[88]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: s = " %02x %02x" % (d&255,(d>>8)&255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: efw.idpu_load("00009F56", s) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[80]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIBf=%5.3f nA CIB = %04x" % (scp, scv, tmp, cibflt,cib)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: log("BASELINE = %04x, %04x, %04x, %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[98]: vsct.append(vsc) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[99]: cmd.EFW_DUMPADRH(0x94) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[100]: cmd.EFW_DUMPADRL(0xD0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[102]: b1 = hexpair( 0 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[103]: b2 = hexpair( 2 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: b3 = hexpair( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: b4 = hexpair( 6 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: log("BIASDACS = %04x, %04x, %04x, %04x" % (b1,b2,b3,b4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: b1t.append(b1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[108]: b2t.append(b2) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[109]: b3t.append(b3) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[110]: b4t.append(b4) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[112]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[113]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[88]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: s = " %02x %02x" % (d&255,(d>>8)&255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: efw.idpu_load("00009F56", s) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[80]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIBf=%5.3f nA CIB = %04x" % (scp, scv, tmp, cibflt,cib)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: log("BASELINE = %04x, %04x, %04x, %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[98]: vsct.append(vsc) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[99]: cmd.EFW_DUMPADRH(0x94) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[100]: cmd.EFW_DUMPADRL(0xD0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[102]: b1 = hexpair( 0 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[103]: b2 = hexpair( 2 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: b3 = hexpair( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: b4 = hexpair( 6 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: log("BIASDACS = %04x, %04x, %04x, %04x" % (b1,b2,b3,b4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: b1t.append(b1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[108]: b2t.append(b2) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[109]: b3t.append(b3) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[110]: b4t.append(b4) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[112]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[113]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[88]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: s = " %02x %02x" % (d&255,(d>>8)&255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: efw.idpu_load("00009F56", s) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[80]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIBf=%5.3f nA CIB = %04x" % (scp, scv, tmp, cibflt,cib)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: log("BASELINE = %04x, %04x, %04x, %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[98]: vsct.append(vsc) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[99]: cmd.EFW_DUMPADRH(0x94) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[100]: cmd.EFW_DUMPADRL(0xD0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[102]: b1 = hexpair( 0 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[103]: b2 = hexpair( 2 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: b3 = hexpair( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: b4 = hexpair( 6 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: log("BIASDACS = %04x, %04x, %04x, %04x" % (b1,b2,b3,b4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: b1t.append(b1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[108]: b2t.append(b2) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[109]: b3t.append(b3) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[110]: b4t.append(b4) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[112]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[113]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[88]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: s = " %02x %02x" % (d&255,(d>>8)&255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: efw.idpu_load("00009F56", s) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[80]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIBf=%5.3f nA CIB = %04x" % (scp, scv, tmp, cibflt,cib)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: log("BASELINE = %04x, %04x, %04x, %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[98]: vsct.append(vsc) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[99]: cmd.EFW_DUMPADRH(0x94) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[100]: cmd.EFW_DUMPADRL(0xD0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[102]: b1 = hexpair( 0 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[103]: b2 = hexpair( 2 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: b3 = hexpair( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: b4 = hexpair( 6 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: log("BIASDACS = %04x, %04x, %04x, %04x" % (b1,b2,b3,b4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: b1t.append(b1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[108]: b2t.append(b2) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[109]: b3t.append(b3) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[110]: b4t.append(b4) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[112]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[113]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[88]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: s = " %02x %02x" % (d&255,(d>>8)&255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: efw.idpu_load("00009F56", s) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[80]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIBf=%5.3f nA CIB = %04x" % (scp, scv, tmp, cibflt,cib)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: log("BASELINE = %04x, %04x, %04x, %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[98]: vsct.append(vsc) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[99]: cmd.EFW_DUMPADRH(0x94) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[100]: cmd.EFW_DUMPADRL(0xD0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[102]: b1 = hexpair( 0 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[103]: b2 = hexpair( 2 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: b3 = hexpair( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: b4 = hexpair( 6 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: log("BIASDACS = %04x, %04x, %04x, %04x" % (b1,b2,b3,b4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: b1t.append(b1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[108]: b2t.append(b2) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[109]: b3t.append(b3) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[110]: b4t.append(b4) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[112]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[113]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[88]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: s = " %02x %02x" % (d&255,(d>>8)&255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: efw.idpu_load("00009F56", s) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[80]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIBf=%5.3f nA CIB = %04x" % (scp, scv, tmp, cibflt,cib)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: log("BASELINE = %04x, %04x, %04x, %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[98]: vsct.append(vsc) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[99]: cmd.EFW_DUMPADRH(0x94) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[100]: cmd.EFW_DUMPADRL(0xD0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[102]: b1 = hexpair( 0 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[103]: b2 = hexpair( 2 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: b3 = hexpair( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: b4 = hexpair( 6 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: log("BIASDACS = %04x, %04x, %04x, %04x" % (b1,b2,b3,b4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: b1t.append(b1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[108]: b2t.append(b2) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[109]: b3t.append(b3) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[110]: b4t.append(b4) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[112]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[113]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[88]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: log("Vsc Bias1 Bias2 Bias3 Bias4") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: log("%5.2f %5.2f %5.2f %5.2f %5.2f " % (vsct[i],b1t[i],b2t[i],b3t[i],b4t[i])) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: log("%5.2f %5.2f %5.2f %5.2f %5.2f " % (vsct[i],b1t[i],b2t[i],b3t[i],b4t[i])) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: log("%5.2f %5.2f %5.2f %5.2f %5.2f " % (vsct[i],b1t[i],b2t[i],b3t[i],b4t[i])) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: log("%5.2f %5.2f %5.2f %5.2f %5.2f " % (vsct[i],b1t[i],b2t[i],b3t[i],b4t[i])) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: log("%5.2f %5.2f %5.2f %5.2f %5.2f " % (vsct[i],b1t[i],b2t[i],b3t[i],b4t[i])) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: log("%5.2f %5.2f %5.2f %5.2f %5.2f " % (vsct[i],b1t[i],b2t[i],b3t[i],b4t[i])) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: log("%5.2f %5.2f %5.2f %5.2f %5.2f " % (vsct[i],b1t[i],b2t[i],b3t[i],b4t[i])) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: log("%5.2f %5.2f %5.2f %5.2f %5.2f " % (vsct[i],b1t[i],b2t[i],b3t[i],b4t[i])) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: log("%5.2f %5.2f %5.2f %5.2f %5.2f " % (vsct[i],b1t[i],b2t[i],b3t[i],b4t[i])) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: log("%5.2f %5.2f %5.2f %5.2f %5.2f " % (vsct[i],b1t[i],b2t[i],b3t[i],b4t[i])) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: log("%5.2f %5.2f %5.2f %5.2f %5.2f " % (vsct[i],b1t[i],b2t[i],b3t[i],b4t[i])) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: log("%5.2f %5.2f %5.2f %5.2f %5.2f " % (vsct[i],b1t[i],b2t[i],b3t[i],b4t[i])) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: log("%5.2f %5.2f %5.2f %5.2f %5.2f " % (vsct[i],b1t[i],b2t[i],b3t[i],b4t[i])) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: log("%5.2f %5.2f %5.2f %5.2f %5.2f " % (vsct[i],b1t[i],b2t[i],b3t[i],b4t[i])) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: log("%5.2f %5.2f %5.2f %5.2f %5.2f " % (vsct[i],b1t[i],b2t[i],b3t[i],b4t[i])) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: log("%5.2f %5.2f %5.2f %5.2f %5.2f " % (vsct[i],b1t[i],b2t[i],b3t[i],b4t[i])) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: log("%5.2f %5.2f %5.2f %5.2f %5.2f " % (vsct[i],b1t[i],b2t[i],b3t[i],b4t[i])) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: log("%5.2f %5.2f %5.2f %5.2f %5.2f " % (vsct[i],b1t[i],b2t[i],b3t[i],b4t[i])) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: log("%5.2f %5.2f %5.2f %5.2f %5.2f " % (vsct[i],b1t[i],b2t[i],b3t[i],b4t[i])) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: log("%5.2f %5.2f %5.2f %5.2f %5.2f " % (vsct[i],b1t[i],b2t[i],b3t[i],b4t[i])) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: for i in range(duration): Trace collected at: 2014-01-30 15:31:19.436000 ---------------------------------------------------------------------- ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[66]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[67]: log('TEST SCV BIASING' , color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[68]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[69]: cmd.EFW_TMPKTRATE( 3, 1 ) #Set APID 266 to 1Hz ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[70]: cmd.EFW_TMDUMPCTR(255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[71]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[72]: cmd.EFW_DUMPADRH(0xA0) # SCVB STATUS BLOCK ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[73]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[74]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[75]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[77]: disable_scpot() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[55]: cmd.EFW_SRMWRTCTL(PROTECT=0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[56]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[57]: efw.idpu_load("00003AF2", " C9") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[78]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: s = " %02x %02x" % (d&255,(d>>8)&255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: efw.idpu_load("00009F56", s) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[80]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[80]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[82]: vsct=[] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[83]: b1t = [] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[84]: b2t = [] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[85]: b3t = [] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[86]: b4t = [] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[88]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[89]: jam_scpot( vsc ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[60]: d = int(v*145.636) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[61]: log("Jamming SCPOT = %5.3f, 0x%04x" % (v,d)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[62]: s = " %02x %02x" % (d&255,(d>>8)&255 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[63]: efw.idpu_load("00009F56", s) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[91]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[92]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[93]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[94]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[79]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[95]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[80]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[96]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[36]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[37]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[39]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[40]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[41]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[42]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[25]: sign = -1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[43]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[44]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[45]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[46]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[47]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[48]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[49]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[50]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[51]: log("SCPOT=%04x SCV=%5.3f tmp=%5.3f CIBf=%5.3f nA CIB = %04x" % (scp, scv, tmp, cibflt,cib)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[52]: log("BASELINE = %04x, %04x, %04x, %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[98]: vsct.append(vsc) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[99]: cmd.EFW_DUMPADRH(0x94) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[100]: cmd.EFW_DUMPADRL(0xD0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[101]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[102]: b1 = hexpair( 0 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[103]: b2 = hexpair( 2 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[104]: b3 = hexpair( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[105]: b4 = hexpair( 6 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[106]: log("BIASDACS = %04x, %04x, %04x, %04x" % (b1,b2,b3,b4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[107]: b1t.append(b1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[108]: b2t.append(b2) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[109]: b3t.append(b3) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[110]: b4t.append(b4) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[112]: vsc = vsc + dvsc ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[113]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[88]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[116]: log("Vsc Bias1 Bias2 Bias3 Bias4") ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[118]: log("%5.2f %5.2f %5.2f %5.2f %5.2f " % (vsct[i],b1t[i],b2t[i],b3t[i],b4t[i])) ../GSEOS_scripts/FSW_scripts\TEST_SCVB.py[117]: for i in range(duration):