Trace collected at: 2010-12-06 15:14:01.316000 ---------------------------------------------------------------------- ../../GSEOS_scripts/FSW_scripts\TEST_FIT.py[12]: set_output_location('FIT_Module_') ../../GSEOS_scripts/FSW_scripts\TEST_FIT.py[14]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_FIT.py[15]: log('******* FIT MODULE TEST *********', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_FIT.py[16]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_FIT.py[18]: SET_RSTCTR( 0 ) #Clear Reset Counter ../../GSEOS_scripts\util.py[118]: POKE( 0xDDFF, byte ) ../../GSEOS_scripts\util.py[102]: cmd.EFW_ADRH( (addr >> 8 )& 0xff ) ../../GSEOS_scripts\util.py[103]: cmd.EFW_ADRL( addr & 0xff ) ../../GSEOS_scripts\util.py[104]: cmd.EFW_LOAD( byte ) ../../GSEOS_scripts/FSW_scripts\TEST_FIT.py[19]: wait(APID_267, lambda: APID_267.RSTCTR==0, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_FIT.py[19]: wait(APID_267, lambda: APID_267.RSTCTR==0, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_FIT.py[20]: RESETCPU() ../../GSEOS_scripts\util.py[121]: cmd.EFW_RESET() ../../GSEOS_scripts/FSW_scripts\TEST_FIT.py[21]: wait(APID_267, lambda: APID_267.RSTCTR==1, flTimeout=20) ../../GSEOS_scripts/FSW_scripts\TEST_FIT.py[21]: wait(APID_267, lambda: APID_267.RSTCTR==1, flTimeout=20) ../../GSEOS_scripts/FSW_scripts\TEST_FIT.py[21]: wait(APID_267, lambda: APID_267.RSTCTR==1, flTimeout=20) ../../GSEOS_scripts/FSW_scripts\TEST_FIT.py[21]: wait(APID_267, lambda: APID_267.RSTCTR==1, flTimeout=20) ../../GSEOS_scripts/FSW_scripts\TEST_FIT.py[21]: wait(APID_267, lambda: APID_267.RSTCTR==1, flTimeout=20) ../../GSEOS_scripts/FSW_scripts\TEST_FIT.py[23]: SET_RSTCTR( 0 ) #Clear Reset Counter ../../GSEOS_scripts\util.py[118]: POKE( 0xDDFF, byte ) ../../GSEOS_scripts\util.py[102]: cmd.EFW_ADRH( (addr >> 8 )& 0xff ) ../../GSEOS_scripts\util.py[103]: cmd.EFW_ADRL( addr & 0xff ) ../../GSEOS_scripts\util.py[104]: cmd.EFW_LOAD( byte ) ../../GSEOS_scripts/FSW_scripts\TEST_FIT.py[24]: cmd.EFW_CLEAR() ../../GSEOS_scripts/FSW_scripts\TEST_FIT.py[25]: wait(APID_267, lambda: APID_267.ERRCODE==0, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_FIT.py[25]: wait(APID_267, lambda: APID_267.ERRCODE==0, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_FIT.py[26]: vers = APID_267.FSW_HIGH ../../GSEOS_scripts/FSW_scripts\TEST_FIT.py[27]: vers = vers + APID_267.FSW_LOW/100.0 ../../GSEOS_scripts/FSW_scripts\TEST_FIT.py[28]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_FIT.py[29]: log('******* FSW VERSION %5.2f *********'% vers, color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_FIT.py[30]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_FIT.py[32]: errcnt=0 ../../GSEOS_scripts/FSW_scripts\TEST_FIT.py[33]: errcnt += tryscript("TEST_FIT_2") ../../GSEOS_scripts\util.py[208]: try: ../../GSEOS_scripts\util.py[209]: pf = startscript( script ) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_2.py[9]: """ ../../GSEOS_scripts/FSW_scripts\TEST_FIT_2.py[11]: from efw import * ../../GSEOS_scripts/FSW_scripts\TEST_FIT_2.py[12]: from util import * ../../GSEOS_scripts/FSW_scripts\TEST_FIT_2.py[13]: from __main__ import * # required for access to APID_nnn telemetry blocks ../../GSEOS_scripts/FSW_scripts\TEST_FIT_2.py[16]: def main(): ../../GSEOS_scripts/FSW_scripts\TEST_FIT_2.py[9]: """ ../../GSEOS_scripts/FSW_scripts\TEST_FIT_2.py[11]: from efw import * ../../GSEOS_scripts/FSW_scripts\TEST_FIT_2.py[12]: from util import * ../../GSEOS_scripts/FSW_scripts\TEST_FIT_2.py[13]: from __main__ import * # required for access to APID_nnn telemetry blocks ../../GSEOS_scripts/FSW_scripts\TEST_FIT_2.py[16]: def main(): ../../GSEOS_scripts/FSW_scripts\TEST_FIT_2.py[17]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_2.py[18]: log('FIT_2 - CMD TIME ALLOCATION < 2msec ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_2.py[19]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_2.py[20]: PF=("FAIL","PASS") ../../GSEOS_scripts/FSW_scripts\TEST_FIT_2.py[21]: DVP = 0x111 # Duration Verification Point ../../GSEOS_scripts/FSW_scripts\TEST_FIT_2.py[22]: RST5= 0xEF # Restart 5 Instruction ../../GSEOS_scripts/FSW_scripts\TEST_FIT_2.py[23]: NOP = 0x00 # No Operation ../../GSEOS_scripts/FSW_scripts\TEST_FIT_2.py[25]: log('1. Increasing TM Rate, Clear Start ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_2.py[26]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz ../../GSEOS_scripts/FSW_scripts\TEST_FIT_2.py[27]: SET_TESTVALUE0( 0 ) ../../GSEOS_scripts\util.py[112]: POKE( 0XDDF9, byte ) ../../GSEOS_scripts\util.py[102]: cmd.EFW_ADRH( (addr >> 8 )& 0xff ) ../../GSEOS_scripts\util.py[103]: cmd.EFW_ADRL( addr & 0xff ) ../../GSEOS_scripts\util.py[104]: cmd.EFW_LOAD( byte ) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_2.py[28]: SET_TESTVALUE1( 0 ) ../../GSEOS_scripts\util.py[115]: POKE( 0XDDFa, byte ) ../../GSEOS_scripts\util.py[102]: cmd.EFW_ADRH( (addr >> 8 )& 0xff ) ../../GSEOS_scripts\util.py[103]: cmd.EFW_ADRL( addr & 0xff ) ../../GSEOS_scripts\util.py[104]: cmd.EFW_LOAD( byte ) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_2.py[29]: wait(APID_267, lambda: APID_267.TESTVALUE == 0 , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_2.py[29]: wait(APID_267, lambda: APID_267.TESTVALUE == 0 , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_2.py[31]: log('1.1 Enabling SRAM loading, Disable Scan ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_2.py[32]: cmd.EFW_SRMWRTCTL( 0 ) # Enable Writing to the SRAM ../../GSEOS_scripts/FSW_scripts\TEST_FIT_2.py[33]: cmd.EFW_DISARM(3) # Disable SRAM Scanner ../../GSEOS_scripts/FSW_scripts\TEST_FIT_2.py[35]: log('2.1 Verifying BKG Duration Point ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_2.py[36]: DUMPADR( DVP ) ../../GSEOS_scripts\util.py[65]: cmd.EFW_DUMPADRX( (addr >> 24 )& 0xff ) ../../GSEOS_scripts\util.py[66]: cmd.EFW_DUMPADRE( (addr >> 16 )& 0xff ) ../../GSEOS_scripts\util.py[67]: cmd.EFW_DUMPADRH( (addr >> 8 )& 0xff ) ../../GSEOS_scripts\util.py[68]: cmd.EFW_DUMPADRL( addr & 0xff ) ../../GSEOS_scripts\util.py[69]: cmd.EFW_TMDUMPCTR(255) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_2.py[37]: wait(APID_266, lambda: APID_266.DUMPADR == DVP, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_2.py[37]: wait(APID_266, lambda: APID_266.DUMPADR == DVP, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_2.py[38]: wait(APID_266, lambda: APID_266.Data[0] == NOP, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_2.py[38]: wait(APID_266, lambda: APID_266.Data[0] == NOP, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_2.py[40]: log('2.2 Installing BKG ISR Timing ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_2.py[41]: POKE( DVP, RST5 ) #BKG[addr] = RST 5 ../../GSEOS_scripts\util.py[102]: cmd.EFW_ADRH( (addr >> 8 )& 0xff ) ../../GSEOS_scripts\util.py[103]: cmd.EFW_ADRL( addr & 0xff ) ../../GSEOS_scripts\util.py[104]: cmd.EFW_LOAD( byte ) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_2.py[42]: sleep(8) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_2.py[44]: log('2.3 Measuring BKG ISR (w/No commands) ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_2.py[45]: wait(APID_267, lambda: True , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_2.py[45]: wait(APID_267, lambda: True , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_2.py[46]: intnum = APID_267.TESTVALUE / 256 ../../GSEOS_scripts/FSW_scripts\TEST_FIT_2.py[47]: inttime= APID_267.TESTVALUE & 255 ../../GSEOS_scripts/FSW_scripts\TEST_FIT_2.py[48]: fmsec = (1000.0/65536.0) * inttime ../../GSEOS_scripts/FSW_scripts\TEST_FIT_2.py[49]: log('Maximum Interrupt Service Time is %2.3f msec' % fmsec) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_2.py[50]: log('Percent of Interrupt at 256 Hz is %2.3f percent' % (fmsec*100.0/3.90625) ) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_2.py[51]: log('Maximum Interrupt Service Routine= %x hex' %intnum) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_2.py[52]: log('Requirement for ISR Duration < 2 msec : %s' % PF[fmsec < 2.0] ) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_2.py[54]: log('3. Commanding FIT ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_2.py[56]: cmd.EFW_FITMODE(0,0,0) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_2.py[58]: sleep(2) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_2.py[60]: wait(APID_267, lambda: True , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_2.py[45]: wait(APID_267, lambda: True , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_2.py[61]: intnum2 = APID_267.TESTVALUE / 256 ../../GSEOS_scripts/FSW_scripts\TEST_FIT_2.py[62]: inttime2= APID_267.TESTVALUE & 255 ../../GSEOS_scripts/FSW_scripts\TEST_FIT_2.py[63]: fmsec2 = (1000.0/65536.0) * inttime2 ../../GSEOS_scripts/FSW_scripts\TEST_FIT_2.py[64]: log('Maximum Interrupt Service Time is %2.3f msec' % fmsec2) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_2.py[65]: log('Percent of Interrupt at 256 Hz is %2.3f percent' % (fmsec2*100.0/3.90625) ) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_2.py[66]: log('Maximum Interrupt Service Routine= %x hex' %intnum2) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_2.py[68]: log('Change in MAX ISR : %5.3f' % (fmsec2-fmsec) ) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_2.py[69]: log('Requirement for DEP CMD Duration < 2 msec : %s' % PF[fmsec2 < 2.0] ) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_2.py[71]: log('4.0 Removing Vectors ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_2.py[72]: POKE( DVP, NOP ) #BKG[addr] = NOP ../../GSEOS_scripts\util.py[102]: cmd.EFW_ADRH( (addr >> 8 )& 0xff ) ../../GSEOS_scripts\util.py[103]: cmd.EFW_ADRL( addr & 0xff ) ../../GSEOS_scripts\util.py[104]: cmd.EFW_LOAD( byte ) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_2.py[73]: cmd.EFW_SRMWRTCTL( 1 ) # Disable Writing to the SRAM ../../GSEOS_scripts/FSW_scripts\TEST_FIT_2.py[74]: cmd.EFW_DISARM(3) # Enable SRAM Scanner ../../GSEOS_scripts/FSW_scripts\TEST_FIT_2.py[76]: log('================END=====================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_2.py[77]: return(0) ../../GSEOS_scripts\util.py[212]: return(pf) ../../GSEOS_scripts/FSW_scripts\TEST_FIT.py[34]: errcnt += tryscript("TEST_FIT_5") ../../GSEOS_scripts\util.py[208]: try: ../../GSEOS_scripts\util.py[209]: pf = startscript( script ) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[9]: """ ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[11]: from efw import * ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[12]: from util import * ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[13]: from __main__ import * # required for access to APID_nnn telemetry blocks ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[15]: def main(): ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[9]: """ ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[11]: from efw import * ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[12]: from util import * ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[13]: from __main__ import * # required for access to APID_nnn telemetry blocks ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[15]: def main(): ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[16]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[17]: log('FIT_3 - Buffer Management', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[18]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[19]: PF=("FAIL","PASS") ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[20]: errs=0 ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[22]: log('1.1 Increasing TM Rate, Clear Start ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[23]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[24]: cmd.EFW_FITMODE(1,1,1) #Sampling, E12,Bx ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[25]: SC_SPIN(12) #Nominal Rate for TESTDFB ../../GSEOS_scripts\util.py[157]: cmd.SCE_CTRL_SET_SPIN_PULSE_TIME(sp*1000000) ../../GSEOS_scripts\util.py[158]: TAS.SpinPeriod = sp*65535.0/20.970 ../../GSEOS_scripts\util.py[159]: TAS.SpinPeriodValid = 1 ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[26]: cmd.EFW_CONFIG0(0x44) #Expect later ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[27]: EMF_MAGRANGE( 3 ) #Check in packet ../../GSEOS_scripts\util.py[170]: log("EMF_MAGRANGE( %d )" % rr, color=BLUE, attr=BOLD ) ../../GSEOS_scripts\util.py[171]: shf = 14 ../../GSEOS_scripts\util.py[172]: field = 3 ../../GSEOS_scripts\util.py[173]: mask = field<> 8 )& 0xff ) ../../GSEOS_scripts\util.py[103]: cmd.EFW_ADRL( addr & 0xff ) ../../GSEOS_scripts\util.py[104]: cmd.EFW_LOAD( byte ) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[37]: sleep(3) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[38]: cmd.EFW_CMDS(1) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[39]: cmd.EFW_EXEC(0x70) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[40]: wait(APID_267, lambda: APID_267.TESTVALUE==0xf310, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[40]: wait(APID_267, lambda: APID_267.TESTVALUE==0xf310, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[40]: wait(APID_267, lambda: APID_267.TESTVALUE==0xf310, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[40]: wait(APID_267, lambda: APID_267.TESTVALUE==0xf310, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[40]: wait(APID_267, lambda: APID_267.TESTVALUE==0xf310, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[40]: wait(APID_267, lambda: APID_267.TESTVALUE==0xf310, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[40]: wait(APID_267, lambda: APID_267.TESTVALUE==0xf310, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[42]: log('1.3 Waiting for 2 spin periods ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[43]: cmd.EFW_DUMPTABL(4,0) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[44]: sleep(2*12) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[46]: log('2.1 Verify INPTR & OUTPTR are opposite ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[47]: wait(APID_266, lambda:True, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[47]: wait(APID_266, lambda:True, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[48]: stcnt = APID_266.Data[1] #Fit Count ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[49]: stin =APID_266.Data[3]&0x40 ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[50]: stout=APID_266.Data[4]&0x40 ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[51]: sfitptr= APID_266.Data[5]+APID_266.Data[6]*256 ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[52]: if(stin==stout): ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[56]: log('2.2 Verify Sample and Fit METs OK ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[57]: ssmpmet= APID_266.Data[9]*256.0+APID_266.Data[10]+APID_266.Data[11]/256.0 ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[58]: sfitmet= APID_266.Data[15]*256.0+APID_266.Data[16]+APID_266.Data[17]/256.0 ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[59]: difmet = ssmpmet-sfitmet ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[60]: log('2.2.1 SMPMET = %8.4f' % ssmpmet, color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[61]: log('2.2.2 FITMET = %8.4f' % sfitmet, color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[62]: log('2.2.3 DELTA = %8.4f' % difmet, color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[64]: log('2.3 Verify Another Fit, Pointers Swap ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[65]: wait(APID_266, lambda:APID_266.Data[1]>stcnt, flTimeout=30) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[65]: wait(APID_266, lambda:APID_266.Data[1]>stcnt, flTimeout=30) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[65]: wait(APID_266, lambda:APID_266.Data[1]>stcnt, flTimeout=30) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[65]: wait(APID_266, lambda:APID_266.Data[1]>stcnt, flTimeout=30) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[65]: wait(APID_266, lambda:APID_266.Data[1]>stcnt, flTimeout=30) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[65]: wait(APID_266, lambda:APID_266.Data[1]>stcnt, flTimeout=30) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[65]: wait(APID_266, lambda:APID_266.Data[1]>stcnt, flTimeout=30) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[66]: enin =APID_266.Data[3]&0x40 ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[67]: enout=APID_266.Data[4]&0x40 ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[68]: efitptr= APID_266.Data[5]+APID_266.Data[6]*256 ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[69]: if(enin==enout): ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[72]: if(enout!=stout^0x40): ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[75]: if(efitptr==sfitptr): ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[79]: log('2.4 Verify Sample and Fit METs OK ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[80]: esmpmet= APID_266.Data[9]*256.0+APID_266.Data[10]+APID_266.Data[11]/256.0 ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[81]: efitmet= APID_266.Data[15]*256.0+APID_266.Data[16]+APID_266.Data[17]/256.0 ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[82]: difmet = esmpmet-efitmet ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[83]: log('2.4.1 SMPMET = %8.4f' % esmpmet, color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[84]: log('2.4.2 FITMET = %8.4f' % efitmet, color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[85]: log('2.4.3 DELTA = %8.4f' % difmet, color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[86]: if(efitmet!=ssmpmet): ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[90]: log('3.0 Verify SPIN FIT Packet Format ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[91]: log('3.1 Waiting until at least 8 FITS ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[92]: wait(APID_266, lambda:APID_266.Data[1]>=(stcnt+8), flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[93]: log('3.2 Waiting for a SPIN Packet ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[94]: wait(APID_269, lambda:True, flTimeout=120) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[47]: wait(APID_266, lambda:True, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[96]: log('3.3 Saving a copy of APID_269 Page ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[97]: Gseos.FileOpen('Instruments/EFW/screens/APID_269.gscr') ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[98]: sleep(2) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[99]: filename = 'FSW_FIT_3_AP269.jpg' ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[100]: outfile = os.path.join(settings.full_output_path, filename) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[101]: print_window('Instruments/EFW/screens/APID_269.gscr', outfile) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[102]: Gseos.WindowClose('APID_269') ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[104]: log('3.4 Verifying Packet Information ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[105]: if(APID_269.CONFIG_CODE != 0x44): ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[108]: if(0xBF8 < APID_269.SPINPER > 0x0C07): ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[111]: if(APID_269.MAG_RANGE != 3): ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[114]: if(APID_269.FIT_CODE1 != 0xE1): ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[115]: log("3.4.2 FIT_CODE1 - Expected E1, Got %2X" % APID_269.FIT_CODE1[0], color=RED, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[116]: errs=errs+1 ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[117]: if(APID_269.FIT_CODE2 != 0xB1): ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[118]: log("3.4.2 FIT_CODE2 - Expected B1, Got %2X" % APID_269.FIT_CODE2[0], color=RED, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[119]: errs=errs+1 ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[120]: if(APID_269.Ez[0] != 0xE56): ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[121]: log("3.4.2 Ez - Expected E56, Got %4X" % APID_269.Ez[0], color=RED, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[122]: errs=errs+1 ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[123]: if(APID_269.Bz[0] != 0xB33): ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[124]: log("3.4.2 Bz - Expected B33, Got %4X" % APID_269.Bz[0], color=RED, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[125]: errs=errs+1 ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[127]: log('3.0 Cleaning Up by Reseting ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[128]: cmd.EFW_RESET() ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[129]: sleep(10) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[130]: cmd.EFW_CLEAR() ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[132]: log('FIT Buffer Management, Format : %s'% PF[errs==0], color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[133]: log('================END=====================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_FIT_5.py[134]: return(0) ../../GSEOS_scripts\util.py[212]: return(pf) ../../GSEOS_scripts/FSW_scripts\TEST_FIT.py[36]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_FIT.py[37]: if( errcnt == 0 ): ../../GSEOS_scripts/FSW_scripts\TEST_FIT.py[38]: log('**** FIT Module PASS ****' , color=GREEN, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_FIT.py[41]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_FIT.py[42]: return( errcnt )