Trace collected at: 2010-11-17 13:22:32.953000 ---------------------------------------------------------------------- ../../GSEOS_scripts/FSW_scripts\TEST_CMD_14.py[17]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_14.py[18]: log('CMD_14 : S/C STORED CMD COUNTERS/TOTALS', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_14.py[19]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_14.py[20]: log('1. Initialize for Test ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_14.py[21]: PF=("FAIL","PASS") ../../GSEOS_scripts/FSW_scripts\TEST_CMD_14.py[23]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz ../../GSEOS_scripts/FSW_scripts\TEST_CMD_14.py[25]: startscript('gsecmderr', 'ccsds', 6, 0x11) # Set byte 6 (MET)!=0 ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[23]: """ ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[25]: from efw import * # for log ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[26]: import RBSPBios # Required to allow setting the error-injecting ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[34]: byte_location = 0 ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[35]: byte_value = 0xff ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[37]: def ccsds_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[42]: def itf_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[47]: def main(err_type=None, my_byte_location=None, my_byte_value=None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[23]: """ ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[25]: from efw import * # for log ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[26]: import RBSPBios # Required to allow setting the error-injecting ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[34]: byte_location = 0 ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[35]: byte_value = 0xff ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[37]: def ccsds_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[42]: def itf_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[47]: def main(err_type=None, my_byte_location=None, my_byte_value=None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[56]: if(my_byte_location != None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[57]: byte_location = my_byte_location ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[58]: if(my_byte_value != None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[59]: byte_value = my_byte_value ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[64]: if(err_type == None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[69]: elif(err_type.lower() == 'ccsds'): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[71]: RBSPBios.SetCCSDSErrorInjectionHandler(ccsds_handler) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_14.py[26]: sleep(5) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_14.py[28]: cmd.EFW_CMDS( 1 ) #Init CMD Expected ../../GSEOS_scripts/FSW_scripts\TEST_CMD_14.py[29]: wait(APID_267, lambda: APID_267.CMDEXP==1, flTimeout=20) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_14.py[29]: wait(APID_267, lambda: APID_267.CMDEXP==1, flTimeout=20) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_14.py[30]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_14.py[30]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_14.py[30]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_14.py[30]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_14.py[30]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_14.py[32]: log('2.1 Measuring RTSEQ / RTTOT ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_14.py[33]: scseq = APID_267.CMDSCSEQ ../../GSEOS_scripts/FSW_scripts\TEST_CMD_14.py[34]: sctot = APID_267.CMDSCTOT ../../GSEOS_scripts/FSW_scripts\TEST_CMD_14.py[35]: log('2.1.1 SCSEQ is %02x' % scseq , color=BLUE, attr=BOLD) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_14.py[36]: log('2.1.2 SCTOT is %02x' % sctot , color=BLUE, attr=BOLD) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_14.py[38]: log('2.2 Sending an APID 260 ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_14.py[39]: cmd.EFW_CMDS( 2 ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_14.py[40]: wait(APID_267, lambda: APID_267.CMDEXP==2, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_14.py[40]: wait(APID_267, lambda: APID_267.CMDEXP==2, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_14.py[40]: wait(APID_267, lambda: APID_267.CMDEXP==2, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_14.py[40]: wait(APID_267, lambda: APID_267.CMDEXP==2, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_14.py[40]: wait(APID_267, lambda: APID_267.CMDEXP==2, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_14.py[40]: wait(APID_267, lambda: APID_267.CMDEXP==2, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_14.py[41]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_14.py[30]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_14.py[42]: dseq = (APID_267.CMDSCSEQ - scseq) & 0xff ../../GSEOS_scripts/FSW_scripts\TEST_CMD_14.py[43]: dtot = (APID_267.CMDSCTOT - sctot) & 0xff ../../GSEOS_scripts/FSW_scripts\TEST_CMD_14.py[44]: log('2.2.1 SCSEQ is %02x' % APID_267.CMDSCSEQ , color=BLUE, attr=BOLD) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_14.py[45]: log('2.2.2 SCTOT is %02x' % APID_267.CMDSCTOT , color=BLUE, attr=BOLD) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_14.py[46]: log('2.2.3 SCSEQ incremented by %d : %s' %(dseq,PF[dseq==1]), color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_14.py[47]: log('2.2.4 SCTOT incremented by %d : %s' %(dtot,PF[dtot==1]), color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_14.py[49]: log('2.3 Sending an APID 261 ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_14.py[50]: scseq = APID_267.CMDSCSEQ ../../GSEOS_scripts/FSW_scripts\TEST_CMD_14.py[51]: sctot = APID_267.CMDSCTOT ../../GSEOS_scripts/FSW_scripts\TEST_CMD_14.py[52]: efw.idpu_load("00007000","01 02 03 04 05") ../../GSEOS_scripts/FSW_scripts\TEST_CMD_14.py[53]: sleep(5) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_14.py[54]: wait(APID_267, lambda: APID_267.CMDTOT==1, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_14.py[54]: wait(APID_267, lambda: APID_267.CMDTOT==1, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_14.py[56]: dseq = (APID_267.CMDSCSEQ - scseq) & 0xff ../../GSEOS_scripts/FSW_scripts\TEST_CMD_14.py[57]: dtot = (APID_267.CMDSCTOT - sctot) & 0xff ../../GSEOS_scripts/FSW_scripts\TEST_CMD_14.py[58]: log('2.3.1 SCSEQ is %02x' % APID_267.CMDSCSEQ , color=BLUE, attr=BOLD) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_14.py[59]: log('2.3.2 SCTOT is %02x' % APID_267.CMDSCTOT , color=BLUE, attr=BOLD) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_14.py[60]: log('2.3.3 SCSEQ incremented by %d : %s' %(dseq,PF[dseq==1]), color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_14.py[61]: log('2.3.4 SCTOT incremented by %d : %s' %(dtot,PF[dtot==1]), color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_14.py[63]: log('3. Cleaning up ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_14.py[64]: startscript('gsecmderr') ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[23]: """ ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[25]: from efw import * # for log ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[26]: import RBSPBios # Required to allow setting the error-injecting ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[34]: byte_location = 0 ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[35]: byte_value = 0xff ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[37]: def ccsds_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[42]: def itf_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[47]: def main(err_type=None, my_byte_location=None, my_byte_value=None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[23]: """ ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[25]: from efw import * # for log ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[26]: import RBSPBios # Required to allow setting the error-injecting ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[34]: byte_location = 0 ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[35]: byte_value = 0xff ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[37]: def ccsds_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[42]: def itf_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[47]: def main(err_type=None, my_byte_location=None, my_byte_value=None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[56]: if(my_byte_location != None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[58]: if(my_byte_value != None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[64]: if(err_type == None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[66]: RBSPBios.SetCCSDSErrorInjectionHandler(None) ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[67]: RBSPBios.SetITFErrorInjectionHandler(None) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_14.py[66]: log('================END====================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_14.py[67]: return(0)