Trace collected at: 2010-12-06 10:24:52.457000 ---------------------------------------------------------------------- ../../GSEOS_scripts/FSW_scripts\TEST_DFB.py[12]: set_output_location('DFB_Module_') ../../GSEOS_scripts/FSW_scripts\TEST_DFB.py[14]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB.py[15]: log('******* DFB MODULE TEST *********', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB.py[16]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB.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_DFB.py[19]: wait(APID_267, lambda: APID_267.RSTCTR==0, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_DFB.py[19]: wait(APID_267, lambda: APID_267.RSTCTR==0, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_DFB.py[20]: RESETCPU() ../../GSEOS_scripts\util.py[121]: cmd.EFW_RESET() ../../GSEOS_scripts/FSW_scripts\TEST_DFB.py[21]: wait(APID_267, lambda: APID_267.RSTCTR==1, flTimeout=20) ../../GSEOS_scripts/FSW_scripts\TEST_DFB.py[21]: wait(APID_267, lambda: APID_267.RSTCTR==1, flTimeout=20) ../../GSEOS_scripts/FSW_scripts\TEST_DFB.py[21]: wait(APID_267, lambda: APID_267.RSTCTR==1, flTimeout=20) ../../GSEOS_scripts/FSW_scripts\TEST_DFB.py[21]: wait(APID_267, lambda: APID_267.RSTCTR==1, flTimeout=20) ../../GSEOS_scripts/FSW_scripts\TEST_DFB.py[21]: wait(APID_267, lambda: APID_267.RSTCTR==1, flTimeout=20) ../../GSEOS_scripts/FSW_scripts\TEST_DFB.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_DFB.py[24]: cmd.EFW_CLEAR() ../../GSEOS_scripts/FSW_scripts\TEST_DFB.py[25]: wait(APID_267, lambda: APID_267.ERRCODE==0, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_DFB.py[25]: wait(APID_267, lambda: APID_267.ERRCODE==0, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_DFB.py[26]: vers = APID_267.FSW_HIGH ../../GSEOS_scripts/FSW_scripts\TEST_DFB.py[27]: vers = vers + APID_267.FSW_LOW/100.0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB.py[28]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB.py[29]: log('******* FSW VERSION %5.2f *********'% vers, color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB.py[30]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB.py[32]: errcnt=0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB.py[33]: errcnt += tryscript("TEST_DFB_1") ../../GSEOS_scripts\util.py[208]: try: ../../GSEOS_scripts\util.py[209]: pf = startscript( script ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[8]: """ ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[10]: from efw import * ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[11]: from util import * ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[12]: from __main__ import * # required for access to APID_nnn telemetry blocks ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[14]: def verify_CDI( adr, hi, lo ): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[33]: def main(): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[8]: """ ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[10]: from efw import * ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[11]: from util import * ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[12]: from __main__ import * # required for access to APID_nnn telemetry blocks ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[14]: def verify_CDI( adr, hi, lo ): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[33]: def main(): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[34]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[35]: log('DFB_1 - Test Initial EFIELD Config ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[36]: log('DFB_2 - Test Initial BFIELD Config ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[37]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[38]: PF=("FAIL","PASS") ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[40]: log('1. Increasing TM Rate, Clear Start ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[41]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[43]: cmd.EFW_CLEAR() ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[45]: log('1.1 Using CDITABLE at 0xDE00 ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[46]: cmd.EFW_TMDUMPCTR(255) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[47]: cmd.EFW_TMDUMPSIZE(64) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[48]: DUMPADR( 0xDE00 ) ../../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_DFB_1.py[49]: wait(APID_266, lambda:APID_266.DUMPADR==0xDE00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[49]: wait(APID_266, lambda:APID_266.DUMPADR==0xDE00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[51]: log('2.1 Verifying CDI Command Table Expected ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[52]: log(' Rev: FSW DFB.L 6/21/10 ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[54]: errcnt = 0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[55]: errcnt = errcnt + verify_CDI ( 0x04, 0x00, 0x02 ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[15]: PF=("FAIL","PASS") ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[16]: CLR=(RED,BLUE) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[17]: fulladr = 0xDE00 + 2* adr ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[18]: index = fulladr-APID_266.DUMPADR ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[19]: if(index>63): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[23]: actlo = APID_266.Data[index] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[24]: acthi = APID_266.Data[index+1] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[25]: err=0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[26]: if (acthi != hi): err=1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[27]: if (actlo != lo): err=1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[29]: log(" Expected[%2X,%2X,%2X] Actual=[%2X,%2X,%2X] : %s" ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[30]: %(adr,hi,lo,adr,acthi,actlo,PF[err==0]), color=CLR[err==0], attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[31]: return(err) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[56]: errcnt = errcnt + verify_CDI ( 0x05, 0x00, 0x03 ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[15]: PF=("FAIL","PASS") ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[16]: CLR=(RED,BLUE) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[17]: fulladr = 0xDE00 + 2* adr ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[18]: index = fulladr-APID_266.DUMPADR ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[19]: if(index>63): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[23]: actlo = APID_266.Data[index] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[24]: acthi = APID_266.Data[index+1] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[25]: err=0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[26]: if (acthi != hi): err=1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[27]: if (actlo != lo): err=1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[29]: log(" Expected[%2X,%2X,%2X] Actual=[%2X,%2X,%2X] : %s" ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[30]: %(adr,hi,lo,adr,acthi,actlo,PF[err==0]), color=CLR[err==0], attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[31]: return(err) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[57]: errcnt = errcnt + verify_CDI ( 0x06, 0x17, 0x60 ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[15]: PF=("FAIL","PASS") ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[16]: CLR=(RED,BLUE) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[17]: fulladr = 0xDE00 + 2* adr ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[18]: index = fulladr-APID_266.DUMPADR ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[19]: if(index>63): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[23]: actlo = APID_266.Data[index] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[24]: acthi = APID_266.Data[index+1] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[25]: err=0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[26]: if (acthi != hi): err=1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[27]: if (actlo != lo): err=1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[29]: log(" Expected[%2X,%2X,%2X] Actual=[%2X,%2X,%2X] : %s" ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[30]: %(adr,hi,lo,adr,acthi,actlo,PF[err==0]), color=CLR[err==0], attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[31]: return(err) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[58]: errcnt = errcnt + verify_CDI ( 0x07, 0x59, 0x60 ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[15]: PF=("FAIL","PASS") ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[16]: CLR=(RED,BLUE) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[17]: fulladr = 0xDE00 + 2* adr ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[18]: index = fulladr-APID_266.DUMPADR ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[19]: if(index>63): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[23]: actlo = APID_266.Data[index] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[24]: acthi = APID_266.Data[index+1] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[25]: err=0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[26]: if (acthi != hi): err=1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[27]: if (actlo != lo): err=1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[29]: log(" Expected[%2X,%2X,%2X] Actual=[%2X,%2X,%2X] : %s" ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[30]: %(adr,hi,lo,adr,acthi,actlo,PF[err==0]), color=CLR[err==0], attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[31]: return(err) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[59]: errcnt = errcnt + verify_CDI ( 0x10, 0x50, 0x07 ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[15]: PF=("FAIL","PASS") ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[16]: CLR=(RED,BLUE) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[17]: fulladr = 0xDE00 + 2* adr ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[18]: index = fulladr-APID_266.DUMPADR ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[19]: if(index>63): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[23]: actlo = APID_266.Data[index] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[24]: acthi = APID_266.Data[index+1] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[25]: err=0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[26]: if (acthi != hi): err=1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[27]: if (actlo != lo): err=1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[29]: log(" Expected[%2X,%2X,%2X] Actual=[%2X,%2X,%2X] : %s" ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[30]: %(adr,hi,lo,adr,acthi,actlo,PF[err==0]), color=CLR[err==0], attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[31]: return(err) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[60]: errcnt = errcnt + verify_CDI ( 0x11, 0x50, 0x3F ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[15]: PF=("FAIL","PASS") ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[16]: CLR=(RED,BLUE) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[17]: fulladr = 0xDE00 + 2* adr ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[18]: index = fulladr-APID_266.DUMPADR ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[19]: if(index>63): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[23]: actlo = APID_266.Data[index] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[24]: acthi = APID_266.Data[index+1] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[25]: err=0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[26]: if (acthi != hi): err=1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[27]: if (actlo != lo): err=1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[29]: log(" Expected[%2X,%2X,%2X] Actual=[%2X,%2X,%2X] : %s" ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[30]: %(adr,hi,lo,adr,acthi,actlo,PF[err==0]), color=CLR[err==0], attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[31]: return(err) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[61]: errcnt = errcnt + verify_CDI ( 0x12, 0x50, 0x07 ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[15]: PF=("FAIL","PASS") ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[16]: CLR=(RED,BLUE) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[17]: fulladr = 0xDE00 + 2* adr ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[18]: index = fulladr-APID_266.DUMPADR ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[19]: if(index>63): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[23]: actlo = APID_266.Data[index] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[24]: acthi = APID_266.Data[index+1] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[25]: err=0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[26]: if (acthi != hi): err=1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[27]: if (actlo != lo): err=1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[29]: log(" Expected[%2X,%2X,%2X] Actual=[%2X,%2X,%2X] : %s" ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[30]: %(adr,hi,lo,adr,acthi,actlo,PF[err==0]), color=CLR[err==0], attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[31]: return(err) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[62]: errcnt = errcnt + verify_CDI ( 0x13, 0x90, 0x07 ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[15]: PF=("FAIL","PASS") ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[16]: CLR=(RED,BLUE) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[17]: fulladr = 0xDE00 + 2* adr ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[18]: index = fulladr-APID_266.DUMPADR ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[19]: if(index>63): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[23]: actlo = APID_266.Data[index] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[24]: acthi = APID_266.Data[index+1] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[25]: err=0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[26]: if (acthi != hi): err=1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[27]: if (actlo != lo): err=1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[29]: log(" Expected[%2X,%2X,%2X] Actual=[%2X,%2X,%2X] : %s" ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[30]: %(adr,hi,lo,adr,acthi,actlo,PF[err==0]), color=CLR[err==0], attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[31]: return(err) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[63]: errcnt = errcnt + verify_CDI ( 0x14, 0x90, 0x3F ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[15]: PF=("FAIL","PASS") ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[16]: CLR=(RED,BLUE) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[17]: fulladr = 0xDE00 + 2* adr ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[18]: index = fulladr-APID_266.DUMPADR ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[19]: if(index>63): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[23]: actlo = APID_266.Data[index] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[24]: acthi = APID_266.Data[index+1] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[25]: err=0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[26]: if (acthi != hi): err=1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[27]: if (actlo != lo): err=1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[29]: log(" Expected[%2X,%2X,%2X] Actual=[%2X,%2X,%2X] : %s" ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[30]: %(adr,hi,lo,adr,acthi,actlo,PF[err==0]), color=CLR[err==0], attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[31]: return(err) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[64]: errcnt = errcnt + verify_CDI ( 0x15, 0x90, 0x07 ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[15]: PF=("FAIL","PASS") ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[16]: CLR=(RED,BLUE) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[17]: fulladr = 0xDE00 + 2* adr ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[18]: index = fulladr-APID_266.DUMPADR ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[19]: if(index>63): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[23]: actlo = APID_266.Data[index] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[24]: acthi = APID_266.Data[index+1] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[25]: err=0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[26]: if (acthi != hi): err=1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[27]: if (actlo != lo): err=1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[29]: log(" Expected[%2X,%2X,%2X] Actual=[%2X,%2X,%2X] : %s" ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[30]: %(adr,hi,lo,adr,acthi,actlo,PF[err==0]), color=CLR[err==0], attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[31]: return(err) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[65]: errcnt = errcnt + verify_CDI ( 0x16, 0xE0, 0x38 ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[15]: PF=("FAIL","PASS") ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[16]: CLR=(RED,BLUE) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[17]: fulladr = 0xDE00 + 2* adr ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[18]: index = fulladr-APID_266.DUMPADR ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[19]: if(index>63): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[23]: actlo = APID_266.Data[index] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[24]: acthi = APID_266.Data[index+1] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[25]: err=0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[26]: if (acthi != hi): err=1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[27]: if (actlo != lo): err=1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[29]: log(" Expected[%2X,%2X,%2X] Actual=[%2X,%2X,%2X] : %s" ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[30]: %(adr,hi,lo,adr,acthi,actlo,PF[err==0]), color=CLR[err==0], attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[31]: return(err) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[66]: errcnt = errcnt + verify_CDI ( 0x17, 0xE0, 0x3F ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[15]: PF=("FAIL","PASS") ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[16]: CLR=(RED,BLUE) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[17]: fulladr = 0xDE00 + 2* adr ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[18]: index = fulladr-APID_266.DUMPADR ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[19]: if(index>63): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[23]: actlo = APID_266.Data[index] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[24]: acthi = APID_266.Data[index+1] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[25]: err=0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[26]: if (acthi != hi): err=1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[27]: if (actlo != lo): err=1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[29]: log(" Expected[%2X,%2X,%2X] Actual=[%2X,%2X,%2X] : %s" ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[30]: %(adr,hi,lo,adr,acthi,actlo,PF[err==0]), color=CLR[err==0], attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[31]: return(err) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[67]: errcnt = errcnt + verify_CDI ( 0x18, 0xE0, 0x07 ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[15]: PF=("FAIL","PASS") ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[16]: CLR=(RED,BLUE) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[17]: fulladr = 0xDE00 + 2* adr ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[18]: index = fulladr-APID_266.DUMPADR ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[19]: if(index>63): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[23]: actlo = APID_266.Data[index] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[24]: acthi = APID_266.Data[index+1] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[25]: err=0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[26]: if (acthi != hi): err=1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[27]: if (actlo != lo): err=1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[29]: log(" Expected[%2X,%2X,%2X] Actual=[%2X,%2X,%2X] : %s" ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[30]: %(adr,hi,lo,adr,acthi,actlo,PF[err==0]), color=CLR[err==0], attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[31]: return(err) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[68]: errcnt = errcnt + verify_CDI ( 0x19, 0x5F, 0xFF ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[15]: PF=("FAIL","PASS") ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[16]: CLR=(RED,BLUE) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[17]: fulladr = 0xDE00 + 2* adr ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[18]: index = fulladr-APID_266.DUMPADR ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[19]: if(index>63): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[23]: actlo = APID_266.Data[index] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[24]: acthi = APID_266.Data[index+1] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[25]: err=0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[26]: if (acthi != hi): err=1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[27]: if (actlo != lo): err=1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[29]: log(" Expected[%2X,%2X,%2X] Actual=[%2X,%2X,%2X] : %s" ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[30]: %(adr,hi,lo,adr,acthi,actlo,PF[err==0]), color=CLR[err==0], attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[31]: return(err) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[70]: errcnt = errcnt + verify_CDI ( 0x30, 0x53, 0x63 ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[15]: PF=("FAIL","PASS") ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[16]: CLR=(RED,BLUE) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[17]: fulladr = 0xDE00 + 2* adr ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[18]: index = fulladr-APID_266.DUMPADR ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[19]: if(index>63): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[20]: DUMPADR( fulladr ) ../../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_DFB_1.py[21]: wait(APID_266, lambda:APID_266.DUMPADR==fulladr, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[21]: wait(APID_266, lambda:APID_266.DUMPADR==fulladr, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[21]: wait(APID_266, lambda:APID_266.DUMPADR==fulladr, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[21]: wait(APID_266, lambda:APID_266.DUMPADR==fulladr, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[21]: wait(APID_266, lambda:APID_266.DUMPADR==fulladr, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[21]: wait(APID_266, lambda:APID_266.DUMPADR==fulladr, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[21]: wait(APID_266, lambda:APID_266.DUMPADR==fulladr, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[22]: index = 0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[23]: actlo = APID_266.Data[index] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[24]: acthi = APID_266.Data[index+1] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[25]: err=0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[26]: if (acthi != hi): err=1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[27]: if (actlo != lo): err=1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[29]: log(" Expected[%2X,%2X,%2X] Actual=[%2X,%2X,%2X] : %s" ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[30]: %(adr,hi,lo,adr,acthi,actlo,PF[err==0]), color=CLR[err==0], attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[31]: return(err) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[71]: errcnt = errcnt + verify_CDI ( 0x31, 0x00, 0x25 ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[15]: PF=("FAIL","PASS") ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[16]: CLR=(RED,BLUE) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[17]: fulladr = 0xDE00 + 2* adr ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[18]: index = fulladr-APID_266.DUMPADR ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[19]: if(index>63): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[23]: actlo = APID_266.Data[index] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[24]: acthi = APID_266.Data[index+1] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[25]: err=0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[26]: if (acthi != hi): err=1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[27]: if (actlo != lo): err=1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[29]: log(" Expected[%2X,%2X,%2X] Actual=[%2X,%2X,%2X] : %s" ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[30]: %(adr,hi,lo,adr,acthi,actlo,PF[err==0]), color=CLR[err==0], attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[31]: return(err) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[72]: errcnt = errcnt + verify_CDI ( 0x32, 0x00, 0x30 ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[15]: PF=("FAIL","PASS") ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[16]: CLR=(RED,BLUE) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[17]: fulladr = 0xDE00 + 2* adr ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[18]: index = fulladr-APID_266.DUMPADR ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[19]: if(index>63): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[23]: actlo = APID_266.Data[index] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[24]: acthi = APID_266.Data[index+1] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[25]: err=0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[26]: if (acthi != hi): err=1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[27]: if (actlo != lo): err=1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[29]: log(" Expected[%2X,%2X,%2X] Actual=[%2X,%2X,%2X] : %s" ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[30]: %(adr,hi,lo,adr,acthi,actlo,PF[err==0]), color=CLR[err==0], attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[31]: return(err) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[73]: errcnt = errcnt + verify_CDI ( 0x33, 0x00, 0x31 ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[15]: PF=("FAIL","PASS") ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[16]: CLR=(RED,BLUE) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[17]: fulladr = 0xDE00 + 2* adr ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[18]: index = fulladr-APID_266.DUMPADR ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[19]: if(index>63): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[23]: actlo = APID_266.Data[index] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[24]: acthi = APID_266.Data[index+1] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[25]: err=0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[26]: if (acthi != hi): err=1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[27]: if (actlo != lo): err=1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[29]: log(" Expected[%2X,%2X,%2X] Actual=[%2X,%2X,%2X] : %s" ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[30]: %(adr,hi,lo,adr,acthi,actlo,PF[err==0]), color=CLR[err==0], attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[31]: return(err) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[74]: errcnt = errcnt + verify_CDI ( 0x34, 0x00, 0x32 ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[15]: PF=("FAIL","PASS") ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[16]: CLR=(RED,BLUE) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[17]: fulladr = 0xDE00 + 2* adr ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[18]: index = fulladr-APID_266.DUMPADR ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[19]: if(index>63): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[23]: actlo = APID_266.Data[index] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[24]: acthi = APID_266.Data[index+1] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[25]: err=0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[26]: if (acthi != hi): err=1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[27]: if (actlo != lo): err=1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[29]: log(" Expected[%2X,%2X,%2X] Actual=[%2X,%2X,%2X] : %s" ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[30]: %(adr,hi,lo,adr,acthi,actlo,PF[err==0]), color=CLR[err==0], attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[31]: return(err) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[75]: errcnt = errcnt + verify_CDI ( 0x35, 0x00, 0x2A ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[15]: PF=("FAIL","PASS") ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[16]: CLR=(RED,BLUE) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[17]: fulladr = 0xDE00 + 2* adr ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[18]: index = fulladr-APID_266.DUMPADR ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[19]: if(index>63): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[23]: actlo = APID_266.Data[index] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[24]: acthi = APID_266.Data[index+1] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[25]: err=0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[26]: if (acthi != hi): err=1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[27]: if (actlo != lo): err=1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[29]: log(" Expected[%2X,%2X,%2X] Actual=[%2X,%2X,%2X] : %s" ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[30]: %(adr,hi,lo,adr,acthi,actlo,PF[err==0]), color=CLR[err==0], attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[31]: return(err) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[76]: errcnt = errcnt + verify_CDI ( 0x36, 0x00, 0x2B ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[15]: PF=("FAIL","PASS") ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[16]: CLR=(RED,BLUE) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[17]: fulladr = 0xDE00 + 2* adr ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[18]: index = fulladr-APID_266.DUMPADR ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[19]: if(index>63): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[23]: actlo = APID_266.Data[index] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[24]: acthi = APID_266.Data[index+1] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[25]: err=0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[26]: if (acthi != hi): err=1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[27]: if (actlo != lo): err=1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[29]: log(" Expected[%2X,%2X,%2X] Actual=[%2X,%2X,%2X] : %s" ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[30]: %(adr,hi,lo,adr,acthi,actlo,PF[err==0]), color=CLR[err==0], attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[31]: return(err) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[78]: errcnt = errcnt + verify_CDI ( 0x38, 0x03, 0x44 ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[15]: PF=("FAIL","PASS") ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[16]: CLR=(RED,BLUE) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[17]: fulladr = 0xDE00 + 2* adr ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[18]: index = fulladr-APID_266.DUMPADR ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[19]: if(index>63): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[23]: actlo = APID_266.Data[index] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[24]: acthi = APID_266.Data[index+1] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[25]: err=0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[26]: if (acthi != hi): err=1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[27]: if (actlo != lo): err=1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[29]: log(" Expected[%2X,%2X,%2X] Actual=[%2X,%2X,%2X] : %s" ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[30]: %(adr,hi,lo,adr,acthi,actlo,PF[err==0]), color=CLR[err==0], attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[31]: return(err) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[79]: errcnt = errcnt + verify_CDI ( 0x39, 0x00, 0x75 ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[15]: PF=("FAIL","PASS") ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[16]: CLR=(RED,BLUE) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[17]: fulladr = 0xDE00 + 2* adr ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[18]: index = fulladr-APID_266.DUMPADR ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[19]: if(index>63): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[23]: actlo = APID_266.Data[index] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[24]: acthi = APID_266.Data[index+1] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[25]: err=0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[26]: if (acthi != hi): err=1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[27]: if (actlo != lo): err=1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[29]: log(" Expected[%2X,%2X,%2X] Actual=[%2X,%2X,%2X] : %s" ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[30]: %(adr,hi,lo,adr,acthi,actlo,PF[err==0]), color=CLR[err==0], attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[31]: return(err) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[80]: errcnt = errcnt + verify_CDI ( 0x3A, 0x00, 0x00 ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[15]: PF=("FAIL","PASS") ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[16]: CLR=(RED,BLUE) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[17]: fulladr = 0xDE00 + 2* adr ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[18]: index = fulladr-APID_266.DUMPADR ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[19]: if(index>63): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[23]: actlo = APID_266.Data[index] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[24]: acthi = APID_266.Data[index+1] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[25]: err=0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[26]: if (acthi != hi): err=1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[27]: if (actlo != lo): err=1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[29]: log(" Expected[%2X,%2X,%2X] Actual=[%2X,%2X,%2X] : %s" ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[30]: %(adr,hi,lo,adr,acthi,actlo,PF[err==0]), color=CLR[err==0], attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[31]: return(err) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[81]: errcnt = errcnt + verify_CDI ( 0x3B, 0x00, 0x00 ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[15]: PF=("FAIL","PASS") ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[16]: CLR=(RED,BLUE) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[17]: fulladr = 0xDE00 + 2* adr ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[18]: index = fulladr-APID_266.DUMPADR ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[19]: if(index>63): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[23]: actlo = APID_266.Data[index] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[24]: acthi = APID_266.Data[index+1] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[25]: err=0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[26]: if (acthi != hi): err=1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[27]: if (actlo != lo): err=1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[29]: log(" Expected[%2X,%2X,%2X] Actual=[%2X,%2X,%2X] : %s" ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[30]: %(adr,hi,lo,adr,acthi,actlo,PF[err==0]), color=CLR[err==0], attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[31]: return(err) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[82]: errcnt = errcnt + verify_CDI ( 0x48, 0x7F, 0xFF ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[15]: PF=("FAIL","PASS") ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[16]: CLR=(RED,BLUE) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[17]: fulladr = 0xDE00 + 2* adr ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[18]: index = fulladr-APID_266.DUMPADR ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[19]: if(index>63): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[23]: actlo = APID_266.Data[index] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[24]: acthi = APID_266.Data[index+1] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[25]: err=0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[26]: if (acthi != hi): err=1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[27]: if (actlo != lo): err=1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[29]: log(" Expected[%2X,%2X,%2X] Actual=[%2X,%2X,%2X] : %s" ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[30]: %(adr,hi,lo,adr,acthi,actlo,PF[err==0]), color=CLR[err==0], attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[31]: return(err) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[83]: log('2.2 There were %d errors found' % errcnt, color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[85]: log('3 Clean Up, Turn off Dumps ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[86]: cmd.EFW_TMDUMPCTR(0) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[88]: log('DFB_1,2 -Initial E,B FIELD Config : %s ' % PF[errcnt==0], color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[89]: log('================END=====================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_1.py[90]: return(0) ../../GSEOS_scripts\util.py[212]: return(pf) ../../GSEOS_scripts/FSW_scripts\TEST_DFB.py[34]: errcnt += tryscript("TEST_DFB_3") ../../GSEOS_scripts\util.py[208]: try: ../../GSEOS_scripts\util.py[209]: pf = startscript( script ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_3.py[13]: """ ../../GSEOS_scripts/FSW_scripts\TEST_DFB_3.py[15]: from efw import * ../../GSEOS_scripts/FSW_scripts\TEST_DFB_3.py[16]: from util import * ../../GSEOS_scripts/FSW_scripts\TEST_DFB_3.py[17]: from __main__ import * # required for access to APID_nnn telemetry blocks ../../GSEOS_scripts/FSW_scripts\TEST_DFB_3.py[20]: def main(): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_3.py[13]: """ ../../GSEOS_scripts/FSW_scripts\TEST_DFB_3.py[15]: from efw import * ../../GSEOS_scripts/FSW_scripts\TEST_DFB_3.py[16]: from util import * ../../GSEOS_scripts/FSW_scripts\TEST_DFB_3.py[17]: from __main__ import * # required for access to APID_nnn telemetry blocks ../../GSEOS_scripts/FSW_scripts\TEST_DFB_3.py[20]: def main(): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_3.py[21]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_3.py[22]: log('DFB_3 - CMD TIME ALLOCATION < 2msec ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_3.py[23]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_3.py[24]: PF=("FAIL","PASS") ../../GSEOS_scripts/FSW_scripts\TEST_DFB_3.py[25]: DVP = 0x111 # Duration Verification Point ../../GSEOS_scripts/FSW_scripts\TEST_DFB_3.py[26]: RST5= 0xEF # Restart 5 Instruction ../../GSEOS_scripts/FSW_scripts\TEST_DFB_3.py[27]: NOP = 0x00 # No Operation ../../GSEOS_scripts/FSW_scripts\TEST_DFB_3.py[29]: log('1. Increasing TM Rate, Clear Start ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_3.py[30]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz ../../GSEOS_scripts/FSW_scripts\TEST_DFB_3.py[31]: 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_DFB_3.py[32]: 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_DFB_3.py[33]: wait(APID_267, lambda: APID_267.TESTVALUE == 0 , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_3.py[33]: wait(APID_267, lambda: APID_267.TESTVALUE == 0 , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_3.py[33]: wait(APID_267, lambda: APID_267.TESTVALUE == 0 , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_3.py[33]: wait(APID_267, lambda: APID_267.TESTVALUE == 0 , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_3.py[33]: wait(APID_267, lambda: APID_267.TESTVALUE == 0 , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_3.py[33]: wait(APID_267, lambda: APID_267.TESTVALUE == 0 , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_3.py[35]: log('1.1 Enabling SRAM loading, Disable Scan ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_3.py[36]: cmd.EFW_SRMWRTCTL( 0 ) # Enable Writing to the SRAM ../../GSEOS_scripts/FSW_scripts\TEST_DFB_3.py[37]: cmd.EFW_DISARM(3) # Disable SRAM Scanner ../../GSEOS_scripts/FSW_scripts\TEST_DFB_3.py[39]: log('2.1 Verifying BKG Duration Point ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_3.py[40]: 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_DFB_3.py[41]: wait(APID_266, lambda: APID_266.DUMPADR == DVP, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_3.py[41]: wait(APID_266, lambda: APID_266.DUMPADR == DVP, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_3.py[42]: wait(APID_266, lambda: APID_266.Data[0] == NOP, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_3.py[42]: wait(APID_266, lambda: APID_266.Data[0] == NOP, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_3.py[44]: log('2.2 Installing BKG ISR Timing ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_3.py[45]: 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_DFB_3.py[46]: sleep(8) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_3.py[48]: log('2.3 Measuring BKG ISR (w/No commands) ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_3.py[49]: wait(APID_267, lambda: True , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_3.py[49]: wait(APID_267, lambda: True , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_3.py[50]: intnum = APID_267.TESTVALUE / 256 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_3.py[51]: inttime= APID_267.TESTVALUE & 255 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_3.py[52]: fmsec = (1000.0/65536.0) * inttime ../../GSEOS_scripts/FSW_scripts\TEST_DFB_3.py[53]: log('Maximum Interrupt Service Time is %2.3f msec' % fmsec) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_3.py[54]: log('Percent of Interrupt at 256 Hz is %2.3f percent' % (fmsec*100.0/3.90625) ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_3.py[55]: log('Maximum Interrupt Service Routine= %x hex' %intnum) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_3.py[56]: log('Requirement for ISR Duration < 2 msec : %s' % PF[fmsec < 2.0] ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_3.py[58]: log('3. Commanding DFB ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_3.py[60]: cmd.EFW_CONFIG0( 1 ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_3.py[61]: cmd.EFW_CONFIG1( 1 ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_3.py[62]: cmd.EFW_DFBINIT( ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_3.py[63]: cmd.EFW_DFBCONFIG( 1 ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_3.py[64]: cmd.EFW_DFBDMA( 1 ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_3.py[65]: cmd.EFW_DFBCHNRST( 1 ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_3.py[66]: cmd.EFW_DFBHSKREAD( 0 ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_3.py[68]: sleep(2) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_3.py[70]: wait(APID_267, lambda: True , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_3.py[49]: wait(APID_267, lambda: True , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_3.py[71]: intnum2 = APID_267.TESTVALUE / 256 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_3.py[72]: inttime2= APID_267.TESTVALUE & 255 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_3.py[73]: fmsec2 = (1000.0/65536.0) * inttime2 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_3.py[74]: log('Maximum Interrupt Service Time is %2.3f msec' % fmsec2) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_3.py[75]: log('Percent of Interrupt at 256 Hz is %2.3f percent' % (fmsec2*100.0/3.90625) ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_3.py[76]: log('Maximum Interrupt Service Routine= %x hex' %intnum2) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_3.py[78]: log('Change in MAX ISR : %5.3f' % (fmsec2-fmsec) ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_3.py[79]: log('Requirement for CMD Duration < 2 msec : %s' % PF[fmsec2 < 2.0] ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_3.py[81]: log('4.0 Removing Diagnostics ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_3.py[82]: 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_DFB_3.py[83]: cmd.EFW_SRMWRTCTL( 1 ) # Disable Writing to the SRAM ../../GSEOS_scripts/FSW_scripts\TEST_DFB_3.py[84]: cmd.EFW_DISARM(3) # Enable SRAM Scanner ../../GSEOS_scripts/FSW_scripts\TEST_DFB_3.py[85]: log('================END=====================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_3.py[86]: return(0) ../../GSEOS_scripts\util.py[212]: return(pf) ../../GSEOS_scripts/FSW_scripts\TEST_DFB.py[35]: errcnt += tryscript("TEST_DFB_4") ../../GSEOS_scripts\util.py[208]: try: ../../GSEOS_scripts\util.py[209]: pf = startscript( script ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[7]: """ ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[9]: from efw import * ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[10]: from util import * ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[11]: from math import * ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[12]: from __main__ import * # required for access to APID_nnn telemetry blocks ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[14]: def evaltimetags( ap, name, N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[49]: def main(): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[7]: """ ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[9]: from efw import * ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[10]: from util import * ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[11]: from math import * ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[12]: from __main__ import * # required for access to APID_nnn telemetry blocks ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[14]: def evaltimetags( ap, name, N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[49]: def main(): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[50]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[51]: log('DFB_4 - Test Packet Timing ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[52]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[53]: PF=("FAIL","PASS") ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[54]: errcnt = 0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[56]: log('1. Increasing TM Rate, Clear Start ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[57]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[58]: cmd.EFW_CLEAR() ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[59]: packets = 5 #Packets for Each one ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[60]: log('1.1 Enabling SRAM loading, Disable Scan ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[61]: cmd.EFW_SRMWRTCTL( 0 ) # Enable Writing to the SRAM ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[62]: cmd.EFW_DISARM(3) # Disable SRAM Scanner ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[64]: log('2.1 Enabling MAG Telemetry (AP245) ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[65]: cmd.EFW_SSR_ROUTE(SEGMENT=1, APID=5) #Route 245 to RT ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[67]: log('2.2 Checking Real-Time Packets ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[68]: errcnt= errcnt + evaltimetags( APID_241, "APID_241", packets ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[15]: PF=("FAIL","PASS") ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[16]: met=[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[17]: avgperiod = 0.0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[18]: if( N > 10): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[22]: points=0 #Points in average ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[23]: for pkt in range(N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[25]: met[pkt] = ap.SUBSECONDS/65536.0 + ap.CCSDS_MET ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[26]: log("%s : Packet[ %d ] Time : %15.5f " % (name,pkt,met[pkt])) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[27]: if(pkt>0): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[23]: for pkt in range(N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[25]: met[pkt] = ap.SUBSECONDS/65536.0 + ap.CCSDS_MET ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[26]: log("%s : Packet[ %d ] Time : %15.5f " % (name,pkt,met[pkt])) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[27]: if(pkt>0): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[28]: period = met[pkt]-met[pkt-1] # Get delta time ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[29]: if(period>0): # If Burst2, maybe wrapped ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[30]: avgperiod= avgperiod + period # Normally period>0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[31]: points = points+1 # Count how many ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[23]: for pkt in range(N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[25]: met[pkt] = ap.SUBSECONDS/65536.0 + ap.CCSDS_MET ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[26]: log("%s : Packet[ %d ] Time : %15.5f " % (name,pkt,met[pkt])) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[27]: if(pkt>0): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[28]: period = met[pkt]-met[pkt-1] # Get delta time ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[29]: if(period>0): # If Burst2, maybe wrapped ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[23]: for pkt in range(N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[25]: met[pkt] = ap.SUBSECONDS/65536.0 + ap.CCSDS_MET ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[26]: log("%s : Packet[ %d ] Time : %15.5f " % (name,pkt,met[pkt])) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[27]: if(pkt>0): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[28]: period = met[pkt]-met[pkt-1] # Get delta time ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[29]: if(period>0): # If Burst2, maybe wrapped ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[30]: avgperiod= avgperiod + period # Normally period>0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[31]: points = points+1 # Count how many ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[23]: for pkt in range(N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[25]: met[pkt] = ap.SUBSECONDS/65536.0 + ap.CCSDS_MET ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[26]: log("%s : Packet[ %d ] Time : %15.5f " % (name,pkt,met[pkt])) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[27]: if(pkt>0): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[28]: period = met[pkt]-met[pkt-1] # Get delta time ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[29]: if(period>0): # If Burst2, maybe wrapped ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[30]: avgperiod= avgperiod + period # Normally period>0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[31]: points = points+1 # Count how many ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[23]: for pkt in range(N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[32]: avgperiod = avgperiod/points ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[37]: sos = 0.0 #Sum of Squares ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[38]: for pkt in range(1,N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[39]: period = met[pkt]-met[pkt-1] #Period ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[40]: sos = sos + (avgperiod-period)**2 #add up squared diffs ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[38]: for pkt in range(1,N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[39]: period = met[pkt]-met[pkt-1] #Period ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[40]: sos = sos + (avgperiod-period)**2 #add up squared diffs ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[38]: for pkt in range(1,N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[39]: period = met[pkt]-met[pkt-1] #Period ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[40]: sos = sos + (avgperiod-period)**2 #add up squared diffs ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[38]: for pkt in range(1,N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[39]: period = met[pkt]-met[pkt-1] #Period ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[40]: sos = sos + (avgperiod-period)**2 #add up squared diffs ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[38]: for pkt in range(1,N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[41]: stddev = sqrt( sos ) / sqrt( N-1 ) #Divide roots to finish ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[42]: if( stddev < .00033 ): # 1 msec (3 Sigma)? ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[45]: result = 1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[46]: log("%s : Period %10.5f, StdDev %8.5f sec : %s" % (name,avgperiod,stddev,PF[result==0]), color=BROWN, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[47]: return( result ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[69]: errcnt= errcnt + evaltimetags( APID_243, "APID_243", packets ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[15]: PF=("FAIL","PASS") ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[16]: met=[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[17]: avgperiod = 0.0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[18]: if( N > 10): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[22]: points=0 #Points in average ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[23]: for pkt in range(N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[25]: met[pkt] = ap.SUBSECONDS/65536.0 + ap.CCSDS_MET ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[26]: log("%s : Packet[ %d ] Time : %15.5f " % (name,pkt,met[pkt])) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[27]: if(pkt>0): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[23]: for pkt in range(N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[25]: met[pkt] = ap.SUBSECONDS/65536.0 + ap.CCSDS_MET ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[26]: log("%s : Packet[ %d ] Time : %15.5f " % (name,pkt,met[pkt])) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[27]: if(pkt>0): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[28]: period = met[pkt]-met[pkt-1] # Get delta time ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[29]: if(period>0): # If Burst2, maybe wrapped ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[30]: avgperiod= avgperiod + period # Normally period>0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[31]: points = points+1 # Count how many ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[23]: for pkt in range(N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[25]: met[pkt] = ap.SUBSECONDS/65536.0 + ap.CCSDS_MET ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[26]: log("%s : Packet[ %d ] Time : %15.5f " % (name,pkt,met[pkt])) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[27]: if(pkt>0): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[28]: period = met[pkt]-met[pkt-1] # Get delta time ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[29]: if(period>0): # If Burst2, maybe wrapped ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[30]: avgperiod= avgperiod + period # Normally period>0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[31]: points = points+1 # Count how many ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[23]: for pkt in range(N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[25]: met[pkt] = ap.SUBSECONDS/65536.0 + ap.CCSDS_MET ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[26]: log("%s : Packet[ %d ] Time : %15.5f " % (name,pkt,met[pkt])) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[27]: if(pkt>0): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[28]: period = met[pkt]-met[pkt-1] # Get delta time ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[29]: if(period>0): # If Burst2, maybe wrapped ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[30]: avgperiod= avgperiod + period # Normally period>0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[31]: points = points+1 # Count how many ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[23]: for pkt in range(N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[25]: met[pkt] = ap.SUBSECONDS/65536.0 + ap.CCSDS_MET ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[26]: log("%s : Packet[ %d ] Time : %15.5f " % (name,pkt,met[pkt])) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[27]: if(pkt>0): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[28]: period = met[pkt]-met[pkt-1] # Get delta time ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[29]: if(period>0): # If Burst2, maybe wrapped ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[30]: avgperiod= avgperiod + period # Normally period>0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[31]: points = points+1 # Count how many ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[23]: for pkt in range(N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[32]: avgperiod = avgperiod/points ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[37]: sos = 0.0 #Sum of Squares ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[38]: for pkt in range(1,N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[39]: period = met[pkt]-met[pkt-1] #Period ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[40]: sos = sos + (avgperiod-period)**2 #add up squared diffs ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[38]: for pkt in range(1,N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[39]: period = met[pkt]-met[pkt-1] #Period ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[40]: sos = sos + (avgperiod-period)**2 #add up squared diffs ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[38]: for pkt in range(1,N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[39]: period = met[pkt]-met[pkt-1] #Period ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[40]: sos = sos + (avgperiod-period)**2 #add up squared diffs ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[38]: for pkt in range(1,N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[39]: period = met[pkt]-met[pkt-1] #Period ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[40]: sos = sos + (avgperiod-period)**2 #add up squared diffs ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[38]: for pkt in range(1,N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[41]: stddev = sqrt( sos ) / sqrt( N-1 ) #Divide roots to finish ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[42]: if( stddev < .00033 ): # 1 msec (3 Sigma)? ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[43]: result = 0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[46]: log("%s : Period %10.5f, StdDev %8.5f sec : %s" % (name,avgperiod,stddev,PF[result==0]), color=BROWN, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[47]: return( result ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[70]: errcnt= errcnt + evaltimetags( APID_244, "APID_244", packets ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[15]: PF=("FAIL","PASS") ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[16]: met=[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[17]: avgperiod = 0.0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[18]: if( N > 10): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[22]: points=0 #Points in average ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[23]: for pkt in range(N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[25]: met[pkt] = ap.SUBSECONDS/65536.0 + ap.CCSDS_MET ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[26]: log("%s : Packet[ %d ] Time : %15.5f " % (name,pkt,met[pkt])) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[27]: if(pkt>0): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[23]: for pkt in range(N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[25]: met[pkt] = ap.SUBSECONDS/65536.0 + ap.CCSDS_MET ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[26]: log("%s : Packet[ %d ] Time : %15.5f " % (name,pkt,met[pkt])) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[27]: if(pkt>0): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[28]: period = met[pkt]-met[pkt-1] # Get delta time ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[29]: if(period>0): # If Burst2, maybe wrapped ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[30]: avgperiod= avgperiod + period # Normally period>0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[31]: points = points+1 # Count how many ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[23]: for pkt in range(N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[25]: met[pkt] = ap.SUBSECONDS/65536.0 + ap.CCSDS_MET ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[26]: log("%s : Packet[ %d ] Time : %15.5f " % (name,pkt,met[pkt])) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[27]: if(pkt>0): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[28]: period = met[pkt]-met[pkt-1] # Get delta time ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[29]: if(period>0): # If Burst2, maybe wrapped ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[30]: avgperiod= avgperiod + period # Normally period>0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[31]: points = points+1 # Count how many ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[23]: for pkt in range(N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[25]: met[pkt] = ap.SUBSECONDS/65536.0 + ap.CCSDS_MET ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[26]: log("%s : Packet[ %d ] Time : %15.5f " % (name,pkt,met[pkt])) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[27]: if(pkt>0): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[28]: period = met[pkt]-met[pkt-1] # Get delta time ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[29]: if(period>0): # If Burst2, maybe wrapped ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[30]: avgperiod= avgperiod + period # Normally period>0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[31]: points = points+1 # Count how many ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[23]: for pkt in range(N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[25]: met[pkt] = ap.SUBSECONDS/65536.0 + ap.CCSDS_MET ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[26]: log("%s : Packet[ %d ] Time : %15.5f " % (name,pkt,met[pkt])) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[27]: if(pkt>0): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[28]: period = met[pkt]-met[pkt-1] # Get delta time ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[29]: if(period>0): # If Burst2, maybe wrapped ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[30]: avgperiod= avgperiod + period # Normally period>0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[31]: points = points+1 # Count how many ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[23]: for pkt in range(N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[32]: avgperiod = avgperiod/points ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[37]: sos = 0.0 #Sum of Squares ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[38]: for pkt in range(1,N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[39]: period = met[pkt]-met[pkt-1] #Period ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[40]: sos = sos + (avgperiod-period)**2 #add up squared diffs ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[38]: for pkt in range(1,N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[39]: period = met[pkt]-met[pkt-1] #Period ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[40]: sos = sos + (avgperiod-period)**2 #add up squared diffs ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[38]: for pkt in range(1,N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[39]: period = met[pkt]-met[pkt-1] #Period ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[40]: sos = sos + (avgperiod-period)**2 #add up squared diffs ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[38]: for pkt in range(1,N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[39]: period = met[pkt]-met[pkt-1] #Period ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[40]: sos = sos + (avgperiod-period)**2 #add up squared diffs ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[38]: for pkt in range(1,N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[41]: stddev = sqrt( sos ) / sqrt( N-1 ) #Divide roots to finish ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[42]: if( stddev < .00033 ): # 1 msec (3 Sigma)? ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[43]: result = 0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[46]: log("%s : Period %10.5f, StdDev %8.5f sec : %s" % (name,avgperiod,stddev,PF[result==0]), color=BROWN, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[47]: return( result ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[71]: errcnt= errcnt + evaltimetags( APID_245, "APID_245", packets ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[15]: PF=("FAIL","PASS") ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[16]: met=[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[17]: avgperiod = 0.0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[18]: if( N > 10): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[22]: points=0 #Points in average ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[23]: for pkt in range(N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[25]: met[pkt] = ap.SUBSECONDS/65536.0 + ap.CCSDS_MET ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[26]: log("%s : Packet[ %d ] Time : %15.5f " % (name,pkt,met[pkt])) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[27]: if(pkt>0): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[23]: for pkt in range(N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[25]: met[pkt] = ap.SUBSECONDS/65536.0 + ap.CCSDS_MET ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[26]: log("%s : Packet[ %d ] Time : %15.5f " % (name,pkt,met[pkt])) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[27]: if(pkt>0): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[28]: period = met[pkt]-met[pkt-1] # Get delta time ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[29]: if(period>0): # If Burst2, maybe wrapped ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[30]: avgperiod= avgperiod + period # Normally period>0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[31]: points = points+1 # Count how many ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[23]: for pkt in range(N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[25]: met[pkt] = ap.SUBSECONDS/65536.0 + ap.CCSDS_MET ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[26]: log("%s : Packet[ %d ] Time : %15.5f " % (name,pkt,met[pkt])) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[27]: if(pkt>0): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[28]: period = met[pkt]-met[pkt-1] # Get delta time ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[29]: if(period>0): # If Burst2, maybe wrapped ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[30]: avgperiod= avgperiod + period # Normally period>0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[31]: points = points+1 # Count how many ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[23]: for pkt in range(N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[25]: met[pkt] = ap.SUBSECONDS/65536.0 + ap.CCSDS_MET ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[26]: log("%s : Packet[ %d ] Time : %15.5f " % (name,pkt,met[pkt])) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[27]: if(pkt>0): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[28]: period = met[pkt]-met[pkt-1] # Get delta time ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[29]: if(period>0): # If Burst2, maybe wrapped ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[30]: avgperiod= avgperiod + period # Normally period>0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[31]: points = points+1 # Count how many ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[23]: for pkt in range(N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[25]: met[pkt] = ap.SUBSECONDS/65536.0 + ap.CCSDS_MET ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[26]: log("%s : Packet[ %d ] Time : %15.5f " % (name,pkt,met[pkt])) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[27]: if(pkt>0): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[28]: period = met[pkt]-met[pkt-1] # Get delta time ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[29]: if(period>0): # If Burst2, maybe wrapped ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[30]: avgperiod= avgperiod + period # Normally period>0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[31]: points = points+1 # Count how many ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[23]: for pkt in range(N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[32]: avgperiod = avgperiod/points ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[37]: sos = 0.0 #Sum of Squares ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[38]: for pkt in range(1,N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[39]: period = met[pkt]-met[pkt-1] #Period ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[40]: sos = sos + (avgperiod-period)**2 #add up squared diffs ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[38]: for pkt in range(1,N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[39]: period = met[pkt]-met[pkt-1] #Period ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[40]: sos = sos + (avgperiod-period)**2 #add up squared diffs ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[38]: for pkt in range(1,N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[39]: period = met[pkt]-met[pkt-1] #Period ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[40]: sos = sos + (avgperiod-period)**2 #add up squared diffs ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[38]: for pkt in range(1,N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[39]: period = met[pkt]-met[pkt-1] #Period ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[40]: sos = sos + (avgperiod-period)**2 #add up squared diffs ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[38]: for pkt in range(1,N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[41]: stddev = sqrt( sos ) / sqrt( N-1 ) #Divide roots to finish ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[42]: if( stddev < .00033 ): # 1 msec (3 Sigma)? ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[43]: result = 0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[46]: log("%s : Period %10.5f, StdDev %8.5f sec : %s" % (name,avgperiod,stddev,PF[result==0]), color=BROWN, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[47]: return( result ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[72]: errcnt= errcnt + evaltimetags( APID_24E, "APID_24E", packets ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[15]: PF=("FAIL","PASS") ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[16]: met=[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[17]: avgperiod = 0.0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[18]: if( N > 10): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[22]: points=0 #Points in average ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[23]: for pkt in range(N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[25]: met[pkt] = ap.SUBSECONDS/65536.0 + ap.CCSDS_MET ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[26]: log("%s : Packet[ %d ] Time : %15.5f " % (name,pkt,met[pkt])) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[27]: if(pkt>0): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[23]: for pkt in range(N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[25]: met[pkt] = ap.SUBSECONDS/65536.0 + ap.CCSDS_MET ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[26]: log("%s : Packet[ %d ] Time : %15.5f " % (name,pkt,met[pkt])) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[27]: if(pkt>0): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[28]: period = met[pkt]-met[pkt-1] # Get delta time ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[29]: if(period>0): # If Burst2, maybe wrapped ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[30]: avgperiod= avgperiod + period # Normally period>0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[31]: points = points+1 # Count how many ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[23]: for pkt in range(N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[25]: met[pkt] = ap.SUBSECONDS/65536.0 + ap.CCSDS_MET ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[26]: log("%s : Packet[ %d ] Time : %15.5f " % (name,pkt,met[pkt])) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[27]: if(pkt>0): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[28]: period = met[pkt]-met[pkt-1] # Get delta time ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[29]: if(period>0): # If Burst2, maybe wrapped ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[30]: avgperiod= avgperiod + period # Normally period>0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[31]: points = points+1 # Count how many ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[23]: for pkt in range(N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[25]: met[pkt] = ap.SUBSECONDS/65536.0 + ap.CCSDS_MET ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[26]: log("%s : Packet[ %d ] Time : %15.5f " % (name,pkt,met[pkt])) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[27]: if(pkt>0): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[28]: period = met[pkt]-met[pkt-1] # Get delta time ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[29]: if(period>0): # If Burst2, maybe wrapped ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[30]: avgperiod= avgperiod + period # Normally period>0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[31]: points = points+1 # Count how many ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[23]: for pkt in range(N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[25]: met[pkt] = ap.SUBSECONDS/65536.0 + ap.CCSDS_MET ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[26]: log("%s : Packet[ %d ] Time : %15.5f " % (name,pkt,met[pkt])) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[27]: if(pkt>0): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[28]: period = met[pkt]-met[pkt-1] # Get delta time ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[29]: if(period>0): # If Burst2, maybe wrapped ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[30]: avgperiod= avgperiod + period # Normally period>0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[31]: points = points+1 # Count how many ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[23]: for pkt in range(N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[32]: avgperiod = avgperiod/points ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[37]: sos = 0.0 #Sum of Squares ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[38]: for pkt in range(1,N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[39]: period = met[pkt]-met[pkt-1] #Period ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[40]: sos = sos + (avgperiod-period)**2 #add up squared diffs ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[38]: for pkt in range(1,N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[39]: period = met[pkt]-met[pkt-1] #Period ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[40]: sos = sos + (avgperiod-period)**2 #add up squared diffs ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[38]: for pkt in range(1,N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[39]: period = met[pkt]-met[pkt-1] #Period ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[40]: sos = sos + (avgperiod-period)**2 #add up squared diffs ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[38]: for pkt in range(1,N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[39]: period = met[pkt]-met[pkt-1] #Period ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[40]: sos = sos + (avgperiod-period)**2 #add up squared diffs ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[38]: for pkt in range(1,N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[41]: stddev = sqrt( sos ) / sqrt( N-1 ) #Divide roots to finish ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[42]: if( stddev < .00033 ): # 1 msec (3 Sigma)? ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[43]: result = 0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[46]: log("%s : Period %10.5f, StdDev %8.5f sec : %s" % (name,avgperiod,stddev,PF[result==0]), color=BROWN, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[47]: return( result ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[73]: errcnt= errcnt + evaltimetags( APID_24F, "APID_24F", packets ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[15]: PF=("FAIL","PASS") ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[16]: met=[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[17]: avgperiod = 0.0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[18]: if( N > 10): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[22]: points=0 #Points in average ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[23]: for pkt in range(N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[25]: met[pkt] = ap.SUBSECONDS/65536.0 + ap.CCSDS_MET ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[26]: log("%s : Packet[ %d ] Time : %15.5f " % (name,pkt,met[pkt])) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[27]: if(pkt>0): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[23]: for pkt in range(N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[25]: met[pkt] = ap.SUBSECONDS/65536.0 + ap.CCSDS_MET ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[26]: log("%s : Packet[ %d ] Time : %15.5f " % (name,pkt,met[pkt])) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[27]: if(pkt>0): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[28]: period = met[pkt]-met[pkt-1] # Get delta time ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[29]: if(period>0): # If Burst2, maybe wrapped ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[30]: avgperiod= avgperiod + period # Normally period>0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[31]: points = points+1 # Count how many ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[23]: for pkt in range(N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[25]: met[pkt] = ap.SUBSECONDS/65536.0 + ap.CCSDS_MET ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[26]: log("%s : Packet[ %d ] Time : %15.5f " % (name,pkt,met[pkt])) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[27]: if(pkt>0): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[28]: period = met[pkt]-met[pkt-1] # Get delta time ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[29]: if(period>0): # If Burst2, maybe wrapped ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[30]: avgperiod= avgperiod + period # Normally period>0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[31]: points = points+1 # Count how many ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[23]: for pkt in range(N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[25]: met[pkt] = ap.SUBSECONDS/65536.0 + ap.CCSDS_MET ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[26]: log("%s : Packet[ %d ] Time : %15.5f " % (name,pkt,met[pkt])) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[27]: if(pkt>0): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[28]: period = met[pkt]-met[pkt-1] # Get delta time ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[29]: if(period>0): # If Burst2, maybe wrapped ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[30]: avgperiod= avgperiod + period # Normally period>0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[31]: points = points+1 # Count how many ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[23]: for pkt in range(N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[25]: met[pkt] = ap.SUBSECONDS/65536.0 + ap.CCSDS_MET ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[26]: log("%s : Packet[ %d ] Time : %15.5f " % (name,pkt,met[pkt])) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[27]: if(pkt>0): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[28]: period = met[pkt]-met[pkt-1] # Get delta time ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[29]: if(period>0): # If Burst2, maybe wrapped ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[30]: avgperiod= avgperiod + period # Normally period>0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[31]: points = points+1 # Count how many ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[23]: for pkt in range(N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[32]: avgperiod = avgperiod/points ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[37]: sos = 0.0 #Sum of Squares ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[38]: for pkt in range(1,N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[39]: period = met[pkt]-met[pkt-1] #Period ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[40]: sos = sos + (avgperiod-period)**2 #add up squared diffs ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[38]: for pkt in range(1,N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[39]: period = met[pkt]-met[pkt-1] #Period ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[40]: sos = sos + (avgperiod-period)**2 #add up squared diffs ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[38]: for pkt in range(1,N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[39]: period = met[pkt]-met[pkt-1] #Period ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[40]: sos = sos + (avgperiod-period)**2 #add up squared diffs ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[38]: for pkt in range(1,N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[39]: period = met[pkt]-met[pkt-1] #Period ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[40]: sos = sos + (avgperiod-period)**2 #add up squared diffs ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[38]: for pkt in range(1,N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[41]: stddev = sqrt( sos ) / sqrt( N-1 ) #Divide roots to finish ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[42]: if( stddev < .00033 ): # 1 msec (3 Sigma)? ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[43]: result = 0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[46]: log("%s : Period %10.5f, StdDev %8.5f sec : %s" % (name,avgperiod,stddev,PF[result==0]), color=BROWN, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[47]: return( result ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[75]: log("3.1 Set up for Burst1 & 2 recording ", color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[76]: SET_TESTVALUE0( 0 ) #CLear TESTVALUE 0 & 1 ../../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_DFB_4.py[77]: 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_DFB_4.py[78]: cmd.EFW_ACTESTLOW( 0 ) #Stop ACTEST line if enabled ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[79]: cmd.EFW_ACTESTHIGH( 0,0,0 ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[80]: cmd.EFW_CLEAR() #Clear Errors ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[81]: cmd.EFW_EVTMAX( 1 ) #Event packets have 1/packet ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[82]: cmd.EFW_WRITELEDS( 0 ) #Clear LEDS display ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[83]: cmd.EFW_SSR_OPTIONS( 0,0,0,0 ) #Disable B1/B2 record & play ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[84]: cmd.EFW_TABLE( 9, 0 ) #Load SSR Control Table ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[85]: cmd.EFW_LOAD( 7 ) #Burst1 Trigger = TEST1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[86]: cmd.EFW_LOAD( 7 ) #Burst2 Trigger = TEST1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[87]: cmd.EFW_LOAD( 8 ) #Burst2 N ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[88]: cmd.EFW_LOAD( 0xc0 ) #Search Percent = 3/4th ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[89]: cmd.EFW_LOAD( 0x80 ) #BSIZE = 678 (0x280) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[90]: cmd.EFW_LOAD( 0x02 ) # ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[92]: log("3.2 Checking Flash write pointer valid", color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[93]: wait(APID_263, lambda: True, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[93]: wait(APID_263, lambda: True, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[94]: if(APID_263.B1_RECPTR == 0): #If on a real ETU, wear level. ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[95]: startscript('SET_FLASHMOD') # Sets Flash Write Pointer ../../GSEOS_scripts\SET_FLASHMOD.py[3]: """ ../../GSEOS_scripts\SET_FLASHMOD.py[5]: from efw import * ../../GSEOS_scripts\SET_FLASHMOD.py[6]: import time ../../GSEOS_scripts\SET_FLASHMOD.py[8]: def set_flash_recptr(addr): ../../GSEOS_scripts\SET_FLASHMOD.py[17]: def module_to_addr(module): ../../GSEOS_scripts\SET_FLASHMOD.py[29]: def main(module=None): ../../GSEOS_scripts\SET_FLASHMOD.py[3]: """ ../../GSEOS_scripts\SET_FLASHMOD.py[5]: from efw import * ../../GSEOS_scripts\SET_FLASHMOD.py[6]: import time ../../GSEOS_scripts\SET_FLASHMOD.py[8]: def set_flash_recptr(addr): ../../GSEOS_scripts\SET_FLASHMOD.py[17]: def module_to_addr(module): ../../GSEOS_scripts\SET_FLASHMOD.py[29]: def main(module=None): ../../GSEOS_scripts\SET_FLASHMOD.py[35]: if(module == None): ../../GSEOS_scripts\SET_FLASHMOD.py[38]: days_since_1970 = int(time.time() / 86400) ../../GSEOS_scripts\SET_FLASHMOD.py[39]: module = days_since_1970 % 64 ../../GSEOS_scripts\SET_FLASHMOD.py[40]: log("Calculated %d days since 1970 corresponds to module %d" % (days_since_1970, module)) ../../GSEOS_scripts\SET_FLASHMOD.py[44]: addr = module_to_addr(module) ../../GSEOS_scripts\SET_FLASHMOD.py[18]: if(module != 0): ../../GSEOS_scripts\SET_FLASHMOD.py[20]: if(0 <= module <= 63): ../../GSEOS_scripts\SET_FLASHMOD.py[21]: addr = 4096 * module ../../GSEOS_scripts\SET_FLASHMOD.py[27]: return(addr) ../../GSEOS_scripts\SET_FLASHMOD.py[45]: log("Setting flash pointer to 0x%06x (module %d)" % (addr, module)) ../../GSEOS_scripts\SET_FLASHMOD.py[46]: set_flash_recptr(addr) ../../GSEOS_scripts\SET_FLASHMOD.py[10]: addrL = addr & 0xff ../../GSEOS_scripts\SET_FLASHMOD.py[11]: addrH = (addr >> 8) & 0xff ../../GSEOS_scripts\SET_FLASHMOD.py[12]: addrE = (addr >> 16) & 0xff ../../GSEOS_scripts\SET_FLASHMOD.py[13]: cmd.efw_b1_setrecptrl(addrL) ../../GSEOS_scripts\SET_FLASHMOD.py[14]: cmd.efw_b1_setrecptrh(addrH) ../../GSEOS_scripts\SET_FLASHMOD.py[15]: cmd.efw_b1_setrecptre(addrE) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[96]: wait(APID_263, lambda: True, flTimeout=10) # Get another packet ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[93]: wait(APID_263, lambda: True, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[97]: flash_wrt_start = APID_263.B1_RECPTR ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[99]: log("3.3 Boosting Telemetry Limit to 60 kbps", color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[100]: cmd.EFW_TMKBPS( 60 ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[101]: sleep(1) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[103]: log("3.4 Enabling Burst1 & 2 recording", color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[104]: cmd.EFW_SSR_CONFIG() #Clear all the Burst2s ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[105]: sleep(2) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[106]: cmd.EFW_SSR_ENABLE(OPTION=0) #Enable B1 Recording ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[107]: cmd.EFW_SSR_ENABLE(OPTION=2) #Enable B2 Recording ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[109]: log("3.5 Awaiting Flash Record Pointer Movement", color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[110]: try: ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[111]: wait(APID_263, lambda: APID_263.B1_RECPTR > flash_wrt_start, flTimeout=30) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[111]: wait(APID_263, lambda: APID_263.B1_RECPTR > flash_wrt_start, flTimeout=30) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[116]: flash_wrt_start = APID_263.B1_RECPTR ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[117]: log("Flash Started at 0x%06x" % flash_wrt_start ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[118]: fwblks = 2 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[119]: flash_wrt_target = flash_wrt_start+fwblks ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[121]: log("3.5 Triggering Burst2 ", color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[122]: SET_TESTVALUE1( 170 ) #Trigger B2 @ 0xAA ../../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_DFB_4.py[123]: sleep(1) #Delay for reaction ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[124]: SET_TESTVALUE1( 0 ) #Untrigger ../../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_DFB_4.py[125]: wait(APID_263, lambda: APID_263.B1_RECPTR >= flash_wrt_target, flTimeout=30) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[125]: wait(APID_263, lambda: APID_263.B1_RECPTR >= flash_wrt_target, flTimeout=30) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[125]: wait(APID_263, lambda: APID_263.B1_RECPTR >= flash_wrt_target, flTimeout=30) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[125]: wait(APID_263, lambda: APID_263.B1_RECPTR >= flash_wrt_target, flTimeout=30) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[125]: wait(APID_263, lambda: APID_263.B1_RECPTR >= flash_wrt_target, flTimeout=30) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[125]: wait(APID_263, lambda: APID_263.B1_RECPTR >= flash_wrt_target, flTimeout=30) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[125]: wait(APID_263, lambda: APID_263.B1_RECPTR >= flash_wrt_target, flTimeout=30) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[125]: wait(APID_263, lambda: APID_263.B1_RECPTR >= flash_wrt_target, flTimeout=30) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[125]: wait(APID_263, lambda: APID_263.B1_RECPTR >= flash_wrt_target, flTimeout=30) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[125]: wait(APID_263, lambda: APID_263.B1_RECPTR >= flash_wrt_target, flTimeout=30) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[125]: wait(APID_263, lambda: APID_263.B1_RECPTR >= flash_wrt_target, flTimeout=30) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[125]: wait(APID_263, lambda: APID_263.B1_RECPTR >= flash_wrt_target, flTimeout=30) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[125]: wait(APID_263, lambda: APID_263.B1_RECPTR >= flash_wrt_target, flTimeout=30) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[125]: wait(APID_263, lambda: APID_263.B1_RECPTR >= flash_wrt_target, flTimeout=30) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[127]: log("3.6 Stopping Recordings ", color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[128]: cmd.EFW_SSR_OPTIONS( 0,0,0,0) #Disable Recording ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[129]: wait(APID_263, lambda: True, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[93]: wait(APID_263, lambda: True, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[130]: flash_wrt_end = APID_263.B1_RECPTR ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[131]: log("Flash Ended at 0x%06x" % flash_wrt_end ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[133]: log("4.1 Playing Burst1 Packets ", color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[134]: SET_B1PLAYBACK( flash_wrt_start, fwblks ) #Play Burst1 a no. of blocks ../../GSEOS_scripts\util.py[47]: cmd.EFW_B1_SETPLAYPTRL( block & 0xff ) ../../GSEOS_scripts\util.py[48]: cmd.EFW_B1_SETPLAYPTRH((block >> 8 )& 0xff ) ../../GSEOS_scripts\util.py[49]: cmd.EFW_B1_SETPLAYPTRE((block >> 16)& 0xff ) ../../GSEOS_scripts\util.py[50]: cmd.EFW_B1_SETPLAYCTRL( leng & 0xff ) ../../GSEOS_scripts\util.py[51]: cmd.EFW_B1_SETPLAYCTRH((leng >> 8 )& 0xff ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[135]: wait(APID_263, lambda: APID_263.B1_PLAYCTR > 0, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[135]: wait(APID_263, lambda: APID_263.B1_PLAYCTR > 0, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[135]: wait(APID_263, lambda: APID_263.B1_PLAYCTR > 0, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[135]: wait(APID_263, lambda: APID_263.B1_PLAYCTR > 0, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[136]: cmd.EFW_SSR_ENABLE(OPTION=1) #Enable Burst1 Playback ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[138]: log("4.2 Checking Burst1 Packets", color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[139]: errcnt= errcnt + evaltimetags( APID_246, "APID_246", packets ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[15]: PF=("FAIL","PASS") ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[16]: met=[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[17]: avgperiod = 0.0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[18]: if( N > 10): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[22]: points=0 #Points in average ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[23]: for pkt in range(N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[25]: met[pkt] = ap.SUBSECONDS/65536.0 + ap.CCSDS_MET ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[26]: log("%s : Packet[ %d ] Time : %15.5f " % (name,pkt,met[pkt])) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[27]: if(pkt>0): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[23]: for pkt in range(N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[25]: met[pkt] = ap.SUBSECONDS/65536.0 + ap.CCSDS_MET ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[26]: log("%s : Packet[ %d ] Time : %15.5f " % (name,pkt,met[pkt])) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[27]: if(pkt>0): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[28]: period = met[pkt]-met[pkt-1] # Get delta time ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[29]: if(period>0): # If Burst2, maybe wrapped ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[30]: avgperiod= avgperiod + period # Normally period>0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[31]: points = points+1 # Count how many ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[23]: for pkt in range(N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[25]: met[pkt] = ap.SUBSECONDS/65536.0 + ap.CCSDS_MET ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[26]: log("%s : Packet[ %d ] Time : %15.5f " % (name,pkt,met[pkt])) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[27]: if(pkt>0): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[28]: period = met[pkt]-met[pkt-1] # Get delta time ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[29]: if(period>0): # If Burst2, maybe wrapped ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[30]: avgperiod= avgperiod + period # Normally period>0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[31]: points = points+1 # Count how many ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[23]: for pkt in range(N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[25]: met[pkt] = ap.SUBSECONDS/65536.0 + ap.CCSDS_MET ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[26]: log("%s : Packet[ %d ] Time : %15.5f " % (name,pkt,met[pkt])) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[27]: if(pkt>0): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[28]: period = met[pkt]-met[pkt-1] # Get delta time ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[29]: if(period>0): # If Burst2, maybe wrapped ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[30]: avgperiod= avgperiod + period # Normally period>0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[31]: points = points+1 # Count how many ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[23]: for pkt in range(N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[25]: met[pkt] = ap.SUBSECONDS/65536.0 + ap.CCSDS_MET ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[26]: log("%s : Packet[ %d ] Time : %15.5f " % (name,pkt,met[pkt])) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[27]: if(pkt>0): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[28]: period = met[pkt]-met[pkt-1] # Get delta time ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[29]: if(period>0): # If Burst2, maybe wrapped ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[30]: avgperiod= avgperiod + period # Normally period>0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[31]: points = points+1 # Count how many ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[23]: for pkt in range(N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[32]: avgperiod = avgperiod/points ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[37]: sos = 0.0 #Sum of Squares ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[38]: for pkt in range(1,N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[39]: period = met[pkt]-met[pkt-1] #Period ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[40]: sos = sos + (avgperiod-period)**2 #add up squared diffs ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[38]: for pkt in range(1,N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[39]: period = met[pkt]-met[pkt-1] #Period ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[40]: sos = sos + (avgperiod-period)**2 #add up squared diffs ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[38]: for pkt in range(1,N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[39]: period = met[pkt]-met[pkt-1] #Period ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[40]: sos = sos + (avgperiod-period)**2 #add up squared diffs ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[38]: for pkt in range(1,N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[39]: period = met[pkt]-met[pkt-1] #Period ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[40]: sos = sos + (avgperiod-period)**2 #add up squared diffs ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[38]: for pkt in range(1,N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[41]: stddev = sqrt( sos ) / sqrt( N-1 ) #Divide roots to finish ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[42]: if( stddev < .00033 ): # 1 msec (3 Sigma)? ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[43]: result = 0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[46]: log("%s : Period %10.5f, StdDev %8.5f sec : %s" % (name,avgperiod,stddev,PF[result==0]), color=BROWN, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[47]: return( result ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[140]: errcnt= errcnt + evaltimetags( APID_247, "APID_247", packets ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[15]: PF=("FAIL","PASS") ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[16]: met=[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[17]: avgperiod = 0.0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[18]: if( N > 10): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[22]: points=0 #Points in average ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[23]: for pkt in range(N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[25]: met[pkt] = ap.SUBSECONDS/65536.0 + ap.CCSDS_MET ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[26]: log("%s : Packet[ %d ] Time : %15.5f " % (name,pkt,met[pkt])) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[27]: if(pkt>0): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[23]: for pkt in range(N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[25]: met[pkt] = ap.SUBSECONDS/65536.0 + ap.CCSDS_MET ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[26]: log("%s : Packet[ %d ] Time : %15.5f " % (name,pkt,met[pkt])) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[27]: if(pkt>0): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[28]: period = met[pkt]-met[pkt-1] # Get delta time ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[29]: if(period>0): # If Burst2, maybe wrapped ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[30]: avgperiod= avgperiod + period # Normally period>0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[31]: points = points+1 # Count how many ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[23]: for pkt in range(N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[25]: met[pkt] = ap.SUBSECONDS/65536.0 + ap.CCSDS_MET ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[26]: log("%s : Packet[ %d ] Time : %15.5f " % (name,pkt,met[pkt])) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[27]: if(pkt>0): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[28]: period = met[pkt]-met[pkt-1] # Get delta time ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[29]: if(period>0): # If Burst2, maybe wrapped ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[30]: avgperiod= avgperiod + period # Normally period>0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[31]: points = points+1 # Count how many ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[23]: for pkt in range(N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[25]: met[pkt] = ap.SUBSECONDS/65536.0 + ap.CCSDS_MET ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[26]: log("%s : Packet[ %d ] Time : %15.5f " % (name,pkt,met[pkt])) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[27]: if(pkt>0): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[28]: period = met[pkt]-met[pkt-1] # Get delta time ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[29]: if(period>0): # If Burst2, maybe wrapped ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[30]: avgperiod= avgperiod + period # Normally period>0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[31]: points = points+1 # Count how many ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[23]: for pkt in range(N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[25]: met[pkt] = ap.SUBSECONDS/65536.0 + ap.CCSDS_MET ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[26]: log("%s : Packet[ %d ] Time : %15.5f " % (name,pkt,met[pkt])) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[27]: if(pkt>0): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[28]: period = met[pkt]-met[pkt-1] # Get delta time ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[29]: if(period>0): # If Burst2, maybe wrapped ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[30]: avgperiod= avgperiod + period # Normally period>0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[31]: points = points+1 # Count how many ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[23]: for pkt in range(N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[32]: avgperiod = avgperiod/points ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[37]: sos = 0.0 #Sum of Squares ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[38]: for pkt in range(1,N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[39]: period = met[pkt]-met[pkt-1] #Period ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[40]: sos = sos + (avgperiod-period)**2 #add up squared diffs ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[38]: for pkt in range(1,N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[39]: period = met[pkt]-met[pkt-1] #Period ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[40]: sos = sos + (avgperiod-period)**2 #add up squared diffs ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[38]: for pkt in range(1,N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[39]: period = met[pkt]-met[pkt-1] #Period ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[40]: sos = sos + (avgperiod-period)**2 #add up squared diffs ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[38]: for pkt in range(1,N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[39]: period = met[pkt]-met[pkt-1] #Period ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[40]: sos = sos + (avgperiod-period)**2 #add up squared diffs ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[38]: for pkt in range(1,N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[41]: stddev = sqrt( sos ) / sqrt( N-1 ) #Divide roots to finish ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[42]: if( stddev < .00033 ): # 1 msec (3 Sigma)? ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[43]: result = 0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[46]: log("%s : Period %10.5f, StdDev %8.5f sec : %s" % (name,avgperiod,stddev,PF[result==0]), color=BROWN, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[47]: return( result ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[141]: errcnt= errcnt + evaltimetags( APID_248, "APID_248", packets ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[15]: PF=("FAIL","PASS") ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[16]: met=[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[17]: avgperiod = 0.0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[18]: if( N > 10): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[22]: points=0 #Points in average ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[23]: for pkt in range(N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[25]: met[pkt] = ap.SUBSECONDS/65536.0 + ap.CCSDS_MET ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[26]: log("%s : Packet[ %d ] Time : %15.5f " % (name,pkt,met[pkt])) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[27]: if(pkt>0): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[23]: for pkt in range(N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[25]: met[pkt] = ap.SUBSECONDS/65536.0 + ap.CCSDS_MET ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[26]: log("%s : Packet[ %d ] Time : %15.5f " % (name,pkt,met[pkt])) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[27]: if(pkt>0): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[28]: period = met[pkt]-met[pkt-1] # Get delta time ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[29]: if(period>0): # If Burst2, maybe wrapped ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[30]: avgperiod= avgperiod + period # Normally period>0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[31]: points = points+1 # Count how many ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[23]: for pkt in range(N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[25]: met[pkt] = ap.SUBSECONDS/65536.0 + ap.CCSDS_MET ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[26]: log("%s : Packet[ %d ] Time : %15.5f " % (name,pkt,met[pkt])) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[27]: if(pkt>0): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[28]: period = met[pkt]-met[pkt-1] # Get delta time ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[29]: if(period>0): # If Burst2, maybe wrapped ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[30]: avgperiod= avgperiod + period # Normally period>0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[31]: points = points+1 # Count how many ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[23]: for pkt in range(N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[25]: met[pkt] = ap.SUBSECONDS/65536.0 + ap.CCSDS_MET ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[26]: log("%s : Packet[ %d ] Time : %15.5f " % (name,pkt,met[pkt])) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[27]: if(pkt>0): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[28]: period = met[pkt]-met[pkt-1] # Get delta time ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[29]: if(period>0): # If Burst2, maybe wrapped ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[30]: avgperiod= avgperiod + period # Normally period>0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[31]: points = points+1 # Count how many ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[23]: for pkt in range(N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[25]: met[pkt] = ap.SUBSECONDS/65536.0 + ap.CCSDS_MET ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[26]: log("%s : Packet[ %d ] Time : %15.5f " % (name,pkt,met[pkt])) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[27]: if(pkt>0): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[28]: period = met[pkt]-met[pkt-1] # Get delta time ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[29]: if(period>0): # If Burst2, maybe wrapped ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[30]: avgperiod= avgperiod + period # Normally period>0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[31]: points = points+1 # Count how many ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[23]: for pkt in range(N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[32]: avgperiod = avgperiod/points ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[37]: sos = 0.0 #Sum of Squares ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[38]: for pkt in range(1,N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[39]: period = met[pkt]-met[pkt-1] #Period ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[40]: sos = sos + (avgperiod-period)**2 #add up squared diffs ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[38]: for pkt in range(1,N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[39]: period = met[pkt]-met[pkt-1] #Period ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[40]: sos = sos + (avgperiod-period)**2 #add up squared diffs ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[38]: for pkt in range(1,N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[39]: period = met[pkt]-met[pkt-1] #Period ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[40]: sos = sos + (avgperiod-period)**2 #add up squared diffs ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[38]: for pkt in range(1,N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[39]: period = met[pkt]-met[pkt-1] #Period ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[40]: sos = sos + (avgperiod-period)**2 #add up squared diffs ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[38]: for pkt in range(1,N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[41]: stddev = sqrt( sos ) / sqrt( N-1 ) #Divide roots to finish ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[42]: if( stddev < .00033 ): # 1 msec (3 Sigma)? ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[43]: result = 0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[46]: log("%s : Period %10.5f, StdDev %8.5f sec : %s" % (name,avgperiod,stddev,PF[result==0]), color=BROWN, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[47]: return( result ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[142]: wait(APID_263, lambda: APID_263.B1_PLAYCTR == 0, flTimeout=60) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[142]: wait(APID_263, lambda: APID_263.B1_PLAYCTR == 0, flTimeout=60) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[143]: wait(APID_267, lambda: APID_267.B1R_OUTPTR == 0, flTimeout=180) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[143]: wait(APID_267, lambda: APID_267.B1R_OUTPTR == 0, flTimeout=180) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[143]: wait(APID_267, lambda: APID_267.B1R_OUTPTR == 0, flTimeout=180) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[143]: wait(APID_267, lambda: APID_267.B1R_OUTPTR == 0, flTimeout=180) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[143]: wait(APID_267, lambda: APID_267.B1R_OUTPTR == 0, flTimeout=180) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[143]: wait(APID_267, lambda: APID_267.B1R_OUTPTR == 0, flTimeout=180) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[143]: wait(APID_267, lambda: APID_267.B1R_OUTPTR == 0, flTimeout=180) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[143]: wait(APID_267, lambda: APID_267.B1R_OUTPTR == 0, flTimeout=180) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[143]: wait(APID_267, lambda: APID_267.B1R_OUTPTR == 0, flTimeout=180) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[143]: wait(APID_267, lambda: APID_267.B1R_OUTPTR == 0, flTimeout=180) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[143]: wait(APID_267, lambda: APID_267.B1R_OUTPTR == 0, flTimeout=180) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[143]: wait(APID_267, lambda: APID_267.B1R_OUTPTR == 0, flTimeout=180) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[143]: wait(APID_267, lambda: APID_267.B1R_OUTPTR == 0, flTimeout=180) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[143]: wait(APID_267, lambda: APID_267.B1R_OUTPTR == 0, flTimeout=180) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[143]: wait(APID_267, lambda: APID_267.B1R_OUTPTR == 0, flTimeout=180) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[143]: wait(APID_267, lambda: APID_267.B1R_OUTPTR == 0, flTimeout=180) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[143]: wait(APID_267, lambda: APID_267.B1R_OUTPTR == 0, flTimeout=180) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[143]: wait(APID_267, lambda: APID_267.B1R_OUTPTR == 0, flTimeout=180) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[143]: wait(APID_267, lambda: APID_267.B1R_OUTPTR == 0, flTimeout=180) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[143]: wait(APID_267, lambda: APID_267.B1R_OUTPTR == 0, flTimeout=180) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[143]: wait(APID_267, lambda: APID_267.B1R_OUTPTR == 0, flTimeout=180) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[143]: wait(APID_267, lambda: APID_267.B1R_OUTPTR == 0, flTimeout=180) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[145]: log("5.1 Playing Burst2 (10-12 mins)", color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[146]: cmd.EFW_SSR_ENABLE(OPTION=3) #Enable Burst2 Playback ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[148]: log("5.2 Checking Burst2 Packets", color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[149]: errcnt= errcnt + evaltimetags( APID_249, "APID_249", packets ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[15]: PF=("FAIL","PASS") ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[16]: met=[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[17]: avgperiod = 0.0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[18]: if( N > 10): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[22]: points=0 #Points in average ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[23]: for pkt in range(N): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_4.py[24]: wait( ap, lambda: True, flTimeout=300) ../../GSEOS_scripts\util.py[210]: except: ../../GSEOS_scripts\util.py[211]: return(1) ../../GSEOS_scripts/FSW_scripts\TEST_DFB.py[36]: errcnt += tryscript("TEST_DFB_5") ../../GSEOS_scripts\util.py[208]: try: ../../GSEOS_scripts\util.py[209]: pf = startscript( script ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[42]: """ ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[44]: from efw import * ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[45]: from util import * ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[46]: from __main__ import * # required for access to APID_nnn telemetry blocks ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[48]: def test_rt_periods(): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[97]: def test_b1_periods(): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[125]: def test_b2_periods(): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[154]: def main(): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[42]: """ ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[44]: from efw import * ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[45]: from util import * ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[46]: from __main__ import * # required for access to APID_nnn telemetry blocks ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[48]: def test_rt_periods(): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[97]: def test_b1_periods(): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[125]: def test_b2_periods(): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[154]: def main(): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[155]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[156]: log('TEST_DFB_5 : Collecting/Transmitting Dta', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[157]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[158]: log('1. Initializing ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[159]: PF=("FAIL","PASS") ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[161]: SET_TESTVALUE0( 0 ) #CLear TESTVALUE 0 & 1 ../../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_DFB_5.py[162]: 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_DFB_5.py[163]: cmd.EFW_CLEAR() #Clear Errors ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[164]: cmd.EFW_SSR_OPTIONS( 0,0,0,0 ) #Disable B1/B2 record & play ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[166]: test_rt_periods() #1. Real-Time ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[49]: PF=("FAIL","PASS") ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[50]: log("1.0 Verifying Real Time Sampling Rates", color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[51]: log("1.1 Set up RT to include MAG(APID245)", color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[52]: cmd.EFW_SSR_ROUTE(SEGMENT=1, APID=5) #Route 245 to RT ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[54]: log("1.2 Verify Periods of APID 241,3,4,5,E,F", color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[55]: wait(APID_241, lambda: True, flTimeout=16) #Filter Bank every 8 secs ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[55]: wait(APID_241, lambda: True, flTimeout=16) #Filter Bank every 8 secs ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[56]: pkt1= APID_241.CCSDS_MET ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[57]: wait(APID_241, lambda: True, flTimeout=16) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[55]: wait(APID_241, lambda: True, flTimeout=16) #Filter Bank every 8 secs ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[58]: period = APID_241.CCSDS_MET - pkt1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[59]: s241= PF[period==8] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[60]: log(" APID 241 Period [ 8secs] = %2d secs : %s" %(period,s241), color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[62]: wait(APID_243, lambda: True, flTimeout=32) #Packet every 8 secs ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[55]: wait(APID_241, lambda: True, flTimeout=16) #Filter Bank every 8 secs ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[63]: pkt1= APID_243.CCSDS_MET ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[64]: wait(APID_243, lambda: True, flTimeout=32) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[55]: wait(APID_241, lambda: True, flTimeout=16) #Filter Bank every 8 secs ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[65]: period = APID_243.CCSDS_MET - pkt1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[66]: s243= PF[period==16] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[67]: log(" APID 243 Period [16secs] = %2d secs : %s" %(period,s243), color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[69]: wait(APID_244, lambda: True, flTimeout=32) #Packet every 8 secs ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[55]: wait(APID_241, lambda: True, flTimeout=16) #Filter Bank every 8 secs ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[70]: pkt1= APID_244.CCSDS_MET ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[71]: wait(APID_244, lambda: True, flTimeout=32) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[55]: wait(APID_241, lambda: True, flTimeout=16) #Filter Bank every 8 secs ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[72]: period = APID_244.CCSDS_MET - pkt1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[73]: s244= PF[period==8] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[74]: log(" APID 244 Period [ 8secs] = %2d secs : %s" %(period,s244), color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[76]: wait(APID_245, lambda: True, flTimeout=32) #Packet every 8 secs ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[55]: wait(APID_241, lambda: True, flTimeout=16) #Filter Bank every 8 secs ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[77]: pkt1= APID_245.CCSDS_MET ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[78]: wait(APID_245, lambda: True, flTimeout=32) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[55]: wait(APID_241, lambda: True, flTimeout=16) #Filter Bank every 8 secs ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[79]: period = APID_245.CCSDS_MET - pkt1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[80]: s245= PF[period==16] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[81]: log(" APID 245 Period [16secs] = %2d secs : %s" %(period,s245), color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[83]: wait(APID_24E, lambda: True, flTimeout=64) #Packet every 16 secs ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[55]: wait(APID_241, lambda: True, flTimeout=16) #Filter Bank every 8 secs ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[84]: pkt1= APID_24E.CCSDS_MET ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[85]: wait(APID_24E, lambda: True, flTimeout=64) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[55]: wait(APID_241, lambda: True, flTimeout=16) #Filter Bank every 8 secs ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[86]: period = APID_24E.CCSDS_MET - pkt1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[87]: s24E= PF[period==16] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[88]: log(" APID 24E Period [16secs] = %2d secs : %s" %(period,s24E), color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[90]: wait(APID_24F, lambda: True, flTimeout=64) #Packet every 4 secs ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[55]: wait(APID_241, lambda: True, flTimeout=16) #Filter Bank every 8 secs ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[91]: pkt1= APID_24F.CCSDS_MET ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[92]: wait(APID_24F, lambda: True, flTimeout=64) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[55]: wait(APID_241, lambda: True, flTimeout=16) #Filter Bank every 8 secs ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[93]: period = APID_24F.CCSDS_MET - pkt1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[94]: s24F= PF[period==4] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[95]: log(" APID 24F Period [ 4secs] = %2d secs : %s" %(period,s24F), color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[168]: log("2.0 Verifying Burst Datasets", color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[170]: log("2.1 Checking Flash write pointer valid", color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[171]: wait(APID_263, lambda: True, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[171]: wait(APID_263, lambda: True, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[172]: if(APID_263.B1_RECPTR == 0): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[175]: flash_wrt_start = APID_263.B1_RECPTR ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[177]: log("2.2 Boosting Telemetry Limit to 60 kbps", color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[178]: cmd.EFW_TMKBPS( 60 ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[179]: sleep(1) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[181]: log("2.3 Enabling Burst1 & 2 recording", color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[182]: cmd.EFW_SSR_CONFIG() #Clear all the Burst2s ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[183]: sleep(2) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[184]: cmd.EFW_SSR_ENABLE(OPTION=0) #Enable B1 Recording ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[185]: cmd.EFW_SSR_ENABLE(OPTION=2) #Enable B2 Recording ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[187]: log("2.4 Awaiting Flash Record Pointer Movement", color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[188]: try: ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[189]: wait(APID_263, lambda: APID_263.B1_RECPTR > flash_wrt_start, flTimeout=30) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[189]: wait(APID_263, lambda: APID_263.B1_RECPTR > flash_wrt_start, flTimeout=30) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[189]: wait(APID_263, lambda: APID_263.B1_RECPTR > flash_wrt_start, flTimeout=30) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[189]: wait(APID_263, lambda: APID_263.B1_RECPTR > flash_wrt_start, flTimeout=30) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[189]: wait(APID_263, lambda: APID_263.B1_RECPTR > flash_wrt_start, flTimeout=30) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[189]: wait(APID_263, lambda: APID_263.B1_RECPTR > flash_wrt_start, flTimeout=30) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[189]: wait(APID_263, lambda: APID_263.B1_RECPTR > flash_wrt_start, flTimeout=30) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[189]: wait(APID_263, lambda: APID_263.B1_RECPTR > flash_wrt_start, flTimeout=30) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[189]: wait(APID_263, lambda: APID_263.B1_RECPTR > flash_wrt_start, flTimeout=30) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[189]: wait(APID_263, lambda: APID_263.B1_RECPTR > flash_wrt_start, flTimeout=30) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[189]: wait(APID_263, lambda: APID_263.B1_RECPTR > flash_wrt_start, flTimeout=30) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[194]: flash_wrt_start = APID_263.B1_RECPTR ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[195]: log("Flash Started at 0x%06x" % flash_wrt_start, color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[196]: fwblks = 2 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[197]: flash_wrt_target = flash_wrt_start+fwblks ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[199]: log("2.5 Triggering Burst2 ", color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[200]: SET_TESTVALUE1( 170 ) #Trigger B2 @ 0xAA ../../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_DFB_5.py[201]: sleep(5) #Delay for reaction ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[202]: SET_TESTVALUE1( 0 ) #Untrigger ../../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_DFB_5.py[204]: wait(APID_263, lambda: APID_263.B1_RECPTR >= flash_wrt_target, flTimeout=30) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[204]: wait(APID_263, lambda: APID_263.B1_RECPTR >= flash_wrt_target, flTimeout=30) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[204]: wait(APID_263, lambda: APID_263.B1_RECPTR >= flash_wrt_target, flTimeout=30) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[204]: wait(APID_263, lambda: APID_263.B1_RECPTR >= flash_wrt_target, flTimeout=30) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[204]: wait(APID_263, lambda: APID_263.B1_RECPTR >= flash_wrt_target, flTimeout=30) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[204]: wait(APID_263, lambda: APID_263.B1_RECPTR >= flash_wrt_target, flTimeout=30) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[204]: wait(APID_263, lambda: APID_263.B1_RECPTR >= flash_wrt_target, flTimeout=30) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[206]: log("2.6 Stopping Recordings ", color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[207]: cmd.EFW_SSR_OPTIONS( 0,0,0,0) #Disable Recording ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[208]: wait(APID_263, lambda: True, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[171]: wait(APID_263, lambda: True, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[209]: flash_wrt_end = APID_263.B1_RECPTR ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[210]: log("Flash Ended at 0x%06x" % flash_wrt_end, color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[212]: log("3.0 Setting Pointer to Replay ", color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[213]: SET_B1PLAYBACK( flash_wrt_start, fwblks ) #Play Burst1 a no. of blocks ../../GSEOS_scripts\util.py[47]: cmd.EFW_B1_SETPLAYPTRL( block & 0xff ) ../../GSEOS_scripts\util.py[48]: cmd.EFW_B1_SETPLAYPTRH((block >> 8 )& 0xff ) ../../GSEOS_scripts\util.py[49]: cmd.EFW_B1_SETPLAYPTRE((block >> 16)& 0xff ) ../../GSEOS_scripts\util.py[50]: cmd.EFW_B1_SETPLAYCTRL( leng & 0xff ) ../../GSEOS_scripts\util.py[51]: cmd.EFW_B1_SETPLAYCTRH((leng >> 8 )& 0xff ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[214]: wait(APID_263, lambda: APID_263.B1_PLAYCTR > 0, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[214]: wait(APID_263, lambda: APID_263.B1_PLAYCTR > 0, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[214]: wait(APID_263, lambda: APID_263.B1_PLAYCTR > 0, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[214]: wait(APID_263, lambda: APID_263.B1_PLAYCTR > 0, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[216]: log("3.1 Playing Burst1 (2-3 mins)", color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[217]: cmd.EFW_SSR_ENABLE(OPTION=1) #Enable Burst1 Playback ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[218]: wait(APID_263, lambda: APID_263.B1_PLAYCTR == 0, flTimeout=60) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[218]: wait(APID_263, lambda: APID_263.B1_PLAYCTR == 0, flTimeout=60) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[218]: wait(APID_263, lambda: APID_263.B1_PLAYCTR == 0, flTimeout=60) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[218]: wait(APID_263, lambda: APID_263.B1_PLAYCTR == 0, flTimeout=60) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[218]: wait(APID_263, lambda: APID_263.B1_PLAYCTR == 0, flTimeout=60) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[218]: wait(APID_263, lambda: APID_263.B1_PLAYCTR == 0, flTimeout=60) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[218]: wait(APID_263, lambda: APID_263.B1_PLAYCTR == 0, flTimeout=60) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[218]: wait(APID_263, lambda: APID_263.B1_PLAYCTR == 0, flTimeout=60) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[218]: wait(APID_263, lambda: APID_263.B1_PLAYCTR == 0, flTimeout=60) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[218]: wait(APID_263, lambda: APID_263.B1_PLAYCTR == 0, flTimeout=60) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[218]: wait(APID_263, lambda: APID_263.B1_PLAYCTR == 0, flTimeout=60) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[218]: wait(APID_263, lambda: APID_263.B1_PLAYCTR == 0, flTimeout=60) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[218]: wait(APID_263, lambda: APID_263.B1_PLAYCTR == 0, flTimeout=60) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[218]: wait(APID_263, lambda: APID_263.B1_PLAYCTR == 0, flTimeout=60) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[218]: wait(APID_263, lambda: APID_263.B1_PLAYCTR == 0, flTimeout=60) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[218]: wait(APID_263, lambda: APID_263.B1_PLAYCTR == 0, flTimeout=60) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[218]: wait(APID_263, lambda: APID_263.B1_PLAYCTR == 0, flTimeout=60) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[218]: wait(APID_263, lambda: APID_263.B1_PLAYCTR == 0, flTimeout=60) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[218]: wait(APID_263, lambda: APID_263.B1_PLAYCTR == 0, flTimeout=60) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[218]: wait(APID_263, lambda: APID_263.B1_PLAYCTR == 0, flTimeout=60) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[219]: test_b1_periods() ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[98]: log(" Verify Periods of APIDs 246-248", color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[99]: PF=("FAIL","PASS") ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[101]: wait(APID_246, lambda: True, flTimeout=32) #Packet every 1 sec ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[101]: wait(APID_246, lambda: True, flTimeout=32) #Packet every 1 sec ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[102]: pkt1= APID_246.CCSDS_Data[0]/256.0+APID_246.CCSDS_MET ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[103]: wait(APID_246, lambda: True, flTimeout=32) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[101]: wait(APID_246, lambda: True, flTimeout=32) #Packet every 1 sec ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[104]: pkt2= APID_246.CCSDS_Data[0]/256.0+APID_246.CCSDS_MET ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[105]: period = pkt2 - pkt1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[106]: s246= PF[period<=1.0] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[107]: log(" APID 246 Period [1.0 s] = %5.3f secs : %s" %(period,s246), color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[109]: wait(APID_247, lambda: True, flTimeout=32) #Packet every 1 sec ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[101]: wait(APID_246, lambda: True, flTimeout=32) #Packet every 1 sec ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[110]: pkt1= APID_247.CCSDS_Data[0]/256.0+APID_247.CCSDS_MET ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[111]: wait(APID_247, lambda: True, flTimeout=32) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[101]: wait(APID_246, lambda: True, flTimeout=32) #Packet every 1 sec ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[112]: pkt2= APID_247.CCSDS_Data[0]/256.0+APID_247.CCSDS_MET ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[113]: period = pkt2 - pkt1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[114]: s247= PF[period<=0.5] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[115]: log(" APID 247 Period [0.5 s] = %5.3f secs : %s" %(period,s247), color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[117]: wait(APID_248, lambda: True, flTimeout=32) #Packet every 1 sec ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[101]: wait(APID_246, lambda: True, flTimeout=32) #Packet every 1 sec ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[118]: pkt1= APID_248.CCSDS_Data[0]/256.0+APID_248.CCSDS_MET ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[119]: wait(APID_248, lambda: True, flTimeout=32) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[101]: wait(APID_246, lambda: True, flTimeout=32) #Packet every 1 sec ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[120]: pkt2= APID_248.CCSDS_Data[0]/256.0+APID_248.CCSDS_MET ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[121]: period = pkt2 - pkt1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[122]: s248= PF[period<=1.0] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[123]: log(" APID 248 Period [1.0 s] = %5.3f secs : %s" %(period,s248), color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[220]: wait(APID_267, lambda: APID_267.B1R_OUTPTR == 0, flTimeout=180) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[220]: wait(APID_267, lambda: APID_267.B1R_OUTPTR == 0, flTimeout=180) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[220]: wait(APID_267, lambda: APID_267.B1R_OUTPTR == 0, flTimeout=180) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[220]: wait(APID_267, lambda: APID_267.B1R_OUTPTR == 0, flTimeout=180) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[220]: wait(APID_267, lambda: APID_267.B1R_OUTPTR == 0, flTimeout=180) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[220]: wait(APID_267, lambda: APID_267.B1R_OUTPTR == 0, flTimeout=180) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[220]: wait(APID_267, lambda: APID_267.B1R_OUTPTR == 0, flTimeout=180) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[220]: wait(APID_267, lambda: APID_267.B1R_OUTPTR == 0, flTimeout=180) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[220]: wait(APID_267, lambda: APID_267.B1R_OUTPTR == 0, flTimeout=180) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[220]: wait(APID_267, lambda: APID_267.B1R_OUTPTR == 0, flTimeout=180) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[220]: wait(APID_267, lambda: APID_267.B1R_OUTPTR == 0, flTimeout=180) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[220]: wait(APID_267, lambda: APID_267.B1R_OUTPTR == 0, flTimeout=180) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[220]: wait(APID_267, lambda: APID_267.B1R_OUTPTR == 0, flTimeout=180) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[220]: wait(APID_267, lambda: APID_267.B1R_OUTPTR == 0, flTimeout=180) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[220]: wait(APID_267, lambda: APID_267.B1R_OUTPTR == 0, flTimeout=180) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[220]: wait(APID_267, lambda: APID_267.B1R_OUTPTR == 0, flTimeout=180) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[222]: log("3.2 Playing Burst2 (10-12 mins)", color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[223]: cmd.EFW_SSR_ENABLE(OPTION=3) #Enable Burst2 Playback ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[224]: wait(APID_263, lambda: APID_263.B2PLAYSTATE == 2, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[224]: wait(APID_263, lambda: APID_263.B2PLAYSTATE == 2, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[224]: wait(APID_263, lambda: APID_263.B2PLAYSTATE == 2, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[224]: wait(APID_263, lambda: APID_263.B2PLAYSTATE == 2, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[225]: test_b2_periods() ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[126]: log(" Verify Periods of APIDs 249-24B", color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[127]: PF=("FAIL","PASS") ../../GSEOS_scripts/FSW_scripts\TEST_DFB_5.py[129]: wait(APID_249, lambda: True, flTimeout=32) #Packet every 1 sec ../../GSEOS_scripts\util.py[210]: except: ../../GSEOS_scripts\util.py[211]: return(1) ../../GSEOS_scripts/FSW_scripts\TEST_DFB.py[37]: errcnt += tryscript("TEST_DFB_16") ../../GSEOS_scripts\util.py[208]: try: ../../GSEOS_scripts\util.py[209]: pf = startscript( script ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[8]: """ ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[10]: from efw import * ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[11]: from util import * ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[12]: from __main__ import * # required for access to APID_nnn telemetry blocks ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[14]: def verify_fitpage(): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[45]: def verify_fitbuf( adr, xval ): #Check Value throughout buffer ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[55]: def verify_fitbuf_angles( adr ): #Check Angle=0..255 in buffer ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[67]: def main(): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[8]: """ ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[10]: from efw import * ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[11]: from util import * ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[12]: from __main__ import * # required for access to APID_nnn telemetry blocks ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[14]: def verify_fitpage(): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[45]: def verify_fitbuf( adr, xval ): #Check Value throughout buffer ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[55]: def verify_fitbuf_angles( adr ): #Check Angle=0..255 in buffer ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[67]: def main(): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[68]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[69]: log('DFB_16 - Providing E&B Data to Fit', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[70]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[71]: PF=("FAIL","PASS") ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[73]: log('1.1 Increasing TM Rate, Clear Start ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[74]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[75]: cmd.EFW_FITMODE(1,1,1) #Sampling, E12,Bx ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[76]: 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_DFB_16.py[77]: cmd.EFW_TMDUMPSIZE(128) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[79]: log('1.2 Load & Start the DFB Test Program ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[80]: cmd.EFW_SRMWRTCTL( 0 ) #Disable RAM Protection ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[81]: cmd.EFW_DISARM( 3 ) #Disarm RAM scanning ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[82]: sleep(3) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[83]: startscript("LOAD_TESTDFB") ../../GSEOS_scripts/FSW_scripts\LOAD_TESTDFB.py[6]: """ ../../GSEOS_scripts/FSW_scripts\LOAD_TESTDFB.py[8]: from efw import * ../../GSEOS_scripts/FSW_scripts\LOAD_TESTDFB.py[9]: from UTIL import * ../../GSEOS_scripts/FSW_scripts\LOAD_TESTDFB.py[11]: def main(): ../../GSEOS_scripts/FSW_scripts\LOAD_TESTDFB.py[6]: """ ../../GSEOS_scripts/FSW_scripts\LOAD_TESTDFB.py[8]: from efw import * ../../GSEOS_scripts/FSW_scripts\LOAD_TESTDFB.py[9]: from UTIL import * ../../GSEOS_scripts/FSW_scripts\LOAD_TESTDFB.py[11]: def main(): ../../GSEOS_scripts/FSW_scripts\LOAD_TESTDFB.py[12]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\LOAD_TESTDFB.py[13]: log('LOAD_TESTDFB ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\LOAD_TESTDFB.py[14]: log('========================================', color=BLUE, attr=BOLD )#REM ../../GSEOS_scripts/FSW_scripts\LOAD_TESTDFB.py[15]: cmd.EFW_SRMWRTCTL( 0 ) # Enable Writing to the SRAM ../../GSEOS_scripts/FSW_scripts\LOAD_TESTDFB.py[16]: cmd.EFW_CMDS(COUNT= 8) ../../GSEOS_scripts/FSW_scripts\LOAD_TESTDFB.py[18]: efw.idpu_load("00007000", " aa cd da 70 cd d3 70 c9 00 0c 00 00 00 10 f0 00 00 00 11 01 22 02 33 03 44 04 55 05 66 06 12 0e 11 0b 34 0e 22 0b 56 0e 33 0b db 23 e6 f8 cc 58 70 2a 2d 94 11 00 f8 19 3a 31 94 3f ce 00 32 11 70 cd 65 70 97 21 12 00 cd be 12 2a 0d 70 11 12 70 0e 0c e7 22 0d 70 c9 2a 0d 70 22 f9 dd 21 10 f0 22 0d 70 c9 3a 08 70 b7 c8 fe 01 ca 7a 70 fe 02 ca 8a 70 fe 03 ca 9a 70 c9 2a 3e 91 22 1e 70") ../../GSEOS_scripts/FSW_scripts\LOAD_TESTDFB.py[20]: efw.idpu_load("00007080", " 3a 11 70 32 20 70 32 21 70 c9 3a 11 70 32 1e 70 32 1f 70 2a 3e 91 22 20 70 c9 cd c1 70 2a 0f 70 11 e2 70 19 eb 21 12 70 3a 09 70 df 0e 01 e7 2a 0f 70 23 23 7c fe 03 da bd 70 21 00 00 22 0f 70 c9 3a 11 70 21 0c 70 be c8 77 b7 c0 2a 0a 70 22 0f 70 c9 21 2a 70 22 2f 91 c9 3e 0c 21 10 00 c3 c5 14 00 00 0c 01 18 02 23 03 2f 04 3a 05 45 06 50 07 5a 08 64 09 6c 0a 75 0b 7c 0c 82 0d 88 0e") ../../GSEOS_scripts/FSW_scripts\LOAD_TESTDFB.py[22]: efw.idpu_load("00007100", " 8c 0f 90 10 92 11 94 12 93 13 92 14 8f 15 8b 16 85 17 7d 18 74 19 69 1a 5d 1b 4e 1c 3d 1d 2b 1e 16 1f ff 1f e7 20 cb 21 ae 22 8e 23 6c 24 47 25 1f 26 f5 26 c9 27 99 28 67 29 32 2a fa 2a bf 2b 82 2c 41 2d fd 2d b6 2e 6b 2f 1e 30 cd 30 79 31 21 32 c6 32 67 33 05 34 a0 34 36 35 c9 35 59 36 e5 36 6c 37 f1 37 71 38 ed 38 66 39 da 39 4b 3a b8 3a 20 3b 85 3b e5 3b 42 3c 9a 3c ee 3c 3e 3d") ../../GSEOS_scripts/FSW_scripts\LOAD_TESTDFB.py[24]: efw.idpu_load("00007180", " 8a 3d d1 3d 14 3e 54 3e 8e 3e c5 3e f7 3e 25 3f 4e 3f 73 3f 94 3f b1 3f c9 3f dc 3f ec 3f f7 3f fd 3f 00 40 fd 3f f7 3f ec 3f dc 3f c9 3f b1 3f 94 3f 73 3f 4e 3f 25 3f f7 3e c5 3e 8e 3e 54 3e 14 3e d1 3d 8a 3d 3e 3d ee 3c 9a 3c 42 3c e5 3b 85 3b 20 3b b8 3a 4b 3a da 39 66 39 ed 38 71 38 f1 37 6c 37 e5 36 59 36 c9 35 36 35 a0 34 05 34 67 33 c6 32 21 32 79 31 cd 30 1e 30 6b 2f b6 2e") ../../GSEOS_scripts/FSW_scripts\LOAD_TESTDFB.py[26]: efw.idpu_load("00007200", " fd 2d 41 2d 82 2c bf 2b fa 2a 32 2a 67 29 99 28 c9 27 f5 26 1f 26 47 25 6c 24 8e 23 ae 22 cb 21 e7 20 00 20 16 1f 2b 1e 3d 1d 4e 1c 5d 1b 69 1a 74 19 7d 18 85 17 8b 16 8f 15 92 14 93 13 94 12 92 11 90 10 8c 0f 88 0e 82 0d 7c 0c 75 0b 6c 0a 64 09 5a 08 50 07 45 06 3a 05 2f 04 23 03 18 02 0c 01 00 00 f3 fe e7 fd dc fc d0 fb c5 fa ba f9 af f8 a5 f7 9b f6 93 f5 8a f4 83 f3 7d f2 77 f1") ../../GSEOS_scripts/FSW_scripts\LOAD_TESTDFB.py[28]: efw.idpu_load("00007280", " 73 f0 6f ef 6d ee 6b ed 6c ec 6d eb 70 ea 74 e9 7a e8 82 e7 8b e6 96 e5 a2 e4 b1 e3 c2 e2 d4 e1 e9 e0 00 e0 18 df 34 de 51 dd 71 dc 93 db b8 da e0 d9 0a d9 36 d8 66 d7 98 d6 cd d5 05 d5 40 d4 7d d3 be d2 02 d2 49 d1 94 d0 e1 cf 32 cf 86 ce de cd 39 cd 98 cc fa cb 5f cb c9 ca 36 ca a6 c9 1a c9 93 c8 0e c8 8e c7 12 c7 99 c6 25 c6 b4 c5 47 c5 df c4 7a c4 1a c4 bd c3 65 c3 11 c3 c1 c2") ../../GSEOS_scripts/FSW_scripts\LOAD_TESTDFB.py[30]: efw.idpu_load("00007300", " 75 c2 2e c2 eb c1 ab c1 71 c1 3a c1 08 c1 da c0 b1 c0 8c c0 6b c0 4e c0 36 c0 23 c0 13 c0 08 c0 02 c0 00 c0 02 c0 08 c0 13 c0 23 c0 36 c0 4e c0 6b c0 8c c0 b1 c0 da c0 08 c1 3a c1 71 c1 ab c1 eb c1 2e c2 75 c2 c1 c2 11 c3 65 c3 bd c3 1a c4 7a c4 df c4 47 c5 b4 c5 25 c6 99 c6 12 c7 8e c7 0e c8 93 c8 1a c9 a6 c9 36 ca c9 ca 5f cb fa cb 98 cc 39 cd de cd 86 ce 32 cf e1 cf 94 d0 49 d1") ../../GSEOS_scripts/FSW_scripts\LOAD_TESTDFB.py[32]: efw.idpu_load("00007380", " 02 d2 be d2 7d d3 40 d4 05 d5 cd d5 98 d6 66 d7 36 d8 0a d9 e0 d9 b8 da 93 db 71 dc 51 dd 34 de 18 df ff df e9 e0 d4 e1 c2 e2 b1 e3 a2 e4 96 e5 8b e6 82 e7 7a e8 74 e9 70 ea 6d eb 6c ec 6b ed 6d ee 6f ef 73 f0 77 f1 7d f2 83 f3 8a f4 93 f5 9b f6 a5 f7 af f8 ba f9 c5 fa d0 fb dc fc e7 fd f3 fe") ../../GSEOS_scripts/FSW_scripts\LOAD_TESTDFB.py[34]: verify_cmdcount() ../../GSEOS_scripts\UTIL.py[202]: wait(APID_267, lambda: APID_267.CMDTOT==APID_267.CMDEXP, flTimeout=15) ../../GSEOS_scripts\UTIL.py[202]: wait(APID_267, lambda: APID_267.CMDTOT==APID_267.CMDEXP, flTimeout=15) ../../GSEOS_scripts\UTIL.py[202]: wait(APID_267, lambda: APID_267.CMDTOT==APID_267.CMDEXP, flTimeout=15) ../../GSEOS_scripts\UTIL.py[202]: wait(APID_267, lambda: APID_267.CMDTOT==APID_267.CMDEXP, flTimeout=15) ../../GSEOS_scripts\UTIL.py[202]: wait(APID_267, lambda: APID_267.CMDTOT==APID_267.CMDEXP, flTimeout=15) ../../GSEOS_scripts\UTIL.py[202]: wait(APID_267, lambda: APID_267.CMDTOT==APID_267.CMDEXP, flTimeout=15) ../../GSEOS_scripts\UTIL.py[202]: wait(APID_267, lambda: APID_267.CMDTOT==APID_267.CMDEXP, flTimeout=15) ../../GSEOS_scripts\UTIL.py[202]: wait(APID_267, lambda: APID_267.CMDTOT==APID_267.CMDEXP, flTimeout=15) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[84]: sleep(3) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[85]: cmd.EFW_CMDS(1) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[86]: cmd.EFW_EXEC(0x70) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[87]: wait(APID_267, lambda: APID_267.TESTVALUE==0xf310, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[87]: wait(APID_267, lambda: APID_267.TESTVALUE==0xf310, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[87]: wait(APID_267, lambda: APID_267.TESTVALUE==0xf310, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[87]: wait(APID_267, lambda: APID_267.TESTVALUE==0xf310, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[87]: wait(APID_267, lambda: APID_267.TESTVALUE==0xf310, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[87]: wait(APID_267, lambda: APID_267.TESTVALUE==0xf310, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[87]: wait(APID_267, lambda: APID_267.TESTVALUE==0xf310, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[89]: log('1.3 Waiting for 2 spin periods ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[90]: sleep(2*12) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[92]: log('1.3 Verify Test Pattern in FITPAGE ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[93]: errcnt = verify_fitpage() ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[15]: cmd.EFW_TMDUMPCTR(255) #Turn on Dumping ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[16]: DUMPADR(0x12010) #Look at FIT PAGE ../../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_DFB_16.py[17]: wait(APID_266, lambda: APID_266.DUMPADR==0x12010, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[17]: wait(APID_266, lambda: APID_266.DUMPADR==0x12010, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[17]: wait(APID_266, lambda: APID_266.DUMPADR==0x12010, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[17]: wait(APID_266, lambda: APID_266.DUMPADR==0x12010, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[17]: wait(APID_266, lambda: APID_266.DUMPADR==0x12010, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[17]: wait(APID_266, lambda: APID_266.DUMPADR==0x12010, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[18]: errs=0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[19]: v1= APID_266.Data[0]+APID_266.Data[1]*256 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[20]: v2= APID_266.Data[2]+APID_266.Data[3]*256 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[21]: v3= APID_266.Data[4]+APID_266.Data[5]*256 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[22]: v4= APID_266.Data[6]+APID_266.Data[7]*256 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[23]: v5= APID_266.Data[8]+APID_266.Data[9]*256 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[24]: v6= APID_266.Data[10]+APID_266.Data[11]*256 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[25]: e12s=APID_266.Data[12]+APID_266.Data[13]*256 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[26]: mg1s=APID_266.Data[14]+APID_266.Data[15]*256 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[27]: e34s=APID_266.Data[16]+APID_266.Data[17]*256 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[28]: mg2s=APID_266.Data[18]+APID_266.Data[19]*256 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[29]: e56s=APID_266.Data[20]+APID_266.Data[21]*256 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[30]: mg3s=APID_266.Data[22]+APID_266.Data[23]*256 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[31]: if(v1 != 0x111 ): errs = errs+1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[32]: if(v2 != 0x222 ): errs = errs+1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[33]: if(v3 != 0x333 ): errs = errs+1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[34]: if(v4 != 0x444 ): errs = errs+1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[35]: if(v5 != 0x555 ): errs = errs+1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[36]: if(v6 != 0x666 ): errs = errs+1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[37]: if(e12s != 0xe12 ): errs = errs+1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[38]: if(mg1s != 0xb11 ): errs = errs+1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[39]: if(e34s != 0xe34 ): errs = errs+1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[40]: if(mg2s != 0xb22 ): errs = errs+1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[41]: if(e56s != 0xe56 ): errs = errs+1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[42]: if(mg3s != 0xb33 ): errs = errs+1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[43]: return(errs) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[94]: if( errcnt!=0 ): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[95]: log("FITPAGE is not correct, with %d errors" %errcnt, color=RED, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_16.py[96]: return(-1) ../../GSEOS_scripts\util.py[212]: return(pf) ../../GSEOS_scripts/FSW_scripts\TEST_DFB.py[38]: errcnt += tryscript("TEST_DFB_17") ../../GSEOS_scripts\util.py[208]: try: ../../GSEOS_scripts\util.py[209]: pf = startscript( script ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[11]: """ ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[13]: from efw import * ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[14]: from util import * ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[15]: from __main__ import * # required for access to APID_nnn telemetry blocks ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[17]: def main(): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[11]: """ ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[13]: from efw import * ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[14]: from util import * ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[15]: from __main__ import * # required for access to APID_nnn telemetry blocks ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[17]: def main(): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[18]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[19]: log('DFB_17 - Providing FILTER Data to SCI', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[20]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[21]: PF=("FAIL","PASS") ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[23]: log('1.1 Increasing TM Rate, Clear Start ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[24]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[26]: log('1.2 Load & Start Prog to Move DMA channels', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[27]: cmd.EFW_SRMWRTCTL( 0 ) #Disable RAM Protection ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[28]: cmd.EFW_DISARM( 3 ) #Disarm RAM scanning ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[29]: sleep(3) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[30]: startscript("LOAD_MOVEDFB") ../../GSEOS_scripts/FSW_scripts\LOAD_MOVEDFB.py[6]: """ ../../GSEOS_scripts/FSW_scripts\LOAD_MOVEDFB.py[8]: from efw import * ../../GSEOS_scripts/FSW_scripts\LOAD_MOVEDFB.py[9]: from UTIL import * ../../GSEOS_scripts/FSW_scripts\LOAD_MOVEDFB.py[11]: def main(): ../../GSEOS_scripts/FSW_scripts\LOAD_MOVEDFB.py[6]: """ ../../GSEOS_scripts/FSW_scripts\LOAD_MOVEDFB.py[8]: from efw import * ../../GSEOS_scripts/FSW_scripts\LOAD_MOVEDFB.py[9]: from UTIL import * ../../GSEOS_scripts/FSW_scripts\LOAD_MOVEDFB.py[11]: def main(): ../../GSEOS_scripts/FSW_scripts\LOAD_MOVEDFB.py[12]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\LOAD_MOVEDFB.py[13]: log('LOAD_MOVEDFB ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\LOAD_MOVEDFB.py[14]: log('========================================', color=BLUE, attr=BOLD )#REM ../../GSEOS_scripts/FSW_scripts\LOAD_MOVEDFB.py[15]: cmd.EFW_SRMWRTCTL( 0 ) # Enable Writing to the SRAM ../../GSEOS_scripts/FSW_scripts\LOAD_MOVEDFB.py[16]: cmd.EFW_CMDS(COUNT= 1) ../../GSEOS_scripts/FSW_scripts\LOAD_MOVEDFB.py[18]: efw.idpu_load("00007000", " aa 3e 00 21 13 00 cd c5 14 3e 02 21 14 00 cd c5 14 3e 0c 21 15 00 c3 c5 14") ../../GSEOS_scripts/FSW_scripts\LOAD_MOVEDFB.py[20]: verify_cmdcount() ../../GSEOS_scripts\UTIL.py[202]: wait(APID_267, lambda: APID_267.CMDTOT==APID_267.CMDEXP, flTimeout=15) ../../GSEOS_scripts\UTIL.py[202]: wait(APID_267, lambda: APID_267.CMDTOT==APID_267.CMDEXP, flTimeout=15) ../../GSEOS_scripts\UTIL.py[202]: wait(APID_267, lambda: APID_267.CMDTOT==APID_267.CMDEXP, flTimeout=15) ../../GSEOS_scripts\UTIL.py[202]: wait(APID_267, lambda: APID_267.CMDTOT==APID_267.CMDEXP, flTimeout=15) ../../GSEOS_scripts\UTIL.py[202]: wait(APID_267, lambda: APID_267.CMDTOT==APID_267.CMDEXP, flTimeout=15) ../../GSEOS_scripts\UTIL.py[202]: wait(APID_267, lambda: APID_267.CMDTOT==APID_267.CMDEXP, flTimeout=15) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[31]: sleep(3) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[32]: cmd.EFW_CMDS(1) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[33]: cmd.EFW_EXEC(0x70) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[35]: log('1.2 Clear the SCI TBL area ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[36]: cmd.EFW_TABLE(5,0) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[37]: for i in range(52): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[38]: cmd.EFW_LOAD(0) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[37]: for i in range(52): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[38]: cmd.EFW_LOAD(0) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[37]: for i in range(52): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[38]: cmd.EFW_LOAD(0) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[37]: for i in range(52): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[38]: cmd.EFW_LOAD(0) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[37]: for i in range(52): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[38]: cmd.EFW_LOAD(0) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[37]: for i in range(52): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[38]: cmd.EFW_LOAD(0) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[37]: for i in range(52): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[38]: cmd.EFW_LOAD(0) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[37]: for i in range(52): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[38]: cmd.EFW_LOAD(0) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[37]: for i in range(52): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[38]: cmd.EFW_LOAD(0) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[37]: for i in range(52): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[38]: cmd.EFW_LOAD(0) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[37]: for i in range(52): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[38]: cmd.EFW_LOAD(0) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[37]: for i in range(52): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[38]: cmd.EFW_LOAD(0) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[37]: for i in range(52): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[38]: cmd.EFW_LOAD(0) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[37]: for i in range(52): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[38]: cmd.EFW_LOAD(0) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[37]: for i in range(52): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[38]: cmd.EFW_LOAD(0) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[37]: for i in range(52): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[38]: cmd.EFW_LOAD(0) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[37]: for i in range(52): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[38]: cmd.EFW_LOAD(0) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[37]: for i in range(52): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[38]: cmd.EFW_LOAD(0) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[37]: for i in range(52): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[38]: cmd.EFW_LOAD(0) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[37]: for i in range(52): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[38]: cmd.EFW_LOAD(0) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[37]: for i in range(52): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[38]: cmd.EFW_LOAD(0) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[37]: for i in range(52): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[38]: cmd.EFW_LOAD(0) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[37]: for i in range(52): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[38]: cmd.EFW_LOAD(0) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[37]: for i in range(52): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[38]: cmd.EFW_LOAD(0) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[37]: for i in range(52): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[38]: cmd.EFW_LOAD(0) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[37]: for i in range(52): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[38]: cmd.EFW_LOAD(0) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[37]: for i in range(52): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[38]: cmd.EFW_LOAD(0) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[37]: for i in range(52): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[38]: cmd.EFW_LOAD(0) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[37]: for i in range(52): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[38]: cmd.EFW_LOAD(0) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[37]: for i in range(52): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[38]: cmd.EFW_LOAD(0) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[37]: for i in range(52): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[38]: cmd.EFW_LOAD(0) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[37]: for i in range(52): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[38]: cmd.EFW_LOAD(0) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[37]: for i in range(52): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[38]: cmd.EFW_LOAD(0) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[37]: for i in range(52): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[38]: cmd.EFW_LOAD(0) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[37]: for i in range(52): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[38]: cmd.EFW_LOAD(0) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[37]: for i in range(52): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[38]: cmd.EFW_LOAD(0) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[37]: for i in range(52): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[38]: cmd.EFW_LOAD(0) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[37]: for i in range(52): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[38]: cmd.EFW_LOAD(0) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[37]: for i in range(52): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[38]: cmd.EFW_LOAD(0) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[37]: for i in range(52): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[38]: cmd.EFW_LOAD(0) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[37]: for i in range(52): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[38]: cmd.EFW_LOAD(0) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[37]: for i in range(52): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[38]: cmd.EFW_LOAD(0) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[37]: for i in range(52): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[38]: cmd.EFW_LOAD(0) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[37]: for i in range(52): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[38]: cmd.EFW_LOAD(0) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[37]: for i in range(52): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[38]: cmd.EFW_LOAD(0) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[37]: for i in range(52): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[38]: cmd.EFW_LOAD(0) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[37]: for i in range(52): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[38]: cmd.EFW_LOAD(0) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[37]: for i in range(52): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[38]: cmd.EFW_LOAD(0) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[37]: for i in range(52): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[38]: cmd.EFW_LOAD(0) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[37]: for i in range(52): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[38]: cmd.EFW_LOAD(0) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[37]: for i in range(52): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[38]: cmd.EFW_LOAD(0) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[37]: for i in range(52): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[38]: cmd.EFW_LOAD(0) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[37]: for i in range(52): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[40]: log('1.3 Load Up Filter Test Pattern ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[41]: startscript("LOAD_SCI_TRGDATA") ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[5]: """ ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[7]: from efw import * ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[8]: from UTIL import * ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[10]: def main(): ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[5]: """ ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[7]: from efw import * ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[8]: from UTIL import * ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[10]: def main(): ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[11]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[12]: log('LOADS SIMULATED DATA TO TRIGGER BUFFER ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[13]: log('32 HZ DATA X 13 X 4 BYTES ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[14]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[16]: cmd.EFW_CMDS( 32 ) #Enter number of expected commands ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[18]: efw.idpu_load("00011010", " 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D ") ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[19]: sleep(1) ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[20]: efw.idpu_load("00011044", " 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D ") ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[21]: sleep(1) ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[22]: efw.idpu_load("00011078", " 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D ") ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[23]: sleep(1) ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[24]: efw.idpu_load("000110AC", " 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D ") ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[25]: sleep(1) ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[26]: efw.idpu_load("000110E0", " 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D ") ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[27]: sleep(1) ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[28]: efw.idpu_load("00011114", " 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D ") ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[29]: sleep(1) ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[30]: efw.idpu_load("00011148", " 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D ") ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[31]: sleep(1) ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[32]: efw.idpu_load("0001117C", " 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D ") ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[33]: sleep(1) ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[34]: efw.idpu_load("000111B0", " 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D ") ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[35]: sleep(1) ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[36]: efw.idpu_load("000111E4", " 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D ") ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[37]: sleep(1) ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[38]: efw.idpu_load("00011218", " 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D ") ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[39]: sleep(1) ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[40]: efw.idpu_load("0001124C", " 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D ") ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[41]: sleep(1) ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[42]: efw.idpu_load("00011280", " 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D ") ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[43]: sleep(1) ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[44]: efw.idpu_load("000112B4", " 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D ") ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[45]: sleep(1) ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[46]: efw.idpu_load("000112E8", " 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D ") ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[47]: sleep(1) ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[48]: efw.idpu_load("0001131C", " 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D ") ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[49]: sleep(1) ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[50]: efw.idpu_load("00011350", " 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D ") ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[51]: sleep(1) ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[52]: efw.idpu_load("00011384", " 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D ") ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[53]: sleep(1) ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[54]: efw.idpu_load("000113B8", " 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D ") ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[55]: sleep(1) ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[56]: efw.idpu_load("000113EC", " 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D ") ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[57]: sleep(1) ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[58]: efw.idpu_load("00011420", " 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D ") ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[59]: sleep(1) ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[60]: efw.idpu_load("00011454", " 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D ") ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[61]: sleep(1) ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[62]: efw.idpu_load("00011488", " 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D ") ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[63]: sleep(1) ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[64]: efw.idpu_load("000114BC", " 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D ") ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[65]: sleep(1) ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[66]: efw.idpu_load("000114F0", " 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D ") ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[67]: sleep(1) ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[68]: efw.idpu_load("00011524", " 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D ") ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[69]: sleep(1) ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[70]: efw.idpu_load("00011558", " 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D ") ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[71]: sleep(1) ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[72]: efw.idpu_load("0001158C", " 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D ") ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[73]: sleep(1) ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[74]: efw.idpu_load("000115C0", " 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D ") ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[75]: sleep(1) ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[76]: efw.idpu_load("000115F4", " 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D ") ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[77]: sleep(1) ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[78]: efw.idpu_load("00011628", " 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D ") ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[79]: sleep(1) ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[80]: efw.idpu_load("0001165C", " 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D ") ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[81]: sleep(1) ../../GSEOS_scripts/FSW_scripts\LOAD_SCI_TRGDATA.py[82]: verify_cmdcount() ../../GSEOS_scripts\UTIL.py[202]: wait(APID_267, lambda: APID_267.CMDTOT==APID_267.CMDEXP, flTimeout=15) ../../GSEOS_scripts\UTIL.py[202]: wait(APID_267, lambda: APID_267.CMDTOT==APID_267.CMDEXP, flTimeout=15) ../../GSEOS_scripts\UTIL.py[202]: wait(APID_267, lambda: APID_267.CMDTOT==APID_267.CMDEXP, flTimeout=15) ../../GSEOS_scripts\UTIL.py[202]: wait(APID_267, lambda: APID_267.CMDTOT==APID_267.CMDEXP, flTimeout=15) ../../GSEOS_scripts\UTIL.py[202]: wait(APID_267, lambda: APID_267.CMDTOT==APID_267.CMDEXP, flTimeout=15) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[43]: log('2.1 Verify Filter Data in SCI TBL ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[44]: cmd.EFW_DUMPTABL( 5, 0 ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[45]: cmd.EFW_TMDUMPSIZE(128) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[46]: sleep(10) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[47]: errs=0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[48]: for i in range(13): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[49]: if(APID_266.Data[i+0 ]!= (0x11+i)): errs = errs+1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[50]: if(APID_266.Data[i+13]!= (0x21+i)): errs = errs+1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[51]: if(APID_266.Data[i+26]!= (0x11+i)): errs = errs+1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[52]: if(APID_266.Data[i+39]!= (0x21+i)): errs = errs+1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[48]: for i in range(13): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[49]: if(APID_266.Data[i+0 ]!= (0x11+i)): errs = errs+1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[50]: if(APID_266.Data[i+13]!= (0x21+i)): errs = errs+1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[51]: if(APID_266.Data[i+26]!= (0x11+i)): errs = errs+1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[52]: if(APID_266.Data[i+39]!= (0x21+i)): errs = errs+1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[48]: for i in range(13): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[49]: if(APID_266.Data[i+0 ]!= (0x11+i)): errs = errs+1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[50]: if(APID_266.Data[i+13]!= (0x21+i)): errs = errs+1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[51]: if(APID_266.Data[i+26]!= (0x11+i)): errs = errs+1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[52]: if(APID_266.Data[i+39]!= (0x21+i)): errs = errs+1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[48]: for i in range(13): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[49]: if(APID_266.Data[i+0 ]!= (0x11+i)): errs = errs+1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[50]: if(APID_266.Data[i+13]!= (0x21+i)): errs = errs+1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[51]: if(APID_266.Data[i+26]!= (0x11+i)): errs = errs+1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[52]: if(APID_266.Data[i+39]!= (0x21+i)): errs = errs+1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[48]: for i in range(13): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[49]: if(APID_266.Data[i+0 ]!= (0x11+i)): errs = errs+1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[50]: if(APID_266.Data[i+13]!= (0x21+i)): errs = errs+1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[51]: if(APID_266.Data[i+26]!= (0x11+i)): errs = errs+1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[52]: if(APID_266.Data[i+39]!= (0x21+i)): errs = errs+1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[48]: for i in range(13): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[49]: if(APID_266.Data[i+0 ]!= (0x11+i)): errs = errs+1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[50]: if(APID_266.Data[i+13]!= (0x21+i)): errs = errs+1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[51]: if(APID_266.Data[i+26]!= (0x11+i)): errs = errs+1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[52]: if(APID_266.Data[i+39]!= (0x21+i)): errs = errs+1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[48]: for i in range(13): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[49]: if(APID_266.Data[i+0 ]!= (0x11+i)): errs = errs+1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[50]: if(APID_266.Data[i+13]!= (0x21+i)): errs = errs+1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[51]: if(APID_266.Data[i+26]!= (0x11+i)): errs = errs+1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[52]: if(APID_266.Data[i+39]!= (0x21+i)): errs = errs+1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[48]: for i in range(13): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[49]: if(APID_266.Data[i+0 ]!= (0x11+i)): errs = errs+1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[50]: if(APID_266.Data[i+13]!= (0x21+i)): errs = errs+1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[51]: if(APID_266.Data[i+26]!= (0x11+i)): errs = errs+1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[52]: if(APID_266.Data[i+39]!= (0x21+i)): errs = errs+1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[48]: for i in range(13): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[49]: if(APID_266.Data[i+0 ]!= (0x11+i)): errs = errs+1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[50]: if(APID_266.Data[i+13]!= (0x21+i)): errs = errs+1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[51]: if(APID_266.Data[i+26]!= (0x11+i)): errs = errs+1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[52]: if(APID_266.Data[i+39]!= (0x21+i)): errs = errs+1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[48]: for i in range(13): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[49]: if(APID_266.Data[i+0 ]!= (0x11+i)): errs = errs+1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[50]: if(APID_266.Data[i+13]!= (0x21+i)): errs = errs+1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[51]: if(APID_266.Data[i+26]!= (0x11+i)): errs = errs+1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[52]: if(APID_266.Data[i+39]!= (0x21+i)): errs = errs+1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[48]: for i in range(13): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[49]: if(APID_266.Data[i+0 ]!= (0x11+i)): errs = errs+1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[50]: if(APID_266.Data[i+13]!= (0x21+i)): errs = errs+1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[51]: if(APID_266.Data[i+26]!= (0x11+i)): errs = errs+1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[52]: if(APID_266.Data[i+39]!= (0x21+i)): errs = errs+1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[48]: for i in range(13): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[49]: if(APID_266.Data[i+0 ]!= (0x11+i)): errs = errs+1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[50]: if(APID_266.Data[i+13]!= (0x21+i)): errs = errs+1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[51]: if(APID_266.Data[i+26]!= (0x11+i)): errs = errs+1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[52]: if(APID_266.Data[i+39]!= (0x21+i)): errs = errs+1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[48]: for i in range(13): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[49]: if(APID_266.Data[i+0 ]!= (0x11+i)): errs = errs+1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[50]: if(APID_266.Data[i+13]!= (0x21+i)): errs = errs+1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[51]: if(APID_266.Data[i+26]!= (0x11+i)): errs = errs+1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[52]: if(APID_266.Data[i+39]!= (0x21+i)): errs = errs+1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[48]: for i in range(13): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[54]: if( errs!=0 ): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[55]: log("TBL is not correct, with %d errors" %errs, color=RED, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_17.py[56]: return(-1) ../../GSEOS_scripts\util.py[212]: return(pf) ../../GSEOS_scripts/FSW_scripts\TEST_DFB.py[39]: errcnt += tryscript("TEST_DFB_21") ../../GSEOS_scripts\util.py[208]: try: ../../GSEOS_scripts\util.py[209]: pf = startscript( script ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[10]: """ ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[12]: from efw import * ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[13]: from util import * ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[14]: from __main__ import * # required for access to APID_nnn telemetry blocks ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[16]: SUPER_PPS = 0x3F #DFB Command to ReSync ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[18]: def verify_SYNC( rate ): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[43]: def main(): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[10]: """ ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[12]: from efw import * ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[13]: from util import * ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[14]: from __main__ import * # required for access to APID_nnn telemetry blocks ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[16]: SUPER_PPS = 0x3F #DFB Command to ReSync ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[18]: def verify_SYNC( rate ): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[43]: def main(): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[44]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[45]: log('DFB_21 - Test DFB Sync [SUPER_PPS=3F) ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[46]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[47]: PF=("FAIL","PASS") ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[49]: log('1. Increasing TM Rate, Clear Start ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[50]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[51]: cmd.EFW_CLEAR() ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[53]: log('1.1 Dump DFBSYNC CDI Word ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[54]: cmd.EFW_TMDUMPCTR(255) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[55]: cmd.EFW_TMDUMPSIZE(64) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[56]: DUMPCDI( SUPER_PPS ) ../../GSEOS_scripts\util.py[72]: addr = addr*2 + 0xDE00 ../../GSEOS_scripts\util.py[73]: cmd.EFW_DUMPADRX( (addr >> 24 )& 0xff ) ../../GSEOS_scripts\util.py[74]: cmd.EFW_DUMPADRE( (addr >> 16 )& 0xff ) ../../GSEOS_scripts\util.py[75]: cmd.EFW_DUMPADRH( (addr >> 8 )& 0xff ) ../../GSEOS_scripts\util.py[76]: cmd.EFW_DUMPADRL( addr & 0xff ) ../../GSEOS_scripts\util.py[77]: cmd.EFW_TMDUMPCTR(255) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[57]: sleep(5) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[59]: log('2.1 Verify DFBSYNC Mask & Command Rate ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[60]: errcnt = 0 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[61]: errcnt = errcnt + verify_SYNC( 2 ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[19]: cmd.EFW_DFBSYNC( rate ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[20]: sleep(10) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[21]: wait(APID_267, lambda:True, flTimeout=20) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[21]: wait(APID_267, lambda:True, flTimeout=20) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[22]: msk=APID_267.DFBSYNCMSK ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[23]: log(' Rate(%d) -> Mask %d' % (rate,msk), color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[24]: if(msk != ((2**rate)-1) ): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[28]: sleep(2**rate) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[30]: wait(APID_266, lambda: True, flTimeout=20) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[21]: wait(APID_267, lambda:True, flTimeout=20) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[31]: rb1 = APID_266.Data[0] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[32]: wait(APID_266, lambda: APID_266.Data[0]!=rb1, flTimeout=200) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[32]: wait(APID_266, lambda: APID_266.Data[0]!=rb1, flTimeout=200) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[32]: wait(APID_266, lambda: APID_266.Data[0]!=rb1, flTimeout=200) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[32]: wait(APID_266, lambda: APID_266.Data[0]!=rb1, flTimeout=200) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[32]: wait(APID_266, lambda: APID_266.Data[0]!=rb1, flTimeout=200) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[33]: rb2 = APID_266.Data[0] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[34]: log(' Syncs at %x, %x ' % (rb1,rb2), color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[35]: diff = rb2-rb1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[36]: if(diff < 0): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[38]: if(diff != (2**rate)): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[41]: return(0) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[62]: errcnt = errcnt + verify_SYNC( 3 ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[19]: cmd.EFW_DFBSYNC( rate ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[20]: sleep(10) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[21]: wait(APID_267, lambda:True, flTimeout=20) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[21]: wait(APID_267, lambda:True, flTimeout=20) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[22]: msk=APID_267.DFBSYNCMSK ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[23]: log(' Rate(%d) -> Mask %d' % (rate,msk), color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[24]: if(msk != ((2**rate)-1) ): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[28]: sleep(2**rate) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[30]: wait(APID_266, lambda: True, flTimeout=20) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[21]: wait(APID_267, lambda:True, flTimeout=20) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[31]: rb1 = APID_266.Data[0] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[32]: wait(APID_266, lambda: APID_266.Data[0]!=rb1, flTimeout=200) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[32]: wait(APID_266, lambda: APID_266.Data[0]!=rb1, flTimeout=200) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[32]: wait(APID_266, lambda: APID_266.Data[0]!=rb1, flTimeout=200) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[32]: wait(APID_266, lambda: APID_266.Data[0]!=rb1, flTimeout=200) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[32]: wait(APID_266, lambda: APID_266.Data[0]!=rb1, flTimeout=200) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[32]: wait(APID_266, lambda: APID_266.Data[0]!=rb1, flTimeout=200) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[32]: wait(APID_266, lambda: APID_266.Data[0]!=rb1, flTimeout=200) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[32]: wait(APID_266, lambda: APID_266.Data[0]!=rb1, flTimeout=200) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[32]: wait(APID_266, lambda: APID_266.Data[0]!=rb1, flTimeout=200) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[33]: rb2 = APID_266.Data[0] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[34]: log(' Syncs at %x, %x ' % (rb1,rb2), color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[35]: diff = rb2-rb1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[36]: if(diff < 0): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[38]: if(diff != (2**rate)): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[41]: return(0) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[63]: errcnt = errcnt + verify_SYNC( 4 ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[19]: cmd.EFW_DFBSYNC( rate ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[20]: sleep(10) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[21]: wait(APID_267, lambda:True, flTimeout=20) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[21]: wait(APID_267, lambda:True, flTimeout=20) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[22]: msk=APID_267.DFBSYNCMSK ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[23]: log(' Rate(%d) -> Mask %d' % (rate,msk), color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[24]: if(msk != ((2**rate)-1) ): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[28]: sleep(2**rate) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[30]: wait(APID_266, lambda: True, flTimeout=20) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[21]: wait(APID_267, lambda:True, flTimeout=20) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[31]: rb1 = APID_266.Data[0] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[32]: wait(APID_266, lambda: APID_266.Data[0]!=rb1, flTimeout=200) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[32]: wait(APID_266, lambda: APID_266.Data[0]!=rb1, flTimeout=200) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[32]: wait(APID_266, lambda: APID_266.Data[0]!=rb1, flTimeout=200) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[32]: wait(APID_266, lambda: APID_266.Data[0]!=rb1, flTimeout=200) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[32]: wait(APID_266, lambda: APID_266.Data[0]!=rb1, flTimeout=200) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[32]: wait(APID_266, lambda: APID_266.Data[0]!=rb1, flTimeout=200) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[32]: wait(APID_266, lambda: APID_266.Data[0]!=rb1, flTimeout=200) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[32]: wait(APID_266, lambda: APID_266.Data[0]!=rb1, flTimeout=200) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[32]: wait(APID_266, lambda: APID_266.Data[0]!=rb1, flTimeout=200) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[32]: wait(APID_266, lambda: APID_266.Data[0]!=rb1, flTimeout=200) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[32]: wait(APID_266, lambda: APID_266.Data[0]!=rb1, flTimeout=200) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[32]: wait(APID_266, lambda: APID_266.Data[0]!=rb1, flTimeout=200) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[32]: wait(APID_266, lambda: APID_266.Data[0]!=rb1, flTimeout=200) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[33]: rb2 = APID_266.Data[0] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[34]: log(' Syncs at %x, %x ' % (rb1,rb2), color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[35]: diff = rb2-rb1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[36]: if(diff < 0): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[38]: if(diff != (2**rate)): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[41]: return(0) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[64]: errcnt = errcnt + verify_SYNC( 5 ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[19]: cmd.EFW_DFBSYNC( rate ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[20]: sleep(10) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[21]: wait(APID_267, lambda:True, flTimeout=20) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[21]: wait(APID_267, lambda:True, flTimeout=20) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[22]: msk=APID_267.DFBSYNCMSK ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[23]: log(' Rate(%d) -> Mask %d' % (rate,msk), color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[24]: if(msk != ((2**rate)-1) ): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[28]: sleep(2**rate) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[30]: wait(APID_266, lambda: True, flTimeout=20) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[21]: wait(APID_267, lambda:True, flTimeout=20) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[31]: rb1 = APID_266.Data[0] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[32]: wait(APID_266, lambda: APID_266.Data[0]!=rb1, flTimeout=200) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[32]: wait(APID_266, lambda: APID_266.Data[0]!=rb1, flTimeout=200) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[32]: wait(APID_266, lambda: APID_266.Data[0]!=rb1, flTimeout=200) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[32]: wait(APID_266, lambda: APID_266.Data[0]!=rb1, flTimeout=200) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[32]: wait(APID_266, lambda: APID_266.Data[0]!=rb1, flTimeout=200) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[32]: wait(APID_266, lambda: APID_266.Data[0]!=rb1, flTimeout=200) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[33]: rb2 = APID_266.Data[0] ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[34]: log(' Syncs at %x, %x ' % (rb1,rb2), color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[35]: diff = rb2-rb1 ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[36]: if(diff < 0): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[38]: if(diff != (2**rate)): ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[41]: return(0) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[66]: log('2.2 There were %d errors found' % errcnt, color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[68]: log('3 Clean Up, Turn off Dumps ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[69]: cmd.EFW_TMDUMPCTR(0) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[71]: log('DFB_21 - DFBSYNC : %s ' % PF[errcnt==0], color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[72]: log('================END=====================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB_21.py[73]: return(0) ../../GSEOS_scripts\util.py[212]: return(pf) ../../GSEOS_scripts/FSW_scripts\TEST_DFB.py[41]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB.py[42]: if( errcnt == 0 ): ../../GSEOS_scripts/FSW_scripts\TEST_DFB.py[43]: log('**** DFB Module PASS ****' , color=GREEN, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB.py[46]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_DFB.py[47]: return( errcnt )