Trace collected at: 2014-02-20 14:50:21.332000 ---------------------------------------------------------------------- ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[56]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[57]: log('TEST SCV BIASING With V1=V2=3325 Offset' , color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[58]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[59]: cmd.EFW_TMPKTRATE( 3, 1 ) #Set APID 266 to 1Hz ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[60]: cmd.EFW_TMDUMPCTR(255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[61]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[62]: cmd.EFW_DUMPADRH(0xA0) # SCVB STATUS BLOCK ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[63]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[64]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[65]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[67]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[67]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[68]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[68]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[68]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[69]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[71]: vsct=[] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[72]: b1t = [] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[73]: b2t = [] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[74]: b3t = [] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[75]: b4t = [] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[77]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[78]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[79]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[80]: scpold = scp ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[81]: while (scp == scpold): ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[82]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[82]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[83]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[81]: while (scp == scpold): ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[85]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[67]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[86]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[68]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[87]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[36]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[37]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[39]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[40]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[41]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[42]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[25]: sign = -1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[43]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[44]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[45]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[46]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[47]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[48]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[49]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[50]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.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_VIN.py[52]: log("BASELINE = %04x, %04x, %04x, %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[89]: vsct.append(vsc) Trace collected at: 2014-02-20 14:53:59.192000 ---------------------------------------------------------------------- ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[56]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[57]: log('TEST SCV BIASING With V1=V2=3325 Offset' , color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[58]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[59]: cmd.EFW_TMPKTRATE( 3, 1 ) #Set APID 266 to 1Hz ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[60]: cmd.EFW_TMDUMPCTR(255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[61]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[62]: cmd.EFW_DUMPADRH(0xA0) # SCVB STATUS BLOCK ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[63]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[64]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[65]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[67]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[67]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[67]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[68]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[68]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[69]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[70]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[25]: sign = -1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[72]: vsct=[] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[73]: b1t = [] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[74]: b2t = [] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[75]: b3t = [] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[76]: b4t = [] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[78]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[79]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[80]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[81]: scpold = scp ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[82]: while (scp == scpold): ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[83]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[83]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[84]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[82]: while (scp == scpold): ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[83]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[83]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[84]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[82]: while (scp == scpold): ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[83]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[83]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[84]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[82]: while (scp == scpold): ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[83]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[83]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[84]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[82]: while (scp == scpold): ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[83]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[83]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[84]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[82]: while (scp == scpold): ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[83]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[83]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[84]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[82]: while (scp == scpold): ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[83]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[83]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[84]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[82]: while (scp == scpold): ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[83]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[83]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[84]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[82]: while (scp == scpold): ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[83]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[83]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[84]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[82]: while (scp == scpold): ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[83]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[83]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[84]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[82]: while (scp == scpold): ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[83]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[83]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[84]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[82]: while (scp == scpold): ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[83]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[83]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[84]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[82]: while (scp == scpold): ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[83]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[83]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[84]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[82]: while (scp == scpold): ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[83]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[83]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[84]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[82]: while (scp == scpold): ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[83]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[83]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[84]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[82]: while (scp == scpold): ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[86]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[67]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[67]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[87]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[68]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[88]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[36]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[37]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[39]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[40]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[41]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[42]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[25]: sign = -1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[43]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[44]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[45]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[46]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[47]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[48]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[49]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[50]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.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_VIN.py[52]: log("BASELINE = %04x, %04x, %04x, %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[89]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[25]: sign = -1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[91]: vsct.append(vsc) Trace collected at: 2014-02-20 14:55:17.942000 ---------------------------------------------------------------------- ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[56]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[57]: log('TEST SCV BIASING With V1=V2=3325 Offset' , color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[58]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[59]: cmd.EFW_TMPKTRATE( 3, 1 ) #Set APID 266 to 1Hz ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[60]: cmd.EFW_TMDUMPCTR(255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[61]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[62]: cmd.EFW_DUMPADRH(0xA0) # SCVB STATUS BLOCK ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[63]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[64]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[65]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[67]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[67]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[68]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[68]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[69]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[70]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[25]: sign = -1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[72]: vsct=[] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[73]: b1t = [] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[74]: b2t = [] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[75]: b3t = [] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[76]: b4t = [] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[78]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[79]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[80]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[81]: scpold = scp ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[82]: while (scp == scpold): ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[83]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[83]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[84]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[82]: while (scp == scpold): ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[86]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[67]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[67]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[87]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[68]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[88]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[36]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[37]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[39]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[40]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[41]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[42]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[25]: sign = -1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[43]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[44]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[45]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[46]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[47]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[48]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[49]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[50]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.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_VIN.py[52]: log("BASELINE = %04x, %04x, %04x, %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[89]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[25]: sign = -1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[91]: vsct.append(scv) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[92]: cmd.EFW_DUMPADRH(0x94) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[93]: cmd.EFW_DUMPADRL(0xD0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[94]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[94]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[94]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[94]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[94]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[94]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[95]: b1 = hexpair( 0 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[96]: b2 = hexpair( 2 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[97]: b3 = hexpair( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[98]: b4 = hexpair( 6 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[99]: log("BIASDACS = %04x, %04x, %04x, %04x" % (b1,b2,b3,b4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[100]: b1t.append(b1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[101]: b2t.append(b2) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[102]: b3t.append(b3) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[103]: b4t.append(b4) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[105]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[78]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[79]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[80]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[81]: scpold = scp ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[82]: while (scp == scpold): ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[83]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[83]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[83]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[83]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[83]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[83]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[84]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[82]: while (scp == scpold): ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[86]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[67]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[67]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[87]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[68]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[88]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[36]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[37]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[39]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[40]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[41]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[42]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[25]: sign = -1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[43]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[44]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[45]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[46]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[47]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[48]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[49]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[50]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.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_VIN.py[52]: log("BASELINE = %04x, %04x, %04x, %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[89]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[25]: sign = -1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[91]: vsct.append(scv) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[92]: cmd.EFW_DUMPADRH(0x94) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[93]: cmd.EFW_DUMPADRL(0xD0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[94]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[94]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[94]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[94]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[94]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[94]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[95]: b1 = hexpair( 0 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[96]: b2 = hexpair( 2 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[97]: b3 = hexpair( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[98]: b4 = hexpair( 6 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[99]: log("BIASDACS = %04x, %04x, %04x, %04x" % (b1,b2,b3,b4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[100]: b1t.append(b1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[101]: b2t.append(b2) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[102]: b3t.append(b3) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[103]: b4t.append(b4) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[105]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[78]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[108]: log("Vsc Bias1 Bias2 Bias3 Bias4") ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[109]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[110]: 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_VIN.py[109]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[110]: 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_VIN.py[109]: for i in range(duration): Trace collected at: 2014-02-20 14:57:53.926000 ---------------------------------------------------------------------- ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[56]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[57]: log('TEST SCV BIASING With V1=V2=3325 Offset' , color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[58]: log('========================================', color=BLUE, attr=BOLD ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[59]: cmd.EFW_TMPKTRATE( 3, 1 ) #Set APID 266 to 1Hz ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[60]: cmd.EFW_TMDUMPCTR(255) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[61]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[62]: cmd.EFW_DUMPADRH(0xA0) # SCVB STATUS BLOCK ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[63]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[64]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[65]: sleep(1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[67]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[67]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[67]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[67]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[67]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[67]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[68]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[68]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[69]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[70]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[25]: sign = -1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[72]: vsct=[] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[73]: b1t = [] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[74]: b2t = [] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[75]: b3t = [] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[76]: b4t = [] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[78]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[79]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[80]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[81]: scpold = scp ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[82]: while (scp == scpold): ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[83]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[83]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[84]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[82]: while (scp == scpold): ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[83]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[83]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[84]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[82]: while (scp == scpold): ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[83]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[83]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[84]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[82]: while (scp == scpold): ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[83]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[83]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[84]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[82]: while (scp == scpold): ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[83]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[83]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[84]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[82]: while (scp == scpold): ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[83]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[83]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[84]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[82]: while (scp == scpold): ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[83]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[83]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[84]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[82]: while (scp == scpold): ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[83]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[83]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[84]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[82]: while (scp == scpold): ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[83]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[83]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[84]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[82]: while (scp == scpold): ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[86]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[67]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[67]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[87]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[68]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[88]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[36]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[37]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[39]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[40]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[41]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[42]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[25]: sign = -1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[43]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[44]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[45]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[46]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[47]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[48]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[49]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[50]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.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_VIN.py[52]: log("BASELINE = %04x, %04x, %04x, %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[89]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[25]: sign = -1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[91]: vsct.append(scv) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[92]: cmd.EFW_DUMPADRH(0x94) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[93]: cmd.EFW_DUMPADRL(0xD0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[94]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[94]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[94]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[94]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[94]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[94]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[95]: b1 = hexpair( 0 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[96]: b2 = hexpair( 2 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[97]: b3 = hexpair( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[98]: b4 = hexpair( 6 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[99]: log("BIASDACS = %04x, %04x, %04x, %04x" % (b1,b2,b3,b4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[100]: b1t.append(b1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[101]: b2t.append(b2) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[102]: b3t.append(b3) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[103]: b4t.append(b4) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[105]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[78]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[79]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[80]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[81]: scpold = scp ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[82]: while (scp == scpold): ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[83]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[83]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[83]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[83]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[83]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[83]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[84]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[82]: while (scp == scpold): ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[86]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[67]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[67]: wait(APID_266, lambda:APID_266.Data[0]&0x20>0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[87]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[68]: wait(APID_266, lambda:APID_266.Data[0]&0x20<1, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[88]: showstat() ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[36]: cmd.EFW_DUMPADRH(0xA0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[37]: cmd.EFW_DUMPADRL(0x00) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[38]: wait(APID_266, lambda:APID_266.DUMPADR==0xa000, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[39]: stat = APID_266.Data[0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[40]: clk = APID_266.Data[1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[41]: scp = APID_266.Data[2]+256*APID_266.Data[3] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[42]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[25]: sign = -1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[43]: tmp = hex2flt( 7 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[44]: cibflt = hex2flt( 10 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[45]: cib = hexpair( 16 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[46]: bias1 = hexpair( 18 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[47]: bias2 = hexpair( 20 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[48]: bias3 = hexpair( 22 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[49]: bias4 = hexpair( 24 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[50]: log("STAT=%02x SEC8= %02x" % (stat, clk)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.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_VIN.py[52]: log("BASELINE = %04x, %04x, %04x, %04x" % (bias1,bias2,bias3,bias4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[89]: scv = hex2flt( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[19]: a = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[20]: b = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[21]: c = APID_266.Data[n+2] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[22]: mant = b*256 + c ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[23]: sign = 1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[24]: if (a&128): ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[25]: sign = -1.0 ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[26]: exp = (a&127) - 65 - 15 ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[27]: return( sign * mant * 2**int(exp) ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[91]: vsct.append(scv) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[92]: cmd.EFW_DUMPADRH(0x94) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[93]: cmd.EFW_DUMPADRL(0xD0) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[94]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[94]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[94]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[94]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[94]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[94]: wait(APID_266, lambda:APID_266.DUMPADR==0x94D0, flTimeout=20) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[95]: b1 = hexpair( 0 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[96]: b2 = hexpair( 2 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[97]: b3 = hexpair( 4 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[98]: b4 = hexpair( 6 ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[30]: l = APID_266.Data[n+0] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[31]: h = APID_266.Data[n+1] ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[32]: x = h*256 + l ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[33]: return( x ) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[99]: log("BIASDACS = %04x, %04x, %04x, %04x" % (b1,b2,b3,b4)) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[100]: b1t.append(b1) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[101]: b2t.append(b2) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[102]: b3t.append(b3) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[103]: b4t.append(b4) ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[105]: log("----------------------------------------") ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[78]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[108]: log("Vsc Bias1 Bias2 Bias3 Bias4") ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[109]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[110]: 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_VIN.py[109]: for i in range(duration): ../GSEOS_scripts/FSW_scripts\TEST_SCVB_VIN.py[110]: 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_VIN.py[109]: for i in range(duration):