Trace collected at: 2009-11-01 04:50:55.730000 ---------------------------------------------------------------------- Instruments/EFW/scripts/FSW\TEST_LDS.py[303]: log('========================================', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[304]: log('LDS - LONG DURATION STRESS TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[305]: log('========================================', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[307]: FMAX = 0x03FFFF Instruments/EFW/scripts/FSW\TEST_LDS.py[308]: wait(APID_267, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[308]: wait(APID_267, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[309]: if(APID_267.UNITCODE == 3): #If we have DCB only Instruments/EFW/scripts/FSW\TEST_LDS.py[310]: FMAX = 0x007FFF Instruments/EFW/scripts/FSW\TEST_LDS.py[312]: ol = 'LDSv1' Instruments/EFW/scripts/FSW\TEST_LDS.py[313]: set_output_location(ol) Instruments/EFW/scripts/FSW\TEST_LDS.py[314]: log('0.0 OUTPUT LOCATION SET TO %s ' % ol, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[316]: log('0.1 RESETTING APID COUNTERS IN GSE', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[317]: reset_ccsds_counter() #Clear received apid counters Instruments/EFW/scripts/FSW\TEST_LDS.py[319]: log('1.0 RESET THE CPU AND CLEARING ERRORS ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[320]: SET_RSTCTR( 0xFF ) Instruments/EFW/scripts\UTIL.py[102]: POKE( 0xDDFF, byte ) Instruments/EFW/scripts\UTIL.py[86]: cmd.EFW_ADRH( (addr >> 8 )& 0xff ) Instruments/EFW/scripts\UTIL.py[87]: cmd.EFW_ADRL( addr & 0xff ) Instruments/EFW/scripts\UTIL.py[88]: cmd.EFW_LOAD( byte ) Instruments/EFW/scripts/FSW\TEST_LDS.py[321]: wait(APID_267, lambda: APID_267.RSTCTR==0xFF, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[321]: wait(APID_267, lambda: APID_267.RSTCTR==0xFF, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[321]: wait(APID_267, lambda: APID_267.RSTCTR==0xFF, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[322]: RESETCPU() Instruments/EFW/scripts\UTIL.py[105]: cmd.EFW_RESET() Instruments/EFW/scripts/FSW\TEST_LDS.py[323]: wait(APID_267, lambda: APID_267.RSTCTR==0x00, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[323]: wait(APID_267, lambda: APID_267.RSTCTR==0x00, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[324]: cmd.EFW_CLEAR() #Clear Errors Instruments/EFW/scripts/FSW\TEST_LDS.py[325]: sleep(15) #Let EEPROM get going Instruments/EFW/scripts/FSW\TEST_LDS.py[327]: log('1.1 PRETEST - UNIT SPECIFIC ITEMS ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[328]: wait(APID_267, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[308]: wait(APID_267, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[329]: if(APID_267.UNITCODE == 3): #If we have DCB only Instruments/EFW/scripts/FSW\TEST_LDS.py[330]: SDRAM_Init() # Init SDRAM data areas Instruments/EFW/scripts/FSW\TEST_LDS.py[37]: log(" SDRAM Initialization ", color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[38]: cmd.EFW_SRMWRTCTL(0) #Unprotect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[39]: cmd.EFW_DISARM(3) #Don't csum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[40]: cmd.EFW_SSR_OPTIONS( 0,0,0,0 ) #Enable B1/B2 record & play Instruments/EFW/scripts/FSW\TEST_LDS.py[41]: sleep(4) #Wait Instruments/EFW/scripts/FSW\TEST_LDS.py[42]: cmd.EFW_DFBDMA( 0 ) #Disable DFB DMA channels Instruments/EFW/scripts/FSW\TEST_LDS.py[43]: cmd.EFW_SSR_CONFIG() #Clear Bursts Instruments/EFW/scripts/FSW\TEST_LDS.py[44]: sleep(4) Instruments/EFW/scripts/FSW\TEST_LDS.py[46]: SET_TESTVALUE1(100) #Trigger Value is Good to go Instruments/EFW/scripts\UTIL.py[99]: POKE( 0XDDFa, byte ) Instruments/EFW/scripts\UTIL.py[86]: cmd.EFW_ADRH( (addr >> 8 )& 0xff ) Instruments/EFW/scripts\UTIL.py[87]: cmd.EFW_ADRL( addr & 0xff ) Instruments/EFW/scripts\UTIL.py[88]: cmd.EFW_LOAD( byte ) Instruments/EFW/scripts/FSW\TEST_LDS.py[47]: DUMPADR(0x9336) #Watch RT packet gen Instruments/EFW/scripts\UTIL.py[61]: cmd.EFW_DUMPADRX( (addr >> 24 )& 0xff ) Instruments/EFW/scripts\UTIL.py[62]: cmd.EFW_DUMPADRE( (addr >> 16 )& 0xff ) Instruments/EFW/scripts\UTIL.py[63]: cmd.EFW_DUMPADRH( (addr >> 8 )& 0xff ) Instruments/EFW/scripts\UTIL.py[64]: cmd.EFW_DUMPADRL( addr & 0xff ) Instruments/EFW/scripts\UTIL.py[65]: cmd.EFW_TMDUMPCTR(255) Instruments/EFW/scripts/FSW\TEST_LDS.py[48]: cmd.EFW_TMDUMPCTR(255) Instruments/EFW/scripts/FSW\TEST_LDS.py[50]: log(" APID 243 SIMULATION ", color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[51]: simpkt( 0x43, 1, 10 ) #Simulate 243's at 1Hz for >8 secs Instruments/EFW/scripts/FSW\TEST_LDS.py[21]: cmd.EFW_SCRIPT(0x00) #Stop Script Instruments/EFW/scripts/FSW\TEST_LDS.py[23]: efw.idpu_load("00006000","F1") #Load Id = F1 Instruments/EFW/scripts/FSW\TEST_LDS.py[24]: sleep(1) Instruments/EFW/scripts/FSW\TEST_LDS.py[25]: efw.idpu_load("00006010","00") #Load Loc = 6020+00 Instruments/EFW/scripts/FSW\TEST_LDS.py[26]: sleep(1) Instruments/EFW/scripts/FSW\TEST_LDS.py[27]: efw.idpu_load("00006020","00 BB 1D C1 F1 C2") #Simulation loop Instruments/EFW/scripts/FSW\TEST_LDS.py[28]: POKE( 0x6020, N ) #Load rate per second Instruments/EFW/scripts\UTIL.py[86]: cmd.EFW_ADRH( (addr >> 8 )& 0xff ) Instruments/EFW/scripts\UTIL.py[87]: cmd.EFW_ADRL( addr & 0xff ) Instruments/EFW/scripts\UTIL.py[88]: cmd.EFW_LOAD( byte ) Instruments/EFW/scripts/FSW\TEST_LDS.py[30]: cmd.EFW_TABLE(15,2) #Simulate APID Instruments/EFW/scripts/FSW\TEST_LDS.py[31]: cmd.EFW_LOAD( apid ) # Instruments/EFW/scripts/FSW\TEST_LDS.py[32]: cmd.EFW_SCRIPT(0xF1) #Start the Script Instruments/EFW/scripts/FSW\TEST_LDS.py[33]: sleep( delaytime ) #Snooze a while Instruments/EFW/scripts/FSW\TEST_LDS.py[34]: cmd.EFW_SCRIPT(0x00) #Stop the Script Instruments/EFW/scripts/FSW\TEST_LDS.py[52]: log(" APID 244 SIMULATION ", color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[53]: simpkt( 0x44, 1, 10 ) #Simulate 244's Instruments/EFW/scripts/FSW\TEST_LDS.py[21]: cmd.EFW_SCRIPT(0x00) #Stop Script Instruments/EFW/scripts/FSW\TEST_LDS.py[23]: efw.idpu_load("00006000","F1") #Load Id = F1 Instruments/EFW/scripts/FSW\TEST_LDS.py[24]: sleep(1) Instruments/EFW/scripts/FSW\TEST_LDS.py[25]: efw.idpu_load("00006010","00") #Load Loc = 6020+00 Instruments/EFW/scripts/FSW\TEST_LDS.py[26]: sleep(1) Instruments/EFW/scripts/FSW\TEST_LDS.py[27]: efw.idpu_load("00006020","00 BB 1D C1 F1 C2") #Simulation loop Instruments/EFW/scripts/FSW\TEST_LDS.py[28]: POKE( 0x6020, N ) #Load rate per second Instruments/EFW/scripts\UTIL.py[86]: cmd.EFW_ADRH( (addr >> 8 )& 0xff ) Instruments/EFW/scripts\UTIL.py[87]: cmd.EFW_ADRL( addr & 0xff ) Instruments/EFW/scripts\UTIL.py[88]: cmd.EFW_LOAD( byte ) Instruments/EFW/scripts/FSW\TEST_LDS.py[30]: cmd.EFW_TABLE(15,2) #Simulate APID Instruments/EFW/scripts/FSW\TEST_LDS.py[31]: cmd.EFW_LOAD( apid ) # Instruments/EFW/scripts/FSW\TEST_LDS.py[32]: cmd.EFW_SCRIPT(0xF1) #Start the Script Instruments/EFW/scripts/FSW\TEST_LDS.py[33]: sleep( delaytime ) #Snooze a while Instruments/EFW/scripts/FSW\TEST_LDS.py[34]: cmd.EFW_SCRIPT(0x00) #Stop the Script Instruments/EFW/scripts/FSW\TEST_LDS.py[54]: log(" APID 245 SIMULATION ", color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[55]: cmd.EFW_SSR_ROUTE(SEGMENT=1, APID=5) #Route 245 to RT Instruments/EFW/scripts/FSW\TEST_LDS.py[56]: simpkt( 0x45, 1, 10 ) #Simulate 245's Instruments/EFW/scripts/FSW\TEST_LDS.py[21]: cmd.EFW_SCRIPT(0x00) #Stop Script Instruments/EFW/scripts/FSW\TEST_LDS.py[23]: efw.idpu_load("00006000","F1") #Load Id = F1 Instruments/EFW/scripts/FSW\TEST_LDS.py[24]: sleep(1) Instruments/EFW/scripts/FSW\TEST_LDS.py[25]: efw.idpu_load("00006010","00") #Load Loc = 6020+00 Instruments/EFW/scripts/FSW\TEST_LDS.py[26]: sleep(1) Instruments/EFW/scripts/FSW\TEST_LDS.py[27]: efw.idpu_load("00006020","00 BB 1D C1 F1 C2") #Simulation loop Instruments/EFW/scripts/FSW\TEST_LDS.py[28]: POKE( 0x6020, N ) #Load rate per second Instruments/EFW/scripts\UTIL.py[86]: cmd.EFW_ADRH( (addr >> 8 )& 0xff ) Instruments/EFW/scripts\UTIL.py[87]: cmd.EFW_ADRL( addr & 0xff ) Instruments/EFW/scripts\UTIL.py[88]: cmd.EFW_LOAD( byte ) Instruments/EFW/scripts/FSW\TEST_LDS.py[30]: cmd.EFW_TABLE(15,2) #Simulate APID Instruments/EFW/scripts/FSW\TEST_LDS.py[31]: cmd.EFW_LOAD( apid ) # Instruments/EFW/scripts/FSW\TEST_LDS.py[32]: cmd.EFW_SCRIPT(0xF1) #Start the Script Instruments/EFW/scripts/FSW\TEST_LDS.py[33]: sleep( delaytime ) #Snooze a while Instruments/EFW/scripts/FSW\TEST_LDS.py[34]: cmd.EFW_SCRIPT(0x00) #Stop the Script Instruments/EFW/scripts/FSW\TEST_LDS.py[57]: log(" APID 246 SIMULATION ", color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[58]: cmd.EFW_SSR_ENABLE(0) #Enable B1 Collect Instruments/EFW/scripts/FSW\TEST_LDS.py[59]: simpkt( 0x46, 16, 20 ) #Simulate 246's (256 in B1) Instruments/EFW/scripts/FSW\TEST_LDS.py[21]: cmd.EFW_SCRIPT(0x00) #Stop Script Instruments/EFW/scripts/FSW\TEST_LDS.py[23]: efw.idpu_load("00006000","F1") #Load Id = F1 Instruments/EFW/scripts/FSW\TEST_LDS.py[24]: sleep(1) Instruments/EFW/scripts/FSW\TEST_LDS.py[25]: efw.idpu_load("00006010","00") #Load Loc = 6020+00 Instruments/EFW/scripts/FSW\TEST_LDS.py[26]: sleep(1) Instruments/EFW/scripts/FSW\TEST_LDS.py[27]: efw.idpu_load("00006020","00 BB 1D C1 F1 C2") #Simulation loop Instruments/EFW/scripts/FSW\TEST_LDS.py[28]: POKE( 0x6020, N ) #Load rate per second Instruments/EFW/scripts\UTIL.py[86]: cmd.EFW_ADRH( (addr >> 8 )& 0xff ) Instruments/EFW/scripts\UTIL.py[87]: cmd.EFW_ADRL( addr & 0xff ) Instruments/EFW/scripts\UTIL.py[88]: cmd.EFW_LOAD( byte ) Instruments/EFW/scripts/FSW\TEST_LDS.py[30]: cmd.EFW_TABLE(15,2) #Simulate APID Instruments/EFW/scripts/FSW\TEST_LDS.py[31]: cmd.EFW_LOAD( apid ) # Instruments/EFW/scripts/FSW\TEST_LDS.py[32]: cmd.EFW_SCRIPT(0xF1) #Start the Script Instruments/EFW/scripts/FSW\TEST_LDS.py[33]: sleep( delaytime ) #Snooze a while Instruments/EFW/scripts/FSW\TEST_LDS.py[34]: cmd.EFW_SCRIPT(0x00) #Stop the Script Instruments/EFW/scripts/FSW\TEST_LDS.py[60]: log(" APID 249 SIMULATION ", color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[61]: cmd.EFW_SSR_ENABLE(2) #Enable B2 Collect Instruments/EFW/scripts/FSW\TEST_LDS.py[62]: simpkt( 0x49, 64, 600 ) #Simulate 249's (64 bursts in B2) Instruments/EFW/scripts/FSW\TEST_LDS.py[21]: cmd.EFW_SCRIPT(0x00) #Stop Script Instruments/EFW/scripts/FSW\TEST_LDS.py[23]: efw.idpu_load("00006000","F1") #Load Id = F1 Instruments/EFW/scripts/FSW\TEST_LDS.py[24]: sleep(1) Instruments/EFW/scripts/FSW\TEST_LDS.py[25]: efw.idpu_load("00006010","00") #Load Loc = 6020+00 Instruments/EFW/scripts/FSW\TEST_LDS.py[26]: sleep(1) Instruments/EFW/scripts/FSW\TEST_LDS.py[27]: efw.idpu_load("00006020","00 BB 1D C1 F1 C2") #Simulation loop Instruments/EFW/scripts/FSW\TEST_LDS.py[28]: POKE( 0x6020, N ) #Load rate per second Instruments/EFW/scripts\UTIL.py[86]: cmd.EFW_ADRH( (addr >> 8 )& 0xff ) Instruments/EFW/scripts\UTIL.py[87]: cmd.EFW_ADRL( addr & 0xff ) Instruments/EFW/scripts\UTIL.py[88]: cmd.EFW_LOAD( byte ) Instruments/EFW/scripts/FSW\TEST_LDS.py[30]: cmd.EFW_TABLE(15,2) #Simulate APID Instruments/EFW/scripts/FSW\TEST_LDS.py[31]: cmd.EFW_LOAD( apid ) # Instruments/EFW/scripts/FSW\TEST_LDS.py[32]: cmd.EFW_SCRIPT(0xF1) #Start the Script Instruments/EFW/scripts/FSW\TEST_LDS.py[33]: sleep( delaytime ) #Snooze a while Instruments/EFW/scripts/FSW\TEST_LDS.py[34]: cmd.EFW_SCRIPT(0x00) #Stop the Script Instruments/EFW/scripts/FSW\TEST_LDS.py[64]: cmd.EFW_DFBDMA( 1 ) #Enable DFB DMA channels Instruments/EFW/scripts/FSW\TEST_LDS.py[65]: cmd.EFW_TMDUMPCTR(0) #Stop Dumping Instruments/EFW/scripts/FSW\TEST_LDS.py[66]: cmd.EFW_SRMWRTCTL(1) #Protect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[67]: cmd.EFW_ARM(3) #Checksum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[331]: load_trg_pattern() # Init SRAM internal areas Instruments/EFW/scripts/FSW\TEST_LDS.py[73]: log(" Trigger Pattern Initialization ", color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[74]: cmd.EFW_CMDS( 32 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[75]: wait(APID_263, lambda: APID_263.CMDFLAG==1, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[75]: wait(APID_263, lambda: APID_263.CMDFLAG==1, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[76]: bytes = " " Instruments/EFW/scripts/FSW\TEST_LDS.py[77]: for i in range(52): Instruments/EFW/scripts/FSW\TEST_LDS.py[78]: bytes = bytes + hex( 0x111+ i)[-2:]+" " Instruments/EFW/scripts/FSW\TEST_LDS.py[77]: for i in range(52): Instruments/EFW/scripts/FSW\TEST_LDS.py[78]: bytes = bytes + hex( 0x111+ i)[-2:]+" " Instruments/EFW/scripts/FSW\TEST_LDS.py[77]: for i in range(52): Instruments/EFW/scripts/FSW\TEST_LDS.py[78]: bytes = bytes + hex( 0x111+ i)[-2:]+" " Instruments/EFW/scripts/FSW\TEST_LDS.py[77]: for i in range(52): Instruments/EFW/scripts/FSW\TEST_LDS.py[78]: bytes = bytes + hex( 0x111+ i)[-2:]+" " Instruments/EFW/scripts/FSW\TEST_LDS.py[77]: for i in range(52): Instruments/EFW/scripts/FSW\TEST_LDS.py[78]: bytes = bytes + hex( 0x111+ i)[-2:]+" " Instruments/EFW/scripts/FSW\TEST_LDS.py[77]: for i in range(52): Instruments/EFW/scripts/FSW\TEST_LDS.py[78]: bytes = bytes + hex( 0x111+ i)[-2:]+" " Instruments/EFW/scripts/FSW\TEST_LDS.py[77]: for i in range(52): Instruments/EFW/scripts/FSW\TEST_LDS.py[78]: bytes = bytes + hex( 0x111+ i)[-2:]+" " Instruments/EFW/scripts/FSW\TEST_LDS.py[77]: for i in range(52): Instruments/EFW/scripts/FSW\TEST_LDS.py[78]: bytes = bytes + hex( 0x111+ i)[-2:]+" " Instruments/EFW/scripts/FSW\TEST_LDS.py[77]: for i in range(52): Instruments/EFW/scripts/FSW\TEST_LDS.py[78]: bytes = bytes + hex( 0x111+ i)[-2:]+" " Instruments/EFW/scripts/FSW\TEST_LDS.py[77]: for i in range(52): Instruments/EFW/scripts/FSW\TEST_LDS.py[78]: bytes = bytes + hex( 0x111+ i)[-2:]+" " Instruments/EFW/scripts/FSW\TEST_LDS.py[77]: for i in range(52): Instruments/EFW/scripts/FSW\TEST_LDS.py[78]: bytes = bytes + hex( 0x111+ i)[-2:]+" " Instruments/EFW/scripts/FSW\TEST_LDS.py[77]: for i in range(52): Instruments/EFW/scripts/FSW\TEST_LDS.py[78]: bytes = bytes + hex( 0x111+ i)[-2:]+" " Instruments/EFW/scripts/FSW\TEST_LDS.py[77]: for i in range(52): Instruments/EFW/scripts/FSW\TEST_LDS.py[78]: bytes = bytes + hex( 0x111+ i)[-2:]+" " Instruments/EFW/scripts/FSW\TEST_LDS.py[77]: for i in range(52): Instruments/EFW/scripts/FSW\TEST_LDS.py[78]: bytes = bytes + hex( 0x111+ i)[-2:]+" " Instruments/EFW/scripts/FSW\TEST_LDS.py[77]: for i in range(52): Instruments/EFW/scripts/FSW\TEST_LDS.py[78]: bytes = bytes + hex( 0x111+ i)[-2:]+" " Instruments/EFW/scripts/FSW\TEST_LDS.py[77]: for i in range(52): Instruments/EFW/scripts/FSW\TEST_LDS.py[78]: bytes = bytes + hex( 0x111+ i)[-2:]+" " Instruments/EFW/scripts/FSW\TEST_LDS.py[77]: for i in range(52): Instruments/EFW/scripts/FSW\TEST_LDS.py[78]: bytes = bytes + hex( 0x111+ i)[-2:]+" " Instruments/EFW/scripts/FSW\TEST_LDS.py[77]: for i in range(52): Instruments/EFW/scripts/FSW\TEST_LDS.py[78]: bytes = bytes + hex( 0x111+ i)[-2:]+" " Instruments/EFW/scripts/FSW\TEST_LDS.py[77]: for i in range(52): Instruments/EFW/scripts/FSW\TEST_LDS.py[78]: bytes = bytes + hex( 0x111+ i)[-2:]+" " Instruments/EFW/scripts/FSW\TEST_LDS.py[77]: for i in range(52): Instruments/EFW/scripts/FSW\TEST_LDS.py[78]: bytes = bytes + hex( 0x111+ i)[-2:]+" " Instruments/EFW/scripts/FSW\TEST_LDS.py[77]: for i in range(52): Instruments/EFW/scripts/FSW\TEST_LDS.py[78]: bytes = bytes + hex( 0x111+ i)[-2:]+" " Instruments/EFW/scripts/FSW\TEST_LDS.py[77]: for i in range(52): Instruments/EFW/scripts/FSW\TEST_LDS.py[78]: bytes = bytes + hex( 0x111+ i)[-2:]+" " Instruments/EFW/scripts/FSW\TEST_LDS.py[77]: for i in range(52): Instruments/EFW/scripts/FSW\TEST_LDS.py[78]: bytes = bytes + hex( 0x111+ i)[-2:]+" " Instruments/EFW/scripts/FSW\TEST_LDS.py[77]: for i in range(52): Instruments/EFW/scripts/FSW\TEST_LDS.py[78]: bytes = bytes + hex( 0x111+ i)[-2:]+" " Instruments/EFW/scripts/FSW\TEST_LDS.py[77]: for i in range(52): Instruments/EFW/scripts/FSW\TEST_LDS.py[78]: bytes = bytes + hex( 0x111+ i)[-2:]+" " Instruments/EFW/scripts/FSW\TEST_LDS.py[77]: for i in range(52): Instruments/EFW/scripts/FSW\TEST_LDS.py[78]: bytes = bytes + hex( 0x111+ i)[-2:]+" " Instruments/EFW/scripts/FSW\TEST_LDS.py[77]: for i in range(52): Instruments/EFW/scripts/FSW\TEST_LDS.py[78]: bytes = bytes + hex( 0x111+ i)[-2:]+" " Instruments/EFW/scripts/FSW\TEST_LDS.py[77]: for i in range(52): Instruments/EFW/scripts/FSW\TEST_LDS.py[78]: bytes = bytes + hex( 0x111+ i)[-2:]+" " Instruments/EFW/scripts/FSW\TEST_LDS.py[77]: for i in range(52): Instruments/EFW/scripts/FSW\TEST_LDS.py[78]: bytes = bytes + hex( 0x111+ i)[-2:]+" " Instruments/EFW/scripts/FSW\TEST_LDS.py[77]: for i in range(52): Instruments/EFW/scripts/FSW\TEST_LDS.py[78]: bytes = bytes + hex( 0x111+ i)[-2:]+" " Instruments/EFW/scripts/FSW\TEST_LDS.py[77]: for i in range(52): Instruments/EFW/scripts/FSW\TEST_LDS.py[78]: bytes = bytes + hex( 0x111+ i)[-2:]+" " Instruments/EFW/scripts/FSW\TEST_LDS.py[77]: for i in range(52): Instruments/EFW/scripts/FSW\TEST_LDS.py[78]: bytes = bytes + hex( 0x111+ i)[-2:]+" " Instruments/EFW/scripts/FSW\TEST_LDS.py[77]: for i in range(52): Instruments/EFW/scripts/FSW\TEST_LDS.py[78]: bytes = bytes + hex( 0x111+ i)[-2:]+" " Instruments/EFW/scripts/FSW\TEST_LDS.py[77]: for i in range(52): Instruments/EFW/scripts/FSW\TEST_LDS.py[78]: bytes = bytes + hex( 0x111+ i)[-2:]+" " Instruments/EFW/scripts/FSW\TEST_LDS.py[77]: for i in range(52): Instruments/EFW/scripts/FSW\TEST_LDS.py[78]: bytes = bytes + hex( 0x111+ i)[-2:]+" " Instruments/EFW/scripts/FSW\TEST_LDS.py[77]: for i in range(52): Instruments/EFW/scripts/FSW\TEST_LDS.py[78]: bytes = bytes + hex( 0x111+ i)[-2:]+" " Instruments/EFW/scripts/FSW\TEST_LDS.py[77]: for i in range(52): Instruments/EFW/scripts/FSW\TEST_LDS.py[78]: bytes = bytes + hex( 0x111+ i)[-2:]+" " Instruments/EFW/scripts/FSW\TEST_LDS.py[77]: for i in range(52): Instruments/EFW/scripts/FSW\TEST_LDS.py[78]: bytes = bytes + hex( 0x111+ i)[-2:]+" " Instruments/EFW/scripts/FSW\TEST_LDS.py[77]: for i in range(52): Instruments/EFW/scripts/FSW\TEST_LDS.py[78]: bytes = bytes + hex( 0x111+ i)[-2:]+" " Instruments/EFW/scripts/FSW\TEST_LDS.py[77]: for i in range(52): Instruments/EFW/scripts/FSW\TEST_LDS.py[78]: bytes = bytes + hex( 0x111+ i)[-2:]+" " Instruments/EFW/scripts/FSW\TEST_LDS.py[77]: for i in range(52): Instruments/EFW/scripts/FSW\TEST_LDS.py[78]: bytes = bytes + hex( 0x111+ i)[-2:]+" " Instruments/EFW/scripts/FSW\TEST_LDS.py[77]: for i in range(52): Instruments/EFW/scripts/FSW\TEST_LDS.py[78]: bytes = bytes + hex( 0x111+ i)[-2:]+" " Instruments/EFW/scripts/FSW\TEST_LDS.py[77]: for i in range(52): Instruments/EFW/scripts/FSW\TEST_LDS.py[78]: bytes = bytes + hex( 0x111+ i)[-2:]+" " Instruments/EFW/scripts/FSW\TEST_LDS.py[77]: for i in range(52): Instruments/EFW/scripts/FSW\TEST_LDS.py[78]: bytes = bytes + hex( 0x111+ i)[-2:]+" " Instruments/EFW/scripts/FSW\TEST_LDS.py[77]: for i in range(52): Instruments/EFW/scripts/FSW\TEST_LDS.py[78]: bytes = bytes + hex( 0x111+ i)[-2:]+" " Instruments/EFW/scripts/FSW\TEST_LDS.py[77]: for i in range(52): Instruments/EFW/scripts/FSW\TEST_LDS.py[78]: bytes = bytes + hex( 0x111+ i)[-2:]+" " Instruments/EFW/scripts/FSW\TEST_LDS.py[77]: for i in range(52): Instruments/EFW/scripts/FSW\TEST_LDS.py[78]: bytes = bytes + hex( 0x111+ i)[-2:]+" " Instruments/EFW/scripts/FSW\TEST_LDS.py[77]: for i in range(52): Instruments/EFW/scripts/FSW\TEST_LDS.py[78]: bytes = bytes + hex( 0x111+ i)[-2:]+" " Instruments/EFW/scripts/FSW\TEST_LDS.py[77]: for i in range(52): Instruments/EFW/scripts/FSW\TEST_LDS.py[78]: bytes = bytes + hex( 0x111+ i)[-2:]+" " Instruments/EFW/scripts/FSW\TEST_LDS.py[77]: for i in range(52): Instruments/EFW/scripts/FSW\TEST_LDS.py[78]: bytes = bytes + hex( 0x111+ i)[-2:]+" " Instruments/EFW/scripts/FSW\TEST_LDS.py[77]: for i in range(52): Instruments/EFW/scripts/FSW\TEST_LDS.py[78]: bytes = bytes + hex( 0x111+ i)[-2:]+" " Instruments/EFW/scripts/FSW\TEST_LDS.py[77]: for i in range(52): Instruments/EFW/scripts/FSW\TEST_LDS.py[78]: bytes = bytes + hex( 0x111+ i)[-2:]+" " Instruments/EFW/scripts/FSW\TEST_LDS.py[77]: for i in range(52): Instruments/EFW/scripts/FSW\TEST_LDS.py[80]: for sample in range(32): Instruments/EFW/scripts/FSW\TEST_LDS.py[81]: adstr = "000" + hex(0x11010+sample*52)[2:7] Instruments/EFW/scripts/FSW\TEST_LDS.py[82]: efw.idpu_load(adstr, bytes) Instruments/EFW/scripts/FSW\TEST_LDS.py[83]: sleep(1) Instruments/EFW/scripts/FSW\TEST_LDS.py[80]: for sample in range(32): Instruments/EFW/scripts/FSW\TEST_LDS.py[81]: adstr = "000" + hex(0x11010+sample*52)[2:7] Instruments/EFW/scripts/FSW\TEST_LDS.py[82]: efw.idpu_load(adstr, bytes) Instruments/EFW/scripts/FSW\TEST_LDS.py[83]: sleep(1) Instruments/EFW/scripts/FSW\TEST_LDS.py[80]: for sample in range(32): Instruments/EFW/scripts/FSW\TEST_LDS.py[81]: adstr = "000" + hex(0x11010+sample*52)[2:7] Instruments/EFW/scripts/FSW\TEST_LDS.py[82]: efw.idpu_load(adstr, bytes) Instruments/EFW/scripts/FSW\TEST_LDS.py[83]: sleep(1) Instruments/EFW/scripts/FSW\TEST_LDS.py[80]: for sample in range(32): Instruments/EFW/scripts/FSW\TEST_LDS.py[81]: adstr = "000" + hex(0x11010+sample*52)[2:7] Instruments/EFW/scripts/FSW\TEST_LDS.py[82]: efw.idpu_load(adstr, bytes) Instruments/EFW/scripts/FSW\TEST_LDS.py[83]: sleep(1) Instruments/EFW/scripts/FSW\TEST_LDS.py[80]: for sample in range(32): Instruments/EFW/scripts/FSW\TEST_LDS.py[81]: adstr = "000" + hex(0x11010+sample*52)[2:7] Instruments/EFW/scripts/FSW\TEST_LDS.py[82]: efw.idpu_load(adstr, bytes) Instruments/EFW/scripts/FSW\TEST_LDS.py[83]: sleep(1) Instruments/EFW/scripts/FSW\TEST_LDS.py[80]: for sample in range(32): Instruments/EFW/scripts/FSW\TEST_LDS.py[81]: adstr = "000" + hex(0x11010+sample*52)[2:7] Instruments/EFW/scripts/FSW\TEST_LDS.py[82]: efw.idpu_load(adstr, bytes) Instruments/EFW/scripts/FSW\TEST_LDS.py[83]: sleep(1) Instruments/EFW/scripts/FSW\TEST_LDS.py[80]: for sample in range(32): Instruments/EFW/scripts/FSW\TEST_LDS.py[81]: adstr = "000" + hex(0x11010+sample*52)[2:7] Instruments/EFW/scripts/FSW\TEST_LDS.py[82]: efw.idpu_load(adstr, bytes) Instruments/EFW/scripts/FSW\TEST_LDS.py[83]: sleep(1) Instruments/EFW/scripts/FSW\TEST_LDS.py[80]: for sample in range(32): Instruments/EFW/scripts/FSW\TEST_LDS.py[81]: adstr = "000" + hex(0x11010+sample*52)[2:7] Instruments/EFW/scripts/FSW\TEST_LDS.py[82]: efw.idpu_load(adstr, bytes) Instruments/EFW/scripts/FSW\TEST_LDS.py[83]: sleep(1) Instruments/EFW/scripts/FSW\TEST_LDS.py[80]: for sample in range(32): Instruments/EFW/scripts/FSW\TEST_LDS.py[81]: adstr = "000" + hex(0x11010+sample*52)[2:7] Instruments/EFW/scripts/FSW\TEST_LDS.py[82]: efw.idpu_load(adstr, bytes) Instruments/EFW/scripts/FSW\TEST_LDS.py[83]: sleep(1) Instruments/EFW/scripts/FSW\TEST_LDS.py[80]: for sample in range(32): Instruments/EFW/scripts/FSW\TEST_LDS.py[81]: adstr = "000" + hex(0x11010+sample*52)[2:7] Instruments/EFW/scripts/FSW\TEST_LDS.py[82]: efw.idpu_load(adstr, bytes) Instruments/EFW/scripts/FSW\TEST_LDS.py[83]: sleep(1) Instruments/EFW/scripts/FSW\TEST_LDS.py[80]: for sample in range(32): Instruments/EFW/scripts/FSW\TEST_LDS.py[81]: adstr = "000" + hex(0x11010+sample*52)[2:7] Instruments/EFW/scripts/FSW\TEST_LDS.py[82]: efw.idpu_load(adstr, bytes) Instruments/EFW/scripts/FSW\TEST_LDS.py[83]: sleep(1) Instruments/EFW/scripts/FSW\TEST_LDS.py[80]: for sample in range(32): Instruments/EFW/scripts/FSW\TEST_LDS.py[81]: adstr = "000" + hex(0x11010+sample*52)[2:7] Instruments/EFW/scripts/FSW\TEST_LDS.py[82]: efw.idpu_load(adstr, bytes) Instruments/EFW/scripts/FSW\TEST_LDS.py[83]: sleep(1) Instruments/EFW/scripts/FSW\TEST_LDS.py[80]: for sample in range(32): Instruments/EFW/scripts/FSW\TEST_LDS.py[81]: adstr = "000" + hex(0x11010+sample*52)[2:7] Instruments/EFW/scripts/FSW\TEST_LDS.py[82]: efw.idpu_load(adstr, bytes) Instruments/EFW/scripts/FSW\TEST_LDS.py[83]: sleep(1) Instruments/EFW/scripts/FSW\TEST_LDS.py[80]: for sample in range(32): Instruments/EFW/scripts/FSW\TEST_LDS.py[81]: adstr = "000" + hex(0x11010+sample*52)[2:7] Instruments/EFW/scripts/FSW\TEST_LDS.py[82]: efw.idpu_load(adstr, bytes) Instruments/EFW/scripts/FSW\TEST_LDS.py[83]: sleep(1) Instruments/EFW/scripts/FSW\TEST_LDS.py[80]: for sample in range(32): Instruments/EFW/scripts/FSW\TEST_LDS.py[81]: adstr = "000" + hex(0x11010+sample*52)[2:7] Instruments/EFW/scripts/FSW\TEST_LDS.py[82]: efw.idpu_load(adstr, bytes) Instruments/EFW/scripts/FSW\TEST_LDS.py[83]: sleep(1) Instruments/EFW/scripts/FSW\TEST_LDS.py[80]: for sample in range(32): Instruments/EFW/scripts/FSW\TEST_LDS.py[81]: adstr = "000" + hex(0x11010+sample*52)[2:7] Instruments/EFW/scripts/FSW\TEST_LDS.py[82]: efw.idpu_load(adstr, bytes) Instruments/EFW/scripts/FSW\TEST_LDS.py[83]: sleep(1) Instruments/EFW/scripts/FSW\TEST_LDS.py[80]: for sample in range(32): Instruments/EFW/scripts/FSW\TEST_LDS.py[81]: adstr = "000" + hex(0x11010+sample*52)[2:7] Instruments/EFW/scripts/FSW\TEST_LDS.py[82]: efw.idpu_load(adstr, bytes) Instruments/EFW/scripts/FSW\TEST_LDS.py[83]: sleep(1) Instruments/EFW/scripts/FSW\TEST_LDS.py[80]: for sample in range(32): Instruments/EFW/scripts/FSW\TEST_LDS.py[81]: adstr = "000" + hex(0x11010+sample*52)[2:7] Instruments/EFW/scripts/FSW\TEST_LDS.py[82]: efw.idpu_load(adstr, bytes) Instruments/EFW/scripts/FSW\TEST_LDS.py[83]: sleep(1) Instruments/EFW/scripts/FSW\TEST_LDS.py[80]: for sample in range(32): Instruments/EFW/scripts/FSW\TEST_LDS.py[81]: adstr = "000" + hex(0x11010+sample*52)[2:7] Instruments/EFW/scripts/FSW\TEST_LDS.py[82]: efw.idpu_load(adstr, bytes) Instruments/EFW/scripts/FSW\TEST_LDS.py[83]: sleep(1) Instruments/EFW/scripts/FSW\TEST_LDS.py[80]: for sample in range(32): Instruments/EFW/scripts/FSW\TEST_LDS.py[81]: adstr = "000" + hex(0x11010+sample*52)[2:7] Instruments/EFW/scripts/FSW\TEST_LDS.py[82]: efw.idpu_load(adstr, bytes) Instruments/EFW/scripts/FSW\TEST_LDS.py[83]: sleep(1) Instruments/EFW/scripts/FSW\TEST_LDS.py[80]: for sample in range(32): Instruments/EFW/scripts/FSW\TEST_LDS.py[81]: adstr = "000" + hex(0x11010+sample*52)[2:7] Instruments/EFW/scripts/FSW\TEST_LDS.py[82]: efw.idpu_load(adstr, bytes) Instruments/EFW/scripts/FSW\TEST_LDS.py[83]: sleep(1) Instruments/EFW/scripts/FSW\TEST_LDS.py[80]: for sample in range(32): Instruments/EFW/scripts/FSW\TEST_LDS.py[81]: adstr = "000" + hex(0x11010+sample*52)[2:7] Instruments/EFW/scripts/FSW\TEST_LDS.py[82]: efw.idpu_load(adstr, bytes) Instruments/EFW/scripts/FSW\TEST_LDS.py[83]: sleep(1) Instruments/EFW/scripts/FSW\TEST_LDS.py[80]: for sample in range(32): Instruments/EFW/scripts/FSW\TEST_LDS.py[81]: adstr = "000" + hex(0x11010+sample*52)[2:7] Instruments/EFW/scripts/FSW\TEST_LDS.py[82]: efw.idpu_load(adstr, bytes) Instruments/EFW/scripts/FSW\TEST_LDS.py[83]: sleep(1) Instruments/EFW/scripts/FSW\TEST_LDS.py[80]: for sample in range(32): Instruments/EFW/scripts/FSW\TEST_LDS.py[81]: adstr = "000" + hex(0x11010+sample*52)[2:7] Instruments/EFW/scripts/FSW\TEST_LDS.py[82]: efw.idpu_load(adstr, bytes) Instruments/EFW/scripts/FSW\TEST_LDS.py[83]: sleep(1) Instruments/EFW/scripts/FSW\TEST_LDS.py[80]: for sample in range(32): Instruments/EFW/scripts/FSW\TEST_LDS.py[81]: adstr = "000" + hex(0x11010+sample*52)[2:7] Instruments/EFW/scripts/FSW\TEST_LDS.py[82]: efw.idpu_load(adstr, bytes) Instruments/EFW/scripts/FSW\TEST_LDS.py[83]: sleep(1) Instruments/EFW/scripts/FSW\TEST_LDS.py[80]: for sample in range(32): Instruments/EFW/scripts/FSW\TEST_LDS.py[81]: adstr = "000" + hex(0x11010+sample*52)[2:7] Instruments/EFW/scripts/FSW\TEST_LDS.py[82]: efw.idpu_load(adstr, bytes) Instruments/EFW/scripts/FSW\TEST_LDS.py[83]: sleep(1) Instruments/EFW/scripts/FSW\TEST_LDS.py[80]: for sample in range(32): Instruments/EFW/scripts/FSW\TEST_LDS.py[81]: adstr = "000" + hex(0x11010+sample*52)[2:7] Instruments/EFW/scripts/FSW\TEST_LDS.py[82]: efw.idpu_load(adstr, bytes) Instruments/EFW/scripts/FSW\TEST_LDS.py[83]: sleep(1) Instruments/EFW/scripts/FSW\TEST_LDS.py[80]: for sample in range(32): Instruments/EFW/scripts/FSW\TEST_LDS.py[81]: adstr = "000" + hex(0x11010+sample*52)[2:7] Instruments/EFW/scripts/FSW\TEST_LDS.py[82]: efw.idpu_load(adstr, bytes) Instruments/EFW/scripts/FSW\TEST_LDS.py[83]: sleep(1) Instruments/EFW/scripts/FSW\TEST_LDS.py[80]: for sample in range(32): Instruments/EFW/scripts/FSW\TEST_LDS.py[81]: adstr = "000" + hex(0x11010+sample*52)[2:7] Instruments/EFW/scripts/FSW\TEST_LDS.py[82]: efw.idpu_load(adstr, bytes) Instruments/EFW/scripts/FSW\TEST_LDS.py[83]: sleep(1) Instruments/EFW/scripts/FSW\TEST_LDS.py[80]: for sample in range(32): Instruments/EFW/scripts/FSW\TEST_LDS.py[81]: adstr = "000" + hex(0x11010+sample*52)[2:7] Instruments/EFW/scripts/FSW\TEST_LDS.py[82]: efw.idpu_load(adstr, bytes) Instruments/EFW/scripts/FSW\TEST_LDS.py[83]: sleep(1) Instruments/EFW/scripts/FSW\TEST_LDS.py[80]: for sample in range(32): Instruments/EFW/scripts/FSW\TEST_LDS.py[81]: adstr = "000" + hex(0x11010+sample*52)[2:7] Instruments/EFW/scripts/FSW\TEST_LDS.py[82]: efw.idpu_load(adstr, bytes) Instruments/EFW/scripts/FSW\TEST_LDS.py[83]: sleep(1) Instruments/EFW/scripts/FSW\TEST_LDS.py[80]: for sample in range(32): Instruments/EFW/scripts/FSW\TEST_LDS.py[81]: adstr = "000" + hex(0x11010+sample*52)[2:7] Instruments/EFW/scripts/FSW\TEST_LDS.py[82]: efw.idpu_load(adstr, bytes) Instruments/EFW/scripts/FSW\TEST_LDS.py[83]: sleep(1) Instruments/EFW/scripts/FSW\TEST_LDS.py[80]: for sample in range(32): Instruments/EFW/scripts/FSW\TEST_LDS.py[84]: wait(APID_263, lambda: APID_263.CMDFLAG==0, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[84]: wait(APID_263, lambda: APID_263.CMDFLAG==0, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[84]: wait(APID_263, lambda: APID_263.CMDFLAG==0, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[86]: DUMPADR( 0x11010 ) Instruments/EFW/scripts\UTIL.py[61]: cmd.EFW_DUMPADRX( (addr >> 24 )& 0xff ) Instruments/EFW/scripts\UTIL.py[62]: cmd.EFW_DUMPADRE( (addr >> 16 )& 0xff ) Instruments/EFW/scripts\UTIL.py[63]: cmd.EFW_DUMPADRH( (addr >> 8 )& 0xff ) Instruments/EFW/scripts\UTIL.py[64]: cmd.EFW_DUMPADRL( addr & 0xff ) Instruments/EFW/scripts\UTIL.py[65]: cmd.EFW_TMDUMPCTR(255) Instruments/EFW/scripts/FSW\TEST_LDS.py[87]: cmd.EFW_TMDUMPCTR(255) Instruments/EFW/scripts/FSW\TEST_LDS.py[88]: wait(APID_266, lambda: APID_266.Data[0]==0x11, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[88]: wait(APID_266, lambda: APID_266.Data[0]==0x11, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[89]: wait(APID_266, lambda: APID_266.Data[51]==0x44, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[89]: wait(APID_266, lambda: APID_266.Data[51]==0x44, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[90]: cmd.EFW_TMDUMPCTR(0) Instruments/EFW/scripts/FSW\TEST_LDS.py[91]: log(" Trigger Pattern Loaded ", color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[332]: cmd.EFW_TABLE(9,30) # Init FLASH "FMAX" to 4 GB Instruments/EFW/scripts/FSW\TEST_LDS.py[333]: cmd.EFW_LOAD( 0x7f ) # Which is 007FFF in blocks Instruments/EFW/scripts/FSW\TEST_LDS.py[334]: cmd.EFW_LOAD( 0x00 ) # Instruments/EFW/scripts/FSW\TEST_LDS.py[335]: startscript('SET_FLASHMOD',0) # Set Flash Write to Module0 Instruments/EFW/scripts\SET_FLASHMOD.py[3]: """ Instruments/EFW/scripts\SET_FLASHMOD.py[5]: from efw import * Instruments/EFW/scripts\SET_FLASHMOD.py[6]: import time Instruments/EFW/scripts\SET_FLASHMOD.py[8]: def set_flash_recptr(addr): Instruments/EFW/scripts\SET_FLASHMOD.py[17]: def module_to_addr(module): Instruments/EFW/scripts\SET_FLASHMOD.py[29]: def main(module=None): Instruments/EFW/scripts\SET_FLASHMOD.py[3]: """ Instruments/EFW/scripts\SET_FLASHMOD.py[5]: from efw import * Instruments/EFW/scripts\SET_FLASHMOD.py[6]: import time Instruments/EFW/scripts\SET_FLASHMOD.py[8]: def set_flash_recptr(addr): Instruments/EFW/scripts\SET_FLASHMOD.py[17]: def module_to_addr(module): Instruments/EFW/scripts\SET_FLASHMOD.py[29]: def main(module=None): Instruments/EFW/scripts\SET_FLASHMOD.py[35]: if(module == None): Instruments/EFW/scripts\SET_FLASHMOD.py[42]: log("Using user-supplied module number %d" % module) Instruments/EFW/scripts\SET_FLASHMOD.py[44]: addr = module_to_addr(module) Instruments/EFW/scripts\SET_FLASHMOD.py[18]: if(module != 0): Instruments/EFW/scripts\SET_FLASHMOD.py[26]: addr = 0 Instruments/EFW/scripts\SET_FLASHMOD.py[27]: return(addr) Instruments/EFW/scripts\SET_FLASHMOD.py[45]: log("Setting flash pointer to 0x%06x (module %d)" % (addr, module)) Instruments/EFW/scripts\SET_FLASHMOD.py[46]: set_flash_recptr(addr) Instruments/EFW/scripts\SET_FLASHMOD.py[10]: addrL = addr & 0xff Instruments/EFW/scripts\SET_FLASHMOD.py[11]: addrH = (addr >> 8) & 0xff Instruments/EFW/scripts\SET_FLASHMOD.py[12]: addrE = (addr >> 16) & 0xff Instruments/EFW/scripts\SET_FLASHMOD.py[13]: cmd.efw_b1_setrecptrl(addrL) Instruments/EFW/scripts\SET_FLASHMOD.py[14]: cmd.efw_b1_setrecptrh(addrH) Instruments/EFW/scripts\SET_FLASHMOD.py[15]: cmd.efw_b1_setrecptre(addrE) Instruments/EFW/scripts/FSW\TEST_LDS.py[339]: log('1.2 CONFIG for CPU Intensive Processing', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[340]: SC_SPIN( 10 ) # 10-sec period Instruments/EFW/scripts\UTIL.py[141]: cmd.SCE_CTRL_SET_SPIN_PULSE_TIME(sp*1000000) Instruments/EFW/scripts\UTIL.py[142]: TAS.SpinPeriod = sp*65535.0/20.970 Instruments/EFW/scripts\UTIL.py[143]: TAS.SpinPeriodValid = 1 Instruments/EFW/scripts/FSW\TEST_LDS.py[341]: cmd.EFW_ARM(2) # Compress Packets Instruments/EFW/scripts/FSW\TEST_LDS.py[342]: init_TBL() # Init Trigger params in TBL Instruments/EFW/scripts/FSW\TEST_LDS.py[97]: log(" Parameter Table Initialization ", color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[98]: cmd.EFW_CMDS( 12 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[99]: wait(APID_263, lambda: APID_263.CMDFLAG==1, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[99]: wait(APID_263, lambda: APID_263.CMDFLAG==1, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[100]: scalar = " 40 41 42 43 44 45 46 47 48 49 " Instruments/EFW/scripts/FSW\TEST_LDS.py[101]: thresh = " 00 00 00 00 00 00 00 00 00 00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[102]: for i in range(10,64): Instruments/EFW/scripts/FSW\TEST_LDS.py[103]: thresh = thresh + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[104]: scalar = scalar + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[102]: for i in range(10,64): Instruments/EFW/scripts/FSW\TEST_LDS.py[103]: thresh = thresh + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[104]: scalar = scalar + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[102]: for i in range(10,64): Instruments/EFW/scripts/FSW\TEST_LDS.py[103]: thresh = thresh + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[104]: scalar = scalar + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[102]: for i in range(10,64): Instruments/EFW/scripts/FSW\TEST_LDS.py[103]: thresh = thresh + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[104]: scalar = scalar + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[102]: for i in range(10,64): Instruments/EFW/scripts/FSW\TEST_LDS.py[103]: thresh = thresh + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[104]: scalar = scalar + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[102]: for i in range(10,64): Instruments/EFW/scripts/FSW\TEST_LDS.py[103]: thresh = thresh + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[104]: scalar = scalar + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[102]: for i in range(10,64): Instruments/EFW/scripts/FSW\TEST_LDS.py[103]: thresh = thresh + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[104]: scalar = scalar + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[102]: for i in range(10,64): Instruments/EFW/scripts/FSW\TEST_LDS.py[103]: thresh = thresh + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[104]: scalar = scalar + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[102]: for i in range(10,64): Instruments/EFW/scripts/FSW\TEST_LDS.py[103]: thresh = thresh + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[104]: scalar = scalar + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[102]: for i in range(10,64): Instruments/EFW/scripts/FSW\TEST_LDS.py[103]: thresh = thresh + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[104]: scalar = scalar + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[102]: for i in range(10,64): Instruments/EFW/scripts/FSW\TEST_LDS.py[103]: thresh = thresh + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[104]: scalar = scalar + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[102]: for i in range(10,64): Instruments/EFW/scripts/FSW\TEST_LDS.py[103]: thresh = thresh + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[104]: scalar = scalar + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[102]: for i in range(10,64): Instruments/EFW/scripts/FSW\TEST_LDS.py[103]: thresh = thresh + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[104]: scalar = scalar + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[102]: for i in range(10,64): Instruments/EFW/scripts/FSW\TEST_LDS.py[103]: thresh = thresh + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[104]: scalar = scalar + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[102]: for i in range(10,64): Instruments/EFW/scripts/FSW\TEST_LDS.py[103]: thresh = thresh + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[104]: scalar = scalar + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[102]: for i in range(10,64): Instruments/EFW/scripts/FSW\TEST_LDS.py[103]: thresh = thresh + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[104]: scalar = scalar + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[102]: for i in range(10,64): Instruments/EFW/scripts/FSW\TEST_LDS.py[103]: thresh = thresh + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[104]: scalar = scalar + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[102]: for i in range(10,64): Instruments/EFW/scripts/FSW\TEST_LDS.py[103]: thresh = thresh + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[104]: scalar = scalar + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[102]: for i in range(10,64): Instruments/EFW/scripts/FSW\TEST_LDS.py[103]: thresh = thresh + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[104]: scalar = scalar + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[102]: for i in range(10,64): Instruments/EFW/scripts/FSW\TEST_LDS.py[103]: thresh = thresh + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[104]: scalar = scalar + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[102]: for i in range(10,64): Instruments/EFW/scripts/FSW\TEST_LDS.py[103]: thresh = thresh + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[104]: scalar = scalar + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[102]: for i in range(10,64): Instruments/EFW/scripts/FSW\TEST_LDS.py[103]: thresh = thresh + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[104]: scalar = scalar + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[102]: for i in range(10,64): Instruments/EFW/scripts/FSW\TEST_LDS.py[103]: thresh = thresh + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[104]: scalar = scalar + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[102]: for i in range(10,64): Instruments/EFW/scripts/FSW\TEST_LDS.py[103]: thresh = thresh + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[104]: scalar = scalar + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[102]: for i in range(10,64): Instruments/EFW/scripts/FSW\TEST_LDS.py[103]: thresh = thresh + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[104]: scalar = scalar + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[102]: for i in range(10,64): Instruments/EFW/scripts/FSW\TEST_LDS.py[103]: thresh = thresh + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[104]: scalar = scalar + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[102]: for i in range(10,64): Instruments/EFW/scripts/FSW\TEST_LDS.py[103]: thresh = thresh + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[104]: scalar = scalar + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[102]: for i in range(10,64): Instruments/EFW/scripts/FSW\TEST_LDS.py[103]: thresh = thresh + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[104]: scalar = scalar + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[102]: for i in range(10,64): Instruments/EFW/scripts/FSW\TEST_LDS.py[103]: thresh = thresh + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[104]: scalar = scalar + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[102]: for i in range(10,64): Instruments/EFW/scripts/FSW\TEST_LDS.py[103]: thresh = thresh + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[104]: scalar = scalar + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[102]: for i in range(10,64): Instruments/EFW/scripts/FSW\TEST_LDS.py[103]: thresh = thresh + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[104]: scalar = scalar + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[102]: for i in range(10,64): Instruments/EFW/scripts/FSW\TEST_LDS.py[103]: thresh = thresh + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[104]: scalar = scalar + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[102]: for i in range(10,64): Instruments/EFW/scripts/FSW\TEST_LDS.py[103]: thresh = thresh + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[104]: scalar = scalar + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[102]: for i in range(10,64): Instruments/EFW/scripts/FSW\TEST_LDS.py[103]: thresh = thresh + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[104]: scalar = scalar + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[102]: for i in range(10,64): Instruments/EFW/scripts/FSW\TEST_LDS.py[103]: thresh = thresh + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[104]: scalar = scalar + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[102]: for i in range(10,64): Instruments/EFW/scripts/FSW\TEST_LDS.py[103]: thresh = thresh + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[104]: scalar = scalar + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[102]: for i in range(10,64): Instruments/EFW/scripts/FSW\TEST_LDS.py[103]: thresh = thresh + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[104]: scalar = scalar + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[102]: for i in range(10,64): Instruments/EFW/scripts/FSW\TEST_LDS.py[103]: thresh = thresh + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[104]: scalar = scalar + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[102]: for i in range(10,64): Instruments/EFW/scripts/FSW\TEST_LDS.py[103]: thresh = thresh + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[104]: scalar = scalar + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[102]: for i in range(10,64): Instruments/EFW/scripts/FSW\TEST_LDS.py[103]: thresh = thresh + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[104]: scalar = scalar + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[102]: for i in range(10,64): Instruments/EFW/scripts/FSW\TEST_LDS.py[103]: thresh = thresh + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[104]: scalar = scalar + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[102]: for i in range(10,64): Instruments/EFW/scripts/FSW\TEST_LDS.py[103]: thresh = thresh + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[104]: scalar = scalar + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[102]: for i in range(10,64): Instruments/EFW/scripts/FSW\TEST_LDS.py[103]: thresh = thresh + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[104]: scalar = scalar + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[102]: for i in range(10,64): Instruments/EFW/scripts/FSW\TEST_LDS.py[103]: thresh = thresh + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[104]: scalar = scalar + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[102]: for i in range(10,64): Instruments/EFW/scripts/FSW\TEST_LDS.py[103]: thresh = thresh + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[104]: scalar = scalar + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[102]: for i in range(10,64): Instruments/EFW/scripts/FSW\TEST_LDS.py[103]: thresh = thresh + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[104]: scalar = scalar + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[102]: for i in range(10,64): Instruments/EFW/scripts/FSW\TEST_LDS.py[103]: thresh = thresh + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[104]: scalar = scalar + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[102]: for i in range(10,64): Instruments/EFW/scripts/FSW\TEST_LDS.py[103]: thresh = thresh + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[104]: scalar = scalar + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[102]: for i in range(10,64): Instruments/EFW/scripts/FSW\TEST_LDS.py[103]: thresh = thresh + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[104]: scalar = scalar + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[102]: for i in range(10,64): Instruments/EFW/scripts/FSW\TEST_LDS.py[103]: thresh = thresh + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[104]: scalar = scalar + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[102]: for i in range(10,64): Instruments/EFW/scripts/FSW\TEST_LDS.py[103]: thresh = thresh + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[104]: scalar = scalar + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[102]: for i in range(10,64): Instruments/EFW/scripts/FSW\TEST_LDS.py[103]: thresh = thresh + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[104]: scalar = scalar + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[102]: for i in range(10,64): Instruments/EFW/scripts/FSW\TEST_LDS.py[103]: thresh = thresh + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[104]: scalar = scalar + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[102]: for i in range(10,64): Instruments/EFW/scripts/FSW\TEST_LDS.py[103]: thresh = thresh + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[104]: scalar = scalar + "00 " Instruments/EFW/scripts/FSW\TEST_LDS.py[102]: for i in range(10,64): Instruments/EFW/scripts/FSW\TEST_LDS.py[106]: for fn in range(6): Instruments/EFW/scripts/FSW\TEST_LDS.py[107]: adstr = "000" + hex(0x09610+fn*128)[2:7] Instruments/EFW/scripts/FSW\TEST_LDS.py[108]: efw.idpu_load(adstr, scalar) Instruments/EFW/scripts/FSW\TEST_LDS.py[109]: sleep(1) Instruments/EFW/scripts/FSW\TEST_LDS.py[110]: adstr = "000" + hex(0x09610+fn*128+64)[2:7] Instruments/EFW/scripts/FSW\TEST_LDS.py[111]: efw.idpu_load(adstr, thresh) Instruments/EFW/scripts/FSW\TEST_LDS.py[112]: sleep(1) Instruments/EFW/scripts/FSW\TEST_LDS.py[106]: for fn in range(6): Instruments/EFW/scripts/FSW\TEST_LDS.py[107]: adstr = "000" + hex(0x09610+fn*128)[2:7] Instruments/EFW/scripts/FSW\TEST_LDS.py[108]: efw.idpu_load(adstr, scalar) Instruments/EFW/scripts/FSW\TEST_LDS.py[109]: sleep(1) Instruments/EFW/scripts/FSW\TEST_LDS.py[110]: adstr = "000" + hex(0x09610+fn*128+64)[2:7] Instruments/EFW/scripts/FSW\TEST_LDS.py[111]: efw.idpu_load(adstr, thresh) Instruments/EFW/scripts/FSW\TEST_LDS.py[112]: sleep(1) Instruments/EFW/scripts/FSW\TEST_LDS.py[106]: for fn in range(6): Instruments/EFW/scripts/FSW\TEST_LDS.py[107]: adstr = "000" + hex(0x09610+fn*128)[2:7] Instruments/EFW/scripts/FSW\TEST_LDS.py[108]: efw.idpu_load(adstr, scalar) Instruments/EFW/scripts/FSW\TEST_LDS.py[109]: sleep(1) Instruments/EFW/scripts/FSW\TEST_LDS.py[110]: adstr = "000" + hex(0x09610+fn*128+64)[2:7] Instruments/EFW/scripts/FSW\TEST_LDS.py[111]: efw.idpu_load(adstr, thresh) Instruments/EFW/scripts/FSW\TEST_LDS.py[112]: sleep(1) Instruments/EFW/scripts/FSW\TEST_LDS.py[106]: for fn in range(6): Instruments/EFW/scripts/FSW\TEST_LDS.py[107]: adstr = "000" + hex(0x09610+fn*128)[2:7] Instruments/EFW/scripts/FSW\TEST_LDS.py[108]: efw.idpu_load(adstr, scalar) Instruments/EFW/scripts/FSW\TEST_LDS.py[109]: sleep(1) Instruments/EFW/scripts/FSW\TEST_LDS.py[110]: adstr = "000" + hex(0x09610+fn*128+64)[2:7] Instruments/EFW/scripts/FSW\TEST_LDS.py[111]: efw.idpu_load(adstr, thresh) Instruments/EFW/scripts/FSW\TEST_LDS.py[112]: sleep(1) Instruments/EFW/scripts/FSW\TEST_LDS.py[106]: for fn in range(6): Instruments/EFW/scripts/FSW\TEST_LDS.py[107]: adstr = "000" + hex(0x09610+fn*128)[2:7] Instruments/EFW/scripts/FSW\TEST_LDS.py[108]: efw.idpu_load(adstr, scalar) Instruments/EFW/scripts/FSW\TEST_LDS.py[109]: sleep(1) Instruments/EFW/scripts/FSW\TEST_LDS.py[110]: adstr = "000" + hex(0x09610+fn*128+64)[2:7] Instruments/EFW/scripts/FSW\TEST_LDS.py[111]: efw.idpu_load(adstr, thresh) Instruments/EFW/scripts/FSW\TEST_LDS.py[112]: sleep(1) Instruments/EFW/scripts/FSW\TEST_LDS.py[106]: for fn in range(6): Instruments/EFW/scripts/FSW\TEST_LDS.py[107]: adstr = "000" + hex(0x09610+fn*128)[2:7] Instruments/EFW/scripts/FSW\TEST_LDS.py[108]: efw.idpu_load(adstr, scalar) Instruments/EFW/scripts/FSW\TEST_LDS.py[109]: sleep(1) Instruments/EFW/scripts/FSW\TEST_LDS.py[110]: adstr = "000" + hex(0x09610+fn*128+64)[2:7] Instruments/EFW/scripts/FSW\TEST_LDS.py[111]: efw.idpu_load(adstr, thresh) Instruments/EFW/scripts/FSW\TEST_LDS.py[112]: sleep(1) Instruments/EFW/scripts/FSW\TEST_LDS.py[106]: for fn in range(6): Instruments/EFW/scripts/FSW\TEST_LDS.py[114]: wait(APID_263, lambda: APID_263.CMDFLAG==0, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[114]: wait(APID_263, lambda: APID_263.CMDFLAG==0, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[114]: wait(APID_263, lambda: APID_263.CMDFLAG==0, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[114]: wait(APID_263, lambda: APID_263.CMDFLAG==0, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[115]: log(" Parameter Table Initialized ", color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[116]: return(1) Instruments/EFW/scripts/FSW\TEST_LDS.py[343]: ECT_BURST( 0xA1 ) # Load up S/C inputs Instruments/EFW/scripts\UTIL.py[169]: log("ECT_BURST( %d )" % val, color=BLUE, attr=BOLD ) Instruments/EFW/scripts\UTIL.py[170]: TAS.ECT_SharedData[0] = val Instruments/EFW/scripts/FSW\TEST_LDS.py[344]: EMF_BURST( 0xB1 ) Instruments/EFW/scripts\UTIL.py[162]: log("EMF_BURST( %d )" % val, color=BLUE, attr=BOLD ) Instruments/EFW/scripts\UTIL.py[163]: shf = 24 Instruments/EFW/scripts\UTIL.py[164]: field = 255 Instruments/EFW/scripts\UTIL.py[165]: mask = -1-(field<> 8 )& 0xff ) Instruments/EFW/scripts\UTIL.py[87]: cmd.EFW_ADRL( addr & 0xff ) Instruments/EFW/scripts\UTIL.py[88]: cmd.EFW_LOAD( byte ) Instruments/EFW/scripts/FSW\TEST_LDS.py[351]: for ps in range(72): Instruments/EFW/scripts/FSW\TEST_LDS.py[352]: log('3.%d COMMAND PASS SIMULATION ' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[353]: simulate_pass(FMAX) Instruments/EFW/scripts/FSW\TEST_LDS.py[246]: serial_cmd_stress_test() #Command at Max Rate Instruments/EFW/scripts/FSW\TEST_LDS.py[204]: log(' SERIAL COMMAND TEST AT MAX RATE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[205]: cmd.EFW_CMDS( 250 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[209]: for i in range( 250 ): cmd.EFW_ADRL( 0 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[211]: try: Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[217]: log(' SERIAL COMMAND TEST COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[247]: load_scripts() #Load & Dump Scripts Instruments/EFW/scripts/FSW\TEST_LDS.py[155]: log(' SCRIPT LOADING TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[156]: cmd.EFW_CMDS( 6 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[157]: cmd.EFW_SRMWRTCTL(0) #Unprotect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[158]: cmd.EFW_DISARM(3) #Don't csum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[161]: efw.idpu_load("00006000", " e0 e1 00 00 00 00 00 00 00 00 00 00 00 00 ee ef 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 00 a3 7f c1 01 e4 00 00 00 00 00 00 00 00 00 00 00 a3 7f c1 00 a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[162]: efw.idpu_load("00006100", " 1d c1 02 bb ee c2 00 00 00 00 00 00 00 00 00 00 01 ff 0f c1 03 ff 0f c1 06 ff 0f c1 0c ff 0f c1 18 ff 0f c1 30 ff 0f c1 60 ff 0f c1 c0 ff 0f c1 80 ff 0f c1 00 ff 0f c1 ef c2 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[165]: cmd.EFW_SRMWRTCTL(1) #Protect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[166]: cmd.EFW_ARM(3) #Checksum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[169]: cmd.EFW_DUMPTABL(12,0) #Dump and Spot Check Instruments/EFW/scripts/FSW\TEST_LDS.py[170]: cmd.EFW_TMDUMPCTR(255) #Indefinitely Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[176]: DUMPADR( 0x6100 ) Instruments/EFW/scripts\UTIL.py[61]: cmd.EFW_DUMPADRX( (addr >> 24 )& 0xff ) Instruments/EFW/scripts\UTIL.py[62]: cmd.EFW_DUMPADRE( (addr >> 16 )& 0xff ) Instruments/EFW/scripts\UTIL.py[63]: cmd.EFW_DUMPADRH( (addr >> 8 )& 0xff ) Instruments/EFW/scripts\UTIL.py[64]: cmd.EFW_DUMPADRL( addr & 0xff ) Instruments/EFW/scripts\UTIL.py[65]: cmd.EFW_TMDUMPCTR(255) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[182]: cmd.EFW_TMDUMPCTR(0) #Turn off dump Instruments/EFW/scripts/FSW\TEST_LDS.py[183]: log(' SCRIPT LOADING VERIFIED ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[248]: run_script() #Run and check script Instruments/EFW/scripts/FSW\TEST_LDS.py[189]: log(' SCRIPT EXECUTION TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[190]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[191]: cmd.EFW_SCRIPT(0xEF) #Should Start LEDs going Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[194]: sleep(10) Instruments/EFW/scripts/FSW\TEST_LDS.py[195]: cmd.EFW_SCRIPT(00) #Stop script Instruments/EFW/scripts/FSW\TEST_LDS.py[196]: cmd.EFW_TMPKTRATE( 4, 4 ) #Set APID 267 to 1/4Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[197]: log(' SCRIPT EXECUTION COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[249]: request_playbacks( fm ) #Determine what Burst1's to play Instruments/EFW/scripts/FSW\TEST_LDS.py[224]: log(' REQUESTING BURST1 PLAYBACKS ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[225]: log("FMAX %4x" % fm) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[227]: rp = APID_263.B1_RECPTR Instruments/EFW/scripts/FSW\TEST_LDS.py[228]: if( APID_263.B1_PLAYREQ < 10 ): Instruments/EFW/scripts/FSW\TEST_LDS.py[229]: blk = (rp - 800 ) & fm #Play from 800 blocks back Instruments/EFW/scripts/FSW\TEST_LDS.py[230]: log("QUEUEING Block %4x" % blk) Instruments/EFW/scripts/FSW\TEST_LDS.py[231]: QUEUE_B1PLAYBACK( blk, 32 ) #32 blocks should take 20 min Instruments/EFW/scripts\UTIL.py[50]: cmd.EFW_B1_SETREQDTA( (block >> 2) & 0xff ) Instruments/EFW/scripts\UTIL.py[51]: cmd.EFW_B1_SETREQDTA( (block >> 10)& 0xff ) Instruments/EFW/scripts\UTIL.py[52]: cmd.EFW_B1_SETREQDTA( leng & 0xff ) Instruments/EFW/scripts\UTIL.py[53]: cmd.EFW_B1_SETREQDTA( (leng >> 8 ) & 0xff ) Instruments/EFW/scripts/FSW\TEST_LDS.py[232]: blk = (rp - 500 ) & fm #Play from 500 blocks back Instruments/EFW/scripts/FSW\TEST_LDS.py[233]: log("QUEUEING Block %4x" % blk) Instruments/EFW/scripts/FSW\TEST_LDS.py[234]: QUEUE_B1PLAYBACK( blk, 32 ) #32 blocks should take 20 min Instruments/EFW/scripts\UTIL.py[50]: cmd.EFW_B1_SETREQDTA( (block >> 2) & 0xff ) Instruments/EFW/scripts\UTIL.py[51]: cmd.EFW_B1_SETREQDTA( (block >> 10)& 0xff ) Instruments/EFW/scripts\UTIL.py[52]: cmd.EFW_B1_SETREQDTA( leng & 0xff ) Instruments/EFW/scripts\UTIL.py[53]: cmd.EFW_B1_SETREQDTA( (leng >> 8 ) & 0xff ) Instruments/EFW/scripts/FSW\TEST_LDS.py[235]: blk = (rp - 200 ) & fm #Play from 200 blocks back Instruments/EFW/scripts/FSW\TEST_LDS.py[236]: log("QUEUEING Block %4x" % blk) Instruments/EFW/scripts/FSW\TEST_LDS.py[237]: QUEUE_B1PLAYBACK( blk, 64 ) #32 blocks should take 40 min Instruments/EFW/scripts\UTIL.py[50]: cmd.EFW_B1_SETREQDTA( (block >> 2) & 0xff ) Instruments/EFW/scripts\UTIL.py[51]: cmd.EFW_B1_SETREQDTA( (block >> 10)& 0xff ) Instruments/EFW/scripts\UTIL.py[52]: cmd.EFW_B1_SETREQDTA( leng & 0xff ) Instruments/EFW/scripts\UTIL.py[53]: cmd.EFW_B1_SETREQDTA( (leng >> 8 ) & 0xff ) Instruments/EFW/scripts/FSW\TEST_LDS.py[238]: sleep(8) Instruments/EFW/scripts/FSW\TEST_LDS.py[239]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[240]: log(' BURST1 PLAYLIST HAS %d REQUESTS '% APID_263.B1_PLAYREQ, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[354]: generate_report(ps) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[257]: filename = 'FSW_LDS'+str(ps)+'_AP263.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[258]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[259]: print_window('Instruments/EFW/screens/APID_263.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[261]: wait(APID_267, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[262]: filename = 'FSW_LDS'+str(ps)+'_AP267.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[263]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[264]: print_window('Instruments/EFW/screens/APID_267.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[266]: filename = 'FSW_LDS'+str(ps)+'_TlmRates.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[267]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[268]: print_window('Instruments/EFW/screens/CCSDS_tlm_rates.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[270]: log(' TELEMETRY RECEIVED (CUMULATIVE) @ PASS(%d)' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[271]: hsk = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[272]: rt = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[273]: b1 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[274]: b2 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[285]: tot = hsk+rt+b1+b2 Instruments/EFW/scripts/FSW\TEST_LDS.py[286]: fhsk = hsk/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[287]: frt = rt/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[288]: fb1 = b1/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[289]: fb2 = b2/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[290]: ftot= tot/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[291]: log(' HSK = %7.3f MB ' % fhsk, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[292]: log(' RealTime = %7.3f MB ' % frt, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[293]: log(' Burst1 = %7.3f MB ' % fb1, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[294]: log(' Burst2 = %7.3f MB ' % fb2, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[295]: log(' Total = %7.3f MB ' % ftot, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[297]: log(' THERE ARE %d ERRORS ' % APID_267.ERRCTR, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[355]: sleep(3600) Instruments/EFW/scripts/FSW\TEST_LDS.py[351]: for ps in range(72): Instruments/EFW/scripts/FSW\TEST_LDS.py[352]: log('3.%d COMMAND PASS SIMULATION ' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[353]: simulate_pass(FMAX) Instruments/EFW/scripts/FSW\TEST_LDS.py[246]: serial_cmd_stress_test() #Command at Max Rate Instruments/EFW/scripts/FSW\TEST_LDS.py[204]: log(' SERIAL COMMAND TEST AT MAX RATE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[205]: cmd.EFW_CMDS( 250 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[209]: for i in range( 250 ): cmd.EFW_ADRL( 0 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[211]: try: Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[217]: log(' SERIAL COMMAND TEST COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[247]: load_scripts() #Load & Dump Scripts Instruments/EFW/scripts/FSW\TEST_LDS.py[155]: log(' SCRIPT LOADING TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[156]: cmd.EFW_CMDS( 6 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[157]: cmd.EFW_SRMWRTCTL(0) #Unprotect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[158]: cmd.EFW_DISARM(3) #Don't csum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[161]: efw.idpu_load("00006000", " e0 e1 00 00 00 00 00 00 00 00 00 00 00 00 ee ef 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 00 a3 7f c1 01 e4 00 00 00 00 00 00 00 00 00 00 00 a3 7f c1 00 a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[162]: efw.idpu_load("00006100", " 1d c1 02 bb ee c2 00 00 00 00 00 00 00 00 00 00 01 ff 0f c1 03 ff 0f c1 06 ff 0f c1 0c ff 0f c1 18 ff 0f c1 30 ff 0f c1 60 ff 0f c1 c0 ff 0f c1 80 ff 0f c1 00 ff 0f c1 ef c2 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[165]: cmd.EFW_SRMWRTCTL(1) #Protect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[166]: cmd.EFW_ARM(3) #Checksum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[169]: cmd.EFW_DUMPTABL(12,0) #Dump and Spot Check Instruments/EFW/scripts/FSW\TEST_LDS.py[170]: cmd.EFW_TMDUMPCTR(255) #Indefinitely Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[176]: DUMPADR( 0x6100 ) Instruments/EFW/scripts\UTIL.py[61]: cmd.EFW_DUMPADRX( (addr >> 24 )& 0xff ) Instruments/EFW/scripts\UTIL.py[62]: cmd.EFW_DUMPADRE( (addr >> 16 )& 0xff ) Instruments/EFW/scripts\UTIL.py[63]: cmd.EFW_DUMPADRH( (addr >> 8 )& 0xff ) Instruments/EFW/scripts\UTIL.py[64]: cmd.EFW_DUMPADRL( addr & 0xff ) Instruments/EFW/scripts\UTIL.py[65]: cmd.EFW_TMDUMPCTR(255) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[182]: cmd.EFW_TMDUMPCTR(0) #Turn off dump Instruments/EFW/scripts/FSW\TEST_LDS.py[183]: log(' SCRIPT LOADING VERIFIED ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[248]: run_script() #Run and check script Instruments/EFW/scripts/FSW\TEST_LDS.py[189]: log(' SCRIPT EXECUTION TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[190]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[191]: cmd.EFW_SCRIPT(0xEF) #Should Start LEDs going Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[194]: sleep(10) Instruments/EFW/scripts/FSW\TEST_LDS.py[195]: cmd.EFW_SCRIPT(00) #Stop script Instruments/EFW/scripts/FSW\TEST_LDS.py[196]: cmd.EFW_TMPKTRATE( 4, 4 ) #Set APID 267 to 1/4Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[197]: log(' SCRIPT EXECUTION COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[249]: request_playbacks( fm ) #Determine what Burst1's to play Instruments/EFW/scripts/FSW\TEST_LDS.py[224]: log(' REQUESTING BURST1 PLAYBACKS ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[225]: log("FMAX %4x" % fm) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[227]: rp = APID_263.B1_RECPTR Instruments/EFW/scripts/FSW\TEST_LDS.py[228]: if( APID_263.B1_PLAYREQ < 10 ): Instruments/EFW/scripts/FSW\TEST_LDS.py[229]: blk = (rp - 800 ) & fm #Play from 800 blocks back Instruments/EFW/scripts/FSW\TEST_LDS.py[230]: log("QUEUEING Block %4x" % blk) Instruments/EFW/scripts/FSW\TEST_LDS.py[231]: QUEUE_B1PLAYBACK( blk, 32 ) #32 blocks should take 20 min Instruments/EFW/scripts\UTIL.py[50]: cmd.EFW_B1_SETREQDTA( (block >> 2) & 0xff ) Instruments/EFW/scripts\UTIL.py[51]: cmd.EFW_B1_SETREQDTA( (block >> 10)& 0xff ) Instruments/EFW/scripts\UTIL.py[52]: cmd.EFW_B1_SETREQDTA( leng & 0xff ) Instruments/EFW/scripts\UTIL.py[53]: cmd.EFW_B1_SETREQDTA( (leng >> 8 ) & 0xff ) Instruments/EFW/scripts/FSW\TEST_LDS.py[232]: blk = (rp - 500 ) & fm #Play from 500 blocks back Instruments/EFW/scripts/FSW\TEST_LDS.py[233]: log("QUEUEING Block %4x" % blk) Instruments/EFW/scripts/FSW\TEST_LDS.py[234]: QUEUE_B1PLAYBACK( blk, 32 ) #32 blocks should take 20 min Instruments/EFW/scripts\UTIL.py[50]: cmd.EFW_B1_SETREQDTA( (block >> 2) & 0xff ) Instruments/EFW/scripts\UTIL.py[51]: cmd.EFW_B1_SETREQDTA( (block >> 10)& 0xff ) Instruments/EFW/scripts\UTIL.py[52]: cmd.EFW_B1_SETREQDTA( leng & 0xff ) Instruments/EFW/scripts\UTIL.py[53]: cmd.EFW_B1_SETREQDTA( (leng >> 8 ) & 0xff ) Instruments/EFW/scripts/FSW\TEST_LDS.py[235]: blk = (rp - 200 ) & fm #Play from 200 blocks back Instruments/EFW/scripts/FSW\TEST_LDS.py[236]: log("QUEUEING Block %4x" % blk) Instruments/EFW/scripts/FSW\TEST_LDS.py[237]: QUEUE_B1PLAYBACK( blk, 64 ) #32 blocks should take 40 min Instruments/EFW/scripts\UTIL.py[50]: cmd.EFW_B1_SETREQDTA( (block >> 2) & 0xff ) Instruments/EFW/scripts\UTIL.py[51]: cmd.EFW_B1_SETREQDTA( (block >> 10)& 0xff ) Instruments/EFW/scripts\UTIL.py[52]: cmd.EFW_B1_SETREQDTA( leng & 0xff ) Instruments/EFW/scripts\UTIL.py[53]: cmd.EFW_B1_SETREQDTA( (leng >> 8 ) & 0xff ) Instruments/EFW/scripts/FSW\TEST_LDS.py[238]: sleep(8) Instruments/EFW/scripts/FSW\TEST_LDS.py[239]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[240]: log(' BURST1 PLAYLIST HAS %d REQUESTS '% APID_263.B1_PLAYREQ, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[354]: generate_report(ps) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[257]: filename = 'FSW_LDS'+str(ps)+'_AP263.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[258]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[259]: print_window('Instruments/EFW/screens/APID_263.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[261]: wait(APID_267, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[262]: filename = 'FSW_LDS'+str(ps)+'_AP267.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[263]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[264]: print_window('Instruments/EFW/screens/APID_267.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[266]: filename = 'FSW_LDS'+str(ps)+'_TlmRates.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[267]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[268]: print_window('Instruments/EFW/screens/CCSDS_tlm_rates.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[270]: log(' TELEMETRY RECEIVED (CUMULATIVE) @ PASS(%d)' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[271]: hsk = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[272]: rt = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[273]: b1 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[274]: b2 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[285]: tot = hsk+rt+b1+b2 Instruments/EFW/scripts/FSW\TEST_LDS.py[286]: fhsk = hsk/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[287]: frt = rt/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[288]: fb1 = b1/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[289]: fb2 = b2/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[290]: ftot= tot/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[291]: log(' HSK = %7.3f MB ' % fhsk, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[292]: log(' RealTime = %7.3f MB ' % frt, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[293]: log(' Burst1 = %7.3f MB ' % fb1, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[294]: log(' Burst2 = %7.3f MB ' % fb2, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[295]: log(' Total = %7.3f MB ' % ftot, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[297]: log(' THERE ARE %d ERRORS ' % APID_267.ERRCTR, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[355]: sleep(3600) Instruments/EFW/scripts/FSW\TEST_LDS.py[351]: for ps in range(72): Instruments/EFW/scripts/FSW\TEST_LDS.py[352]: log('3.%d COMMAND PASS SIMULATION ' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[353]: simulate_pass(FMAX) Instruments/EFW/scripts/FSW\TEST_LDS.py[246]: serial_cmd_stress_test() #Command at Max Rate Instruments/EFW/scripts/FSW\TEST_LDS.py[204]: log(' SERIAL COMMAND TEST AT MAX RATE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[205]: cmd.EFW_CMDS( 250 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[209]: for i in range( 250 ): cmd.EFW_ADRL( 0 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[211]: try: Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[217]: log(' SERIAL COMMAND TEST COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[247]: load_scripts() #Load & Dump Scripts Instruments/EFW/scripts/FSW\TEST_LDS.py[155]: log(' SCRIPT LOADING TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[156]: cmd.EFW_CMDS( 6 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[157]: cmd.EFW_SRMWRTCTL(0) #Unprotect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[158]: cmd.EFW_DISARM(3) #Don't csum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[161]: efw.idpu_load("00006000", " e0 e1 00 00 00 00 00 00 00 00 00 00 00 00 ee ef 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 00 a3 7f c1 01 e4 00 00 00 00 00 00 00 00 00 00 00 a3 7f c1 00 a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[162]: efw.idpu_load("00006100", " 1d c1 02 bb ee c2 00 00 00 00 00 00 00 00 00 00 01 ff 0f c1 03 ff 0f c1 06 ff 0f c1 0c ff 0f c1 18 ff 0f c1 30 ff 0f c1 60 ff 0f c1 c0 ff 0f c1 80 ff 0f c1 00 ff 0f c1 ef c2 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[165]: cmd.EFW_SRMWRTCTL(1) #Protect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[166]: cmd.EFW_ARM(3) #Checksum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[169]: cmd.EFW_DUMPTABL(12,0) #Dump and Spot Check Instruments/EFW/scripts/FSW\TEST_LDS.py[170]: cmd.EFW_TMDUMPCTR(255) #Indefinitely Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[176]: DUMPADR( 0x6100 ) Instruments/EFW/scripts\UTIL.py[61]: cmd.EFW_DUMPADRX( (addr >> 24 )& 0xff ) Instruments/EFW/scripts\UTIL.py[62]: cmd.EFW_DUMPADRE( (addr >> 16 )& 0xff ) Instruments/EFW/scripts\UTIL.py[63]: cmd.EFW_DUMPADRH( (addr >> 8 )& 0xff ) Instruments/EFW/scripts\UTIL.py[64]: cmd.EFW_DUMPADRL( addr & 0xff ) Instruments/EFW/scripts\UTIL.py[65]: cmd.EFW_TMDUMPCTR(255) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[182]: cmd.EFW_TMDUMPCTR(0) #Turn off dump Instruments/EFW/scripts/FSW\TEST_LDS.py[183]: log(' SCRIPT LOADING VERIFIED ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[248]: run_script() #Run and check script Instruments/EFW/scripts/FSW\TEST_LDS.py[189]: log(' SCRIPT EXECUTION TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[190]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[191]: cmd.EFW_SCRIPT(0xEF) #Should Start LEDs going Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[194]: sleep(10) Instruments/EFW/scripts/FSW\TEST_LDS.py[195]: cmd.EFW_SCRIPT(00) #Stop script Instruments/EFW/scripts/FSW\TEST_LDS.py[196]: cmd.EFW_TMPKTRATE( 4, 4 ) #Set APID 267 to 1/4Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[197]: log(' SCRIPT EXECUTION COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[249]: request_playbacks( fm ) #Determine what Burst1's to play Instruments/EFW/scripts/FSW\TEST_LDS.py[224]: log(' REQUESTING BURST1 PLAYBACKS ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[225]: log("FMAX %4x" % fm) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[227]: rp = APID_263.B1_RECPTR Instruments/EFW/scripts/FSW\TEST_LDS.py[228]: if( APID_263.B1_PLAYREQ < 10 ): Instruments/EFW/scripts/FSW\TEST_LDS.py[229]: blk = (rp - 800 ) & fm #Play from 800 blocks back Instruments/EFW/scripts/FSW\TEST_LDS.py[230]: log("QUEUEING Block %4x" % blk) Instruments/EFW/scripts/FSW\TEST_LDS.py[231]: QUEUE_B1PLAYBACK( blk, 32 ) #32 blocks should take 20 min Instruments/EFW/scripts\UTIL.py[50]: cmd.EFW_B1_SETREQDTA( (block >> 2) & 0xff ) Instruments/EFW/scripts\UTIL.py[51]: cmd.EFW_B1_SETREQDTA( (block >> 10)& 0xff ) Instruments/EFW/scripts\UTIL.py[52]: cmd.EFW_B1_SETREQDTA( leng & 0xff ) Instruments/EFW/scripts\UTIL.py[53]: cmd.EFW_B1_SETREQDTA( (leng >> 8 ) & 0xff ) Instruments/EFW/scripts/FSW\TEST_LDS.py[232]: blk = (rp - 500 ) & fm #Play from 500 blocks back Instruments/EFW/scripts/FSW\TEST_LDS.py[233]: log("QUEUEING Block %4x" % blk) Instruments/EFW/scripts/FSW\TEST_LDS.py[234]: QUEUE_B1PLAYBACK( blk, 32 ) #32 blocks should take 20 min Instruments/EFW/scripts\UTIL.py[50]: cmd.EFW_B1_SETREQDTA( (block >> 2) & 0xff ) Instruments/EFW/scripts\UTIL.py[51]: cmd.EFW_B1_SETREQDTA( (block >> 10)& 0xff ) Instruments/EFW/scripts\UTIL.py[52]: cmd.EFW_B1_SETREQDTA( leng & 0xff ) Instruments/EFW/scripts\UTIL.py[53]: cmd.EFW_B1_SETREQDTA( (leng >> 8 ) & 0xff ) Instruments/EFW/scripts/FSW\TEST_LDS.py[235]: blk = (rp - 200 ) & fm #Play from 200 blocks back Instruments/EFW/scripts/FSW\TEST_LDS.py[236]: log("QUEUEING Block %4x" % blk) Instruments/EFW/scripts/FSW\TEST_LDS.py[237]: QUEUE_B1PLAYBACK( blk, 64 ) #32 blocks should take 40 min Instruments/EFW/scripts\UTIL.py[50]: cmd.EFW_B1_SETREQDTA( (block >> 2) & 0xff ) Instruments/EFW/scripts\UTIL.py[51]: cmd.EFW_B1_SETREQDTA( (block >> 10)& 0xff ) Instruments/EFW/scripts\UTIL.py[52]: cmd.EFW_B1_SETREQDTA( leng & 0xff ) Instruments/EFW/scripts\UTIL.py[53]: cmd.EFW_B1_SETREQDTA( (leng >> 8 ) & 0xff ) Instruments/EFW/scripts/FSW\TEST_LDS.py[238]: sleep(8) Instruments/EFW/scripts/FSW\TEST_LDS.py[239]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[240]: log(' BURST1 PLAYLIST HAS %d REQUESTS '% APID_263.B1_PLAYREQ, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[354]: generate_report(ps) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[257]: filename = 'FSW_LDS'+str(ps)+'_AP263.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[258]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[259]: print_window('Instruments/EFW/screens/APID_263.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[261]: wait(APID_267, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[262]: filename = 'FSW_LDS'+str(ps)+'_AP267.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[263]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[264]: print_window('Instruments/EFW/screens/APID_267.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[266]: filename = 'FSW_LDS'+str(ps)+'_TlmRates.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[267]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[268]: print_window('Instruments/EFW/screens/CCSDS_tlm_rates.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[270]: log(' TELEMETRY RECEIVED (CUMULATIVE) @ PASS(%d)' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[271]: hsk = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[272]: rt = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[273]: b1 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[274]: b2 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[285]: tot = hsk+rt+b1+b2 Instruments/EFW/scripts/FSW\TEST_LDS.py[286]: fhsk = hsk/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[287]: frt = rt/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[288]: fb1 = b1/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[289]: fb2 = b2/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[290]: ftot= tot/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[291]: log(' HSK = %7.3f MB ' % fhsk, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[292]: log(' RealTime = %7.3f MB ' % frt, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[293]: log(' Burst1 = %7.3f MB ' % fb1, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[294]: log(' Burst2 = %7.3f MB ' % fb2, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[295]: log(' Total = %7.3f MB ' % ftot, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[297]: log(' THERE ARE %d ERRORS ' % APID_267.ERRCTR, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[355]: sleep(3600) Instruments/EFW/scripts/FSW\TEST_LDS.py[351]: for ps in range(72): Instruments/EFW/scripts/FSW\TEST_LDS.py[352]: log('3.%d COMMAND PASS SIMULATION ' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[353]: simulate_pass(FMAX) Instruments/EFW/scripts/FSW\TEST_LDS.py[246]: serial_cmd_stress_test() #Command at Max Rate Instruments/EFW/scripts/FSW\TEST_LDS.py[204]: log(' SERIAL COMMAND TEST AT MAX RATE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[205]: cmd.EFW_CMDS( 250 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[209]: for i in range( 250 ): cmd.EFW_ADRL( 0 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[211]: try: Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[217]: log(' SERIAL COMMAND TEST COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[247]: load_scripts() #Load & Dump Scripts Instruments/EFW/scripts/FSW\TEST_LDS.py[155]: log(' SCRIPT LOADING TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[156]: cmd.EFW_CMDS( 6 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[157]: cmd.EFW_SRMWRTCTL(0) #Unprotect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[158]: cmd.EFW_DISARM(3) #Don't csum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[161]: efw.idpu_load("00006000", " e0 e1 00 00 00 00 00 00 00 00 00 00 00 00 ee ef 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 00 a3 7f c1 01 e4 00 00 00 00 00 00 00 00 00 00 00 a3 7f c1 00 a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[162]: efw.idpu_load("00006100", " 1d c1 02 bb ee c2 00 00 00 00 00 00 00 00 00 00 01 ff 0f c1 03 ff 0f c1 06 ff 0f c1 0c ff 0f c1 18 ff 0f c1 30 ff 0f c1 60 ff 0f c1 c0 ff 0f c1 80 ff 0f c1 00 ff 0f c1 ef c2 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[165]: cmd.EFW_SRMWRTCTL(1) #Protect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[166]: cmd.EFW_ARM(3) #Checksum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[169]: cmd.EFW_DUMPTABL(12,0) #Dump and Spot Check Instruments/EFW/scripts/FSW\TEST_LDS.py[170]: cmd.EFW_TMDUMPCTR(255) #Indefinitely Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[176]: DUMPADR( 0x6100 ) Instruments/EFW/scripts\UTIL.py[61]: cmd.EFW_DUMPADRX( (addr >> 24 )& 0xff ) Instruments/EFW/scripts\UTIL.py[62]: cmd.EFW_DUMPADRE( (addr >> 16 )& 0xff ) Instruments/EFW/scripts\UTIL.py[63]: cmd.EFW_DUMPADRH( (addr >> 8 )& 0xff ) Instruments/EFW/scripts\UTIL.py[64]: cmd.EFW_DUMPADRL( addr & 0xff ) Instruments/EFW/scripts\UTIL.py[65]: cmd.EFW_TMDUMPCTR(255) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[182]: cmd.EFW_TMDUMPCTR(0) #Turn off dump Instruments/EFW/scripts/FSW\TEST_LDS.py[183]: log(' SCRIPT LOADING VERIFIED ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[248]: run_script() #Run and check script Instruments/EFW/scripts/FSW\TEST_LDS.py[189]: log(' SCRIPT EXECUTION TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[190]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[191]: cmd.EFW_SCRIPT(0xEF) #Should Start LEDs going Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[194]: sleep(10) Instruments/EFW/scripts/FSW\TEST_LDS.py[195]: cmd.EFW_SCRIPT(00) #Stop script Instruments/EFW/scripts/FSW\TEST_LDS.py[196]: cmd.EFW_TMPKTRATE( 4, 4 ) #Set APID 267 to 1/4Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[197]: log(' SCRIPT EXECUTION COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[249]: request_playbacks( fm ) #Determine what Burst1's to play Instruments/EFW/scripts/FSW\TEST_LDS.py[224]: log(' REQUESTING BURST1 PLAYBACKS ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[225]: log("FMAX %4x" % fm) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[227]: rp = APID_263.B1_RECPTR Instruments/EFW/scripts/FSW\TEST_LDS.py[228]: if( APID_263.B1_PLAYREQ < 10 ): Instruments/EFW/scripts/FSW\TEST_LDS.py[229]: blk = (rp - 800 ) & fm #Play from 800 blocks back Instruments/EFW/scripts/FSW\TEST_LDS.py[230]: log("QUEUEING Block %4x" % blk) Instruments/EFW/scripts/FSW\TEST_LDS.py[231]: QUEUE_B1PLAYBACK( blk, 32 ) #32 blocks should take 20 min Instruments/EFW/scripts\UTIL.py[50]: cmd.EFW_B1_SETREQDTA( (block >> 2) & 0xff ) Instruments/EFW/scripts\UTIL.py[51]: cmd.EFW_B1_SETREQDTA( (block >> 10)& 0xff ) Instruments/EFW/scripts\UTIL.py[52]: cmd.EFW_B1_SETREQDTA( leng & 0xff ) Instruments/EFW/scripts\UTIL.py[53]: cmd.EFW_B1_SETREQDTA( (leng >> 8 ) & 0xff ) Instruments/EFW/scripts/FSW\TEST_LDS.py[232]: blk = (rp - 500 ) & fm #Play from 500 blocks back Instruments/EFW/scripts/FSW\TEST_LDS.py[233]: log("QUEUEING Block %4x" % blk) Instruments/EFW/scripts/FSW\TEST_LDS.py[234]: QUEUE_B1PLAYBACK( blk, 32 ) #32 blocks should take 20 min Instruments/EFW/scripts\UTIL.py[50]: cmd.EFW_B1_SETREQDTA( (block >> 2) & 0xff ) Instruments/EFW/scripts\UTIL.py[51]: cmd.EFW_B1_SETREQDTA( (block >> 10)& 0xff ) Instruments/EFW/scripts\UTIL.py[52]: cmd.EFW_B1_SETREQDTA( leng & 0xff ) Instruments/EFW/scripts\UTIL.py[53]: cmd.EFW_B1_SETREQDTA( (leng >> 8 ) & 0xff ) Instruments/EFW/scripts/FSW\TEST_LDS.py[235]: blk = (rp - 200 ) & fm #Play from 200 blocks back Instruments/EFW/scripts/FSW\TEST_LDS.py[236]: log("QUEUEING Block %4x" % blk) Instruments/EFW/scripts/FSW\TEST_LDS.py[237]: QUEUE_B1PLAYBACK( blk, 64 ) #32 blocks should take 40 min Instruments/EFW/scripts\UTIL.py[50]: cmd.EFW_B1_SETREQDTA( (block >> 2) & 0xff ) Instruments/EFW/scripts\UTIL.py[51]: cmd.EFW_B1_SETREQDTA( (block >> 10)& 0xff ) Instruments/EFW/scripts\UTIL.py[52]: cmd.EFW_B1_SETREQDTA( leng & 0xff ) Instruments/EFW/scripts\UTIL.py[53]: cmd.EFW_B1_SETREQDTA( (leng >> 8 ) & 0xff ) Instruments/EFW/scripts/FSW\TEST_LDS.py[238]: sleep(8) Instruments/EFW/scripts/FSW\TEST_LDS.py[239]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[240]: log(' BURST1 PLAYLIST HAS %d REQUESTS '% APID_263.B1_PLAYREQ, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[354]: generate_report(ps) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[257]: filename = 'FSW_LDS'+str(ps)+'_AP263.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[258]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[259]: print_window('Instruments/EFW/screens/APID_263.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[261]: wait(APID_267, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[262]: filename = 'FSW_LDS'+str(ps)+'_AP267.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[263]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[264]: print_window('Instruments/EFW/screens/APID_267.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[266]: filename = 'FSW_LDS'+str(ps)+'_TlmRates.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[267]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[268]: print_window('Instruments/EFW/screens/CCSDS_tlm_rates.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[270]: log(' TELEMETRY RECEIVED (CUMULATIVE) @ PASS(%d)' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[271]: hsk = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[272]: rt = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[273]: b1 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[274]: b2 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[285]: tot = hsk+rt+b1+b2 Instruments/EFW/scripts/FSW\TEST_LDS.py[286]: fhsk = hsk/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[287]: frt = rt/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[288]: fb1 = b1/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[289]: fb2 = b2/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[290]: ftot= tot/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[291]: log(' HSK = %7.3f MB ' % fhsk, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[292]: log(' RealTime = %7.3f MB ' % frt, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[293]: log(' Burst1 = %7.3f MB ' % fb1, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[294]: log(' Burst2 = %7.3f MB ' % fb2, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[295]: log(' Total = %7.3f MB ' % ftot, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[297]: log(' THERE ARE %d ERRORS ' % APID_267.ERRCTR, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[355]: sleep(3600) Instruments/EFW/scripts/FSW\TEST_LDS.py[351]: for ps in range(72): Instruments/EFW/scripts/FSW\TEST_LDS.py[352]: log('3.%d COMMAND PASS SIMULATION ' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[353]: simulate_pass(FMAX) Instruments/EFW/scripts/FSW\TEST_LDS.py[246]: serial_cmd_stress_test() #Command at Max Rate Instruments/EFW/scripts/FSW\TEST_LDS.py[204]: log(' SERIAL COMMAND TEST AT MAX RATE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[205]: cmd.EFW_CMDS( 250 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[209]: for i in range( 250 ): cmd.EFW_ADRL( 0 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[211]: try: Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[217]: log(' SERIAL COMMAND TEST COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[247]: load_scripts() #Load & Dump Scripts Instruments/EFW/scripts/FSW\TEST_LDS.py[155]: log(' SCRIPT LOADING TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[156]: cmd.EFW_CMDS( 6 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[157]: cmd.EFW_SRMWRTCTL(0) #Unprotect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[158]: cmd.EFW_DISARM(3) #Don't csum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[161]: efw.idpu_load("00006000", " e0 e1 00 00 00 00 00 00 00 00 00 00 00 00 ee ef 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 00 a3 7f c1 01 e4 00 00 00 00 00 00 00 00 00 00 00 a3 7f c1 00 a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[162]: efw.idpu_load("00006100", " 1d c1 02 bb ee c2 00 00 00 00 00 00 00 00 00 00 01 ff 0f c1 03 ff 0f c1 06 ff 0f c1 0c ff 0f c1 18 ff 0f c1 30 ff 0f c1 60 ff 0f c1 c0 ff 0f c1 80 ff 0f c1 00 ff 0f c1 ef c2 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[165]: cmd.EFW_SRMWRTCTL(1) #Protect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[166]: cmd.EFW_ARM(3) #Checksum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[169]: cmd.EFW_DUMPTABL(12,0) #Dump and Spot Check Instruments/EFW/scripts/FSW\TEST_LDS.py[170]: cmd.EFW_TMDUMPCTR(255) #Indefinitely Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[176]: DUMPADR( 0x6100 ) Instruments/EFW/scripts\UTIL.py[61]: cmd.EFW_DUMPADRX( (addr >> 24 )& 0xff ) Instruments/EFW/scripts\UTIL.py[62]: cmd.EFW_DUMPADRE( (addr >> 16 )& 0xff ) Instruments/EFW/scripts\UTIL.py[63]: cmd.EFW_DUMPADRH( (addr >> 8 )& 0xff ) Instruments/EFW/scripts\UTIL.py[64]: cmd.EFW_DUMPADRL( addr & 0xff ) Instruments/EFW/scripts\UTIL.py[65]: cmd.EFW_TMDUMPCTR(255) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[182]: cmd.EFW_TMDUMPCTR(0) #Turn off dump Instruments/EFW/scripts/FSW\TEST_LDS.py[183]: log(' SCRIPT LOADING VERIFIED ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[248]: run_script() #Run and check script Instruments/EFW/scripts/FSW\TEST_LDS.py[189]: log(' SCRIPT EXECUTION TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[190]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[191]: cmd.EFW_SCRIPT(0xEF) #Should Start LEDs going Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[194]: sleep(10) Instruments/EFW/scripts/FSW\TEST_LDS.py[195]: cmd.EFW_SCRIPT(00) #Stop script Instruments/EFW/scripts/FSW\TEST_LDS.py[196]: cmd.EFW_TMPKTRATE( 4, 4 ) #Set APID 267 to 1/4Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[197]: log(' SCRIPT EXECUTION COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[249]: request_playbacks( fm ) #Determine what Burst1's to play Instruments/EFW/scripts/FSW\TEST_LDS.py[224]: log(' REQUESTING BURST1 PLAYBACKS ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[225]: log("FMAX %4x" % fm) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[227]: rp = APID_263.B1_RECPTR Instruments/EFW/scripts/FSW\TEST_LDS.py[228]: if( APID_263.B1_PLAYREQ < 10 ): Instruments/EFW/scripts/FSW\TEST_LDS.py[239]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[240]: log(' BURST1 PLAYLIST HAS %d REQUESTS '% APID_263.B1_PLAYREQ, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[354]: generate_report(ps) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[257]: filename = 'FSW_LDS'+str(ps)+'_AP263.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[258]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[259]: print_window('Instruments/EFW/screens/APID_263.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[261]: wait(APID_267, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[262]: filename = 'FSW_LDS'+str(ps)+'_AP267.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[263]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[264]: print_window('Instruments/EFW/screens/APID_267.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[266]: filename = 'FSW_LDS'+str(ps)+'_TlmRates.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[267]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[268]: print_window('Instruments/EFW/screens/CCSDS_tlm_rates.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[270]: log(' TELEMETRY RECEIVED (CUMULATIVE) @ PASS(%d)' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[271]: hsk = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[272]: rt = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[273]: b1 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[274]: b2 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[285]: tot = hsk+rt+b1+b2 Instruments/EFW/scripts/FSW\TEST_LDS.py[286]: fhsk = hsk/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[287]: frt = rt/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[288]: fb1 = b1/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[289]: fb2 = b2/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[290]: ftot= tot/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[291]: log(' HSK = %7.3f MB ' % fhsk, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[292]: log(' RealTime = %7.3f MB ' % frt, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[293]: log(' Burst1 = %7.3f MB ' % fb1, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[294]: log(' Burst2 = %7.3f MB ' % fb2, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[295]: log(' Total = %7.3f MB ' % ftot, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[297]: log(' THERE ARE %d ERRORS ' % APID_267.ERRCTR, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[355]: sleep(3600) Instruments/EFW/scripts/FSW\TEST_LDS.py[351]: for ps in range(72): Instruments/EFW/scripts/FSW\TEST_LDS.py[352]: log('3.%d COMMAND PASS SIMULATION ' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[353]: simulate_pass(FMAX) Instruments/EFW/scripts/FSW\TEST_LDS.py[246]: serial_cmd_stress_test() #Command at Max Rate Instruments/EFW/scripts/FSW\TEST_LDS.py[204]: log(' SERIAL COMMAND TEST AT MAX RATE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[205]: cmd.EFW_CMDS( 250 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[209]: for i in range( 250 ): cmd.EFW_ADRL( 0 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[211]: try: Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[217]: log(' SERIAL COMMAND TEST COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[247]: load_scripts() #Load & Dump Scripts Instruments/EFW/scripts/FSW\TEST_LDS.py[155]: log(' SCRIPT LOADING TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[156]: cmd.EFW_CMDS( 6 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[157]: cmd.EFW_SRMWRTCTL(0) #Unprotect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[158]: cmd.EFW_DISARM(3) #Don't csum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[161]: efw.idpu_load("00006000", " e0 e1 00 00 00 00 00 00 00 00 00 00 00 00 ee ef 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 00 a3 7f c1 01 e4 00 00 00 00 00 00 00 00 00 00 00 a3 7f c1 00 a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[162]: efw.idpu_load("00006100", " 1d c1 02 bb ee c2 00 00 00 00 00 00 00 00 00 00 01 ff 0f c1 03 ff 0f c1 06 ff 0f c1 0c ff 0f c1 18 ff 0f c1 30 ff 0f c1 60 ff 0f c1 c0 ff 0f c1 80 ff 0f c1 00 ff 0f c1 ef c2 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[165]: cmd.EFW_SRMWRTCTL(1) #Protect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[166]: cmd.EFW_ARM(3) #Checksum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[169]: cmd.EFW_DUMPTABL(12,0) #Dump and Spot Check Instruments/EFW/scripts/FSW\TEST_LDS.py[170]: cmd.EFW_TMDUMPCTR(255) #Indefinitely Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[176]: DUMPADR( 0x6100 ) Instruments/EFW/scripts\UTIL.py[61]: cmd.EFW_DUMPADRX( (addr >> 24 )& 0xff ) Instruments/EFW/scripts\UTIL.py[62]: cmd.EFW_DUMPADRE( (addr >> 16 )& 0xff ) Instruments/EFW/scripts\UTIL.py[63]: cmd.EFW_DUMPADRH( (addr >> 8 )& 0xff ) Instruments/EFW/scripts\UTIL.py[64]: cmd.EFW_DUMPADRL( addr & 0xff ) Instruments/EFW/scripts\UTIL.py[65]: cmd.EFW_TMDUMPCTR(255) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[182]: cmd.EFW_TMDUMPCTR(0) #Turn off dump Instruments/EFW/scripts/FSW\TEST_LDS.py[183]: log(' SCRIPT LOADING VERIFIED ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[248]: run_script() #Run and check script Instruments/EFW/scripts/FSW\TEST_LDS.py[189]: log(' SCRIPT EXECUTION TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[190]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[191]: cmd.EFW_SCRIPT(0xEF) #Should Start LEDs going Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[194]: sleep(10) Instruments/EFW/scripts/FSW\TEST_LDS.py[195]: cmd.EFW_SCRIPT(00) #Stop script Instruments/EFW/scripts/FSW\TEST_LDS.py[196]: cmd.EFW_TMPKTRATE( 4, 4 ) #Set APID 267 to 1/4Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[197]: log(' SCRIPT EXECUTION COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[249]: request_playbacks( fm ) #Determine what Burst1's to play Instruments/EFW/scripts/FSW\TEST_LDS.py[224]: log(' REQUESTING BURST1 PLAYBACKS ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[225]: log("FMAX %4x" % fm) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[227]: rp = APID_263.B1_RECPTR Instruments/EFW/scripts/FSW\TEST_LDS.py[228]: if( APID_263.B1_PLAYREQ < 10 ): Instruments/EFW/scripts/FSW\TEST_LDS.py[239]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[240]: log(' BURST1 PLAYLIST HAS %d REQUESTS '% APID_263.B1_PLAYREQ, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[354]: generate_report(ps) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[257]: filename = 'FSW_LDS'+str(ps)+'_AP263.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[258]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[259]: print_window('Instruments/EFW/screens/APID_263.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[261]: wait(APID_267, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[262]: filename = 'FSW_LDS'+str(ps)+'_AP267.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[263]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[264]: print_window('Instruments/EFW/screens/APID_267.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[266]: filename = 'FSW_LDS'+str(ps)+'_TlmRates.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[267]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[268]: print_window('Instruments/EFW/screens/CCSDS_tlm_rates.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[270]: log(' TELEMETRY RECEIVED (CUMULATIVE) @ PASS(%d)' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[271]: hsk = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[272]: rt = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[273]: b1 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[274]: b2 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[285]: tot = hsk+rt+b1+b2 Instruments/EFW/scripts/FSW\TEST_LDS.py[286]: fhsk = hsk/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[287]: frt = rt/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[288]: fb1 = b1/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[289]: fb2 = b2/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[290]: ftot= tot/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[291]: log(' HSK = %7.3f MB ' % fhsk, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[292]: log(' RealTime = %7.3f MB ' % frt, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[293]: log(' Burst1 = %7.3f MB ' % fb1, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[294]: log(' Burst2 = %7.3f MB ' % fb2, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[295]: log(' Total = %7.3f MB ' % ftot, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[297]: log(' THERE ARE %d ERRORS ' % APID_267.ERRCTR, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[355]: sleep(3600) Instruments/EFW/scripts/FSW\TEST_LDS.py[351]: for ps in range(72): Instruments/EFW/scripts/FSW\TEST_LDS.py[352]: log('3.%d COMMAND PASS SIMULATION ' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[353]: simulate_pass(FMAX) Instruments/EFW/scripts/FSW\TEST_LDS.py[246]: serial_cmd_stress_test() #Command at Max Rate Instruments/EFW/scripts/FSW\TEST_LDS.py[204]: log(' SERIAL COMMAND TEST AT MAX RATE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[205]: cmd.EFW_CMDS( 250 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[209]: for i in range( 250 ): cmd.EFW_ADRL( 0 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[211]: try: Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[217]: log(' SERIAL COMMAND TEST COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[247]: load_scripts() #Load & Dump Scripts Instruments/EFW/scripts/FSW\TEST_LDS.py[155]: log(' SCRIPT LOADING TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[156]: cmd.EFW_CMDS( 6 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[157]: cmd.EFW_SRMWRTCTL(0) #Unprotect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[158]: cmd.EFW_DISARM(3) #Don't csum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[161]: efw.idpu_load("00006000", " e0 e1 00 00 00 00 00 00 00 00 00 00 00 00 ee ef 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 00 a3 7f c1 01 e4 00 00 00 00 00 00 00 00 00 00 00 a3 7f c1 00 a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[162]: efw.idpu_load("00006100", " 1d c1 02 bb ee c2 00 00 00 00 00 00 00 00 00 00 01 ff 0f c1 03 ff 0f c1 06 ff 0f c1 0c ff 0f c1 18 ff 0f c1 30 ff 0f c1 60 ff 0f c1 c0 ff 0f c1 80 ff 0f c1 00 ff 0f c1 ef c2 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[165]: cmd.EFW_SRMWRTCTL(1) #Protect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[166]: cmd.EFW_ARM(3) #Checksum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[169]: cmd.EFW_DUMPTABL(12,0) #Dump and Spot Check Instruments/EFW/scripts/FSW\TEST_LDS.py[170]: cmd.EFW_TMDUMPCTR(255) #Indefinitely Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[176]: DUMPADR( 0x6100 ) Instruments/EFW/scripts\UTIL.py[61]: cmd.EFW_DUMPADRX( (addr >> 24 )& 0xff ) Instruments/EFW/scripts\UTIL.py[62]: cmd.EFW_DUMPADRE( (addr >> 16 )& 0xff ) Instruments/EFW/scripts\UTIL.py[63]: cmd.EFW_DUMPADRH( (addr >> 8 )& 0xff ) Instruments/EFW/scripts\UTIL.py[64]: cmd.EFW_DUMPADRL( addr & 0xff ) Instruments/EFW/scripts\UTIL.py[65]: cmd.EFW_TMDUMPCTR(255) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[182]: cmd.EFW_TMDUMPCTR(0) #Turn off dump Instruments/EFW/scripts/FSW\TEST_LDS.py[183]: log(' SCRIPT LOADING VERIFIED ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[248]: run_script() #Run and check script Instruments/EFW/scripts/FSW\TEST_LDS.py[189]: log(' SCRIPT EXECUTION TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[190]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[191]: cmd.EFW_SCRIPT(0xEF) #Should Start LEDs going Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[194]: sleep(10) Instruments/EFW/scripts/FSW\TEST_LDS.py[195]: cmd.EFW_SCRIPT(00) #Stop script Instruments/EFW/scripts/FSW\TEST_LDS.py[196]: cmd.EFW_TMPKTRATE( 4, 4 ) #Set APID 267 to 1/4Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[197]: log(' SCRIPT EXECUTION COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[249]: request_playbacks( fm ) #Determine what Burst1's to play Instruments/EFW/scripts/FSW\TEST_LDS.py[224]: log(' REQUESTING BURST1 PLAYBACKS ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[225]: log("FMAX %4x" % fm) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[227]: rp = APID_263.B1_RECPTR Instruments/EFW/scripts/FSW\TEST_LDS.py[228]: if( APID_263.B1_PLAYREQ < 10 ): Instruments/EFW/scripts/FSW\TEST_LDS.py[239]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[240]: log(' BURST1 PLAYLIST HAS %d REQUESTS '% APID_263.B1_PLAYREQ, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[354]: generate_report(ps) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[257]: filename = 'FSW_LDS'+str(ps)+'_AP263.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[258]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[259]: print_window('Instruments/EFW/screens/APID_263.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[261]: wait(APID_267, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[262]: filename = 'FSW_LDS'+str(ps)+'_AP267.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[263]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[264]: print_window('Instruments/EFW/screens/APID_267.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[266]: filename = 'FSW_LDS'+str(ps)+'_TlmRates.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[267]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[268]: print_window('Instruments/EFW/screens/CCSDS_tlm_rates.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[270]: log(' TELEMETRY RECEIVED (CUMULATIVE) @ PASS(%d)' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[271]: hsk = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[272]: rt = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[273]: b1 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[274]: b2 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[285]: tot = hsk+rt+b1+b2 Instruments/EFW/scripts/FSW\TEST_LDS.py[286]: fhsk = hsk/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[287]: frt = rt/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[288]: fb1 = b1/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[289]: fb2 = b2/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[290]: ftot= tot/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[291]: log(' HSK = %7.3f MB ' % fhsk, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[292]: log(' RealTime = %7.3f MB ' % frt, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[293]: log(' Burst1 = %7.3f MB ' % fb1, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[294]: log(' Burst2 = %7.3f MB ' % fb2, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[295]: log(' Total = %7.3f MB ' % ftot, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[297]: log(' THERE ARE %d ERRORS ' % APID_267.ERRCTR, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[355]: sleep(3600) Instruments/EFW/scripts/FSW\TEST_LDS.py[351]: for ps in range(72): Instruments/EFW/scripts/FSW\TEST_LDS.py[352]: log('3.%d COMMAND PASS SIMULATION ' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[353]: simulate_pass(FMAX) Instruments/EFW/scripts/FSW\TEST_LDS.py[246]: serial_cmd_stress_test() #Command at Max Rate Instruments/EFW/scripts/FSW\TEST_LDS.py[204]: log(' SERIAL COMMAND TEST AT MAX RATE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[205]: cmd.EFW_CMDS( 250 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[209]: for i in range( 250 ): cmd.EFW_ADRL( 0 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[211]: try: Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[217]: log(' SERIAL COMMAND TEST COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[247]: load_scripts() #Load & Dump Scripts Instruments/EFW/scripts/FSW\TEST_LDS.py[155]: log(' SCRIPT LOADING TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[156]: cmd.EFW_CMDS( 6 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[157]: cmd.EFW_SRMWRTCTL(0) #Unprotect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[158]: cmd.EFW_DISARM(3) #Don't csum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[161]: efw.idpu_load("00006000", " e0 e1 00 00 00 00 00 00 00 00 00 00 00 00 ee ef 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 00 a3 7f c1 01 e4 00 00 00 00 00 00 00 00 00 00 00 a3 7f c1 00 a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[162]: efw.idpu_load("00006100", " 1d c1 02 bb ee c2 00 00 00 00 00 00 00 00 00 00 01 ff 0f c1 03 ff 0f c1 06 ff 0f c1 0c ff 0f c1 18 ff 0f c1 30 ff 0f c1 60 ff 0f c1 c0 ff 0f c1 80 ff 0f c1 00 ff 0f c1 ef c2 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[165]: cmd.EFW_SRMWRTCTL(1) #Protect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[166]: cmd.EFW_ARM(3) #Checksum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[169]: cmd.EFW_DUMPTABL(12,0) #Dump and Spot Check Instruments/EFW/scripts/FSW\TEST_LDS.py[170]: cmd.EFW_TMDUMPCTR(255) #Indefinitely Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[176]: DUMPADR( 0x6100 ) Instruments/EFW/scripts\UTIL.py[61]: cmd.EFW_DUMPADRX( (addr >> 24 )& 0xff ) Instruments/EFW/scripts\UTIL.py[62]: cmd.EFW_DUMPADRE( (addr >> 16 )& 0xff ) Instruments/EFW/scripts\UTIL.py[63]: cmd.EFW_DUMPADRH( (addr >> 8 )& 0xff ) Instruments/EFW/scripts\UTIL.py[64]: cmd.EFW_DUMPADRL( addr & 0xff ) Instruments/EFW/scripts\UTIL.py[65]: cmd.EFW_TMDUMPCTR(255) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[182]: cmd.EFW_TMDUMPCTR(0) #Turn off dump Instruments/EFW/scripts/FSW\TEST_LDS.py[183]: log(' SCRIPT LOADING VERIFIED ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[248]: run_script() #Run and check script Instruments/EFW/scripts/FSW\TEST_LDS.py[189]: log(' SCRIPT EXECUTION TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[190]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[191]: cmd.EFW_SCRIPT(0xEF) #Should Start LEDs going Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[194]: sleep(10) Instruments/EFW/scripts/FSW\TEST_LDS.py[195]: cmd.EFW_SCRIPT(00) #Stop script Instruments/EFW/scripts/FSW\TEST_LDS.py[196]: cmd.EFW_TMPKTRATE( 4, 4 ) #Set APID 267 to 1/4Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[197]: log(' SCRIPT EXECUTION COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[249]: request_playbacks( fm ) #Determine what Burst1's to play Instruments/EFW/scripts/FSW\TEST_LDS.py[224]: log(' REQUESTING BURST1 PLAYBACKS ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[225]: log("FMAX %4x" % fm) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[227]: rp = APID_263.B1_RECPTR Instruments/EFW/scripts/FSW\TEST_LDS.py[228]: if( APID_263.B1_PLAYREQ < 10 ): Instruments/EFW/scripts/FSW\TEST_LDS.py[239]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[240]: log(' BURST1 PLAYLIST HAS %d REQUESTS '% APID_263.B1_PLAYREQ, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[354]: generate_report(ps) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[257]: filename = 'FSW_LDS'+str(ps)+'_AP263.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[258]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[259]: print_window('Instruments/EFW/screens/APID_263.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[261]: wait(APID_267, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[262]: filename = 'FSW_LDS'+str(ps)+'_AP267.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[263]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[264]: print_window('Instruments/EFW/screens/APID_267.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[266]: filename = 'FSW_LDS'+str(ps)+'_TlmRates.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[267]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[268]: print_window('Instruments/EFW/screens/CCSDS_tlm_rates.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[270]: log(' TELEMETRY RECEIVED (CUMULATIVE) @ PASS(%d)' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[271]: hsk = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[272]: rt = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[273]: b1 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[274]: b2 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[285]: tot = hsk+rt+b1+b2 Instruments/EFW/scripts/FSW\TEST_LDS.py[286]: fhsk = hsk/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[287]: frt = rt/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[288]: fb1 = b1/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[289]: fb2 = b2/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[290]: ftot= tot/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[291]: log(' HSK = %7.3f MB ' % fhsk, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[292]: log(' RealTime = %7.3f MB ' % frt, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[293]: log(' Burst1 = %7.3f MB ' % fb1, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[294]: log(' Burst2 = %7.3f MB ' % fb2, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[295]: log(' Total = %7.3f MB ' % ftot, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[297]: log(' THERE ARE %d ERRORS ' % APID_267.ERRCTR, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[355]: sleep(3600) Instruments/EFW/scripts/FSW\TEST_LDS.py[351]: for ps in range(72): Instruments/EFW/scripts/FSW\TEST_LDS.py[352]: log('3.%d COMMAND PASS SIMULATION ' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[353]: simulate_pass(FMAX) Instruments/EFW/scripts/FSW\TEST_LDS.py[246]: serial_cmd_stress_test() #Command at Max Rate Instruments/EFW/scripts/FSW\TEST_LDS.py[204]: log(' SERIAL COMMAND TEST AT MAX RATE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[205]: cmd.EFW_CMDS( 250 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[209]: for i in range( 250 ): cmd.EFW_ADRL( 0 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[211]: try: Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[217]: log(' SERIAL COMMAND TEST COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[247]: load_scripts() #Load & Dump Scripts Instruments/EFW/scripts/FSW\TEST_LDS.py[155]: log(' SCRIPT LOADING TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[156]: cmd.EFW_CMDS( 6 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[157]: cmd.EFW_SRMWRTCTL(0) #Unprotect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[158]: cmd.EFW_DISARM(3) #Don't csum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[161]: efw.idpu_load("00006000", " e0 e1 00 00 00 00 00 00 00 00 00 00 00 00 ee ef 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 00 a3 7f c1 01 e4 00 00 00 00 00 00 00 00 00 00 00 a3 7f c1 00 a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[162]: efw.idpu_load("00006100", " 1d c1 02 bb ee c2 00 00 00 00 00 00 00 00 00 00 01 ff 0f c1 03 ff 0f c1 06 ff 0f c1 0c ff 0f c1 18 ff 0f c1 30 ff 0f c1 60 ff 0f c1 c0 ff 0f c1 80 ff 0f c1 00 ff 0f c1 ef c2 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[165]: cmd.EFW_SRMWRTCTL(1) #Protect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[166]: cmd.EFW_ARM(3) #Checksum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[169]: cmd.EFW_DUMPTABL(12,0) #Dump and Spot Check Instruments/EFW/scripts/FSW\TEST_LDS.py[170]: cmd.EFW_TMDUMPCTR(255) #Indefinitely Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[176]: DUMPADR( 0x6100 ) Instruments/EFW/scripts\UTIL.py[61]: cmd.EFW_DUMPADRX( (addr >> 24 )& 0xff ) Instruments/EFW/scripts\UTIL.py[62]: cmd.EFW_DUMPADRE( (addr >> 16 )& 0xff ) Instruments/EFW/scripts\UTIL.py[63]: cmd.EFW_DUMPADRH( (addr >> 8 )& 0xff ) Instruments/EFW/scripts\UTIL.py[64]: cmd.EFW_DUMPADRL( addr & 0xff ) Instruments/EFW/scripts\UTIL.py[65]: cmd.EFW_TMDUMPCTR(255) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[182]: cmd.EFW_TMDUMPCTR(0) #Turn off dump Instruments/EFW/scripts/FSW\TEST_LDS.py[183]: log(' SCRIPT LOADING VERIFIED ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[248]: run_script() #Run and check script Instruments/EFW/scripts/FSW\TEST_LDS.py[189]: log(' SCRIPT EXECUTION TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[190]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[191]: cmd.EFW_SCRIPT(0xEF) #Should Start LEDs going Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[194]: sleep(10) Instruments/EFW/scripts/FSW\TEST_LDS.py[195]: cmd.EFW_SCRIPT(00) #Stop script Instruments/EFW/scripts/FSW\TEST_LDS.py[196]: cmd.EFW_TMPKTRATE( 4, 4 ) #Set APID 267 to 1/4Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[197]: log(' SCRIPT EXECUTION COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[249]: request_playbacks( fm ) #Determine what Burst1's to play Instruments/EFW/scripts/FSW\TEST_LDS.py[224]: log(' REQUESTING BURST1 PLAYBACKS ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[225]: log("FMAX %4x" % fm) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[227]: rp = APID_263.B1_RECPTR Instruments/EFW/scripts/FSW\TEST_LDS.py[228]: if( APID_263.B1_PLAYREQ < 10 ): Instruments/EFW/scripts/FSW\TEST_LDS.py[239]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[240]: log(' BURST1 PLAYLIST HAS %d REQUESTS '% APID_263.B1_PLAYREQ, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[354]: generate_report(ps) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[257]: filename = 'FSW_LDS'+str(ps)+'_AP263.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[258]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[259]: print_window('Instruments/EFW/screens/APID_263.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[261]: wait(APID_267, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[262]: filename = 'FSW_LDS'+str(ps)+'_AP267.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[263]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[264]: print_window('Instruments/EFW/screens/APID_267.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[266]: filename = 'FSW_LDS'+str(ps)+'_TlmRates.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[267]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[268]: print_window('Instruments/EFW/screens/CCSDS_tlm_rates.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[270]: log(' TELEMETRY RECEIVED (CUMULATIVE) @ PASS(%d)' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[271]: hsk = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[272]: rt = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[273]: b1 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[274]: b2 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[285]: tot = hsk+rt+b1+b2 Instruments/EFW/scripts/FSW\TEST_LDS.py[286]: fhsk = hsk/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[287]: frt = rt/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[288]: fb1 = b1/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[289]: fb2 = b2/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[290]: ftot= tot/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[291]: log(' HSK = %7.3f MB ' % fhsk, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[292]: log(' RealTime = %7.3f MB ' % frt, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[293]: log(' Burst1 = %7.3f MB ' % fb1, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[294]: log(' Burst2 = %7.3f MB ' % fb2, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[295]: log(' Total = %7.3f MB ' % ftot, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[297]: log(' THERE ARE %d ERRORS ' % APID_267.ERRCTR, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[355]: sleep(3600) Instruments/EFW/scripts/FSW\TEST_LDS.py[351]: for ps in range(72): Instruments/EFW/scripts/FSW\TEST_LDS.py[352]: log('3.%d COMMAND PASS SIMULATION ' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[353]: simulate_pass(FMAX) Instruments/EFW/scripts/FSW\TEST_LDS.py[246]: serial_cmd_stress_test() #Command at Max Rate Instruments/EFW/scripts/FSW\TEST_LDS.py[204]: log(' SERIAL COMMAND TEST AT MAX RATE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[205]: cmd.EFW_CMDS( 250 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[209]: for i in range( 250 ): cmd.EFW_ADRL( 0 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[211]: try: Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[217]: log(' SERIAL COMMAND TEST COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[247]: load_scripts() #Load & Dump Scripts Instruments/EFW/scripts/FSW\TEST_LDS.py[155]: log(' SCRIPT LOADING TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[156]: cmd.EFW_CMDS( 6 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[157]: cmd.EFW_SRMWRTCTL(0) #Unprotect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[158]: cmd.EFW_DISARM(3) #Don't csum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[161]: efw.idpu_load("00006000", " e0 e1 00 00 00 00 00 00 00 00 00 00 00 00 ee ef 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 00 a3 7f c1 01 e4 00 00 00 00 00 00 00 00 00 00 00 a3 7f c1 00 a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[162]: efw.idpu_load("00006100", " 1d c1 02 bb ee c2 00 00 00 00 00 00 00 00 00 00 01 ff 0f c1 03 ff 0f c1 06 ff 0f c1 0c ff 0f c1 18 ff 0f c1 30 ff 0f c1 60 ff 0f c1 c0 ff 0f c1 80 ff 0f c1 00 ff 0f c1 ef c2 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[165]: cmd.EFW_SRMWRTCTL(1) #Protect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[166]: cmd.EFW_ARM(3) #Checksum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[169]: cmd.EFW_DUMPTABL(12,0) #Dump and Spot Check Instruments/EFW/scripts/FSW\TEST_LDS.py[170]: cmd.EFW_TMDUMPCTR(255) #Indefinitely Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[176]: DUMPADR( 0x6100 ) Instruments/EFW/scripts\UTIL.py[61]: cmd.EFW_DUMPADRX( (addr >> 24 )& 0xff ) Instruments/EFW/scripts\UTIL.py[62]: cmd.EFW_DUMPADRE( (addr >> 16 )& 0xff ) Instruments/EFW/scripts\UTIL.py[63]: cmd.EFW_DUMPADRH( (addr >> 8 )& 0xff ) Instruments/EFW/scripts\UTIL.py[64]: cmd.EFW_DUMPADRL( addr & 0xff ) Instruments/EFW/scripts\UTIL.py[65]: cmd.EFW_TMDUMPCTR(255) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[182]: cmd.EFW_TMDUMPCTR(0) #Turn off dump Instruments/EFW/scripts/FSW\TEST_LDS.py[183]: log(' SCRIPT LOADING VERIFIED ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[248]: run_script() #Run and check script Instruments/EFW/scripts/FSW\TEST_LDS.py[189]: log(' SCRIPT EXECUTION TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[190]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[191]: cmd.EFW_SCRIPT(0xEF) #Should Start LEDs going Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[194]: sleep(10) Instruments/EFW/scripts/FSW\TEST_LDS.py[195]: cmd.EFW_SCRIPT(00) #Stop script Instruments/EFW/scripts/FSW\TEST_LDS.py[196]: cmd.EFW_TMPKTRATE( 4, 4 ) #Set APID 267 to 1/4Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[197]: log(' SCRIPT EXECUTION COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[249]: request_playbacks( fm ) #Determine what Burst1's to play Instruments/EFW/scripts/FSW\TEST_LDS.py[224]: log(' REQUESTING BURST1 PLAYBACKS ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[225]: log("FMAX %4x" % fm) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[227]: rp = APID_263.B1_RECPTR Instruments/EFW/scripts/FSW\TEST_LDS.py[228]: if( APID_263.B1_PLAYREQ < 10 ): Instruments/EFW/scripts/FSW\TEST_LDS.py[239]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[240]: log(' BURST1 PLAYLIST HAS %d REQUESTS '% APID_263.B1_PLAYREQ, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[354]: generate_report(ps) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[257]: filename = 'FSW_LDS'+str(ps)+'_AP263.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[258]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[259]: print_window('Instruments/EFW/screens/APID_263.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[261]: wait(APID_267, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[262]: filename = 'FSW_LDS'+str(ps)+'_AP267.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[263]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[264]: print_window('Instruments/EFW/screens/APID_267.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[266]: filename = 'FSW_LDS'+str(ps)+'_TlmRates.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[267]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[268]: print_window('Instruments/EFW/screens/CCSDS_tlm_rates.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[270]: log(' TELEMETRY RECEIVED (CUMULATIVE) @ PASS(%d)' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[271]: hsk = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[272]: rt = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[273]: b1 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[274]: b2 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[285]: tot = hsk+rt+b1+b2 Instruments/EFW/scripts/FSW\TEST_LDS.py[286]: fhsk = hsk/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[287]: frt = rt/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[288]: fb1 = b1/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[289]: fb2 = b2/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[290]: ftot= tot/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[291]: log(' HSK = %7.3f MB ' % fhsk, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[292]: log(' RealTime = %7.3f MB ' % frt, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[293]: log(' Burst1 = %7.3f MB ' % fb1, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[294]: log(' Burst2 = %7.3f MB ' % fb2, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[295]: log(' Total = %7.3f MB ' % ftot, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[297]: log(' THERE ARE %d ERRORS ' % APID_267.ERRCTR, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[355]: sleep(3600) Instruments/EFW/scripts/FSW\TEST_LDS.py[351]: for ps in range(72): Instruments/EFW/scripts/FSW\TEST_LDS.py[352]: log('3.%d COMMAND PASS SIMULATION ' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[353]: simulate_pass(FMAX) Instruments/EFW/scripts/FSW\TEST_LDS.py[246]: serial_cmd_stress_test() #Command at Max Rate Instruments/EFW/scripts/FSW\TEST_LDS.py[204]: log(' SERIAL COMMAND TEST AT MAX RATE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[205]: cmd.EFW_CMDS( 250 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[209]: for i in range( 250 ): cmd.EFW_ADRL( 0 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[211]: try: Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[217]: log(' SERIAL COMMAND TEST COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[247]: load_scripts() #Load & Dump Scripts Instruments/EFW/scripts/FSW\TEST_LDS.py[155]: log(' SCRIPT LOADING TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[156]: cmd.EFW_CMDS( 6 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[157]: cmd.EFW_SRMWRTCTL(0) #Unprotect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[158]: cmd.EFW_DISARM(3) #Don't csum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[161]: efw.idpu_load("00006000", " e0 e1 00 00 00 00 00 00 00 00 00 00 00 00 ee ef 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 00 a3 7f c1 01 e4 00 00 00 00 00 00 00 00 00 00 00 a3 7f c1 00 a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[162]: efw.idpu_load("00006100", " 1d c1 02 bb ee c2 00 00 00 00 00 00 00 00 00 00 01 ff 0f c1 03 ff 0f c1 06 ff 0f c1 0c ff 0f c1 18 ff 0f c1 30 ff 0f c1 60 ff 0f c1 c0 ff 0f c1 80 ff 0f c1 00 ff 0f c1 ef c2 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[165]: cmd.EFW_SRMWRTCTL(1) #Protect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[166]: cmd.EFW_ARM(3) #Checksum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[169]: cmd.EFW_DUMPTABL(12,0) #Dump and Spot Check Instruments/EFW/scripts/FSW\TEST_LDS.py[170]: cmd.EFW_TMDUMPCTR(255) #Indefinitely Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[176]: DUMPADR( 0x6100 ) Instruments/EFW/scripts\UTIL.py[61]: cmd.EFW_DUMPADRX( (addr >> 24 )& 0xff ) Instruments/EFW/scripts\UTIL.py[62]: cmd.EFW_DUMPADRE( (addr >> 16 )& 0xff ) Instruments/EFW/scripts\UTIL.py[63]: cmd.EFW_DUMPADRH( (addr >> 8 )& 0xff ) Instruments/EFW/scripts\UTIL.py[64]: cmd.EFW_DUMPADRL( addr & 0xff ) Instruments/EFW/scripts\UTIL.py[65]: cmd.EFW_TMDUMPCTR(255) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[182]: cmd.EFW_TMDUMPCTR(0) #Turn off dump Instruments/EFW/scripts/FSW\TEST_LDS.py[183]: log(' SCRIPT LOADING VERIFIED ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[248]: run_script() #Run and check script Instruments/EFW/scripts/FSW\TEST_LDS.py[189]: log(' SCRIPT EXECUTION TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[190]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[191]: cmd.EFW_SCRIPT(0xEF) #Should Start LEDs going Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[194]: sleep(10) Instruments/EFW/scripts/FSW\TEST_LDS.py[195]: cmd.EFW_SCRIPT(00) #Stop script Instruments/EFW/scripts/FSW\TEST_LDS.py[196]: cmd.EFW_TMPKTRATE( 4, 4 ) #Set APID 267 to 1/4Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[197]: log(' SCRIPT EXECUTION COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[249]: request_playbacks( fm ) #Determine what Burst1's to play Instruments/EFW/scripts/FSW\TEST_LDS.py[224]: log(' REQUESTING BURST1 PLAYBACKS ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[225]: log("FMAX %4x" % fm) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[227]: rp = APID_263.B1_RECPTR Instruments/EFW/scripts/FSW\TEST_LDS.py[228]: if( APID_263.B1_PLAYREQ < 10 ): Instruments/EFW/scripts/FSW\TEST_LDS.py[239]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[240]: log(' BURST1 PLAYLIST HAS %d REQUESTS '% APID_263.B1_PLAYREQ, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[354]: generate_report(ps) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[257]: filename = 'FSW_LDS'+str(ps)+'_AP263.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[258]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[259]: print_window('Instruments/EFW/screens/APID_263.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[261]: wait(APID_267, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[262]: filename = 'FSW_LDS'+str(ps)+'_AP267.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[263]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[264]: print_window('Instruments/EFW/screens/APID_267.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[266]: filename = 'FSW_LDS'+str(ps)+'_TlmRates.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[267]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[268]: print_window('Instruments/EFW/screens/CCSDS_tlm_rates.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[270]: log(' TELEMETRY RECEIVED (CUMULATIVE) @ PASS(%d)' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[271]: hsk = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[272]: rt = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[273]: b1 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[274]: b2 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[285]: tot = hsk+rt+b1+b2 Instruments/EFW/scripts/FSW\TEST_LDS.py[286]: fhsk = hsk/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[287]: frt = rt/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[288]: fb1 = b1/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[289]: fb2 = b2/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[290]: ftot= tot/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[291]: log(' HSK = %7.3f MB ' % fhsk, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[292]: log(' RealTime = %7.3f MB ' % frt, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[293]: log(' Burst1 = %7.3f MB ' % fb1, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[294]: log(' Burst2 = %7.3f MB ' % fb2, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[295]: log(' Total = %7.3f MB ' % ftot, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[297]: log(' THERE ARE %d ERRORS ' % APID_267.ERRCTR, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[355]: sleep(3600) Instruments/EFW/scripts/FSW\TEST_LDS.py[351]: for ps in range(72): Instruments/EFW/scripts/FSW\TEST_LDS.py[352]: log('3.%d COMMAND PASS SIMULATION ' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[353]: simulate_pass(FMAX) Instruments/EFW/scripts/FSW\TEST_LDS.py[246]: serial_cmd_stress_test() #Command at Max Rate Instruments/EFW/scripts/FSW\TEST_LDS.py[204]: log(' SERIAL COMMAND TEST AT MAX RATE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[205]: cmd.EFW_CMDS( 250 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[209]: for i in range( 250 ): cmd.EFW_ADRL( 0 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[211]: try: Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[217]: log(' SERIAL COMMAND TEST COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[247]: load_scripts() #Load & Dump Scripts Instruments/EFW/scripts/FSW\TEST_LDS.py[155]: log(' SCRIPT LOADING TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[156]: cmd.EFW_CMDS( 6 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[157]: cmd.EFW_SRMWRTCTL(0) #Unprotect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[158]: cmd.EFW_DISARM(3) #Don't csum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[161]: efw.idpu_load("00006000", " e0 e1 00 00 00 00 00 00 00 00 00 00 00 00 ee ef 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 00 a3 7f c1 01 e4 00 00 00 00 00 00 00 00 00 00 00 a3 7f c1 00 a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[162]: efw.idpu_load("00006100", " 1d c1 02 bb ee c2 00 00 00 00 00 00 00 00 00 00 01 ff 0f c1 03 ff 0f c1 06 ff 0f c1 0c ff 0f c1 18 ff 0f c1 30 ff 0f c1 60 ff 0f c1 c0 ff 0f c1 80 ff 0f c1 00 ff 0f c1 ef c2 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[165]: cmd.EFW_SRMWRTCTL(1) #Protect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[166]: cmd.EFW_ARM(3) #Checksum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[169]: cmd.EFW_DUMPTABL(12,0) #Dump and Spot Check Instruments/EFW/scripts/FSW\TEST_LDS.py[170]: cmd.EFW_TMDUMPCTR(255) #Indefinitely Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[176]: DUMPADR( 0x6100 ) Instruments/EFW/scripts\UTIL.py[61]: cmd.EFW_DUMPADRX( (addr >> 24 )& 0xff ) Instruments/EFW/scripts\UTIL.py[62]: cmd.EFW_DUMPADRE( (addr >> 16 )& 0xff ) Instruments/EFW/scripts\UTIL.py[63]: cmd.EFW_DUMPADRH( (addr >> 8 )& 0xff ) Instruments/EFW/scripts\UTIL.py[64]: cmd.EFW_DUMPADRL( addr & 0xff ) Instruments/EFW/scripts\UTIL.py[65]: cmd.EFW_TMDUMPCTR(255) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[182]: cmd.EFW_TMDUMPCTR(0) #Turn off dump Instruments/EFW/scripts/FSW\TEST_LDS.py[183]: log(' SCRIPT LOADING VERIFIED ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[248]: run_script() #Run and check script Instruments/EFW/scripts/FSW\TEST_LDS.py[189]: log(' SCRIPT EXECUTION TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[190]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[191]: cmd.EFW_SCRIPT(0xEF) #Should Start LEDs going Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[194]: sleep(10) Instruments/EFW/scripts/FSW\TEST_LDS.py[195]: cmd.EFW_SCRIPT(00) #Stop script Instruments/EFW/scripts/FSW\TEST_LDS.py[196]: cmd.EFW_TMPKTRATE( 4, 4 ) #Set APID 267 to 1/4Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[197]: log(' SCRIPT EXECUTION COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[249]: request_playbacks( fm ) #Determine what Burst1's to play Instruments/EFW/scripts/FSW\TEST_LDS.py[224]: log(' REQUESTING BURST1 PLAYBACKS ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[225]: log("FMAX %4x" % fm) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[227]: rp = APID_263.B1_RECPTR Instruments/EFW/scripts/FSW\TEST_LDS.py[228]: if( APID_263.B1_PLAYREQ < 10 ): Instruments/EFW/scripts/FSW\TEST_LDS.py[239]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[240]: log(' BURST1 PLAYLIST HAS %d REQUESTS '% APID_263.B1_PLAYREQ, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[354]: generate_report(ps) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[257]: filename = 'FSW_LDS'+str(ps)+'_AP263.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[258]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[259]: print_window('Instruments/EFW/screens/APID_263.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[261]: wait(APID_267, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[262]: filename = 'FSW_LDS'+str(ps)+'_AP267.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[263]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[264]: print_window('Instruments/EFW/screens/APID_267.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[266]: filename = 'FSW_LDS'+str(ps)+'_TlmRates.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[267]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[268]: print_window('Instruments/EFW/screens/CCSDS_tlm_rates.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[270]: log(' TELEMETRY RECEIVED (CUMULATIVE) @ PASS(%d)' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[271]: hsk = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[272]: rt = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[273]: b1 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[274]: b2 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[285]: tot = hsk+rt+b1+b2 Instruments/EFW/scripts/FSW\TEST_LDS.py[286]: fhsk = hsk/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[287]: frt = rt/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[288]: fb1 = b1/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[289]: fb2 = b2/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[290]: ftot= tot/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[291]: log(' HSK = %7.3f MB ' % fhsk, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[292]: log(' RealTime = %7.3f MB ' % frt, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[293]: log(' Burst1 = %7.3f MB ' % fb1, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[294]: log(' Burst2 = %7.3f MB ' % fb2, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[295]: log(' Total = %7.3f MB ' % ftot, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[297]: log(' THERE ARE %d ERRORS ' % APID_267.ERRCTR, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[355]: sleep(3600) Instruments/EFW/scripts/FSW\TEST_LDS.py[351]: for ps in range(72): Instruments/EFW/scripts/FSW\TEST_LDS.py[352]: log('3.%d COMMAND PASS SIMULATION ' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[353]: simulate_pass(FMAX) Instruments/EFW/scripts/FSW\TEST_LDS.py[246]: serial_cmd_stress_test() #Command at Max Rate Instruments/EFW/scripts/FSW\TEST_LDS.py[204]: log(' SERIAL COMMAND TEST AT MAX RATE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[205]: cmd.EFW_CMDS( 250 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[209]: for i in range( 250 ): cmd.EFW_ADRL( 0 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[211]: try: Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[217]: log(' SERIAL COMMAND TEST COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[247]: load_scripts() #Load & Dump Scripts Instruments/EFW/scripts/FSW\TEST_LDS.py[155]: log(' SCRIPT LOADING TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[156]: cmd.EFW_CMDS( 6 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[157]: cmd.EFW_SRMWRTCTL(0) #Unprotect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[158]: cmd.EFW_DISARM(3) #Don't csum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[161]: efw.idpu_load("00006000", " e0 e1 00 00 00 00 00 00 00 00 00 00 00 00 ee ef 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 00 a3 7f c1 01 e4 00 00 00 00 00 00 00 00 00 00 00 a3 7f c1 00 a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[162]: efw.idpu_load("00006100", " 1d c1 02 bb ee c2 00 00 00 00 00 00 00 00 00 00 01 ff 0f c1 03 ff 0f c1 06 ff 0f c1 0c ff 0f c1 18 ff 0f c1 30 ff 0f c1 60 ff 0f c1 c0 ff 0f c1 80 ff 0f c1 00 ff 0f c1 ef c2 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[165]: cmd.EFW_SRMWRTCTL(1) #Protect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[166]: cmd.EFW_ARM(3) #Checksum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[169]: cmd.EFW_DUMPTABL(12,0) #Dump and Spot Check Instruments/EFW/scripts/FSW\TEST_LDS.py[170]: cmd.EFW_TMDUMPCTR(255) #Indefinitely Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[176]: DUMPADR( 0x6100 ) Instruments/EFW/scripts\UTIL.py[61]: cmd.EFW_DUMPADRX( (addr >> 24 )& 0xff ) Instruments/EFW/scripts\UTIL.py[62]: cmd.EFW_DUMPADRE( (addr >> 16 )& 0xff ) Instruments/EFW/scripts\UTIL.py[63]: cmd.EFW_DUMPADRH( (addr >> 8 )& 0xff ) Instruments/EFW/scripts\UTIL.py[64]: cmd.EFW_DUMPADRL( addr & 0xff ) Instruments/EFW/scripts\UTIL.py[65]: cmd.EFW_TMDUMPCTR(255) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[182]: cmd.EFW_TMDUMPCTR(0) #Turn off dump Instruments/EFW/scripts/FSW\TEST_LDS.py[183]: log(' SCRIPT LOADING VERIFIED ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[248]: run_script() #Run and check script Instruments/EFW/scripts/FSW\TEST_LDS.py[189]: log(' SCRIPT EXECUTION TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[190]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[191]: cmd.EFW_SCRIPT(0xEF) #Should Start LEDs going Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[194]: sleep(10) Instruments/EFW/scripts/FSW\TEST_LDS.py[195]: cmd.EFW_SCRIPT(00) #Stop script Instruments/EFW/scripts/FSW\TEST_LDS.py[196]: cmd.EFW_TMPKTRATE( 4, 4 ) #Set APID 267 to 1/4Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[197]: log(' SCRIPT EXECUTION COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[249]: request_playbacks( fm ) #Determine what Burst1's to play Instruments/EFW/scripts/FSW\TEST_LDS.py[224]: log(' REQUESTING BURST1 PLAYBACKS ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[225]: log("FMAX %4x" % fm) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[227]: rp = APID_263.B1_RECPTR Instruments/EFW/scripts/FSW\TEST_LDS.py[228]: if( APID_263.B1_PLAYREQ < 10 ): Instruments/EFW/scripts/FSW\TEST_LDS.py[239]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[240]: log(' BURST1 PLAYLIST HAS %d REQUESTS '% APID_263.B1_PLAYREQ, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[354]: generate_report(ps) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[257]: filename = 'FSW_LDS'+str(ps)+'_AP263.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[258]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[259]: print_window('Instruments/EFW/screens/APID_263.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[261]: wait(APID_267, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[262]: filename = 'FSW_LDS'+str(ps)+'_AP267.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[263]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[264]: print_window('Instruments/EFW/screens/APID_267.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[266]: filename = 'FSW_LDS'+str(ps)+'_TlmRates.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[267]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[268]: print_window('Instruments/EFW/screens/CCSDS_tlm_rates.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[270]: log(' TELEMETRY RECEIVED (CUMULATIVE) @ PASS(%d)' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[271]: hsk = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[272]: rt = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[273]: b1 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[274]: b2 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[285]: tot = hsk+rt+b1+b2 Instruments/EFW/scripts/FSW\TEST_LDS.py[286]: fhsk = hsk/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[287]: frt = rt/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[288]: fb1 = b1/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[289]: fb2 = b2/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[290]: ftot= tot/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[291]: log(' HSK = %7.3f MB ' % fhsk, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[292]: log(' RealTime = %7.3f MB ' % frt, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[293]: log(' Burst1 = %7.3f MB ' % fb1, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[294]: log(' Burst2 = %7.3f MB ' % fb2, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[295]: log(' Total = %7.3f MB ' % ftot, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[297]: log(' THERE ARE %d ERRORS ' % APID_267.ERRCTR, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[355]: sleep(3600) Instruments/EFW/scripts/FSW\TEST_LDS.py[351]: for ps in range(72): Instruments/EFW/scripts/FSW\TEST_LDS.py[352]: log('3.%d COMMAND PASS SIMULATION ' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[353]: simulate_pass(FMAX) Instruments/EFW/scripts/FSW\TEST_LDS.py[246]: serial_cmd_stress_test() #Command at Max Rate Instruments/EFW/scripts/FSW\TEST_LDS.py[204]: log(' SERIAL COMMAND TEST AT MAX RATE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[205]: cmd.EFW_CMDS( 250 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[209]: for i in range( 250 ): cmd.EFW_ADRL( 0 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[211]: try: Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[217]: log(' SERIAL COMMAND TEST COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[247]: load_scripts() #Load & Dump Scripts Instruments/EFW/scripts/FSW\TEST_LDS.py[155]: log(' SCRIPT LOADING TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[156]: cmd.EFW_CMDS( 6 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[157]: cmd.EFW_SRMWRTCTL(0) #Unprotect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[158]: cmd.EFW_DISARM(3) #Don't csum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[161]: efw.idpu_load("00006000", " e0 e1 00 00 00 00 00 00 00 00 00 00 00 00 ee ef 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 00 a3 7f c1 01 e4 00 00 00 00 00 00 00 00 00 00 00 a3 7f c1 00 a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[162]: efw.idpu_load("00006100", " 1d c1 02 bb ee c2 00 00 00 00 00 00 00 00 00 00 01 ff 0f c1 03 ff 0f c1 06 ff 0f c1 0c ff 0f c1 18 ff 0f c1 30 ff 0f c1 60 ff 0f c1 c0 ff 0f c1 80 ff 0f c1 00 ff 0f c1 ef c2 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[165]: cmd.EFW_SRMWRTCTL(1) #Protect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[166]: cmd.EFW_ARM(3) #Checksum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[169]: cmd.EFW_DUMPTABL(12,0) #Dump and Spot Check Instruments/EFW/scripts/FSW\TEST_LDS.py[170]: cmd.EFW_TMDUMPCTR(255) #Indefinitely Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[176]: DUMPADR( 0x6100 ) Instruments/EFW/scripts\UTIL.py[61]: cmd.EFW_DUMPADRX( (addr >> 24 )& 0xff ) Instruments/EFW/scripts\UTIL.py[62]: cmd.EFW_DUMPADRE( (addr >> 16 )& 0xff ) Instruments/EFW/scripts\UTIL.py[63]: cmd.EFW_DUMPADRH( (addr >> 8 )& 0xff ) Instruments/EFW/scripts\UTIL.py[64]: cmd.EFW_DUMPADRL( addr & 0xff ) Instruments/EFW/scripts\UTIL.py[65]: cmd.EFW_TMDUMPCTR(255) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[182]: cmd.EFW_TMDUMPCTR(0) #Turn off dump Instruments/EFW/scripts/FSW\TEST_LDS.py[183]: log(' SCRIPT LOADING VERIFIED ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[248]: run_script() #Run and check script Instruments/EFW/scripts/FSW\TEST_LDS.py[189]: log(' SCRIPT EXECUTION TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[190]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[191]: cmd.EFW_SCRIPT(0xEF) #Should Start LEDs going Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[194]: sleep(10) Instruments/EFW/scripts/FSW\TEST_LDS.py[195]: cmd.EFW_SCRIPT(00) #Stop script Instruments/EFW/scripts/FSW\TEST_LDS.py[196]: cmd.EFW_TMPKTRATE( 4, 4 ) #Set APID 267 to 1/4Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[197]: log(' SCRIPT EXECUTION COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[249]: request_playbacks( fm ) #Determine what Burst1's to play Instruments/EFW/scripts/FSW\TEST_LDS.py[224]: log(' REQUESTING BURST1 PLAYBACKS ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[225]: log("FMAX %4x" % fm) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[227]: rp = APID_263.B1_RECPTR Instruments/EFW/scripts/FSW\TEST_LDS.py[228]: if( APID_263.B1_PLAYREQ < 10 ): Instruments/EFW/scripts/FSW\TEST_LDS.py[239]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[240]: log(' BURST1 PLAYLIST HAS %d REQUESTS '% APID_263.B1_PLAYREQ, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[354]: generate_report(ps) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[257]: filename = 'FSW_LDS'+str(ps)+'_AP263.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[258]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[259]: print_window('Instruments/EFW/screens/APID_263.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[261]: wait(APID_267, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[262]: filename = 'FSW_LDS'+str(ps)+'_AP267.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[263]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[264]: print_window('Instruments/EFW/screens/APID_267.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[266]: filename = 'FSW_LDS'+str(ps)+'_TlmRates.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[267]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[268]: print_window('Instruments/EFW/screens/CCSDS_tlm_rates.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[270]: log(' TELEMETRY RECEIVED (CUMULATIVE) @ PASS(%d)' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[271]: hsk = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[272]: rt = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[273]: b1 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[274]: b2 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[285]: tot = hsk+rt+b1+b2 Instruments/EFW/scripts/FSW\TEST_LDS.py[286]: fhsk = hsk/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[287]: frt = rt/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[288]: fb1 = b1/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[289]: fb2 = b2/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[290]: ftot= tot/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[291]: log(' HSK = %7.3f MB ' % fhsk, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[292]: log(' RealTime = %7.3f MB ' % frt, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[293]: log(' Burst1 = %7.3f MB ' % fb1, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[294]: log(' Burst2 = %7.3f MB ' % fb2, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[295]: log(' Total = %7.3f MB ' % ftot, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[297]: log(' THERE ARE %d ERRORS ' % APID_267.ERRCTR, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[355]: sleep(3600) Instruments/EFW/scripts/FSW\TEST_LDS.py[351]: for ps in range(72): Instruments/EFW/scripts/FSW\TEST_LDS.py[352]: log('3.%d COMMAND PASS SIMULATION ' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[353]: simulate_pass(FMAX) Instruments/EFW/scripts/FSW\TEST_LDS.py[246]: serial_cmd_stress_test() #Command at Max Rate Instruments/EFW/scripts/FSW\TEST_LDS.py[204]: log(' SERIAL COMMAND TEST AT MAX RATE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[205]: cmd.EFW_CMDS( 250 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[209]: for i in range( 250 ): cmd.EFW_ADRL( 0 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[211]: try: Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[217]: log(' SERIAL COMMAND TEST COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[247]: load_scripts() #Load & Dump Scripts Instruments/EFW/scripts/FSW\TEST_LDS.py[155]: log(' SCRIPT LOADING TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[156]: cmd.EFW_CMDS( 6 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[157]: cmd.EFW_SRMWRTCTL(0) #Unprotect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[158]: cmd.EFW_DISARM(3) #Don't csum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[161]: efw.idpu_load("00006000", " e0 e1 00 00 00 00 00 00 00 00 00 00 00 00 ee ef 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 00 a3 7f c1 01 e4 00 00 00 00 00 00 00 00 00 00 00 a3 7f c1 00 a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[162]: efw.idpu_load("00006100", " 1d c1 02 bb ee c2 00 00 00 00 00 00 00 00 00 00 01 ff 0f c1 03 ff 0f c1 06 ff 0f c1 0c ff 0f c1 18 ff 0f c1 30 ff 0f c1 60 ff 0f c1 c0 ff 0f c1 80 ff 0f c1 00 ff 0f c1 ef c2 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[165]: cmd.EFW_SRMWRTCTL(1) #Protect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[166]: cmd.EFW_ARM(3) #Checksum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[169]: cmd.EFW_DUMPTABL(12,0) #Dump and Spot Check Instruments/EFW/scripts/FSW\TEST_LDS.py[170]: cmd.EFW_TMDUMPCTR(255) #Indefinitely Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[176]: DUMPADR( 0x6100 ) Instruments/EFW/scripts\UTIL.py[61]: cmd.EFW_DUMPADRX( (addr >> 24 )& 0xff ) Instruments/EFW/scripts\UTIL.py[62]: cmd.EFW_DUMPADRE( (addr >> 16 )& 0xff ) Instruments/EFW/scripts\UTIL.py[63]: cmd.EFW_DUMPADRH( (addr >> 8 )& 0xff ) Instruments/EFW/scripts\UTIL.py[64]: cmd.EFW_DUMPADRL( addr & 0xff ) Instruments/EFW/scripts\UTIL.py[65]: cmd.EFW_TMDUMPCTR(255) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[182]: cmd.EFW_TMDUMPCTR(0) #Turn off dump Instruments/EFW/scripts/FSW\TEST_LDS.py[183]: log(' SCRIPT LOADING VERIFIED ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[248]: run_script() #Run and check script Instruments/EFW/scripts/FSW\TEST_LDS.py[189]: log(' SCRIPT EXECUTION TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[190]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[191]: cmd.EFW_SCRIPT(0xEF) #Should Start LEDs going Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[194]: sleep(10) Instruments/EFW/scripts/FSW\TEST_LDS.py[195]: cmd.EFW_SCRIPT(00) #Stop script Instruments/EFW/scripts/FSW\TEST_LDS.py[196]: cmd.EFW_TMPKTRATE( 4, 4 ) #Set APID 267 to 1/4Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[197]: log(' SCRIPT EXECUTION COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[249]: request_playbacks( fm ) #Determine what Burst1's to play Instruments/EFW/scripts/FSW\TEST_LDS.py[224]: log(' REQUESTING BURST1 PLAYBACKS ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[225]: log("FMAX %4x" % fm) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[227]: rp = APID_263.B1_RECPTR Instruments/EFW/scripts/FSW\TEST_LDS.py[228]: if( APID_263.B1_PLAYREQ < 10 ): Instruments/EFW/scripts/FSW\TEST_LDS.py[239]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[240]: log(' BURST1 PLAYLIST HAS %d REQUESTS '% APID_263.B1_PLAYREQ, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[354]: generate_report(ps) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[257]: filename = 'FSW_LDS'+str(ps)+'_AP263.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[258]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[259]: print_window('Instruments/EFW/screens/APID_263.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[261]: wait(APID_267, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[262]: filename = 'FSW_LDS'+str(ps)+'_AP267.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[263]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[264]: print_window('Instruments/EFW/screens/APID_267.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[266]: filename = 'FSW_LDS'+str(ps)+'_TlmRates.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[267]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[268]: print_window('Instruments/EFW/screens/CCSDS_tlm_rates.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[270]: log(' TELEMETRY RECEIVED (CUMULATIVE) @ PASS(%d)' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[271]: hsk = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[272]: rt = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[273]: b1 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[274]: b2 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[285]: tot = hsk+rt+b1+b2 Instruments/EFW/scripts/FSW\TEST_LDS.py[286]: fhsk = hsk/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[287]: frt = rt/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[288]: fb1 = b1/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[289]: fb2 = b2/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[290]: ftot= tot/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[291]: log(' HSK = %7.3f MB ' % fhsk, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[292]: log(' RealTime = %7.3f MB ' % frt, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[293]: log(' Burst1 = %7.3f MB ' % fb1, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[294]: log(' Burst2 = %7.3f MB ' % fb2, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[295]: log(' Total = %7.3f MB ' % ftot, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[297]: log(' THERE ARE %d ERRORS ' % APID_267.ERRCTR, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[355]: sleep(3600) Instruments/EFW/scripts/FSW\TEST_LDS.py[351]: for ps in range(72): Instruments/EFW/scripts/FSW\TEST_LDS.py[352]: log('3.%d COMMAND PASS SIMULATION ' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[353]: simulate_pass(FMAX) Instruments/EFW/scripts/FSW\TEST_LDS.py[246]: serial_cmd_stress_test() #Command at Max Rate Instruments/EFW/scripts/FSW\TEST_LDS.py[204]: log(' SERIAL COMMAND TEST AT MAX RATE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[205]: cmd.EFW_CMDS( 250 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[209]: for i in range( 250 ): cmd.EFW_ADRL( 0 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[211]: try: Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[217]: log(' SERIAL COMMAND TEST COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[247]: load_scripts() #Load & Dump Scripts Instruments/EFW/scripts/FSW\TEST_LDS.py[155]: log(' SCRIPT LOADING TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[156]: cmd.EFW_CMDS( 6 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[157]: cmd.EFW_SRMWRTCTL(0) #Unprotect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[158]: cmd.EFW_DISARM(3) #Don't csum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[161]: efw.idpu_load("00006000", " e0 e1 00 00 00 00 00 00 00 00 00 00 00 00 ee ef 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 00 a3 7f c1 01 e4 00 00 00 00 00 00 00 00 00 00 00 a3 7f c1 00 a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[162]: efw.idpu_load("00006100", " 1d c1 02 bb ee c2 00 00 00 00 00 00 00 00 00 00 01 ff 0f c1 03 ff 0f c1 06 ff 0f c1 0c ff 0f c1 18 ff 0f c1 30 ff 0f c1 60 ff 0f c1 c0 ff 0f c1 80 ff 0f c1 00 ff 0f c1 ef c2 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[165]: cmd.EFW_SRMWRTCTL(1) #Protect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[166]: cmd.EFW_ARM(3) #Checksum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[169]: cmd.EFW_DUMPTABL(12,0) #Dump and Spot Check Instruments/EFW/scripts/FSW\TEST_LDS.py[170]: cmd.EFW_TMDUMPCTR(255) #Indefinitely Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[176]: DUMPADR( 0x6100 ) Instruments/EFW/scripts\UTIL.py[61]: cmd.EFW_DUMPADRX( (addr >> 24 )& 0xff ) Instruments/EFW/scripts\UTIL.py[62]: cmd.EFW_DUMPADRE( (addr >> 16 )& 0xff ) Instruments/EFW/scripts\UTIL.py[63]: cmd.EFW_DUMPADRH( (addr >> 8 )& 0xff ) Instruments/EFW/scripts\UTIL.py[64]: cmd.EFW_DUMPADRL( addr & 0xff ) Instruments/EFW/scripts\UTIL.py[65]: cmd.EFW_TMDUMPCTR(255) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[182]: cmd.EFW_TMDUMPCTR(0) #Turn off dump Instruments/EFW/scripts/FSW\TEST_LDS.py[183]: log(' SCRIPT LOADING VERIFIED ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[248]: run_script() #Run and check script Instruments/EFW/scripts/FSW\TEST_LDS.py[189]: log(' SCRIPT EXECUTION TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[190]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[191]: cmd.EFW_SCRIPT(0xEF) #Should Start LEDs going Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[194]: sleep(10) Instruments/EFW/scripts/FSW\TEST_LDS.py[195]: cmd.EFW_SCRIPT(00) #Stop script Instruments/EFW/scripts/FSW\TEST_LDS.py[196]: cmd.EFW_TMPKTRATE( 4, 4 ) #Set APID 267 to 1/4Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[197]: log(' SCRIPT EXECUTION COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[249]: request_playbacks( fm ) #Determine what Burst1's to play Instruments/EFW/scripts/FSW\TEST_LDS.py[224]: log(' REQUESTING BURST1 PLAYBACKS ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[225]: log("FMAX %4x" % fm) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[227]: rp = APID_263.B1_RECPTR Instruments/EFW/scripts/FSW\TEST_LDS.py[228]: if( APID_263.B1_PLAYREQ < 10 ): Instruments/EFW/scripts/FSW\TEST_LDS.py[239]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[240]: log(' BURST1 PLAYLIST HAS %d REQUESTS '% APID_263.B1_PLAYREQ, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[354]: generate_report(ps) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[257]: filename = 'FSW_LDS'+str(ps)+'_AP263.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[258]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[259]: print_window('Instruments/EFW/screens/APID_263.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[261]: wait(APID_267, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[262]: filename = 'FSW_LDS'+str(ps)+'_AP267.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[263]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[264]: print_window('Instruments/EFW/screens/APID_267.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[266]: filename = 'FSW_LDS'+str(ps)+'_TlmRates.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[267]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[268]: print_window('Instruments/EFW/screens/CCSDS_tlm_rates.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[270]: log(' TELEMETRY RECEIVED (CUMULATIVE) @ PASS(%d)' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[271]: hsk = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[272]: rt = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[273]: b1 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[274]: b2 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[285]: tot = hsk+rt+b1+b2 Instruments/EFW/scripts/FSW\TEST_LDS.py[286]: fhsk = hsk/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[287]: frt = rt/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[288]: fb1 = b1/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[289]: fb2 = b2/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[290]: ftot= tot/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[291]: log(' HSK = %7.3f MB ' % fhsk, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[292]: log(' RealTime = %7.3f MB ' % frt, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[293]: log(' Burst1 = %7.3f MB ' % fb1, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[294]: log(' Burst2 = %7.3f MB ' % fb2, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[295]: log(' Total = %7.3f MB ' % ftot, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[297]: log(' THERE ARE %d ERRORS ' % APID_267.ERRCTR, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[355]: sleep(3600) Instruments/EFW/scripts/FSW\TEST_LDS.py[351]: for ps in range(72): Instruments/EFW/scripts/FSW\TEST_LDS.py[352]: log('3.%d COMMAND PASS SIMULATION ' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[353]: simulate_pass(FMAX) Instruments/EFW/scripts/FSW\TEST_LDS.py[246]: serial_cmd_stress_test() #Command at Max Rate Instruments/EFW/scripts/FSW\TEST_LDS.py[204]: log(' SERIAL COMMAND TEST AT MAX RATE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[205]: cmd.EFW_CMDS( 250 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[209]: for i in range( 250 ): cmd.EFW_ADRL( 0 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[211]: try: Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[217]: log(' SERIAL COMMAND TEST COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[247]: load_scripts() #Load & Dump Scripts Instruments/EFW/scripts/FSW\TEST_LDS.py[155]: log(' SCRIPT LOADING TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[156]: cmd.EFW_CMDS( 6 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[157]: cmd.EFW_SRMWRTCTL(0) #Unprotect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[158]: cmd.EFW_DISARM(3) #Don't csum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[161]: efw.idpu_load("00006000", " e0 e1 00 00 00 00 00 00 00 00 00 00 00 00 ee ef 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 00 a3 7f c1 01 e4 00 00 00 00 00 00 00 00 00 00 00 a3 7f c1 00 a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[162]: efw.idpu_load("00006100", " 1d c1 02 bb ee c2 00 00 00 00 00 00 00 00 00 00 01 ff 0f c1 03 ff 0f c1 06 ff 0f c1 0c ff 0f c1 18 ff 0f c1 30 ff 0f c1 60 ff 0f c1 c0 ff 0f c1 80 ff 0f c1 00 ff 0f c1 ef c2 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[165]: cmd.EFW_SRMWRTCTL(1) #Protect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[166]: cmd.EFW_ARM(3) #Checksum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[169]: cmd.EFW_DUMPTABL(12,0) #Dump and Spot Check Instruments/EFW/scripts/FSW\TEST_LDS.py[170]: cmd.EFW_TMDUMPCTR(255) #Indefinitely Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[176]: DUMPADR( 0x6100 ) Instruments/EFW/scripts\UTIL.py[61]: cmd.EFW_DUMPADRX( (addr >> 24 )& 0xff ) Instruments/EFW/scripts\UTIL.py[62]: cmd.EFW_DUMPADRE( (addr >> 16 )& 0xff ) Instruments/EFW/scripts\UTIL.py[63]: cmd.EFW_DUMPADRH( (addr >> 8 )& 0xff ) Instruments/EFW/scripts\UTIL.py[64]: cmd.EFW_DUMPADRL( addr & 0xff ) Instruments/EFW/scripts\UTIL.py[65]: cmd.EFW_TMDUMPCTR(255) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[182]: cmd.EFW_TMDUMPCTR(0) #Turn off dump Instruments/EFW/scripts/FSW\TEST_LDS.py[183]: log(' SCRIPT LOADING VERIFIED ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[248]: run_script() #Run and check script Instruments/EFW/scripts/FSW\TEST_LDS.py[189]: log(' SCRIPT EXECUTION TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[190]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[191]: cmd.EFW_SCRIPT(0xEF) #Should Start LEDs going Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[194]: sleep(10) Instruments/EFW/scripts/FSW\TEST_LDS.py[195]: cmd.EFW_SCRIPT(00) #Stop script Instruments/EFW/scripts/FSW\TEST_LDS.py[196]: cmd.EFW_TMPKTRATE( 4, 4 ) #Set APID 267 to 1/4Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[197]: log(' SCRIPT EXECUTION COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[249]: request_playbacks( fm ) #Determine what Burst1's to play Instruments/EFW/scripts/FSW\TEST_LDS.py[224]: log(' REQUESTING BURST1 PLAYBACKS ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[225]: log("FMAX %4x" % fm) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[227]: rp = APID_263.B1_RECPTR Instruments/EFW/scripts/FSW\TEST_LDS.py[228]: if( APID_263.B1_PLAYREQ < 10 ): Instruments/EFW/scripts/FSW\TEST_LDS.py[239]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[240]: log(' BURST1 PLAYLIST HAS %d REQUESTS '% APID_263.B1_PLAYREQ, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[354]: generate_report(ps) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[257]: filename = 'FSW_LDS'+str(ps)+'_AP263.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[258]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[259]: print_window('Instruments/EFW/screens/APID_263.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[261]: wait(APID_267, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[262]: filename = 'FSW_LDS'+str(ps)+'_AP267.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[263]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[264]: print_window('Instruments/EFW/screens/APID_267.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[266]: filename = 'FSW_LDS'+str(ps)+'_TlmRates.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[267]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[268]: print_window('Instruments/EFW/screens/CCSDS_tlm_rates.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[270]: log(' TELEMETRY RECEIVED (CUMULATIVE) @ PASS(%d)' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[271]: hsk = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[272]: rt = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[273]: b1 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[274]: b2 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[285]: tot = hsk+rt+b1+b2 Instruments/EFW/scripts/FSW\TEST_LDS.py[286]: fhsk = hsk/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[287]: frt = rt/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[288]: fb1 = b1/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[289]: fb2 = b2/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[290]: ftot= tot/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[291]: log(' HSK = %7.3f MB ' % fhsk, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[292]: log(' RealTime = %7.3f MB ' % frt, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[293]: log(' Burst1 = %7.3f MB ' % fb1, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[294]: log(' Burst2 = %7.3f MB ' % fb2, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[295]: log(' Total = %7.3f MB ' % ftot, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[297]: log(' THERE ARE %d ERRORS ' % APID_267.ERRCTR, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[355]: sleep(3600) Instruments/EFW/scripts/FSW\TEST_LDS.py[351]: for ps in range(72): Instruments/EFW/scripts/FSW\TEST_LDS.py[352]: log('3.%d COMMAND PASS SIMULATION ' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[353]: simulate_pass(FMAX) Instruments/EFW/scripts/FSW\TEST_LDS.py[246]: serial_cmd_stress_test() #Command at Max Rate Instruments/EFW/scripts/FSW\TEST_LDS.py[204]: log(' SERIAL COMMAND TEST AT MAX RATE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[205]: cmd.EFW_CMDS( 250 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[209]: for i in range( 250 ): cmd.EFW_ADRL( 0 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[211]: try: Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[217]: log(' SERIAL COMMAND TEST COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[247]: load_scripts() #Load & Dump Scripts Instruments/EFW/scripts/FSW\TEST_LDS.py[155]: log(' SCRIPT LOADING TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[156]: cmd.EFW_CMDS( 6 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[157]: cmd.EFW_SRMWRTCTL(0) #Unprotect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[158]: cmd.EFW_DISARM(3) #Don't csum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[161]: efw.idpu_load("00006000", " e0 e1 00 00 00 00 00 00 00 00 00 00 00 00 ee ef 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 00 a3 7f c1 01 e4 00 00 00 00 00 00 00 00 00 00 00 a3 7f c1 00 a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[162]: efw.idpu_load("00006100", " 1d c1 02 bb ee c2 00 00 00 00 00 00 00 00 00 00 01 ff 0f c1 03 ff 0f c1 06 ff 0f c1 0c ff 0f c1 18 ff 0f c1 30 ff 0f c1 60 ff 0f c1 c0 ff 0f c1 80 ff 0f c1 00 ff 0f c1 ef c2 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[165]: cmd.EFW_SRMWRTCTL(1) #Protect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[166]: cmd.EFW_ARM(3) #Checksum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[169]: cmd.EFW_DUMPTABL(12,0) #Dump and Spot Check Instruments/EFW/scripts/FSW\TEST_LDS.py[170]: cmd.EFW_TMDUMPCTR(255) #Indefinitely Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[176]: DUMPADR( 0x6100 ) Instruments/EFW/scripts\UTIL.py[61]: cmd.EFW_DUMPADRX( (addr >> 24 )& 0xff ) Instruments/EFW/scripts\UTIL.py[62]: cmd.EFW_DUMPADRE( (addr >> 16 )& 0xff ) Instruments/EFW/scripts\UTIL.py[63]: cmd.EFW_DUMPADRH( (addr >> 8 )& 0xff ) Instruments/EFW/scripts\UTIL.py[64]: cmd.EFW_DUMPADRL( addr & 0xff ) Instruments/EFW/scripts\UTIL.py[65]: cmd.EFW_TMDUMPCTR(255) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[182]: cmd.EFW_TMDUMPCTR(0) #Turn off dump Instruments/EFW/scripts/FSW\TEST_LDS.py[183]: log(' SCRIPT LOADING VERIFIED ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[248]: run_script() #Run and check script Instruments/EFW/scripts/FSW\TEST_LDS.py[189]: log(' SCRIPT EXECUTION TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[190]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[191]: cmd.EFW_SCRIPT(0xEF) #Should Start LEDs going Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[194]: sleep(10) Instruments/EFW/scripts/FSW\TEST_LDS.py[195]: cmd.EFW_SCRIPT(00) #Stop script Instruments/EFW/scripts/FSW\TEST_LDS.py[196]: cmd.EFW_TMPKTRATE( 4, 4 ) #Set APID 267 to 1/4Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[197]: log(' SCRIPT EXECUTION COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[249]: request_playbacks( fm ) #Determine what Burst1's to play Instruments/EFW/scripts/FSW\TEST_LDS.py[224]: log(' REQUESTING BURST1 PLAYBACKS ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[225]: log("FMAX %4x" % fm) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[227]: rp = APID_263.B1_RECPTR Instruments/EFW/scripts/FSW\TEST_LDS.py[228]: if( APID_263.B1_PLAYREQ < 10 ): Instruments/EFW/scripts/FSW\TEST_LDS.py[239]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[240]: log(' BURST1 PLAYLIST HAS %d REQUESTS '% APID_263.B1_PLAYREQ, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[354]: generate_report(ps) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[257]: filename = 'FSW_LDS'+str(ps)+'_AP263.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[258]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[259]: print_window('Instruments/EFW/screens/APID_263.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[261]: wait(APID_267, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[262]: filename = 'FSW_LDS'+str(ps)+'_AP267.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[263]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[264]: print_window('Instruments/EFW/screens/APID_267.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[266]: filename = 'FSW_LDS'+str(ps)+'_TlmRates.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[267]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[268]: print_window('Instruments/EFW/screens/CCSDS_tlm_rates.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[270]: log(' TELEMETRY RECEIVED (CUMULATIVE) @ PASS(%d)' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[271]: hsk = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[272]: rt = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[273]: b1 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[274]: b2 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[285]: tot = hsk+rt+b1+b2 Instruments/EFW/scripts/FSW\TEST_LDS.py[286]: fhsk = hsk/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[287]: frt = rt/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[288]: fb1 = b1/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[289]: fb2 = b2/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[290]: ftot= tot/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[291]: log(' HSK = %7.3f MB ' % fhsk, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[292]: log(' RealTime = %7.3f MB ' % frt, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[293]: log(' Burst1 = %7.3f MB ' % fb1, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[294]: log(' Burst2 = %7.3f MB ' % fb2, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[295]: log(' Total = %7.3f MB ' % ftot, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[297]: log(' THERE ARE %d ERRORS ' % APID_267.ERRCTR, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[355]: sleep(3600) Instruments/EFW/scripts/FSW\TEST_LDS.py[351]: for ps in range(72): Instruments/EFW/scripts/FSW\TEST_LDS.py[352]: log('3.%d COMMAND PASS SIMULATION ' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[353]: simulate_pass(FMAX) Instruments/EFW/scripts/FSW\TEST_LDS.py[246]: serial_cmd_stress_test() #Command at Max Rate Instruments/EFW/scripts/FSW\TEST_LDS.py[204]: log(' SERIAL COMMAND TEST AT MAX RATE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[205]: cmd.EFW_CMDS( 250 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[209]: for i in range( 250 ): cmd.EFW_ADRL( 0 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[211]: try: Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[217]: log(' SERIAL COMMAND TEST COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[247]: load_scripts() #Load & Dump Scripts Instruments/EFW/scripts/FSW\TEST_LDS.py[155]: log(' SCRIPT LOADING TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[156]: cmd.EFW_CMDS( 6 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[157]: cmd.EFW_SRMWRTCTL(0) #Unprotect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[158]: cmd.EFW_DISARM(3) #Don't csum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[161]: efw.idpu_load("00006000", " e0 e1 00 00 00 00 00 00 00 00 00 00 00 00 ee ef 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 00 a3 7f c1 01 e4 00 00 00 00 00 00 00 00 00 00 00 a3 7f c1 00 a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[162]: efw.idpu_load("00006100", " 1d c1 02 bb ee c2 00 00 00 00 00 00 00 00 00 00 01 ff 0f c1 03 ff 0f c1 06 ff 0f c1 0c ff 0f c1 18 ff 0f c1 30 ff 0f c1 60 ff 0f c1 c0 ff 0f c1 80 ff 0f c1 00 ff 0f c1 ef c2 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[165]: cmd.EFW_SRMWRTCTL(1) #Protect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[166]: cmd.EFW_ARM(3) #Checksum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[169]: cmd.EFW_DUMPTABL(12,0) #Dump and Spot Check Instruments/EFW/scripts/FSW\TEST_LDS.py[170]: cmd.EFW_TMDUMPCTR(255) #Indefinitely Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[176]: DUMPADR( 0x6100 ) Instruments/EFW/scripts\UTIL.py[61]: cmd.EFW_DUMPADRX( (addr >> 24 )& 0xff ) Instruments/EFW/scripts\UTIL.py[62]: cmd.EFW_DUMPADRE( (addr >> 16 )& 0xff ) Instruments/EFW/scripts\UTIL.py[63]: cmd.EFW_DUMPADRH( (addr >> 8 )& 0xff ) Instruments/EFW/scripts\UTIL.py[64]: cmd.EFW_DUMPADRL( addr & 0xff ) Instruments/EFW/scripts\UTIL.py[65]: cmd.EFW_TMDUMPCTR(255) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[182]: cmd.EFW_TMDUMPCTR(0) #Turn off dump Instruments/EFW/scripts/FSW\TEST_LDS.py[183]: log(' SCRIPT LOADING VERIFIED ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[248]: run_script() #Run and check script Instruments/EFW/scripts/FSW\TEST_LDS.py[189]: log(' SCRIPT EXECUTION TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[190]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[191]: cmd.EFW_SCRIPT(0xEF) #Should Start LEDs going Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[194]: sleep(10) Instruments/EFW/scripts/FSW\TEST_LDS.py[195]: cmd.EFW_SCRIPT(00) #Stop script Instruments/EFW/scripts/FSW\TEST_LDS.py[196]: cmd.EFW_TMPKTRATE( 4, 4 ) #Set APID 267 to 1/4Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[197]: log(' SCRIPT EXECUTION COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[249]: request_playbacks( fm ) #Determine what Burst1's to play Instruments/EFW/scripts/FSW\TEST_LDS.py[224]: log(' REQUESTING BURST1 PLAYBACKS ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[225]: log("FMAX %4x" % fm) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[227]: rp = APID_263.B1_RECPTR Instruments/EFW/scripts/FSW\TEST_LDS.py[228]: if( APID_263.B1_PLAYREQ < 10 ): Instruments/EFW/scripts/FSW\TEST_LDS.py[229]: blk = (rp - 800 ) & fm #Play from 800 blocks back Instruments/EFW/scripts/FSW\TEST_LDS.py[230]: log("QUEUEING Block %4x" % blk) Instruments/EFW/scripts/FSW\TEST_LDS.py[231]: QUEUE_B1PLAYBACK( blk, 32 ) #32 blocks should take 20 min Instruments/EFW/scripts\UTIL.py[50]: cmd.EFW_B1_SETREQDTA( (block >> 2) & 0xff ) Instruments/EFW/scripts\UTIL.py[51]: cmd.EFW_B1_SETREQDTA( (block >> 10)& 0xff ) Instruments/EFW/scripts\UTIL.py[52]: cmd.EFW_B1_SETREQDTA( leng & 0xff ) Instruments/EFW/scripts\UTIL.py[53]: cmd.EFW_B1_SETREQDTA( (leng >> 8 ) & 0xff ) Instruments/EFW/scripts/FSW\TEST_LDS.py[232]: blk = (rp - 500 ) & fm #Play from 500 blocks back Instruments/EFW/scripts/FSW\TEST_LDS.py[233]: log("QUEUEING Block %4x" % blk) Instruments/EFW/scripts/FSW\TEST_LDS.py[234]: QUEUE_B1PLAYBACK( blk, 32 ) #32 blocks should take 20 min Instruments/EFW/scripts\UTIL.py[50]: cmd.EFW_B1_SETREQDTA( (block >> 2) & 0xff ) Instruments/EFW/scripts\UTIL.py[51]: cmd.EFW_B1_SETREQDTA( (block >> 10)& 0xff ) Instruments/EFW/scripts\UTIL.py[52]: cmd.EFW_B1_SETREQDTA( leng & 0xff ) Instruments/EFW/scripts\UTIL.py[53]: cmd.EFW_B1_SETREQDTA( (leng >> 8 ) & 0xff ) Instruments/EFW/scripts/FSW\TEST_LDS.py[235]: blk = (rp - 200 ) & fm #Play from 200 blocks back Instruments/EFW/scripts/FSW\TEST_LDS.py[236]: log("QUEUEING Block %4x" % blk) Instruments/EFW/scripts/FSW\TEST_LDS.py[237]: QUEUE_B1PLAYBACK( blk, 64 ) #32 blocks should take 40 min Instruments/EFW/scripts\UTIL.py[50]: cmd.EFW_B1_SETREQDTA( (block >> 2) & 0xff ) Instruments/EFW/scripts\UTIL.py[51]: cmd.EFW_B1_SETREQDTA( (block >> 10)& 0xff ) Instruments/EFW/scripts\UTIL.py[52]: cmd.EFW_B1_SETREQDTA( leng & 0xff ) Instruments/EFW/scripts\UTIL.py[53]: cmd.EFW_B1_SETREQDTA( (leng >> 8 ) & 0xff ) Instruments/EFW/scripts/FSW\TEST_LDS.py[238]: sleep(8) Instruments/EFW/scripts/FSW\TEST_LDS.py[239]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[240]: log(' BURST1 PLAYLIST HAS %d REQUESTS '% APID_263.B1_PLAYREQ, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[354]: generate_report(ps) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[257]: filename = 'FSW_LDS'+str(ps)+'_AP263.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[258]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[259]: print_window('Instruments/EFW/screens/APID_263.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[261]: wait(APID_267, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[262]: filename = 'FSW_LDS'+str(ps)+'_AP267.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[263]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[264]: print_window('Instruments/EFW/screens/APID_267.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[266]: filename = 'FSW_LDS'+str(ps)+'_TlmRates.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[267]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[268]: print_window('Instruments/EFW/screens/CCSDS_tlm_rates.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[270]: log(' TELEMETRY RECEIVED (CUMULATIVE) @ PASS(%d)' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[271]: hsk = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[272]: rt = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[273]: b1 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[274]: b2 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[285]: tot = hsk+rt+b1+b2 Instruments/EFW/scripts/FSW\TEST_LDS.py[286]: fhsk = hsk/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[287]: frt = rt/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[288]: fb1 = b1/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[289]: fb2 = b2/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[290]: ftot= tot/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[291]: log(' HSK = %7.3f MB ' % fhsk, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[292]: log(' RealTime = %7.3f MB ' % frt, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[293]: log(' Burst1 = %7.3f MB ' % fb1, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[294]: log(' Burst2 = %7.3f MB ' % fb2, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[295]: log(' Total = %7.3f MB ' % ftot, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[297]: log(' THERE ARE %d ERRORS ' % APID_267.ERRCTR, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[355]: sleep(3600) Instruments/EFW/scripts/FSW\TEST_LDS.py[351]: for ps in range(72): Instruments/EFW/scripts/FSW\TEST_LDS.py[352]: log('3.%d COMMAND PASS SIMULATION ' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[353]: simulate_pass(FMAX) Instruments/EFW/scripts/FSW\TEST_LDS.py[246]: serial_cmd_stress_test() #Command at Max Rate Instruments/EFW/scripts/FSW\TEST_LDS.py[204]: log(' SERIAL COMMAND TEST AT MAX RATE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[205]: cmd.EFW_CMDS( 250 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[209]: for i in range( 250 ): cmd.EFW_ADRL( 0 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[211]: try: Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[217]: log(' SERIAL COMMAND TEST COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[247]: load_scripts() #Load & Dump Scripts Instruments/EFW/scripts/FSW\TEST_LDS.py[155]: log(' SCRIPT LOADING TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[156]: cmd.EFW_CMDS( 6 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[157]: cmd.EFW_SRMWRTCTL(0) #Unprotect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[158]: cmd.EFW_DISARM(3) #Don't csum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[161]: efw.idpu_load("00006000", " e0 e1 00 00 00 00 00 00 00 00 00 00 00 00 ee ef 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 00 a3 7f c1 01 e4 00 00 00 00 00 00 00 00 00 00 00 a3 7f c1 00 a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[162]: efw.idpu_load("00006100", " 1d c1 02 bb ee c2 00 00 00 00 00 00 00 00 00 00 01 ff 0f c1 03 ff 0f c1 06 ff 0f c1 0c ff 0f c1 18 ff 0f c1 30 ff 0f c1 60 ff 0f c1 c0 ff 0f c1 80 ff 0f c1 00 ff 0f c1 ef c2 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[165]: cmd.EFW_SRMWRTCTL(1) #Protect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[166]: cmd.EFW_ARM(3) #Checksum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[169]: cmd.EFW_DUMPTABL(12,0) #Dump and Spot Check Instruments/EFW/scripts/FSW\TEST_LDS.py[170]: cmd.EFW_TMDUMPCTR(255) #Indefinitely Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[176]: DUMPADR( 0x6100 ) Instruments/EFW/scripts\UTIL.py[61]: cmd.EFW_DUMPADRX( (addr >> 24 )& 0xff ) Instruments/EFW/scripts\UTIL.py[62]: cmd.EFW_DUMPADRE( (addr >> 16 )& 0xff ) Instruments/EFW/scripts\UTIL.py[63]: cmd.EFW_DUMPADRH( (addr >> 8 )& 0xff ) Instruments/EFW/scripts\UTIL.py[64]: cmd.EFW_DUMPADRL( addr & 0xff ) Instruments/EFW/scripts\UTIL.py[65]: cmd.EFW_TMDUMPCTR(255) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[182]: cmd.EFW_TMDUMPCTR(0) #Turn off dump Instruments/EFW/scripts/FSW\TEST_LDS.py[183]: log(' SCRIPT LOADING VERIFIED ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[248]: run_script() #Run and check script Instruments/EFW/scripts/FSW\TEST_LDS.py[189]: log(' SCRIPT EXECUTION TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[190]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[191]: cmd.EFW_SCRIPT(0xEF) #Should Start LEDs going Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[194]: sleep(10) Instruments/EFW/scripts/FSW\TEST_LDS.py[195]: cmd.EFW_SCRIPT(00) #Stop script Instruments/EFW/scripts/FSW\TEST_LDS.py[196]: cmd.EFW_TMPKTRATE( 4, 4 ) #Set APID 267 to 1/4Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[197]: log(' SCRIPT EXECUTION COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[249]: request_playbacks( fm ) #Determine what Burst1's to play Instruments/EFW/scripts/FSW\TEST_LDS.py[224]: log(' REQUESTING BURST1 PLAYBACKS ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[225]: log("FMAX %4x" % fm) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[227]: rp = APID_263.B1_RECPTR Instruments/EFW/scripts/FSW\TEST_LDS.py[228]: if( APID_263.B1_PLAYREQ < 10 ): Instruments/EFW/scripts/FSW\TEST_LDS.py[239]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[240]: log(' BURST1 PLAYLIST HAS %d REQUESTS '% APID_263.B1_PLAYREQ, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[354]: generate_report(ps) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[257]: filename = 'FSW_LDS'+str(ps)+'_AP263.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[258]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[259]: print_window('Instruments/EFW/screens/APID_263.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[261]: wait(APID_267, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[262]: filename = 'FSW_LDS'+str(ps)+'_AP267.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[263]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[264]: print_window('Instruments/EFW/screens/APID_267.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[266]: filename = 'FSW_LDS'+str(ps)+'_TlmRates.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[267]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[268]: print_window('Instruments/EFW/screens/CCSDS_tlm_rates.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[270]: log(' TELEMETRY RECEIVED (CUMULATIVE) @ PASS(%d)' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[271]: hsk = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[272]: rt = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[273]: b1 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[274]: b2 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[285]: tot = hsk+rt+b1+b2 Instruments/EFW/scripts/FSW\TEST_LDS.py[286]: fhsk = hsk/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[287]: frt = rt/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[288]: fb1 = b1/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[289]: fb2 = b2/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[290]: ftot= tot/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[291]: log(' HSK = %7.3f MB ' % fhsk, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[292]: log(' RealTime = %7.3f MB ' % frt, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[293]: log(' Burst1 = %7.3f MB ' % fb1, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[294]: log(' Burst2 = %7.3f MB ' % fb2, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[295]: log(' Total = %7.3f MB ' % ftot, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[297]: log(' THERE ARE %d ERRORS ' % APID_267.ERRCTR, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[355]: sleep(3600) Instruments/EFW/scripts/FSW\TEST_LDS.py[351]: for ps in range(72): Instruments/EFW/scripts/FSW\TEST_LDS.py[352]: log('3.%d COMMAND PASS SIMULATION ' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[353]: simulate_pass(FMAX) Instruments/EFW/scripts/FSW\TEST_LDS.py[246]: serial_cmd_stress_test() #Command at Max Rate Instruments/EFW/scripts/FSW\TEST_LDS.py[204]: log(' SERIAL COMMAND TEST AT MAX RATE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[205]: cmd.EFW_CMDS( 250 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[209]: for i in range( 250 ): cmd.EFW_ADRL( 0 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[211]: try: Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[217]: log(' SERIAL COMMAND TEST COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[247]: load_scripts() #Load & Dump Scripts Instruments/EFW/scripts/FSW\TEST_LDS.py[155]: log(' SCRIPT LOADING TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[156]: cmd.EFW_CMDS( 6 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[157]: cmd.EFW_SRMWRTCTL(0) #Unprotect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[158]: cmd.EFW_DISARM(3) #Don't csum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[161]: efw.idpu_load("00006000", " e0 e1 00 00 00 00 00 00 00 00 00 00 00 00 ee ef 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 00 a3 7f c1 01 e4 00 00 00 00 00 00 00 00 00 00 00 a3 7f c1 00 a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[162]: efw.idpu_load("00006100", " 1d c1 02 bb ee c2 00 00 00 00 00 00 00 00 00 00 01 ff 0f c1 03 ff 0f c1 06 ff 0f c1 0c ff 0f c1 18 ff 0f c1 30 ff 0f c1 60 ff 0f c1 c0 ff 0f c1 80 ff 0f c1 00 ff 0f c1 ef c2 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[165]: cmd.EFW_SRMWRTCTL(1) #Protect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[166]: cmd.EFW_ARM(3) #Checksum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[169]: cmd.EFW_DUMPTABL(12,0) #Dump and Spot Check Instruments/EFW/scripts/FSW\TEST_LDS.py[170]: cmd.EFW_TMDUMPCTR(255) #Indefinitely Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[176]: DUMPADR( 0x6100 ) Instruments/EFW/scripts\UTIL.py[61]: cmd.EFW_DUMPADRX( (addr >> 24 )& 0xff ) Instruments/EFW/scripts\UTIL.py[62]: cmd.EFW_DUMPADRE( (addr >> 16 )& 0xff ) Instruments/EFW/scripts\UTIL.py[63]: cmd.EFW_DUMPADRH( (addr >> 8 )& 0xff ) Instruments/EFW/scripts\UTIL.py[64]: cmd.EFW_DUMPADRL( addr & 0xff ) Instruments/EFW/scripts\UTIL.py[65]: cmd.EFW_TMDUMPCTR(255) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[182]: cmd.EFW_TMDUMPCTR(0) #Turn off dump Instruments/EFW/scripts/FSW\TEST_LDS.py[183]: log(' SCRIPT LOADING VERIFIED ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[248]: run_script() #Run and check script Instruments/EFW/scripts/FSW\TEST_LDS.py[189]: log(' SCRIPT EXECUTION TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[190]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[191]: cmd.EFW_SCRIPT(0xEF) #Should Start LEDs going Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[194]: sleep(10) Instruments/EFW/scripts/FSW\TEST_LDS.py[195]: cmd.EFW_SCRIPT(00) #Stop script Instruments/EFW/scripts/FSW\TEST_LDS.py[196]: cmd.EFW_TMPKTRATE( 4, 4 ) #Set APID 267 to 1/4Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[197]: log(' SCRIPT EXECUTION COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[249]: request_playbacks( fm ) #Determine what Burst1's to play Instruments/EFW/scripts/FSW\TEST_LDS.py[224]: log(' REQUESTING BURST1 PLAYBACKS ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[225]: log("FMAX %4x" % fm) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[227]: rp = APID_263.B1_RECPTR Instruments/EFW/scripts/FSW\TEST_LDS.py[228]: if( APID_263.B1_PLAYREQ < 10 ): Instruments/EFW/scripts/FSW\TEST_LDS.py[239]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[240]: log(' BURST1 PLAYLIST HAS %d REQUESTS '% APID_263.B1_PLAYREQ, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[354]: generate_report(ps) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[257]: filename = 'FSW_LDS'+str(ps)+'_AP263.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[258]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[259]: print_window('Instruments/EFW/screens/APID_263.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[261]: wait(APID_267, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[262]: filename = 'FSW_LDS'+str(ps)+'_AP267.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[263]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[264]: print_window('Instruments/EFW/screens/APID_267.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[266]: filename = 'FSW_LDS'+str(ps)+'_TlmRates.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[267]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[268]: print_window('Instruments/EFW/screens/CCSDS_tlm_rates.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[270]: log(' TELEMETRY RECEIVED (CUMULATIVE) @ PASS(%d)' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[271]: hsk = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[272]: rt = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[273]: b1 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[274]: b2 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[285]: tot = hsk+rt+b1+b2 Instruments/EFW/scripts/FSW\TEST_LDS.py[286]: fhsk = hsk/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[287]: frt = rt/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[288]: fb1 = b1/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[289]: fb2 = b2/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[290]: ftot= tot/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[291]: log(' HSK = %7.3f MB ' % fhsk, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[292]: log(' RealTime = %7.3f MB ' % frt, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[293]: log(' Burst1 = %7.3f MB ' % fb1, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[294]: log(' Burst2 = %7.3f MB ' % fb2, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[295]: log(' Total = %7.3f MB ' % ftot, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[297]: log(' THERE ARE %d ERRORS ' % APID_267.ERRCTR, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[355]: sleep(3600) Instruments/EFW/scripts/FSW\TEST_LDS.py[351]: for ps in range(72): Instruments/EFW/scripts/FSW\TEST_LDS.py[352]: log('3.%d COMMAND PASS SIMULATION ' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[353]: simulate_pass(FMAX) Instruments/EFW/scripts/FSW\TEST_LDS.py[246]: serial_cmd_stress_test() #Command at Max Rate Instruments/EFW/scripts/FSW\TEST_LDS.py[204]: log(' SERIAL COMMAND TEST AT MAX RATE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[205]: cmd.EFW_CMDS( 250 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[209]: for i in range( 250 ): cmd.EFW_ADRL( 0 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[211]: try: Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[217]: log(' SERIAL COMMAND TEST COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[247]: load_scripts() #Load & Dump Scripts Instruments/EFW/scripts/FSW\TEST_LDS.py[155]: log(' SCRIPT LOADING TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[156]: cmd.EFW_CMDS( 6 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[157]: cmd.EFW_SRMWRTCTL(0) #Unprotect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[158]: cmd.EFW_DISARM(3) #Don't csum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[161]: efw.idpu_load("00006000", " e0 e1 00 00 00 00 00 00 00 00 00 00 00 00 ee ef 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 00 a3 7f c1 01 e4 00 00 00 00 00 00 00 00 00 00 00 a3 7f c1 00 a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[162]: efw.idpu_load("00006100", " 1d c1 02 bb ee c2 00 00 00 00 00 00 00 00 00 00 01 ff 0f c1 03 ff 0f c1 06 ff 0f c1 0c ff 0f c1 18 ff 0f c1 30 ff 0f c1 60 ff 0f c1 c0 ff 0f c1 80 ff 0f c1 00 ff 0f c1 ef c2 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[165]: cmd.EFW_SRMWRTCTL(1) #Protect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[166]: cmd.EFW_ARM(3) #Checksum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[169]: cmd.EFW_DUMPTABL(12,0) #Dump and Spot Check Instruments/EFW/scripts/FSW\TEST_LDS.py[170]: cmd.EFW_TMDUMPCTR(255) #Indefinitely Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[176]: DUMPADR( 0x6100 ) Instruments/EFW/scripts\UTIL.py[61]: cmd.EFW_DUMPADRX( (addr >> 24 )& 0xff ) Instruments/EFW/scripts\UTIL.py[62]: cmd.EFW_DUMPADRE( (addr >> 16 )& 0xff ) Instruments/EFW/scripts\UTIL.py[63]: cmd.EFW_DUMPADRH( (addr >> 8 )& 0xff ) Instruments/EFW/scripts\UTIL.py[64]: cmd.EFW_DUMPADRL( addr & 0xff ) Instruments/EFW/scripts\UTIL.py[65]: cmd.EFW_TMDUMPCTR(255) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[182]: cmd.EFW_TMDUMPCTR(0) #Turn off dump Instruments/EFW/scripts/FSW\TEST_LDS.py[183]: log(' SCRIPT LOADING VERIFIED ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[248]: run_script() #Run and check script Instruments/EFW/scripts/FSW\TEST_LDS.py[189]: log(' SCRIPT EXECUTION TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[190]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[191]: cmd.EFW_SCRIPT(0xEF) #Should Start LEDs going Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[194]: sleep(10) Instruments/EFW/scripts/FSW\TEST_LDS.py[195]: cmd.EFW_SCRIPT(00) #Stop script Instruments/EFW/scripts/FSW\TEST_LDS.py[196]: cmd.EFW_TMPKTRATE( 4, 4 ) #Set APID 267 to 1/4Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[197]: log(' SCRIPT EXECUTION COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[249]: request_playbacks( fm ) #Determine what Burst1's to play Instruments/EFW/scripts/FSW\TEST_LDS.py[224]: log(' REQUESTING BURST1 PLAYBACKS ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[225]: log("FMAX %4x" % fm) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[227]: rp = APID_263.B1_RECPTR Instruments/EFW/scripts/FSW\TEST_LDS.py[228]: if( APID_263.B1_PLAYREQ < 10 ): Instruments/EFW/scripts/FSW\TEST_LDS.py[239]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[240]: log(' BURST1 PLAYLIST HAS %d REQUESTS '% APID_263.B1_PLAYREQ, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[354]: generate_report(ps) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[257]: filename = 'FSW_LDS'+str(ps)+'_AP263.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[258]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[259]: print_window('Instruments/EFW/screens/APID_263.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[261]: wait(APID_267, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[262]: filename = 'FSW_LDS'+str(ps)+'_AP267.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[263]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[264]: print_window('Instruments/EFW/screens/APID_267.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[266]: filename = 'FSW_LDS'+str(ps)+'_TlmRates.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[267]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[268]: print_window('Instruments/EFW/screens/CCSDS_tlm_rates.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[270]: log(' TELEMETRY RECEIVED (CUMULATIVE) @ PASS(%d)' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[271]: hsk = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[272]: rt = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[273]: b1 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[274]: b2 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[285]: tot = hsk+rt+b1+b2 Instruments/EFW/scripts/FSW\TEST_LDS.py[286]: fhsk = hsk/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[287]: frt = rt/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[288]: fb1 = b1/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[289]: fb2 = b2/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[290]: ftot= tot/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[291]: log(' HSK = %7.3f MB ' % fhsk, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[292]: log(' RealTime = %7.3f MB ' % frt, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[293]: log(' Burst1 = %7.3f MB ' % fb1, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[294]: log(' Burst2 = %7.3f MB ' % fb2, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[295]: log(' Total = %7.3f MB ' % ftot, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[297]: log(' THERE ARE %d ERRORS ' % APID_267.ERRCTR, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[355]: sleep(3600) Instruments/EFW/scripts/FSW\TEST_LDS.py[351]: for ps in range(72): Instruments/EFW/scripts/FSW\TEST_LDS.py[352]: log('3.%d COMMAND PASS SIMULATION ' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[353]: simulate_pass(FMAX) Instruments/EFW/scripts/FSW\TEST_LDS.py[246]: serial_cmd_stress_test() #Command at Max Rate Instruments/EFW/scripts/FSW\TEST_LDS.py[204]: log(' SERIAL COMMAND TEST AT MAX RATE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[205]: cmd.EFW_CMDS( 250 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[209]: for i in range( 250 ): cmd.EFW_ADRL( 0 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[211]: try: Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[217]: log(' SERIAL COMMAND TEST COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[247]: load_scripts() #Load & Dump Scripts Instruments/EFW/scripts/FSW\TEST_LDS.py[155]: log(' SCRIPT LOADING TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[156]: cmd.EFW_CMDS( 6 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[157]: cmd.EFW_SRMWRTCTL(0) #Unprotect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[158]: cmd.EFW_DISARM(3) #Don't csum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[161]: efw.idpu_load("00006000", " e0 e1 00 00 00 00 00 00 00 00 00 00 00 00 ee ef 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 00 a3 7f c1 01 e4 00 00 00 00 00 00 00 00 00 00 00 a3 7f c1 00 a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[162]: efw.idpu_load("00006100", " 1d c1 02 bb ee c2 00 00 00 00 00 00 00 00 00 00 01 ff 0f c1 03 ff 0f c1 06 ff 0f c1 0c ff 0f c1 18 ff 0f c1 30 ff 0f c1 60 ff 0f c1 c0 ff 0f c1 80 ff 0f c1 00 ff 0f c1 ef c2 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[165]: cmd.EFW_SRMWRTCTL(1) #Protect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[166]: cmd.EFW_ARM(3) #Checksum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[169]: cmd.EFW_DUMPTABL(12,0) #Dump and Spot Check Instruments/EFW/scripts/FSW\TEST_LDS.py[170]: cmd.EFW_TMDUMPCTR(255) #Indefinitely Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[176]: DUMPADR( 0x6100 ) Instruments/EFW/scripts\UTIL.py[61]: cmd.EFW_DUMPADRX( (addr >> 24 )& 0xff ) Instruments/EFW/scripts\UTIL.py[62]: cmd.EFW_DUMPADRE( (addr >> 16 )& 0xff ) Instruments/EFW/scripts\UTIL.py[63]: cmd.EFW_DUMPADRH( (addr >> 8 )& 0xff ) Instruments/EFW/scripts\UTIL.py[64]: cmd.EFW_DUMPADRL( addr & 0xff ) Instruments/EFW/scripts\UTIL.py[65]: cmd.EFW_TMDUMPCTR(255) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[182]: cmd.EFW_TMDUMPCTR(0) #Turn off dump Instruments/EFW/scripts/FSW\TEST_LDS.py[183]: log(' SCRIPT LOADING VERIFIED ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[248]: run_script() #Run and check script Instruments/EFW/scripts/FSW\TEST_LDS.py[189]: log(' SCRIPT EXECUTION TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[190]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[191]: cmd.EFW_SCRIPT(0xEF) #Should Start LEDs going Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[194]: sleep(10) Instruments/EFW/scripts/FSW\TEST_LDS.py[195]: cmd.EFW_SCRIPT(00) #Stop script Instruments/EFW/scripts/FSW\TEST_LDS.py[196]: cmd.EFW_TMPKTRATE( 4, 4 ) #Set APID 267 to 1/4Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[197]: log(' SCRIPT EXECUTION COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[249]: request_playbacks( fm ) #Determine what Burst1's to play Instruments/EFW/scripts/FSW\TEST_LDS.py[224]: log(' REQUESTING BURST1 PLAYBACKS ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[225]: log("FMAX %4x" % fm) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[227]: rp = APID_263.B1_RECPTR Instruments/EFW/scripts/FSW\TEST_LDS.py[228]: if( APID_263.B1_PLAYREQ < 10 ): Instruments/EFW/scripts/FSW\TEST_LDS.py[239]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[240]: log(' BURST1 PLAYLIST HAS %d REQUESTS '% APID_263.B1_PLAYREQ, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[354]: generate_report(ps) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[257]: filename = 'FSW_LDS'+str(ps)+'_AP263.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[258]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[259]: print_window('Instruments/EFW/screens/APID_263.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[261]: wait(APID_267, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[262]: filename = 'FSW_LDS'+str(ps)+'_AP267.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[263]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[264]: print_window('Instruments/EFW/screens/APID_267.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[266]: filename = 'FSW_LDS'+str(ps)+'_TlmRates.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[267]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[268]: print_window('Instruments/EFW/screens/CCSDS_tlm_rates.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[270]: log(' TELEMETRY RECEIVED (CUMULATIVE) @ PASS(%d)' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[271]: hsk = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[272]: rt = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[273]: b1 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[274]: b2 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[285]: tot = hsk+rt+b1+b2 Instruments/EFW/scripts/FSW\TEST_LDS.py[286]: fhsk = hsk/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[287]: frt = rt/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[288]: fb1 = b1/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[289]: fb2 = b2/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[290]: ftot= tot/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[291]: log(' HSK = %7.3f MB ' % fhsk, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[292]: log(' RealTime = %7.3f MB ' % frt, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[293]: log(' Burst1 = %7.3f MB ' % fb1, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[294]: log(' Burst2 = %7.3f MB ' % fb2, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[295]: log(' Total = %7.3f MB ' % ftot, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[297]: log(' THERE ARE %d ERRORS ' % APID_267.ERRCTR, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[355]: sleep(3600) Instruments/EFW/scripts/FSW\TEST_LDS.py[351]: for ps in range(72): Instruments/EFW/scripts/FSW\TEST_LDS.py[352]: log('3.%d COMMAND PASS SIMULATION ' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[353]: simulate_pass(FMAX) Instruments/EFW/scripts/FSW\TEST_LDS.py[246]: serial_cmd_stress_test() #Command at Max Rate Instruments/EFW/scripts/FSW\TEST_LDS.py[204]: log(' SERIAL COMMAND TEST AT MAX RATE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[205]: cmd.EFW_CMDS( 250 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[209]: for i in range( 250 ): cmd.EFW_ADRL( 0 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[211]: try: Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[217]: log(' SERIAL COMMAND TEST COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[247]: load_scripts() #Load & Dump Scripts Instruments/EFW/scripts/FSW\TEST_LDS.py[155]: log(' SCRIPT LOADING TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[156]: cmd.EFW_CMDS( 6 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[157]: cmd.EFW_SRMWRTCTL(0) #Unprotect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[158]: cmd.EFW_DISARM(3) #Don't csum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[161]: efw.idpu_load("00006000", " e0 e1 00 00 00 00 00 00 00 00 00 00 00 00 ee ef 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 00 a3 7f c1 01 e4 00 00 00 00 00 00 00 00 00 00 00 a3 7f c1 00 a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[162]: efw.idpu_load("00006100", " 1d c1 02 bb ee c2 00 00 00 00 00 00 00 00 00 00 01 ff 0f c1 03 ff 0f c1 06 ff 0f c1 0c ff 0f c1 18 ff 0f c1 30 ff 0f c1 60 ff 0f c1 c0 ff 0f c1 80 ff 0f c1 00 ff 0f c1 ef c2 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[165]: cmd.EFW_SRMWRTCTL(1) #Protect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[166]: cmd.EFW_ARM(3) #Checksum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[169]: cmd.EFW_DUMPTABL(12,0) #Dump and Spot Check Instruments/EFW/scripts/FSW\TEST_LDS.py[170]: cmd.EFW_TMDUMPCTR(255) #Indefinitely Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[176]: DUMPADR( 0x6100 ) Instruments/EFW/scripts\UTIL.py[61]: cmd.EFW_DUMPADRX( (addr >> 24 )& 0xff ) Instruments/EFW/scripts\UTIL.py[62]: cmd.EFW_DUMPADRE( (addr >> 16 )& 0xff ) Instruments/EFW/scripts\UTIL.py[63]: cmd.EFW_DUMPADRH( (addr >> 8 )& 0xff ) Instruments/EFW/scripts\UTIL.py[64]: cmd.EFW_DUMPADRL( addr & 0xff ) Instruments/EFW/scripts\UTIL.py[65]: cmd.EFW_TMDUMPCTR(255) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[182]: cmd.EFW_TMDUMPCTR(0) #Turn off dump Instruments/EFW/scripts/FSW\TEST_LDS.py[183]: log(' SCRIPT LOADING VERIFIED ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[248]: run_script() #Run and check script Instruments/EFW/scripts/FSW\TEST_LDS.py[189]: log(' SCRIPT EXECUTION TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[190]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[191]: cmd.EFW_SCRIPT(0xEF) #Should Start LEDs going Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[194]: sleep(10) Instruments/EFW/scripts/FSW\TEST_LDS.py[195]: cmd.EFW_SCRIPT(00) #Stop script Instruments/EFW/scripts/FSW\TEST_LDS.py[196]: cmd.EFW_TMPKTRATE( 4, 4 ) #Set APID 267 to 1/4Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[197]: log(' SCRIPT EXECUTION COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[249]: request_playbacks( fm ) #Determine what Burst1's to play Instruments/EFW/scripts/FSW\TEST_LDS.py[224]: log(' REQUESTING BURST1 PLAYBACKS ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[225]: log("FMAX %4x" % fm) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[227]: rp = APID_263.B1_RECPTR Instruments/EFW/scripts/FSW\TEST_LDS.py[228]: if( APID_263.B1_PLAYREQ < 10 ): Instruments/EFW/scripts/FSW\TEST_LDS.py[239]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[240]: log(' BURST1 PLAYLIST HAS %d REQUESTS '% APID_263.B1_PLAYREQ, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[354]: generate_report(ps) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[257]: filename = 'FSW_LDS'+str(ps)+'_AP263.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[258]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[259]: print_window('Instruments/EFW/screens/APID_263.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[261]: wait(APID_267, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[262]: filename = 'FSW_LDS'+str(ps)+'_AP267.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[263]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[264]: print_window('Instruments/EFW/screens/APID_267.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[266]: filename = 'FSW_LDS'+str(ps)+'_TlmRates.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[267]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[268]: print_window('Instruments/EFW/screens/CCSDS_tlm_rates.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[270]: log(' TELEMETRY RECEIVED (CUMULATIVE) @ PASS(%d)' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[271]: hsk = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[272]: rt = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[273]: b1 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[274]: b2 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[285]: tot = hsk+rt+b1+b2 Instruments/EFW/scripts/FSW\TEST_LDS.py[286]: fhsk = hsk/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[287]: frt = rt/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[288]: fb1 = b1/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[289]: fb2 = b2/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[290]: ftot= tot/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[291]: log(' HSK = %7.3f MB ' % fhsk, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[292]: log(' RealTime = %7.3f MB ' % frt, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[293]: log(' Burst1 = %7.3f MB ' % fb1, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[294]: log(' Burst2 = %7.3f MB ' % fb2, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[295]: log(' Total = %7.3f MB ' % ftot, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[297]: log(' THERE ARE %d ERRORS ' % APID_267.ERRCTR, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[355]: sleep(3600) Instruments/EFW/scripts/FSW\TEST_LDS.py[351]: for ps in range(72): Instruments/EFW/scripts/FSW\TEST_LDS.py[352]: log('3.%d COMMAND PASS SIMULATION ' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[353]: simulate_pass(FMAX) Instruments/EFW/scripts/FSW\TEST_LDS.py[246]: serial_cmd_stress_test() #Command at Max Rate Instruments/EFW/scripts/FSW\TEST_LDS.py[204]: log(' SERIAL COMMAND TEST AT MAX RATE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[205]: cmd.EFW_CMDS( 250 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[209]: for i in range( 250 ): cmd.EFW_ADRL( 0 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[211]: try: Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[217]: log(' SERIAL COMMAND TEST COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[247]: load_scripts() #Load & Dump Scripts Instruments/EFW/scripts/FSW\TEST_LDS.py[155]: log(' SCRIPT LOADING TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[156]: cmd.EFW_CMDS( 6 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[157]: cmd.EFW_SRMWRTCTL(0) #Unprotect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[158]: cmd.EFW_DISARM(3) #Don't csum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[161]: efw.idpu_load("00006000", " e0 e1 00 00 00 00 00 00 00 00 00 00 00 00 ee ef 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 00 a3 7f c1 01 e4 00 00 00 00 00 00 00 00 00 00 00 a3 7f c1 00 a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[162]: efw.idpu_load("00006100", " 1d c1 02 bb ee c2 00 00 00 00 00 00 00 00 00 00 01 ff 0f c1 03 ff 0f c1 06 ff 0f c1 0c ff 0f c1 18 ff 0f c1 30 ff 0f c1 60 ff 0f c1 c0 ff 0f c1 80 ff 0f c1 00 ff 0f c1 ef c2 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[165]: cmd.EFW_SRMWRTCTL(1) #Protect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[166]: cmd.EFW_ARM(3) #Checksum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[169]: cmd.EFW_DUMPTABL(12,0) #Dump and Spot Check Instruments/EFW/scripts/FSW\TEST_LDS.py[170]: cmd.EFW_TMDUMPCTR(255) #Indefinitely Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[176]: DUMPADR( 0x6100 ) Instruments/EFW/scripts\UTIL.py[61]: cmd.EFW_DUMPADRX( (addr >> 24 )& 0xff ) Instruments/EFW/scripts\UTIL.py[62]: cmd.EFW_DUMPADRE( (addr >> 16 )& 0xff ) Instruments/EFW/scripts\UTIL.py[63]: cmd.EFW_DUMPADRH( (addr >> 8 )& 0xff ) Instruments/EFW/scripts\UTIL.py[64]: cmd.EFW_DUMPADRL( addr & 0xff ) Instruments/EFW/scripts\UTIL.py[65]: cmd.EFW_TMDUMPCTR(255) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[182]: cmd.EFW_TMDUMPCTR(0) #Turn off dump Instruments/EFW/scripts/FSW\TEST_LDS.py[183]: log(' SCRIPT LOADING VERIFIED ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[248]: run_script() #Run and check script Instruments/EFW/scripts/FSW\TEST_LDS.py[189]: log(' SCRIPT EXECUTION TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[190]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[191]: cmd.EFW_SCRIPT(0xEF) #Should Start LEDs going Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[194]: sleep(10) Instruments/EFW/scripts/FSW\TEST_LDS.py[195]: cmd.EFW_SCRIPT(00) #Stop script Instruments/EFW/scripts/FSW\TEST_LDS.py[196]: cmd.EFW_TMPKTRATE( 4, 4 ) #Set APID 267 to 1/4Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[197]: log(' SCRIPT EXECUTION COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[249]: request_playbacks( fm ) #Determine what Burst1's to play Instruments/EFW/scripts/FSW\TEST_LDS.py[224]: log(' REQUESTING BURST1 PLAYBACKS ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[225]: log("FMAX %4x" % fm) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[227]: rp = APID_263.B1_RECPTR Instruments/EFW/scripts/FSW\TEST_LDS.py[228]: if( APID_263.B1_PLAYREQ < 10 ): Instruments/EFW/scripts/FSW\TEST_LDS.py[239]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[240]: log(' BURST1 PLAYLIST HAS %d REQUESTS '% APID_263.B1_PLAYREQ, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[354]: generate_report(ps) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[257]: filename = 'FSW_LDS'+str(ps)+'_AP263.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[258]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[259]: print_window('Instruments/EFW/screens/APID_263.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[261]: wait(APID_267, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[262]: filename = 'FSW_LDS'+str(ps)+'_AP267.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[263]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[264]: print_window('Instruments/EFW/screens/APID_267.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[266]: filename = 'FSW_LDS'+str(ps)+'_TlmRates.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[267]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[268]: print_window('Instruments/EFW/screens/CCSDS_tlm_rates.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[270]: log(' TELEMETRY RECEIVED (CUMULATIVE) @ PASS(%d)' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[271]: hsk = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[272]: rt = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[273]: b1 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[274]: b2 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[285]: tot = hsk+rt+b1+b2 Instruments/EFW/scripts/FSW\TEST_LDS.py[286]: fhsk = hsk/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[287]: frt = rt/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[288]: fb1 = b1/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[289]: fb2 = b2/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[290]: ftot= tot/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[291]: log(' HSK = %7.3f MB ' % fhsk, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[292]: log(' RealTime = %7.3f MB ' % frt, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[293]: log(' Burst1 = %7.3f MB ' % fb1, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[294]: log(' Burst2 = %7.3f MB ' % fb2, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[295]: log(' Total = %7.3f MB ' % ftot, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[297]: log(' THERE ARE %d ERRORS ' % APID_267.ERRCTR, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[355]: sleep(3600) Instruments/EFW/scripts/FSW\TEST_LDS.py[351]: for ps in range(72): Instruments/EFW/scripts/FSW\TEST_LDS.py[352]: log('3.%d COMMAND PASS SIMULATION ' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[353]: simulate_pass(FMAX) Instruments/EFW/scripts/FSW\TEST_LDS.py[246]: serial_cmd_stress_test() #Command at Max Rate Instruments/EFW/scripts/FSW\TEST_LDS.py[204]: log(' SERIAL COMMAND TEST AT MAX RATE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[205]: cmd.EFW_CMDS( 250 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[209]: for i in range( 250 ): cmd.EFW_ADRL( 0 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[211]: try: Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[217]: log(' SERIAL COMMAND TEST COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[247]: load_scripts() #Load & Dump Scripts Instruments/EFW/scripts/FSW\TEST_LDS.py[155]: log(' SCRIPT LOADING TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[156]: cmd.EFW_CMDS( 6 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[157]: cmd.EFW_SRMWRTCTL(0) #Unprotect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[158]: cmd.EFW_DISARM(3) #Don't csum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[161]: efw.idpu_load("00006000", " e0 e1 00 00 00 00 00 00 00 00 00 00 00 00 ee ef 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 00 a3 7f c1 01 e4 00 00 00 00 00 00 00 00 00 00 00 a3 7f c1 00 a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[162]: efw.idpu_load("00006100", " 1d c1 02 bb ee c2 00 00 00 00 00 00 00 00 00 00 01 ff 0f c1 03 ff 0f c1 06 ff 0f c1 0c ff 0f c1 18 ff 0f c1 30 ff 0f c1 60 ff 0f c1 c0 ff 0f c1 80 ff 0f c1 00 ff 0f c1 ef c2 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[165]: cmd.EFW_SRMWRTCTL(1) #Protect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[166]: cmd.EFW_ARM(3) #Checksum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[169]: cmd.EFW_DUMPTABL(12,0) #Dump and Spot Check Instruments/EFW/scripts/FSW\TEST_LDS.py[170]: cmd.EFW_TMDUMPCTR(255) #Indefinitely Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[176]: DUMPADR( 0x6100 ) Instruments/EFW/scripts\UTIL.py[61]: cmd.EFW_DUMPADRX( (addr >> 24 )& 0xff ) Instruments/EFW/scripts\UTIL.py[62]: cmd.EFW_DUMPADRE( (addr >> 16 )& 0xff ) Instruments/EFW/scripts\UTIL.py[63]: cmd.EFW_DUMPADRH( (addr >> 8 )& 0xff ) Instruments/EFW/scripts\UTIL.py[64]: cmd.EFW_DUMPADRL( addr & 0xff ) Instruments/EFW/scripts\UTIL.py[65]: cmd.EFW_TMDUMPCTR(255) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[182]: cmd.EFW_TMDUMPCTR(0) #Turn off dump Instruments/EFW/scripts/FSW\TEST_LDS.py[183]: log(' SCRIPT LOADING VERIFIED ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[248]: run_script() #Run and check script Instruments/EFW/scripts/FSW\TEST_LDS.py[189]: log(' SCRIPT EXECUTION TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[190]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[191]: cmd.EFW_SCRIPT(0xEF) #Should Start LEDs going Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[194]: sleep(10) Instruments/EFW/scripts/FSW\TEST_LDS.py[195]: cmd.EFW_SCRIPT(00) #Stop script Instruments/EFW/scripts/FSW\TEST_LDS.py[196]: cmd.EFW_TMPKTRATE( 4, 4 ) #Set APID 267 to 1/4Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[197]: log(' SCRIPT EXECUTION COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[249]: request_playbacks( fm ) #Determine what Burst1's to play Instruments/EFW/scripts/FSW\TEST_LDS.py[224]: log(' REQUESTING BURST1 PLAYBACKS ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[225]: log("FMAX %4x" % fm) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[227]: rp = APID_263.B1_RECPTR Instruments/EFW/scripts/FSW\TEST_LDS.py[228]: if( APID_263.B1_PLAYREQ < 10 ): Instruments/EFW/scripts/FSW\TEST_LDS.py[239]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[240]: log(' BURST1 PLAYLIST HAS %d REQUESTS '% APID_263.B1_PLAYREQ, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[354]: generate_report(ps) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[257]: filename = 'FSW_LDS'+str(ps)+'_AP263.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[258]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[259]: print_window('Instruments/EFW/screens/APID_263.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[261]: wait(APID_267, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[262]: filename = 'FSW_LDS'+str(ps)+'_AP267.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[263]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[264]: print_window('Instruments/EFW/screens/APID_267.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[266]: filename = 'FSW_LDS'+str(ps)+'_TlmRates.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[267]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[268]: print_window('Instruments/EFW/screens/CCSDS_tlm_rates.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[270]: log(' TELEMETRY RECEIVED (CUMULATIVE) @ PASS(%d)' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[271]: hsk = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[272]: rt = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[273]: b1 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[274]: b2 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[285]: tot = hsk+rt+b1+b2 Instruments/EFW/scripts/FSW\TEST_LDS.py[286]: fhsk = hsk/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[287]: frt = rt/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[288]: fb1 = b1/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[289]: fb2 = b2/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[290]: ftot= tot/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[291]: log(' HSK = %7.3f MB ' % fhsk, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[292]: log(' RealTime = %7.3f MB ' % frt, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[293]: log(' Burst1 = %7.3f MB ' % fb1, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[294]: log(' Burst2 = %7.3f MB ' % fb2, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[295]: log(' Total = %7.3f MB ' % ftot, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[297]: log(' THERE ARE %d ERRORS ' % APID_267.ERRCTR, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[355]: sleep(3600) Instruments/EFW/scripts/FSW\TEST_LDS.py[351]: for ps in range(72): Instruments/EFW/scripts/FSW\TEST_LDS.py[352]: log('3.%d COMMAND PASS SIMULATION ' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[353]: simulate_pass(FMAX) Instruments/EFW/scripts/FSW\TEST_LDS.py[246]: serial_cmd_stress_test() #Command at Max Rate Instruments/EFW/scripts/FSW\TEST_LDS.py[204]: log(' SERIAL COMMAND TEST AT MAX RATE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[205]: cmd.EFW_CMDS( 250 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[209]: for i in range( 250 ): cmd.EFW_ADRL( 0 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[211]: try: Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[217]: log(' SERIAL COMMAND TEST COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[247]: load_scripts() #Load & Dump Scripts Instruments/EFW/scripts/FSW\TEST_LDS.py[155]: log(' SCRIPT LOADING TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[156]: cmd.EFW_CMDS( 6 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[157]: cmd.EFW_SRMWRTCTL(0) #Unprotect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[158]: cmd.EFW_DISARM(3) #Don't csum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[161]: efw.idpu_load("00006000", " e0 e1 00 00 00 00 00 00 00 00 00 00 00 00 ee ef 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 00 a3 7f c1 01 e4 00 00 00 00 00 00 00 00 00 00 00 a3 7f c1 00 a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[162]: efw.idpu_load("00006100", " 1d c1 02 bb ee c2 00 00 00 00 00 00 00 00 00 00 01 ff 0f c1 03 ff 0f c1 06 ff 0f c1 0c ff 0f c1 18 ff 0f c1 30 ff 0f c1 60 ff 0f c1 c0 ff 0f c1 80 ff 0f c1 00 ff 0f c1 ef c2 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[165]: cmd.EFW_SRMWRTCTL(1) #Protect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[166]: cmd.EFW_ARM(3) #Checksum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[169]: cmd.EFW_DUMPTABL(12,0) #Dump and Spot Check Instruments/EFW/scripts/FSW\TEST_LDS.py[170]: cmd.EFW_TMDUMPCTR(255) #Indefinitely Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[176]: DUMPADR( 0x6100 ) Instruments/EFW/scripts\UTIL.py[61]: cmd.EFW_DUMPADRX( (addr >> 24 )& 0xff ) Instruments/EFW/scripts\UTIL.py[62]: cmd.EFW_DUMPADRE( (addr >> 16 )& 0xff ) Instruments/EFW/scripts\UTIL.py[63]: cmd.EFW_DUMPADRH( (addr >> 8 )& 0xff ) Instruments/EFW/scripts\UTIL.py[64]: cmd.EFW_DUMPADRL( addr & 0xff ) Instruments/EFW/scripts\UTIL.py[65]: cmd.EFW_TMDUMPCTR(255) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[182]: cmd.EFW_TMDUMPCTR(0) #Turn off dump Instruments/EFW/scripts/FSW\TEST_LDS.py[183]: log(' SCRIPT LOADING VERIFIED ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[248]: run_script() #Run and check script Instruments/EFW/scripts/FSW\TEST_LDS.py[189]: log(' SCRIPT EXECUTION TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[190]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[191]: cmd.EFW_SCRIPT(0xEF) #Should Start LEDs going Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[194]: sleep(10) Instruments/EFW/scripts/FSW\TEST_LDS.py[195]: cmd.EFW_SCRIPT(00) #Stop script Instruments/EFW/scripts/FSW\TEST_LDS.py[196]: cmd.EFW_TMPKTRATE( 4, 4 ) #Set APID 267 to 1/4Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[197]: log(' SCRIPT EXECUTION COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[249]: request_playbacks( fm ) #Determine what Burst1's to play Instruments/EFW/scripts/FSW\TEST_LDS.py[224]: log(' REQUESTING BURST1 PLAYBACKS ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[225]: log("FMAX %4x" % fm) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[227]: rp = APID_263.B1_RECPTR Instruments/EFW/scripts/FSW\TEST_LDS.py[228]: if( APID_263.B1_PLAYREQ < 10 ): Instruments/EFW/scripts/FSW\TEST_LDS.py[239]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[240]: log(' BURST1 PLAYLIST HAS %d REQUESTS '% APID_263.B1_PLAYREQ, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[354]: generate_report(ps) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[257]: filename = 'FSW_LDS'+str(ps)+'_AP263.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[258]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[259]: print_window('Instruments/EFW/screens/APID_263.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[261]: wait(APID_267, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[262]: filename = 'FSW_LDS'+str(ps)+'_AP267.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[263]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[264]: print_window('Instruments/EFW/screens/APID_267.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[266]: filename = 'FSW_LDS'+str(ps)+'_TlmRates.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[267]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[268]: print_window('Instruments/EFW/screens/CCSDS_tlm_rates.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[270]: log(' TELEMETRY RECEIVED (CUMULATIVE) @ PASS(%d)' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[271]: hsk = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[272]: rt = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[273]: b1 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[274]: b2 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[285]: tot = hsk+rt+b1+b2 Instruments/EFW/scripts/FSW\TEST_LDS.py[286]: fhsk = hsk/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[287]: frt = rt/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[288]: fb1 = b1/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[289]: fb2 = b2/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[290]: ftot= tot/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[291]: log(' HSK = %7.3f MB ' % fhsk, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[292]: log(' RealTime = %7.3f MB ' % frt, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[293]: log(' Burst1 = %7.3f MB ' % fb1, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[294]: log(' Burst2 = %7.3f MB ' % fb2, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[295]: log(' Total = %7.3f MB ' % ftot, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[297]: log(' THERE ARE %d ERRORS ' % APID_267.ERRCTR, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[355]: sleep(3600) Instruments/EFW/scripts/FSW\TEST_LDS.py[351]: for ps in range(72): Instruments/EFW/scripts/FSW\TEST_LDS.py[352]: log('3.%d COMMAND PASS SIMULATION ' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[353]: simulate_pass(FMAX) Instruments/EFW/scripts/FSW\TEST_LDS.py[246]: serial_cmd_stress_test() #Command at Max Rate Instruments/EFW/scripts/FSW\TEST_LDS.py[204]: log(' SERIAL COMMAND TEST AT MAX RATE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[205]: cmd.EFW_CMDS( 250 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[209]: for i in range( 250 ): cmd.EFW_ADRL( 0 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[211]: try: Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[217]: log(' SERIAL COMMAND TEST COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[247]: load_scripts() #Load & Dump Scripts Instruments/EFW/scripts/FSW\TEST_LDS.py[155]: log(' SCRIPT LOADING TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[156]: cmd.EFW_CMDS( 6 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[157]: cmd.EFW_SRMWRTCTL(0) #Unprotect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[158]: cmd.EFW_DISARM(3) #Don't csum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[161]: efw.idpu_load("00006000", " e0 e1 00 00 00 00 00 00 00 00 00 00 00 00 ee ef 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 00 a3 7f c1 01 e4 00 00 00 00 00 00 00 00 00 00 00 a3 7f c1 00 a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[162]: efw.idpu_load("00006100", " 1d c1 02 bb ee c2 00 00 00 00 00 00 00 00 00 00 01 ff 0f c1 03 ff 0f c1 06 ff 0f c1 0c ff 0f c1 18 ff 0f c1 30 ff 0f c1 60 ff 0f c1 c0 ff 0f c1 80 ff 0f c1 00 ff 0f c1 ef c2 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[165]: cmd.EFW_SRMWRTCTL(1) #Protect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[166]: cmd.EFW_ARM(3) #Checksum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[169]: cmd.EFW_DUMPTABL(12,0) #Dump and Spot Check Instruments/EFW/scripts/FSW\TEST_LDS.py[170]: cmd.EFW_TMDUMPCTR(255) #Indefinitely Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[176]: DUMPADR( 0x6100 ) Instruments/EFW/scripts\UTIL.py[61]: cmd.EFW_DUMPADRX( (addr >> 24 )& 0xff ) Instruments/EFW/scripts\UTIL.py[62]: cmd.EFW_DUMPADRE( (addr >> 16 )& 0xff ) Instruments/EFW/scripts\UTIL.py[63]: cmd.EFW_DUMPADRH( (addr >> 8 )& 0xff ) Instruments/EFW/scripts\UTIL.py[64]: cmd.EFW_DUMPADRL( addr & 0xff ) Instruments/EFW/scripts\UTIL.py[65]: cmd.EFW_TMDUMPCTR(255) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[182]: cmd.EFW_TMDUMPCTR(0) #Turn off dump Instruments/EFW/scripts/FSW\TEST_LDS.py[183]: log(' SCRIPT LOADING VERIFIED ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[248]: run_script() #Run and check script Instruments/EFW/scripts/FSW\TEST_LDS.py[189]: log(' SCRIPT EXECUTION TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[190]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[191]: cmd.EFW_SCRIPT(0xEF) #Should Start LEDs going Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[194]: sleep(10) Instruments/EFW/scripts/FSW\TEST_LDS.py[195]: cmd.EFW_SCRIPT(00) #Stop script Instruments/EFW/scripts/FSW\TEST_LDS.py[196]: cmd.EFW_TMPKTRATE( 4, 4 ) #Set APID 267 to 1/4Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[197]: log(' SCRIPT EXECUTION COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[249]: request_playbacks( fm ) #Determine what Burst1's to play Instruments/EFW/scripts/FSW\TEST_LDS.py[224]: log(' REQUESTING BURST1 PLAYBACKS ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[225]: log("FMAX %4x" % fm) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[227]: rp = APID_263.B1_RECPTR Instruments/EFW/scripts/FSW\TEST_LDS.py[228]: if( APID_263.B1_PLAYREQ < 10 ): Instruments/EFW/scripts/FSW\TEST_LDS.py[239]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[240]: log(' BURST1 PLAYLIST HAS %d REQUESTS '% APID_263.B1_PLAYREQ, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[354]: generate_report(ps) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[257]: filename = 'FSW_LDS'+str(ps)+'_AP263.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[258]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[259]: print_window('Instruments/EFW/screens/APID_263.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[261]: wait(APID_267, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[262]: filename = 'FSW_LDS'+str(ps)+'_AP267.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[263]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[264]: print_window('Instruments/EFW/screens/APID_267.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[266]: filename = 'FSW_LDS'+str(ps)+'_TlmRates.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[267]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[268]: print_window('Instruments/EFW/screens/CCSDS_tlm_rates.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[270]: log(' TELEMETRY RECEIVED (CUMULATIVE) @ PASS(%d)' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[271]: hsk = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[272]: rt = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[273]: b1 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[274]: b2 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[285]: tot = hsk+rt+b1+b2 Instruments/EFW/scripts/FSW\TEST_LDS.py[286]: fhsk = hsk/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[287]: frt = rt/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[288]: fb1 = b1/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[289]: fb2 = b2/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[290]: ftot= tot/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[291]: log(' HSK = %7.3f MB ' % fhsk, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[292]: log(' RealTime = %7.3f MB ' % frt, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[293]: log(' Burst1 = %7.3f MB ' % fb1, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[294]: log(' Burst2 = %7.3f MB ' % fb2, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[295]: log(' Total = %7.3f MB ' % ftot, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[297]: log(' THERE ARE %d ERRORS ' % APID_267.ERRCTR, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[355]: sleep(3600) Instruments/EFW/scripts/FSW\TEST_LDS.py[351]: for ps in range(72): Instruments/EFW/scripts/FSW\TEST_LDS.py[352]: log('3.%d COMMAND PASS SIMULATION ' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[353]: simulate_pass(FMAX) Instruments/EFW/scripts/FSW\TEST_LDS.py[246]: serial_cmd_stress_test() #Command at Max Rate Instruments/EFW/scripts/FSW\TEST_LDS.py[204]: log(' SERIAL COMMAND TEST AT MAX RATE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[205]: cmd.EFW_CMDS( 250 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[209]: for i in range( 250 ): cmd.EFW_ADRL( 0 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[211]: try: Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[217]: log(' SERIAL COMMAND TEST COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[247]: load_scripts() #Load & Dump Scripts Instruments/EFW/scripts/FSW\TEST_LDS.py[155]: log(' SCRIPT LOADING TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[156]: cmd.EFW_CMDS( 6 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[157]: cmd.EFW_SRMWRTCTL(0) #Unprotect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[158]: cmd.EFW_DISARM(3) #Don't csum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[161]: efw.idpu_load("00006000", " e0 e1 00 00 00 00 00 00 00 00 00 00 00 00 ee ef 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 00 a3 7f c1 01 e4 00 00 00 00 00 00 00 00 00 00 00 a3 7f c1 00 a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[162]: efw.idpu_load("00006100", " 1d c1 02 bb ee c2 00 00 00 00 00 00 00 00 00 00 01 ff 0f c1 03 ff 0f c1 06 ff 0f c1 0c ff 0f c1 18 ff 0f c1 30 ff 0f c1 60 ff 0f c1 c0 ff 0f c1 80 ff 0f c1 00 ff 0f c1 ef c2 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[165]: cmd.EFW_SRMWRTCTL(1) #Protect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[166]: cmd.EFW_ARM(3) #Checksum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[169]: cmd.EFW_DUMPTABL(12,0) #Dump and Spot Check Instruments/EFW/scripts/FSW\TEST_LDS.py[170]: cmd.EFW_TMDUMPCTR(255) #Indefinitely Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[176]: DUMPADR( 0x6100 ) Instruments/EFW/scripts\UTIL.py[61]: cmd.EFW_DUMPADRX( (addr >> 24 )& 0xff ) Instruments/EFW/scripts\UTIL.py[62]: cmd.EFW_DUMPADRE( (addr >> 16 )& 0xff ) Instruments/EFW/scripts\UTIL.py[63]: cmd.EFW_DUMPADRH( (addr >> 8 )& 0xff ) Instruments/EFW/scripts\UTIL.py[64]: cmd.EFW_DUMPADRL( addr & 0xff ) Instruments/EFW/scripts\UTIL.py[65]: cmd.EFW_TMDUMPCTR(255) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[182]: cmd.EFW_TMDUMPCTR(0) #Turn off dump Instruments/EFW/scripts/FSW\TEST_LDS.py[183]: log(' SCRIPT LOADING VERIFIED ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[248]: run_script() #Run and check script Instruments/EFW/scripts/FSW\TEST_LDS.py[189]: log(' SCRIPT EXECUTION TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[190]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[191]: cmd.EFW_SCRIPT(0xEF) #Should Start LEDs going Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[194]: sleep(10) Instruments/EFW/scripts/FSW\TEST_LDS.py[195]: cmd.EFW_SCRIPT(00) #Stop script Instruments/EFW/scripts/FSW\TEST_LDS.py[196]: cmd.EFW_TMPKTRATE( 4, 4 ) #Set APID 267 to 1/4Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[197]: log(' SCRIPT EXECUTION COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[249]: request_playbacks( fm ) #Determine what Burst1's to play Instruments/EFW/scripts/FSW\TEST_LDS.py[224]: log(' REQUESTING BURST1 PLAYBACKS ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[225]: log("FMAX %4x" % fm) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[227]: rp = APID_263.B1_RECPTR Instruments/EFW/scripts/FSW\TEST_LDS.py[228]: if( APID_263.B1_PLAYREQ < 10 ): Instruments/EFW/scripts/FSW\TEST_LDS.py[239]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[240]: log(' BURST1 PLAYLIST HAS %d REQUESTS '% APID_263.B1_PLAYREQ, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[354]: generate_report(ps) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[257]: filename = 'FSW_LDS'+str(ps)+'_AP263.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[258]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[259]: print_window('Instruments/EFW/screens/APID_263.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[261]: wait(APID_267, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[262]: filename = 'FSW_LDS'+str(ps)+'_AP267.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[263]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[264]: print_window('Instruments/EFW/screens/APID_267.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[266]: filename = 'FSW_LDS'+str(ps)+'_TlmRates.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[267]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[268]: print_window('Instruments/EFW/screens/CCSDS_tlm_rates.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[270]: log(' TELEMETRY RECEIVED (CUMULATIVE) @ PASS(%d)' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[271]: hsk = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[272]: rt = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[273]: b1 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[274]: b2 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[285]: tot = hsk+rt+b1+b2 Instruments/EFW/scripts/FSW\TEST_LDS.py[286]: fhsk = hsk/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[287]: frt = rt/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[288]: fb1 = b1/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[289]: fb2 = b2/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[290]: ftot= tot/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[291]: log(' HSK = %7.3f MB ' % fhsk, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[292]: log(' RealTime = %7.3f MB ' % frt, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[293]: log(' Burst1 = %7.3f MB ' % fb1, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[294]: log(' Burst2 = %7.3f MB ' % fb2, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[295]: log(' Total = %7.3f MB ' % ftot, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[297]: log(' THERE ARE %d ERRORS ' % APID_267.ERRCTR, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[355]: sleep(3600) Instruments/EFW/scripts/FSW\TEST_LDS.py[351]: for ps in range(72): Instruments/EFW/scripts/FSW\TEST_LDS.py[352]: log('3.%d COMMAND PASS SIMULATION ' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[353]: simulate_pass(FMAX) Instruments/EFW/scripts/FSW\TEST_LDS.py[246]: serial_cmd_stress_test() #Command at Max Rate Instruments/EFW/scripts/FSW\TEST_LDS.py[204]: log(' SERIAL COMMAND TEST AT MAX RATE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[205]: cmd.EFW_CMDS( 250 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[209]: for i in range( 250 ): cmd.EFW_ADRL( 0 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[211]: try: Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[217]: log(' SERIAL COMMAND TEST COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[247]: load_scripts() #Load & Dump Scripts Instruments/EFW/scripts/FSW\TEST_LDS.py[155]: log(' SCRIPT LOADING TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[156]: cmd.EFW_CMDS( 6 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[157]: cmd.EFW_SRMWRTCTL(0) #Unprotect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[158]: cmd.EFW_DISARM(3) #Don't csum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[161]: efw.idpu_load("00006000", " e0 e1 00 00 00 00 00 00 00 00 00 00 00 00 ee ef 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 00 a3 7f c1 01 e4 00 00 00 00 00 00 00 00 00 00 00 a3 7f c1 00 a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[162]: efw.idpu_load("00006100", " 1d c1 02 bb ee c2 00 00 00 00 00 00 00 00 00 00 01 ff 0f c1 03 ff 0f c1 06 ff 0f c1 0c ff 0f c1 18 ff 0f c1 30 ff 0f c1 60 ff 0f c1 c0 ff 0f c1 80 ff 0f c1 00 ff 0f c1 ef c2 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[165]: cmd.EFW_SRMWRTCTL(1) #Protect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[166]: cmd.EFW_ARM(3) #Checksum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[169]: cmd.EFW_DUMPTABL(12,0) #Dump and Spot Check Instruments/EFW/scripts/FSW\TEST_LDS.py[170]: cmd.EFW_TMDUMPCTR(255) #Indefinitely Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[176]: DUMPADR( 0x6100 ) Instruments/EFW/scripts\UTIL.py[61]: cmd.EFW_DUMPADRX( (addr >> 24 )& 0xff ) Instruments/EFW/scripts\UTIL.py[62]: cmd.EFW_DUMPADRE( (addr >> 16 )& 0xff ) Instruments/EFW/scripts\UTIL.py[63]: cmd.EFW_DUMPADRH( (addr >> 8 )& 0xff ) Instruments/EFW/scripts\UTIL.py[64]: cmd.EFW_DUMPADRL( addr & 0xff ) Instruments/EFW/scripts\UTIL.py[65]: cmd.EFW_TMDUMPCTR(255) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[182]: cmd.EFW_TMDUMPCTR(0) #Turn off dump Instruments/EFW/scripts/FSW\TEST_LDS.py[183]: log(' SCRIPT LOADING VERIFIED ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[248]: run_script() #Run and check script Instruments/EFW/scripts/FSW\TEST_LDS.py[189]: log(' SCRIPT EXECUTION TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[190]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[191]: cmd.EFW_SCRIPT(0xEF) #Should Start LEDs going Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[194]: sleep(10) Instruments/EFW/scripts/FSW\TEST_LDS.py[195]: cmd.EFW_SCRIPT(00) #Stop script Instruments/EFW/scripts/FSW\TEST_LDS.py[196]: cmd.EFW_TMPKTRATE( 4, 4 ) #Set APID 267 to 1/4Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[197]: log(' SCRIPT EXECUTION COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[249]: request_playbacks( fm ) #Determine what Burst1's to play Instruments/EFW/scripts/FSW\TEST_LDS.py[224]: log(' REQUESTING BURST1 PLAYBACKS ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[225]: log("FMAX %4x" % fm) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[227]: rp = APID_263.B1_RECPTR Instruments/EFW/scripts/FSW\TEST_LDS.py[228]: if( APID_263.B1_PLAYREQ < 10 ): Instruments/EFW/scripts/FSW\TEST_LDS.py[239]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[240]: log(' BURST1 PLAYLIST HAS %d REQUESTS '% APID_263.B1_PLAYREQ, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[354]: generate_report(ps) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[257]: filename = 'FSW_LDS'+str(ps)+'_AP263.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[258]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[259]: print_window('Instruments/EFW/screens/APID_263.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[261]: wait(APID_267, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[262]: filename = 'FSW_LDS'+str(ps)+'_AP267.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[263]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[264]: print_window('Instruments/EFW/screens/APID_267.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[266]: filename = 'FSW_LDS'+str(ps)+'_TlmRates.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[267]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[268]: print_window('Instruments/EFW/screens/CCSDS_tlm_rates.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[270]: log(' TELEMETRY RECEIVED (CUMULATIVE) @ PASS(%d)' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[271]: hsk = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[272]: rt = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[273]: b1 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[274]: b2 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[285]: tot = hsk+rt+b1+b2 Instruments/EFW/scripts/FSW\TEST_LDS.py[286]: fhsk = hsk/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[287]: frt = rt/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[288]: fb1 = b1/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[289]: fb2 = b2/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[290]: ftot= tot/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[291]: log(' HSK = %7.3f MB ' % fhsk, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[292]: log(' RealTime = %7.3f MB ' % frt, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[293]: log(' Burst1 = %7.3f MB ' % fb1, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[294]: log(' Burst2 = %7.3f MB ' % fb2, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[295]: log(' Total = %7.3f MB ' % ftot, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[297]: log(' THERE ARE %d ERRORS ' % APID_267.ERRCTR, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[355]: sleep(3600) Instruments/EFW/scripts/FSW\TEST_LDS.py[351]: for ps in range(72): Instruments/EFW/scripts/FSW\TEST_LDS.py[352]: log('3.%d COMMAND PASS SIMULATION ' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[353]: simulate_pass(FMAX) Instruments/EFW/scripts/FSW\TEST_LDS.py[246]: serial_cmd_stress_test() #Command at Max Rate Instruments/EFW/scripts/FSW\TEST_LDS.py[204]: log(' SERIAL COMMAND TEST AT MAX RATE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[205]: cmd.EFW_CMDS( 250 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[209]: for i in range( 250 ): cmd.EFW_ADRL( 0 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[211]: try: Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[217]: log(' SERIAL COMMAND TEST COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[247]: load_scripts() #Load & Dump Scripts Instruments/EFW/scripts/FSW\TEST_LDS.py[155]: log(' SCRIPT LOADING TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[156]: cmd.EFW_CMDS( 6 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[157]: cmd.EFW_SRMWRTCTL(0) #Unprotect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[158]: cmd.EFW_DISARM(3) #Don't csum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[161]: efw.idpu_load("00006000", " e0 e1 00 00 00 00 00 00 00 00 00 00 00 00 ee ef 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 00 a3 7f c1 01 e4 00 00 00 00 00 00 00 00 00 00 00 a3 7f c1 00 a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[162]: efw.idpu_load("00006100", " 1d c1 02 bb ee c2 00 00 00 00 00 00 00 00 00 00 01 ff 0f c1 03 ff 0f c1 06 ff 0f c1 0c ff 0f c1 18 ff 0f c1 30 ff 0f c1 60 ff 0f c1 c0 ff 0f c1 80 ff 0f c1 00 ff 0f c1 ef c2 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[165]: cmd.EFW_SRMWRTCTL(1) #Protect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[166]: cmd.EFW_ARM(3) #Checksum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[169]: cmd.EFW_DUMPTABL(12,0) #Dump and Spot Check Instruments/EFW/scripts/FSW\TEST_LDS.py[170]: cmd.EFW_TMDUMPCTR(255) #Indefinitely Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[176]: DUMPADR( 0x6100 ) Instruments/EFW/scripts\UTIL.py[61]: cmd.EFW_DUMPADRX( (addr >> 24 )& 0xff ) Instruments/EFW/scripts\UTIL.py[62]: cmd.EFW_DUMPADRE( (addr >> 16 )& 0xff ) Instruments/EFW/scripts\UTIL.py[63]: cmd.EFW_DUMPADRH( (addr >> 8 )& 0xff ) Instruments/EFW/scripts\UTIL.py[64]: cmd.EFW_DUMPADRL( addr & 0xff ) Instruments/EFW/scripts\UTIL.py[65]: cmd.EFW_TMDUMPCTR(255) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[182]: cmd.EFW_TMDUMPCTR(0) #Turn off dump Instruments/EFW/scripts/FSW\TEST_LDS.py[183]: log(' SCRIPT LOADING VERIFIED ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[248]: run_script() #Run and check script Instruments/EFW/scripts/FSW\TEST_LDS.py[189]: log(' SCRIPT EXECUTION TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[190]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[191]: cmd.EFW_SCRIPT(0xEF) #Should Start LEDs going Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[194]: sleep(10) Instruments/EFW/scripts/FSW\TEST_LDS.py[195]: cmd.EFW_SCRIPT(00) #Stop script Instruments/EFW/scripts/FSW\TEST_LDS.py[196]: cmd.EFW_TMPKTRATE( 4, 4 ) #Set APID 267 to 1/4Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[197]: log(' SCRIPT EXECUTION COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[249]: request_playbacks( fm ) #Determine what Burst1's to play Instruments/EFW/scripts/FSW\TEST_LDS.py[224]: log(' REQUESTING BURST1 PLAYBACKS ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[225]: log("FMAX %4x" % fm) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[227]: rp = APID_263.B1_RECPTR Instruments/EFW/scripts/FSW\TEST_LDS.py[228]: if( APID_263.B1_PLAYREQ < 10 ): Instruments/EFW/scripts/FSW\TEST_LDS.py[239]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[240]: log(' BURST1 PLAYLIST HAS %d REQUESTS '% APID_263.B1_PLAYREQ, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[354]: generate_report(ps) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[257]: filename = 'FSW_LDS'+str(ps)+'_AP263.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[258]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[259]: print_window('Instruments/EFW/screens/APID_263.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[261]: wait(APID_267, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[262]: filename = 'FSW_LDS'+str(ps)+'_AP267.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[263]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[264]: print_window('Instruments/EFW/screens/APID_267.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[266]: filename = 'FSW_LDS'+str(ps)+'_TlmRates.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[267]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[268]: print_window('Instruments/EFW/screens/CCSDS_tlm_rates.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[270]: log(' TELEMETRY RECEIVED (CUMULATIVE) @ PASS(%d)' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[271]: hsk = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[272]: rt = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[273]: b1 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[274]: b2 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[285]: tot = hsk+rt+b1+b2 Instruments/EFW/scripts/FSW\TEST_LDS.py[286]: fhsk = hsk/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[287]: frt = rt/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[288]: fb1 = b1/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[289]: fb2 = b2/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[290]: ftot= tot/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[291]: log(' HSK = %7.3f MB ' % fhsk, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[292]: log(' RealTime = %7.3f MB ' % frt, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[293]: log(' Burst1 = %7.3f MB ' % fb1, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[294]: log(' Burst2 = %7.3f MB ' % fb2, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[295]: log(' Total = %7.3f MB ' % ftot, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[297]: log(' THERE ARE %d ERRORS ' % APID_267.ERRCTR, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[355]: sleep(3600) Instruments/EFW/scripts/FSW\TEST_LDS.py[351]: for ps in range(72): Instruments/EFW/scripts/FSW\TEST_LDS.py[352]: log('3.%d COMMAND PASS SIMULATION ' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[353]: simulate_pass(FMAX) Instruments/EFW/scripts/FSW\TEST_LDS.py[246]: serial_cmd_stress_test() #Command at Max Rate Instruments/EFW/scripts/FSW\TEST_LDS.py[204]: log(' SERIAL COMMAND TEST AT MAX RATE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[205]: cmd.EFW_CMDS( 250 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[209]: for i in range( 250 ): cmd.EFW_ADRL( 0 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[211]: try: Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[217]: log(' SERIAL COMMAND TEST COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[247]: load_scripts() #Load & Dump Scripts Instruments/EFW/scripts/FSW\TEST_LDS.py[155]: log(' SCRIPT LOADING TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[156]: cmd.EFW_CMDS( 6 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[157]: cmd.EFW_SRMWRTCTL(0) #Unprotect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[158]: cmd.EFW_DISARM(3) #Don't csum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[161]: efw.idpu_load("00006000", " e0 e1 00 00 00 00 00 00 00 00 00 00 00 00 ee ef 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 00 a3 7f c1 01 e4 00 00 00 00 00 00 00 00 00 00 00 a3 7f c1 00 a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[162]: efw.idpu_load("00006100", " 1d c1 02 bb ee c2 00 00 00 00 00 00 00 00 00 00 01 ff 0f c1 03 ff 0f c1 06 ff 0f c1 0c ff 0f c1 18 ff 0f c1 30 ff 0f c1 60 ff 0f c1 c0 ff 0f c1 80 ff 0f c1 00 ff 0f c1 ef c2 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[165]: cmd.EFW_SRMWRTCTL(1) #Protect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[166]: cmd.EFW_ARM(3) #Checksum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[169]: cmd.EFW_DUMPTABL(12,0) #Dump and Spot Check Instruments/EFW/scripts/FSW\TEST_LDS.py[170]: cmd.EFW_TMDUMPCTR(255) #Indefinitely Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[176]: DUMPADR( 0x6100 ) Instruments/EFW/scripts\UTIL.py[61]: cmd.EFW_DUMPADRX( (addr >> 24 )& 0xff ) Instruments/EFW/scripts\UTIL.py[62]: cmd.EFW_DUMPADRE( (addr >> 16 )& 0xff ) Instruments/EFW/scripts\UTIL.py[63]: cmd.EFW_DUMPADRH( (addr >> 8 )& 0xff ) Instruments/EFW/scripts\UTIL.py[64]: cmd.EFW_DUMPADRL( addr & 0xff ) Instruments/EFW/scripts\UTIL.py[65]: cmd.EFW_TMDUMPCTR(255) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[182]: cmd.EFW_TMDUMPCTR(0) #Turn off dump Instruments/EFW/scripts/FSW\TEST_LDS.py[183]: log(' SCRIPT LOADING VERIFIED ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[248]: run_script() #Run and check script Instruments/EFW/scripts/FSW\TEST_LDS.py[189]: log(' SCRIPT EXECUTION TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[190]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[191]: cmd.EFW_SCRIPT(0xEF) #Should Start LEDs going Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[194]: sleep(10) Instruments/EFW/scripts/FSW\TEST_LDS.py[195]: cmd.EFW_SCRIPT(00) #Stop script Instruments/EFW/scripts/FSW\TEST_LDS.py[196]: cmd.EFW_TMPKTRATE( 4, 4 ) #Set APID 267 to 1/4Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[197]: log(' SCRIPT EXECUTION COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[249]: request_playbacks( fm ) #Determine what Burst1's to play Instruments/EFW/scripts/FSW\TEST_LDS.py[224]: log(' REQUESTING BURST1 PLAYBACKS ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[225]: log("FMAX %4x" % fm) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[227]: rp = APID_263.B1_RECPTR Instruments/EFW/scripts/FSW\TEST_LDS.py[228]: if( APID_263.B1_PLAYREQ < 10 ): Instruments/EFW/scripts/FSW\TEST_LDS.py[239]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[240]: log(' BURST1 PLAYLIST HAS %d REQUESTS '% APID_263.B1_PLAYREQ, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[354]: generate_report(ps) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[257]: filename = 'FSW_LDS'+str(ps)+'_AP263.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[258]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[259]: print_window('Instruments/EFW/screens/APID_263.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[261]: wait(APID_267, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[262]: filename = 'FSW_LDS'+str(ps)+'_AP267.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[263]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[264]: print_window('Instruments/EFW/screens/APID_267.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[266]: filename = 'FSW_LDS'+str(ps)+'_TlmRates.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[267]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[268]: print_window('Instruments/EFW/screens/CCSDS_tlm_rates.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[270]: log(' TELEMETRY RECEIVED (CUMULATIVE) @ PASS(%d)' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[271]: hsk = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[272]: rt = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[273]: b1 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[274]: b2 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[285]: tot = hsk+rt+b1+b2 Instruments/EFW/scripts/FSW\TEST_LDS.py[286]: fhsk = hsk/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[287]: frt = rt/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[288]: fb1 = b1/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[289]: fb2 = b2/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[290]: ftot= tot/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[291]: log(' HSK = %7.3f MB ' % fhsk, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[292]: log(' RealTime = %7.3f MB ' % frt, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[293]: log(' Burst1 = %7.3f MB ' % fb1, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[294]: log(' Burst2 = %7.3f MB ' % fb2, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[295]: log(' Total = %7.3f MB ' % ftot, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[297]: log(' THERE ARE %d ERRORS ' % APID_267.ERRCTR, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[355]: sleep(3600) Instruments/EFW/scripts/FSW\TEST_LDS.py[351]: for ps in range(72): Instruments/EFW/scripts/FSW\TEST_LDS.py[352]: log('3.%d COMMAND PASS SIMULATION ' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[353]: simulate_pass(FMAX) Instruments/EFW/scripts/FSW\TEST_LDS.py[246]: serial_cmd_stress_test() #Command at Max Rate Instruments/EFW/scripts/FSW\TEST_LDS.py[204]: log(' SERIAL COMMAND TEST AT MAX RATE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[205]: cmd.EFW_CMDS( 250 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[209]: for i in range( 250 ): cmd.EFW_ADRL( 0 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[211]: try: Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[217]: log(' SERIAL COMMAND TEST COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[247]: load_scripts() #Load & Dump Scripts Instruments/EFW/scripts/FSW\TEST_LDS.py[155]: log(' SCRIPT LOADING TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[156]: cmd.EFW_CMDS( 6 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[157]: cmd.EFW_SRMWRTCTL(0) #Unprotect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[158]: cmd.EFW_DISARM(3) #Don't csum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[161]: efw.idpu_load("00006000", " e0 e1 00 00 00 00 00 00 00 00 00 00 00 00 ee ef 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 00 a3 7f c1 01 e4 00 00 00 00 00 00 00 00 00 00 00 a3 7f c1 00 a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[162]: efw.idpu_load("00006100", " 1d c1 02 bb ee c2 00 00 00 00 00 00 00 00 00 00 01 ff 0f c1 03 ff 0f c1 06 ff 0f c1 0c ff 0f c1 18 ff 0f c1 30 ff 0f c1 60 ff 0f c1 c0 ff 0f c1 80 ff 0f c1 00 ff 0f c1 ef c2 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[165]: cmd.EFW_SRMWRTCTL(1) #Protect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[166]: cmd.EFW_ARM(3) #Checksum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[169]: cmd.EFW_DUMPTABL(12,0) #Dump and Spot Check Instruments/EFW/scripts/FSW\TEST_LDS.py[170]: cmd.EFW_TMDUMPCTR(255) #Indefinitely Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[176]: DUMPADR( 0x6100 ) Instruments/EFW/scripts\UTIL.py[61]: cmd.EFW_DUMPADRX( (addr >> 24 )& 0xff ) Instruments/EFW/scripts\UTIL.py[62]: cmd.EFW_DUMPADRE( (addr >> 16 )& 0xff ) Instruments/EFW/scripts\UTIL.py[63]: cmd.EFW_DUMPADRH( (addr >> 8 )& 0xff ) Instruments/EFW/scripts\UTIL.py[64]: cmd.EFW_DUMPADRL( addr & 0xff ) Instruments/EFW/scripts\UTIL.py[65]: cmd.EFW_TMDUMPCTR(255) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[182]: cmd.EFW_TMDUMPCTR(0) #Turn off dump Instruments/EFW/scripts/FSW\TEST_LDS.py[183]: log(' SCRIPT LOADING VERIFIED ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[248]: run_script() #Run and check script Instruments/EFW/scripts/FSW\TEST_LDS.py[189]: log(' SCRIPT EXECUTION TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[190]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[191]: cmd.EFW_SCRIPT(0xEF) #Should Start LEDs going Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[194]: sleep(10) Instruments/EFW/scripts/FSW\TEST_LDS.py[195]: cmd.EFW_SCRIPT(00) #Stop script Instruments/EFW/scripts/FSW\TEST_LDS.py[196]: cmd.EFW_TMPKTRATE( 4, 4 ) #Set APID 267 to 1/4Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[197]: log(' SCRIPT EXECUTION COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[249]: request_playbacks( fm ) #Determine what Burst1's to play Instruments/EFW/scripts/FSW\TEST_LDS.py[224]: log(' REQUESTING BURST1 PLAYBACKS ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[225]: log("FMAX %4x" % fm) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[227]: rp = APID_263.B1_RECPTR Instruments/EFW/scripts/FSW\TEST_LDS.py[228]: if( APID_263.B1_PLAYREQ < 10 ): Instruments/EFW/scripts/FSW\TEST_LDS.py[239]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[240]: log(' BURST1 PLAYLIST HAS %d REQUESTS '% APID_263.B1_PLAYREQ, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[354]: generate_report(ps) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[257]: filename = 'FSW_LDS'+str(ps)+'_AP263.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[258]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[259]: print_window('Instruments/EFW/screens/APID_263.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[261]: wait(APID_267, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[262]: filename = 'FSW_LDS'+str(ps)+'_AP267.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[263]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[264]: print_window('Instruments/EFW/screens/APID_267.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[266]: filename = 'FSW_LDS'+str(ps)+'_TlmRates.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[267]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[268]: print_window('Instruments/EFW/screens/CCSDS_tlm_rates.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[270]: log(' TELEMETRY RECEIVED (CUMULATIVE) @ PASS(%d)' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[271]: hsk = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[272]: rt = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[273]: b1 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[274]: b2 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[285]: tot = hsk+rt+b1+b2 Instruments/EFW/scripts/FSW\TEST_LDS.py[286]: fhsk = hsk/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[287]: frt = rt/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[288]: fb1 = b1/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[289]: fb2 = b2/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[290]: ftot= tot/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[291]: log(' HSK = %7.3f MB ' % fhsk, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[292]: log(' RealTime = %7.3f MB ' % frt, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[293]: log(' Burst1 = %7.3f MB ' % fb1, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[294]: log(' Burst2 = %7.3f MB ' % fb2, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[295]: log(' Total = %7.3f MB ' % ftot, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[297]: log(' THERE ARE %d ERRORS ' % APID_267.ERRCTR, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[355]: sleep(3600) Instruments/EFW/scripts/FSW\TEST_LDS.py[351]: for ps in range(72): Instruments/EFW/scripts/FSW\TEST_LDS.py[352]: log('3.%d COMMAND PASS SIMULATION ' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[353]: simulate_pass(FMAX) Instruments/EFW/scripts/FSW\TEST_LDS.py[246]: serial_cmd_stress_test() #Command at Max Rate Instruments/EFW/scripts/FSW\TEST_LDS.py[204]: log(' SERIAL COMMAND TEST AT MAX RATE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[205]: cmd.EFW_CMDS( 250 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[209]: for i in range( 250 ): cmd.EFW_ADRL( 0 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[211]: try: Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[217]: log(' SERIAL COMMAND TEST COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[247]: load_scripts() #Load & Dump Scripts Instruments/EFW/scripts/FSW\TEST_LDS.py[155]: log(' SCRIPT LOADING TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[156]: cmd.EFW_CMDS( 6 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[157]: cmd.EFW_SRMWRTCTL(0) #Unprotect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[158]: cmd.EFW_DISARM(3) #Don't csum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[161]: efw.idpu_load("00006000", " e0 e1 00 00 00 00 00 00 00 00 00 00 00 00 ee ef 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 00 a3 7f c1 01 e4 00 00 00 00 00 00 00 00 00 00 00 a3 7f c1 00 a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[162]: efw.idpu_load("00006100", " 1d c1 02 bb ee c2 00 00 00 00 00 00 00 00 00 00 01 ff 0f c1 03 ff 0f c1 06 ff 0f c1 0c ff 0f c1 18 ff 0f c1 30 ff 0f c1 60 ff 0f c1 c0 ff 0f c1 80 ff 0f c1 00 ff 0f c1 ef c2 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[165]: cmd.EFW_SRMWRTCTL(1) #Protect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[166]: cmd.EFW_ARM(3) #Checksum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[169]: cmd.EFW_DUMPTABL(12,0) #Dump and Spot Check Instruments/EFW/scripts/FSW\TEST_LDS.py[170]: cmd.EFW_TMDUMPCTR(255) #Indefinitely Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[176]: DUMPADR( 0x6100 ) Instruments/EFW/scripts\UTIL.py[61]: cmd.EFW_DUMPADRX( (addr >> 24 )& 0xff ) Instruments/EFW/scripts\UTIL.py[62]: cmd.EFW_DUMPADRE( (addr >> 16 )& 0xff ) Instruments/EFW/scripts\UTIL.py[63]: cmd.EFW_DUMPADRH( (addr >> 8 )& 0xff ) Instruments/EFW/scripts\UTIL.py[64]: cmd.EFW_DUMPADRL( addr & 0xff ) Instruments/EFW/scripts\UTIL.py[65]: cmd.EFW_TMDUMPCTR(255) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[182]: cmd.EFW_TMDUMPCTR(0) #Turn off dump Instruments/EFW/scripts/FSW\TEST_LDS.py[183]: log(' SCRIPT LOADING VERIFIED ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[248]: run_script() #Run and check script Instruments/EFW/scripts/FSW\TEST_LDS.py[189]: log(' SCRIPT EXECUTION TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[190]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[191]: cmd.EFW_SCRIPT(0xEF) #Should Start LEDs going Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[194]: sleep(10) Instruments/EFW/scripts/FSW\TEST_LDS.py[195]: cmd.EFW_SCRIPT(00) #Stop script Instruments/EFW/scripts/FSW\TEST_LDS.py[196]: cmd.EFW_TMPKTRATE( 4, 4 ) #Set APID 267 to 1/4Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[197]: log(' SCRIPT EXECUTION COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[249]: request_playbacks( fm ) #Determine what Burst1's to play Instruments/EFW/scripts/FSW\TEST_LDS.py[224]: log(' REQUESTING BURST1 PLAYBACKS ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[225]: log("FMAX %4x" % fm) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[227]: rp = APID_263.B1_RECPTR Instruments/EFW/scripts/FSW\TEST_LDS.py[228]: if( APID_263.B1_PLAYREQ < 10 ): Instruments/EFW/scripts/FSW\TEST_LDS.py[239]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[240]: log(' BURST1 PLAYLIST HAS %d REQUESTS '% APID_263.B1_PLAYREQ, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[354]: generate_report(ps) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[257]: filename = 'FSW_LDS'+str(ps)+'_AP263.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[258]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[259]: print_window('Instruments/EFW/screens/APID_263.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[261]: wait(APID_267, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[262]: filename = 'FSW_LDS'+str(ps)+'_AP267.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[263]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[264]: print_window('Instruments/EFW/screens/APID_267.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[266]: filename = 'FSW_LDS'+str(ps)+'_TlmRates.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[267]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[268]: print_window('Instruments/EFW/screens/CCSDS_tlm_rates.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[270]: log(' TELEMETRY RECEIVED (CUMULATIVE) @ PASS(%d)' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[271]: hsk = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[272]: rt = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[273]: b1 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[274]: b2 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[285]: tot = hsk+rt+b1+b2 Instruments/EFW/scripts/FSW\TEST_LDS.py[286]: fhsk = hsk/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[287]: frt = rt/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[288]: fb1 = b1/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[289]: fb2 = b2/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[290]: ftot= tot/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[291]: log(' HSK = %7.3f MB ' % fhsk, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[292]: log(' RealTime = %7.3f MB ' % frt, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[293]: log(' Burst1 = %7.3f MB ' % fb1, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[294]: log(' Burst2 = %7.3f MB ' % fb2, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[295]: log(' Total = %7.3f MB ' % ftot, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[297]: log(' THERE ARE %d ERRORS ' % APID_267.ERRCTR, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[355]: sleep(3600) Instruments/EFW/scripts/FSW\TEST_LDS.py[351]: for ps in range(72): Instruments/EFW/scripts/FSW\TEST_LDS.py[352]: log('3.%d COMMAND PASS SIMULATION ' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[353]: simulate_pass(FMAX) Instruments/EFW/scripts/FSW\TEST_LDS.py[246]: serial_cmd_stress_test() #Command at Max Rate Instruments/EFW/scripts/FSW\TEST_LDS.py[204]: log(' SERIAL COMMAND TEST AT MAX RATE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[205]: cmd.EFW_CMDS( 250 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[209]: for i in range( 250 ): cmd.EFW_ADRL( 0 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[211]: try: Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[217]: log(' SERIAL COMMAND TEST COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[247]: load_scripts() #Load & Dump Scripts Instruments/EFW/scripts/FSW\TEST_LDS.py[155]: log(' SCRIPT LOADING TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[156]: cmd.EFW_CMDS( 6 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[157]: cmd.EFW_SRMWRTCTL(0) #Unprotect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[158]: cmd.EFW_DISARM(3) #Don't csum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[161]: efw.idpu_load("00006000", " e0 e1 00 00 00 00 00 00 00 00 00 00 00 00 ee ef 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 00 a3 7f c1 01 e4 00 00 00 00 00 00 00 00 00 00 00 a3 7f c1 00 a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[162]: efw.idpu_load("00006100", " 1d c1 02 bb ee c2 00 00 00 00 00 00 00 00 00 00 01 ff 0f c1 03 ff 0f c1 06 ff 0f c1 0c ff 0f c1 18 ff 0f c1 30 ff 0f c1 60 ff 0f c1 c0 ff 0f c1 80 ff 0f c1 00 ff 0f c1 ef c2 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[165]: cmd.EFW_SRMWRTCTL(1) #Protect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[166]: cmd.EFW_ARM(3) #Checksum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[169]: cmd.EFW_DUMPTABL(12,0) #Dump and Spot Check Instruments/EFW/scripts/FSW\TEST_LDS.py[170]: cmd.EFW_TMDUMPCTR(255) #Indefinitely Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[176]: DUMPADR( 0x6100 ) Instruments/EFW/scripts\UTIL.py[61]: cmd.EFW_DUMPADRX( (addr >> 24 )& 0xff ) Instruments/EFW/scripts\UTIL.py[62]: cmd.EFW_DUMPADRE( (addr >> 16 )& 0xff ) Instruments/EFW/scripts\UTIL.py[63]: cmd.EFW_DUMPADRH( (addr >> 8 )& 0xff ) Instruments/EFW/scripts\UTIL.py[64]: cmd.EFW_DUMPADRL( addr & 0xff ) Instruments/EFW/scripts\UTIL.py[65]: cmd.EFW_TMDUMPCTR(255) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[182]: cmd.EFW_TMDUMPCTR(0) #Turn off dump Instruments/EFW/scripts/FSW\TEST_LDS.py[183]: log(' SCRIPT LOADING VERIFIED ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[248]: run_script() #Run and check script Instruments/EFW/scripts/FSW\TEST_LDS.py[189]: log(' SCRIPT EXECUTION TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[190]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[191]: cmd.EFW_SCRIPT(0xEF) #Should Start LEDs going Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[194]: sleep(10) Instruments/EFW/scripts/FSW\TEST_LDS.py[195]: cmd.EFW_SCRIPT(00) #Stop script Instruments/EFW/scripts/FSW\TEST_LDS.py[196]: cmd.EFW_TMPKTRATE( 4, 4 ) #Set APID 267 to 1/4Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[197]: log(' SCRIPT EXECUTION COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[249]: request_playbacks( fm ) #Determine what Burst1's to play Instruments/EFW/scripts/FSW\TEST_LDS.py[224]: log(' REQUESTING BURST1 PLAYBACKS ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[225]: log("FMAX %4x" % fm) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[227]: rp = APID_263.B1_RECPTR Instruments/EFW/scripts/FSW\TEST_LDS.py[228]: if( APID_263.B1_PLAYREQ < 10 ): Instruments/EFW/scripts/FSW\TEST_LDS.py[239]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[240]: log(' BURST1 PLAYLIST HAS %d REQUESTS '% APID_263.B1_PLAYREQ, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[354]: generate_report(ps) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[257]: filename = 'FSW_LDS'+str(ps)+'_AP263.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[258]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[259]: print_window('Instruments/EFW/screens/APID_263.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[261]: wait(APID_267, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[262]: filename = 'FSW_LDS'+str(ps)+'_AP267.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[263]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[264]: print_window('Instruments/EFW/screens/APID_267.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[266]: filename = 'FSW_LDS'+str(ps)+'_TlmRates.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[267]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[268]: print_window('Instruments/EFW/screens/CCSDS_tlm_rates.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[270]: log(' TELEMETRY RECEIVED (CUMULATIVE) @ PASS(%d)' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[271]: hsk = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[272]: rt = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[273]: b1 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[274]: b2 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[285]: tot = hsk+rt+b1+b2 Instruments/EFW/scripts/FSW\TEST_LDS.py[286]: fhsk = hsk/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[287]: frt = rt/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[288]: fb1 = b1/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[289]: fb2 = b2/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[290]: ftot= tot/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[291]: log(' HSK = %7.3f MB ' % fhsk, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[292]: log(' RealTime = %7.3f MB ' % frt, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[293]: log(' Burst1 = %7.3f MB ' % fb1, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[294]: log(' Burst2 = %7.3f MB ' % fb2, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[295]: log(' Total = %7.3f MB ' % ftot, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[297]: log(' THERE ARE %d ERRORS ' % APID_267.ERRCTR, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[355]: sleep(3600) Instruments/EFW/scripts/FSW\TEST_LDS.py[351]: for ps in range(72): Instruments/EFW/scripts/FSW\TEST_LDS.py[352]: log('3.%d COMMAND PASS SIMULATION ' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[353]: simulate_pass(FMAX) Instruments/EFW/scripts/FSW\TEST_LDS.py[246]: serial_cmd_stress_test() #Command at Max Rate Instruments/EFW/scripts/FSW\TEST_LDS.py[204]: log(' SERIAL COMMAND TEST AT MAX RATE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[205]: cmd.EFW_CMDS( 250 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[209]: for i in range( 250 ): cmd.EFW_ADRL( 0 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[211]: try: Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[217]: log(' SERIAL COMMAND TEST COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[247]: load_scripts() #Load & Dump Scripts Instruments/EFW/scripts/FSW\TEST_LDS.py[155]: log(' SCRIPT LOADING TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[156]: cmd.EFW_CMDS( 6 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[157]: cmd.EFW_SRMWRTCTL(0) #Unprotect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[158]: cmd.EFW_DISARM(3) #Don't csum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[161]: efw.idpu_load("00006000", " e0 e1 00 00 00 00 00 00 00 00 00 00 00 00 ee ef 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 00 a3 7f c1 01 e4 00 00 00 00 00 00 00 00 00 00 00 a3 7f c1 00 a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[162]: efw.idpu_load("00006100", " 1d c1 02 bb ee c2 00 00 00 00 00 00 00 00 00 00 01 ff 0f c1 03 ff 0f c1 06 ff 0f c1 0c ff 0f c1 18 ff 0f c1 30 ff 0f c1 60 ff 0f c1 c0 ff 0f c1 80 ff 0f c1 00 ff 0f c1 ef c2 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[165]: cmd.EFW_SRMWRTCTL(1) #Protect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[166]: cmd.EFW_ARM(3) #Checksum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[169]: cmd.EFW_DUMPTABL(12,0) #Dump and Spot Check Instruments/EFW/scripts/FSW\TEST_LDS.py[170]: cmd.EFW_TMDUMPCTR(255) #Indefinitely Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[176]: DUMPADR( 0x6100 ) Instruments/EFW/scripts\UTIL.py[61]: cmd.EFW_DUMPADRX( (addr >> 24 )& 0xff ) Instruments/EFW/scripts\UTIL.py[62]: cmd.EFW_DUMPADRE( (addr >> 16 )& 0xff ) Instruments/EFW/scripts\UTIL.py[63]: cmd.EFW_DUMPADRH( (addr >> 8 )& 0xff ) Instruments/EFW/scripts\UTIL.py[64]: cmd.EFW_DUMPADRL( addr & 0xff ) Instruments/EFW/scripts\UTIL.py[65]: cmd.EFW_TMDUMPCTR(255) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[182]: cmd.EFW_TMDUMPCTR(0) #Turn off dump Instruments/EFW/scripts/FSW\TEST_LDS.py[183]: log(' SCRIPT LOADING VERIFIED ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[248]: run_script() #Run and check script Instruments/EFW/scripts/FSW\TEST_LDS.py[189]: log(' SCRIPT EXECUTION TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[190]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[191]: cmd.EFW_SCRIPT(0xEF) #Should Start LEDs going Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[194]: sleep(10) Instruments/EFW/scripts/FSW\TEST_LDS.py[195]: cmd.EFW_SCRIPT(00) #Stop script Instruments/EFW/scripts/FSW\TEST_LDS.py[196]: cmd.EFW_TMPKTRATE( 4, 4 ) #Set APID 267 to 1/4Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[197]: log(' SCRIPT EXECUTION COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[249]: request_playbacks( fm ) #Determine what Burst1's to play Instruments/EFW/scripts/FSW\TEST_LDS.py[224]: log(' REQUESTING BURST1 PLAYBACKS ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[225]: log("FMAX %4x" % fm) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[227]: rp = APID_263.B1_RECPTR Instruments/EFW/scripts/FSW\TEST_LDS.py[228]: if( APID_263.B1_PLAYREQ < 10 ): Instruments/EFW/scripts/FSW\TEST_LDS.py[239]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[240]: log(' BURST1 PLAYLIST HAS %d REQUESTS '% APID_263.B1_PLAYREQ, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[354]: generate_report(ps) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[257]: filename = 'FSW_LDS'+str(ps)+'_AP263.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[258]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[259]: print_window('Instruments/EFW/screens/APID_263.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[261]: wait(APID_267, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[262]: filename = 'FSW_LDS'+str(ps)+'_AP267.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[263]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[264]: print_window('Instruments/EFW/screens/APID_267.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[266]: filename = 'FSW_LDS'+str(ps)+'_TlmRates.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[267]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[268]: print_window('Instruments/EFW/screens/CCSDS_tlm_rates.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[270]: log(' TELEMETRY RECEIVED (CUMULATIVE) @ PASS(%d)' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[271]: hsk = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[272]: rt = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[273]: b1 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[274]: b2 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[285]: tot = hsk+rt+b1+b2 Instruments/EFW/scripts/FSW\TEST_LDS.py[286]: fhsk = hsk/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[287]: frt = rt/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[288]: fb1 = b1/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[289]: fb2 = b2/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[290]: ftot= tot/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[291]: log(' HSK = %7.3f MB ' % fhsk, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[292]: log(' RealTime = %7.3f MB ' % frt, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[293]: log(' Burst1 = %7.3f MB ' % fb1, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[294]: log(' Burst2 = %7.3f MB ' % fb2, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[295]: log(' Total = %7.3f MB ' % ftot, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[297]: log(' THERE ARE %d ERRORS ' % APID_267.ERRCTR, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[355]: sleep(3600) Instruments/EFW/scripts/FSW\TEST_LDS.py[351]: for ps in range(72): Instruments/EFW/scripts/FSW\TEST_LDS.py[352]: log('3.%d COMMAND PASS SIMULATION ' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[353]: simulate_pass(FMAX) Instruments/EFW/scripts/FSW\TEST_LDS.py[246]: serial_cmd_stress_test() #Command at Max Rate Instruments/EFW/scripts/FSW\TEST_LDS.py[204]: log(' SERIAL COMMAND TEST AT MAX RATE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[205]: cmd.EFW_CMDS( 250 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[209]: for i in range( 250 ): cmd.EFW_ADRL( 0 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[211]: try: Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[217]: log(' SERIAL COMMAND TEST COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[247]: load_scripts() #Load & Dump Scripts Instruments/EFW/scripts/FSW\TEST_LDS.py[155]: log(' SCRIPT LOADING TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[156]: cmd.EFW_CMDS( 6 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[157]: cmd.EFW_SRMWRTCTL(0) #Unprotect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[158]: cmd.EFW_DISARM(3) #Don't csum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[161]: efw.idpu_load("00006000", " e0 e1 00 00 00 00 00 00 00 00 00 00 00 00 ee ef 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 00 a3 7f c1 01 e4 00 00 00 00 00 00 00 00 00 00 00 a3 7f c1 00 a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[162]: efw.idpu_load("00006100", " 1d c1 02 bb ee c2 00 00 00 00 00 00 00 00 00 00 01 ff 0f c1 03 ff 0f c1 06 ff 0f c1 0c ff 0f c1 18 ff 0f c1 30 ff 0f c1 60 ff 0f c1 c0 ff 0f c1 80 ff 0f c1 00 ff 0f c1 ef c2 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[165]: cmd.EFW_SRMWRTCTL(1) #Protect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[166]: cmd.EFW_ARM(3) #Checksum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[169]: cmd.EFW_DUMPTABL(12,0) #Dump and Spot Check Instruments/EFW/scripts/FSW\TEST_LDS.py[170]: cmd.EFW_TMDUMPCTR(255) #Indefinitely Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[176]: DUMPADR( 0x6100 ) Instruments/EFW/scripts\UTIL.py[61]: cmd.EFW_DUMPADRX( (addr >> 24 )& 0xff ) Instruments/EFW/scripts\UTIL.py[62]: cmd.EFW_DUMPADRE( (addr >> 16 )& 0xff ) Instruments/EFW/scripts\UTIL.py[63]: cmd.EFW_DUMPADRH( (addr >> 8 )& 0xff ) Instruments/EFW/scripts\UTIL.py[64]: cmd.EFW_DUMPADRL( addr & 0xff ) Instruments/EFW/scripts\UTIL.py[65]: cmd.EFW_TMDUMPCTR(255) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[182]: cmd.EFW_TMDUMPCTR(0) #Turn off dump Instruments/EFW/scripts/FSW\TEST_LDS.py[183]: log(' SCRIPT LOADING VERIFIED ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[248]: run_script() #Run and check script Instruments/EFW/scripts/FSW\TEST_LDS.py[189]: log(' SCRIPT EXECUTION TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[190]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[191]: cmd.EFW_SCRIPT(0xEF) #Should Start LEDs going Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[194]: sleep(10) Instruments/EFW/scripts/FSW\TEST_LDS.py[195]: cmd.EFW_SCRIPT(00) #Stop script Instruments/EFW/scripts/FSW\TEST_LDS.py[196]: cmd.EFW_TMPKTRATE( 4, 4 ) #Set APID 267 to 1/4Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[197]: log(' SCRIPT EXECUTION COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[249]: request_playbacks( fm ) #Determine what Burst1's to play Instruments/EFW/scripts/FSW\TEST_LDS.py[224]: log(' REQUESTING BURST1 PLAYBACKS ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[225]: log("FMAX %4x" % fm) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[227]: rp = APID_263.B1_RECPTR Instruments/EFW/scripts/FSW\TEST_LDS.py[228]: if( APID_263.B1_PLAYREQ < 10 ): Instruments/EFW/scripts/FSW\TEST_LDS.py[239]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[240]: log(' BURST1 PLAYLIST HAS %d REQUESTS '% APID_263.B1_PLAYREQ, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[354]: generate_report(ps) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[257]: filename = 'FSW_LDS'+str(ps)+'_AP263.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[258]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[259]: print_window('Instruments/EFW/screens/APID_263.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[261]: wait(APID_267, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[262]: filename = 'FSW_LDS'+str(ps)+'_AP267.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[263]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[264]: print_window('Instruments/EFW/screens/APID_267.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[266]: filename = 'FSW_LDS'+str(ps)+'_TlmRates.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[267]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[268]: print_window('Instruments/EFW/screens/CCSDS_tlm_rates.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[270]: log(' TELEMETRY RECEIVED (CUMULATIVE) @ PASS(%d)' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[271]: hsk = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[272]: rt = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[273]: b1 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[274]: b2 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[285]: tot = hsk+rt+b1+b2 Instruments/EFW/scripts/FSW\TEST_LDS.py[286]: fhsk = hsk/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[287]: frt = rt/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[288]: fb1 = b1/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[289]: fb2 = b2/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[290]: ftot= tot/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[291]: log(' HSK = %7.3f MB ' % fhsk, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[292]: log(' RealTime = %7.3f MB ' % frt, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[293]: log(' Burst1 = %7.3f MB ' % fb1, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[294]: log(' Burst2 = %7.3f MB ' % fb2, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[295]: log(' Total = %7.3f MB ' % ftot, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[297]: log(' THERE ARE %d ERRORS ' % APID_267.ERRCTR, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[355]: sleep(3600) Instruments/EFW/scripts/FSW\TEST_LDS.py[351]: for ps in range(72): Instruments/EFW/scripts/FSW\TEST_LDS.py[352]: log('3.%d COMMAND PASS SIMULATION ' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[353]: simulate_pass(FMAX) Instruments/EFW/scripts/FSW\TEST_LDS.py[246]: serial_cmd_stress_test() #Command at Max Rate Instruments/EFW/scripts/FSW\TEST_LDS.py[204]: log(' SERIAL COMMAND TEST AT MAX RATE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[205]: cmd.EFW_CMDS( 250 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[209]: for i in range( 250 ): cmd.EFW_ADRL( 0 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[211]: try: Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[217]: log(' SERIAL COMMAND TEST COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[247]: load_scripts() #Load & Dump Scripts Instruments/EFW/scripts/FSW\TEST_LDS.py[155]: log(' SCRIPT LOADING TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[156]: cmd.EFW_CMDS( 6 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[157]: cmd.EFW_SRMWRTCTL(0) #Unprotect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[158]: cmd.EFW_DISARM(3) #Don't csum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[161]: efw.idpu_load("00006000", " e0 e1 00 00 00 00 00 00 00 00 00 00 00 00 ee ef 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 00 a3 7f c1 01 e4 00 00 00 00 00 00 00 00 00 00 00 a3 7f c1 00 a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[162]: efw.idpu_load("00006100", " 1d c1 02 bb ee c2 00 00 00 00 00 00 00 00 00 00 01 ff 0f c1 03 ff 0f c1 06 ff 0f c1 0c ff 0f c1 18 ff 0f c1 30 ff 0f c1 60 ff 0f c1 c0 ff 0f c1 80 ff 0f c1 00 ff 0f c1 ef c2 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[165]: cmd.EFW_SRMWRTCTL(1) #Protect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[166]: cmd.EFW_ARM(3) #Checksum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[169]: cmd.EFW_DUMPTABL(12,0) #Dump and Spot Check Instruments/EFW/scripts/FSW\TEST_LDS.py[170]: cmd.EFW_TMDUMPCTR(255) #Indefinitely Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[176]: DUMPADR( 0x6100 ) Instruments/EFW/scripts\UTIL.py[61]: cmd.EFW_DUMPADRX( (addr >> 24 )& 0xff ) Instruments/EFW/scripts\UTIL.py[62]: cmd.EFW_DUMPADRE( (addr >> 16 )& 0xff ) Instruments/EFW/scripts\UTIL.py[63]: cmd.EFW_DUMPADRH( (addr >> 8 )& 0xff ) Instruments/EFW/scripts\UTIL.py[64]: cmd.EFW_DUMPADRL( addr & 0xff ) Instruments/EFW/scripts\UTIL.py[65]: cmd.EFW_TMDUMPCTR(255) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[182]: cmd.EFW_TMDUMPCTR(0) #Turn off dump Instruments/EFW/scripts/FSW\TEST_LDS.py[183]: log(' SCRIPT LOADING VERIFIED ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[248]: run_script() #Run and check script Instruments/EFW/scripts/FSW\TEST_LDS.py[189]: log(' SCRIPT EXECUTION TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[190]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[191]: cmd.EFW_SCRIPT(0xEF) #Should Start LEDs going Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[194]: sleep(10) Instruments/EFW/scripts/FSW\TEST_LDS.py[195]: cmd.EFW_SCRIPT(00) #Stop script Instruments/EFW/scripts/FSW\TEST_LDS.py[196]: cmd.EFW_TMPKTRATE( 4, 4 ) #Set APID 267 to 1/4Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[197]: log(' SCRIPT EXECUTION COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[249]: request_playbacks( fm ) #Determine what Burst1's to play Instruments/EFW/scripts/FSW\TEST_LDS.py[224]: log(' REQUESTING BURST1 PLAYBACKS ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[225]: log("FMAX %4x" % fm) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[227]: rp = APID_263.B1_RECPTR Instruments/EFW/scripts/FSW\TEST_LDS.py[228]: if( APID_263.B1_PLAYREQ < 10 ): Instruments/EFW/scripts/FSW\TEST_LDS.py[229]: blk = (rp - 800 ) & fm #Play from 800 blocks back Instruments/EFW/scripts/FSW\TEST_LDS.py[230]: log("QUEUEING Block %4x" % blk) Instruments/EFW/scripts/FSW\TEST_LDS.py[231]: QUEUE_B1PLAYBACK( blk, 32 ) #32 blocks should take 20 min Instruments/EFW/scripts\UTIL.py[50]: cmd.EFW_B1_SETREQDTA( (block >> 2) & 0xff ) Instruments/EFW/scripts\UTIL.py[51]: cmd.EFW_B1_SETREQDTA( (block >> 10)& 0xff ) Instruments/EFW/scripts\UTIL.py[52]: cmd.EFW_B1_SETREQDTA( leng & 0xff ) Instruments/EFW/scripts\UTIL.py[53]: cmd.EFW_B1_SETREQDTA( (leng >> 8 ) & 0xff ) Instruments/EFW/scripts/FSW\TEST_LDS.py[232]: blk = (rp - 500 ) & fm #Play from 500 blocks back Instruments/EFW/scripts/FSW\TEST_LDS.py[233]: log("QUEUEING Block %4x" % blk) Instruments/EFW/scripts/FSW\TEST_LDS.py[234]: QUEUE_B1PLAYBACK( blk, 32 ) #32 blocks should take 20 min Instruments/EFW/scripts\UTIL.py[50]: cmd.EFW_B1_SETREQDTA( (block >> 2) & 0xff ) Instruments/EFW/scripts\UTIL.py[51]: cmd.EFW_B1_SETREQDTA( (block >> 10)& 0xff ) Instruments/EFW/scripts\UTIL.py[52]: cmd.EFW_B1_SETREQDTA( leng & 0xff ) Instruments/EFW/scripts\UTIL.py[53]: cmd.EFW_B1_SETREQDTA( (leng >> 8 ) & 0xff ) Instruments/EFW/scripts/FSW\TEST_LDS.py[235]: blk = (rp - 200 ) & fm #Play from 200 blocks back Instruments/EFW/scripts/FSW\TEST_LDS.py[236]: log("QUEUEING Block %4x" % blk) Instruments/EFW/scripts/FSW\TEST_LDS.py[237]: QUEUE_B1PLAYBACK( blk, 64 ) #32 blocks should take 40 min Instruments/EFW/scripts\UTIL.py[50]: cmd.EFW_B1_SETREQDTA( (block >> 2) & 0xff ) Instruments/EFW/scripts\UTIL.py[51]: cmd.EFW_B1_SETREQDTA( (block >> 10)& 0xff ) Instruments/EFW/scripts\UTIL.py[52]: cmd.EFW_B1_SETREQDTA( leng & 0xff ) Instruments/EFW/scripts\UTIL.py[53]: cmd.EFW_B1_SETREQDTA( (leng >> 8 ) & 0xff ) Instruments/EFW/scripts/FSW\TEST_LDS.py[238]: sleep(8) Instruments/EFW/scripts/FSW\TEST_LDS.py[239]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[240]: log(' BURST1 PLAYLIST HAS %d REQUESTS '% APID_263.B1_PLAYREQ, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[354]: generate_report(ps) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[257]: filename = 'FSW_LDS'+str(ps)+'_AP263.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[258]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[259]: print_window('Instruments/EFW/screens/APID_263.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[261]: wait(APID_267, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[262]: filename = 'FSW_LDS'+str(ps)+'_AP267.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[263]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[264]: print_window('Instruments/EFW/screens/APID_267.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[266]: filename = 'FSW_LDS'+str(ps)+'_TlmRates.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[267]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[268]: print_window('Instruments/EFW/screens/CCSDS_tlm_rates.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[270]: log(' TELEMETRY RECEIVED (CUMULATIVE) @ PASS(%d)' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[271]: hsk = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[272]: rt = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[273]: b1 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[274]: b2 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[285]: tot = hsk+rt+b1+b2 Instruments/EFW/scripts/FSW\TEST_LDS.py[286]: fhsk = hsk/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[287]: frt = rt/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[288]: fb1 = b1/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[289]: fb2 = b2/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[290]: ftot= tot/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[291]: log(' HSK = %7.3f MB ' % fhsk, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[292]: log(' RealTime = %7.3f MB ' % frt, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[293]: log(' Burst1 = %7.3f MB ' % fb1, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[294]: log(' Burst2 = %7.3f MB ' % fb2, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[295]: log(' Total = %7.3f MB ' % ftot, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[297]: log(' THERE ARE %d ERRORS ' % APID_267.ERRCTR, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[355]: sleep(3600) Instruments/EFW/scripts/FSW\TEST_LDS.py[351]: for ps in range(72): Instruments/EFW/scripts/FSW\TEST_LDS.py[352]: log('3.%d COMMAND PASS SIMULATION ' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[353]: simulate_pass(FMAX) Instruments/EFW/scripts/FSW\TEST_LDS.py[246]: serial_cmd_stress_test() #Command at Max Rate Instruments/EFW/scripts/FSW\TEST_LDS.py[204]: log(' SERIAL COMMAND TEST AT MAX RATE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[205]: cmd.EFW_CMDS( 250 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[209]: for i in range( 250 ): cmd.EFW_ADRL( 0 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[211]: try: Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[217]: log(' SERIAL COMMAND TEST COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[247]: load_scripts() #Load & Dump Scripts Instruments/EFW/scripts/FSW\TEST_LDS.py[155]: log(' SCRIPT LOADING TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[156]: cmd.EFW_CMDS( 6 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[157]: cmd.EFW_SRMWRTCTL(0) #Unprotect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[158]: cmd.EFW_DISARM(3) #Don't csum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[161]: efw.idpu_load("00006000", " e0 e1 00 00 00 00 00 00 00 00 00 00 00 00 ee ef 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 00 a3 7f c1 01 e4 00 00 00 00 00 00 00 00 00 00 00 a3 7f c1 00 a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[162]: efw.idpu_load("00006100", " 1d c1 02 bb ee c2 00 00 00 00 00 00 00 00 00 00 01 ff 0f c1 03 ff 0f c1 06 ff 0f c1 0c ff 0f c1 18 ff 0f c1 30 ff 0f c1 60 ff 0f c1 c0 ff 0f c1 80 ff 0f c1 00 ff 0f c1 ef c2 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[165]: cmd.EFW_SRMWRTCTL(1) #Protect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[166]: cmd.EFW_ARM(3) #Checksum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[169]: cmd.EFW_DUMPTABL(12,0) #Dump and Spot Check Instruments/EFW/scripts/FSW\TEST_LDS.py[170]: cmd.EFW_TMDUMPCTR(255) #Indefinitely Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[176]: DUMPADR( 0x6100 ) Instruments/EFW/scripts\UTIL.py[61]: cmd.EFW_DUMPADRX( (addr >> 24 )& 0xff ) Instruments/EFW/scripts\UTIL.py[62]: cmd.EFW_DUMPADRE( (addr >> 16 )& 0xff ) Instruments/EFW/scripts\UTIL.py[63]: cmd.EFW_DUMPADRH( (addr >> 8 )& 0xff ) Instruments/EFW/scripts\UTIL.py[64]: cmd.EFW_DUMPADRL( addr & 0xff ) Instruments/EFW/scripts\UTIL.py[65]: cmd.EFW_TMDUMPCTR(255) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[182]: cmd.EFW_TMDUMPCTR(0) #Turn off dump Instruments/EFW/scripts/FSW\TEST_LDS.py[183]: log(' SCRIPT LOADING VERIFIED ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[248]: run_script() #Run and check script Instruments/EFW/scripts/FSW\TEST_LDS.py[189]: log(' SCRIPT EXECUTION TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[190]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[191]: cmd.EFW_SCRIPT(0xEF) #Should Start LEDs going Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[194]: sleep(10) Instruments/EFW/scripts/FSW\TEST_LDS.py[195]: cmd.EFW_SCRIPT(00) #Stop script Instruments/EFW/scripts/FSW\TEST_LDS.py[196]: cmd.EFW_TMPKTRATE( 4, 4 ) #Set APID 267 to 1/4Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[197]: log(' SCRIPT EXECUTION COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[249]: request_playbacks( fm ) #Determine what Burst1's to play Instruments/EFW/scripts/FSW\TEST_LDS.py[224]: log(' REQUESTING BURST1 PLAYBACKS ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[225]: log("FMAX %4x" % fm) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[227]: rp = APID_263.B1_RECPTR Instruments/EFW/scripts/FSW\TEST_LDS.py[228]: if( APID_263.B1_PLAYREQ < 10 ): Instruments/EFW/scripts/FSW\TEST_LDS.py[239]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[240]: log(' BURST1 PLAYLIST HAS %d REQUESTS '% APID_263.B1_PLAYREQ, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[354]: generate_report(ps) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[257]: filename = 'FSW_LDS'+str(ps)+'_AP263.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[258]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[259]: print_window('Instruments/EFW/screens/APID_263.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[261]: wait(APID_267, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[262]: filename = 'FSW_LDS'+str(ps)+'_AP267.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[263]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[264]: print_window('Instruments/EFW/screens/APID_267.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[266]: filename = 'FSW_LDS'+str(ps)+'_TlmRates.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[267]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[268]: print_window('Instruments/EFW/screens/CCSDS_tlm_rates.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[270]: log(' TELEMETRY RECEIVED (CUMULATIVE) @ PASS(%d)' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[271]: hsk = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[272]: rt = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[273]: b1 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[274]: b2 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[285]: tot = hsk+rt+b1+b2 Instruments/EFW/scripts/FSW\TEST_LDS.py[286]: fhsk = hsk/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[287]: frt = rt/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[288]: fb1 = b1/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[289]: fb2 = b2/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[290]: ftot= tot/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[291]: log(' HSK = %7.3f MB ' % fhsk, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[292]: log(' RealTime = %7.3f MB ' % frt, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[293]: log(' Burst1 = %7.3f MB ' % fb1, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[294]: log(' Burst2 = %7.3f MB ' % fb2, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[295]: log(' Total = %7.3f MB ' % ftot, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[297]: log(' THERE ARE %d ERRORS ' % APID_267.ERRCTR, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[355]: sleep(3600) Instruments/EFW/scripts/FSW\TEST_LDS.py[351]: for ps in range(72): Instruments/EFW/scripts/FSW\TEST_LDS.py[352]: log('3.%d COMMAND PASS SIMULATION ' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[353]: simulate_pass(FMAX) Instruments/EFW/scripts/FSW\TEST_LDS.py[246]: serial_cmd_stress_test() #Command at Max Rate Instruments/EFW/scripts/FSW\TEST_LDS.py[204]: log(' SERIAL COMMAND TEST AT MAX RATE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[205]: cmd.EFW_CMDS( 250 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[209]: for i in range( 250 ): cmd.EFW_ADRL( 0 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[211]: try: Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[217]: log(' SERIAL COMMAND TEST COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[247]: load_scripts() #Load & Dump Scripts Instruments/EFW/scripts/FSW\TEST_LDS.py[155]: log(' SCRIPT LOADING TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[156]: cmd.EFW_CMDS( 6 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[157]: cmd.EFW_SRMWRTCTL(0) #Unprotect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[158]: cmd.EFW_DISARM(3) #Don't csum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[161]: efw.idpu_load("00006000", " e0 e1 00 00 00 00 00 00 00 00 00 00 00 00 ee ef 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 00 a3 7f c1 01 e4 00 00 00 00 00 00 00 00 00 00 00 a3 7f c1 00 a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[162]: efw.idpu_load("00006100", " 1d c1 02 bb ee c2 00 00 00 00 00 00 00 00 00 00 01 ff 0f c1 03 ff 0f c1 06 ff 0f c1 0c ff 0f c1 18 ff 0f c1 30 ff 0f c1 60 ff 0f c1 c0 ff 0f c1 80 ff 0f c1 00 ff 0f c1 ef c2 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[165]: cmd.EFW_SRMWRTCTL(1) #Protect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[166]: cmd.EFW_ARM(3) #Checksum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[169]: cmd.EFW_DUMPTABL(12,0) #Dump and Spot Check Instruments/EFW/scripts/FSW\TEST_LDS.py[170]: cmd.EFW_TMDUMPCTR(255) #Indefinitely Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[176]: DUMPADR( 0x6100 ) Instruments/EFW/scripts\UTIL.py[61]: cmd.EFW_DUMPADRX( (addr >> 24 )& 0xff ) Instruments/EFW/scripts\UTIL.py[62]: cmd.EFW_DUMPADRE( (addr >> 16 )& 0xff ) Instruments/EFW/scripts\UTIL.py[63]: cmd.EFW_DUMPADRH( (addr >> 8 )& 0xff ) Instruments/EFW/scripts\UTIL.py[64]: cmd.EFW_DUMPADRL( addr & 0xff ) Instruments/EFW/scripts\UTIL.py[65]: cmd.EFW_TMDUMPCTR(255) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[182]: cmd.EFW_TMDUMPCTR(0) #Turn off dump Instruments/EFW/scripts/FSW\TEST_LDS.py[183]: log(' SCRIPT LOADING VERIFIED ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[248]: run_script() #Run and check script Instruments/EFW/scripts/FSW\TEST_LDS.py[189]: log(' SCRIPT EXECUTION TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[190]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[191]: cmd.EFW_SCRIPT(0xEF) #Should Start LEDs going Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[194]: sleep(10) Instruments/EFW/scripts/FSW\TEST_LDS.py[195]: cmd.EFW_SCRIPT(00) #Stop script Instruments/EFW/scripts/FSW\TEST_LDS.py[196]: cmd.EFW_TMPKTRATE( 4, 4 ) #Set APID 267 to 1/4Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[197]: log(' SCRIPT EXECUTION COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[249]: request_playbacks( fm ) #Determine what Burst1's to play Instruments/EFW/scripts/FSW\TEST_LDS.py[224]: log(' REQUESTING BURST1 PLAYBACKS ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[225]: log("FMAX %4x" % fm) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[227]: rp = APID_263.B1_RECPTR Instruments/EFW/scripts/FSW\TEST_LDS.py[228]: if( APID_263.B1_PLAYREQ < 10 ): Instruments/EFW/scripts/FSW\TEST_LDS.py[229]: blk = (rp - 800 ) & fm #Play from 800 blocks back Instruments/EFW/scripts/FSW\TEST_LDS.py[230]: log("QUEUEING Block %4x" % blk) Instruments/EFW/scripts/FSW\TEST_LDS.py[231]: QUEUE_B1PLAYBACK( blk, 32 ) #32 blocks should take 20 min Instruments/EFW/scripts\UTIL.py[50]: cmd.EFW_B1_SETREQDTA( (block >> 2) & 0xff ) Instruments/EFW/scripts\UTIL.py[51]: cmd.EFW_B1_SETREQDTA( (block >> 10)& 0xff ) Instruments/EFW/scripts\UTIL.py[52]: cmd.EFW_B1_SETREQDTA( leng & 0xff ) Instruments/EFW/scripts\UTIL.py[53]: cmd.EFW_B1_SETREQDTA( (leng >> 8 ) & 0xff ) Instruments/EFW/scripts/FSW\TEST_LDS.py[232]: blk = (rp - 500 ) & fm #Play from 500 blocks back Instruments/EFW/scripts/FSW\TEST_LDS.py[233]: log("QUEUEING Block %4x" % blk) Instruments/EFW/scripts/FSW\TEST_LDS.py[234]: QUEUE_B1PLAYBACK( blk, 32 ) #32 blocks should take 20 min Instruments/EFW/scripts\UTIL.py[50]: cmd.EFW_B1_SETREQDTA( (block >> 2) & 0xff ) Instruments/EFW/scripts\UTIL.py[51]: cmd.EFW_B1_SETREQDTA( (block >> 10)& 0xff ) Instruments/EFW/scripts\UTIL.py[52]: cmd.EFW_B1_SETREQDTA( leng & 0xff ) Instruments/EFW/scripts\UTIL.py[53]: cmd.EFW_B1_SETREQDTA( (leng >> 8 ) & 0xff ) Instruments/EFW/scripts/FSW\TEST_LDS.py[235]: blk = (rp - 200 ) & fm #Play from 200 blocks back Instruments/EFW/scripts/FSW\TEST_LDS.py[236]: log("QUEUEING Block %4x" % blk) Instruments/EFW/scripts/FSW\TEST_LDS.py[237]: QUEUE_B1PLAYBACK( blk, 64 ) #32 blocks should take 40 min Instruments/EFW/scripts\UTIL.py[50]: cmd.EFW_B1_SETREQDTA( (block >> 2) & 0xff ) Instruments/EFW/scripts\UTIL.py[51]: cmd.EFW_B1_SETREQDTA( (block >> 10)& 0xff ) Instruments/EFW/scripts\UTIL.py[52]: cmd.EFW_B1_SETREQDTA( leng & 0xff ) Instruments/EFW/scripts\UTIL.py[53]: cmd.EFW_B1_SETREQDTA( (leng >> 8 ) & 0xff ) Instruments/EFW/scripts/FSW\TEST_LDS.py[238]: sleep(8) Instruments/EFW/scripts/FSW\TEST_LDS.py[239]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[240]: log(' BURST1 PLAYLIST HAS %d REQUESTS '% APID_263.B1_PLAYREQ, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[354]: generate_report(ps) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[257]: filename = 'FSW_LDS'+str(ps)+'_AP263.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[258]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[259]: print_window('Instruments/EFW/screens/APID_263.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[261]: wait(APID_267, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[262]: filename = 'FSW_LDS'+str(ps)+'_AP267.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[263]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[264]: print_window('Instruments/EFW/screens/APID_267.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[266]: filename = 'FSW_LDS'+str(ps)+'_TlmRates.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[267]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[268]: print_window('Instruments/EFW/screens/CCSDS_tlm_rates.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[270]: log(' TELEMETRY RECEIVED (CUMULATIVE) @ PASS(%d)' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[271]: hsk = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[272]: rt = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[273]: b1 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[274]: b2 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[285]: tot = hsk+rt+b1+b2 Instruments/EFW/scripts/FSW\TEST_LDS.py[286]: fhsk = hsk/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[287]: frt = rt/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[288]: fb1 = b1/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[289]: fb2 = b2/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[290]: ftot= tot/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[291]: log(' HSK = %7.3f MB ' % fhsk, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[292]: log(' RealTime = %7.3f MB ' % frt, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[293]: log(' Burst1 = %7.3f MB ' % fb1, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[294]: log(' Burst2 = %7.3f MB ' % fb2, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[295]: log(' Total = %7.3f MB ' % ftot, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[297]: log(' THERE ARE %d ERRORS ' % APID_267.ERRCTR, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[355]: sleep(3600) Instruments/EFW/scripts/FSW\TEST_LDS.py[351]: for ps in range(72): Instruments/EFW/scripts/FSW\TEST_LDS.py[352]: log('3.%d COMMAND PASS SIMULATION ' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[353]: simulate_pass(FMAX) Instruments/EFW/scripts/FSW\TEST_LDS.py[246]: serial_cmd_stress_test() #Command at Max Rate Instruments/EFW/scripts/FSW\TEST_LDS.py[204]: log(' SERIAL COMMAND TEST AT MAX RATE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[205]: cmd.EFW_CMDS( 250 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[209]: for i in range( 250 ): cmd.EFW_ADRL( 0 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[211]: try: Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[217]: log(' SERIAL COMMAND TEST COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[247]: load_scripts() #Load & Dump Scripts Instruments/EFW/scripts/FSW\TEST_LDS.py[155]: log(' SCRIPT LOADING TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[156]: cmd.EFW_CMDS( 6 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[157]: cmd.EFW_SRMWRTCTL(0) #Unprotect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[158]: cmd.EFW_DISARM(3) #Don't csum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[161]: efw.idpu_load("00006000", " e0 e1 00 00 00 00 00 00 00 00 00 00 00 00 ee ef 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 00 a3 7f c1 01 e4 00 00 00 00 00 00 00 00 00 00 00 a3 7f c1 00 a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[162]: efw.idpu_load("00006100", " 1d c1 02 bb ee c2 00 00 00 00 00 00 00 00 00 00 01 ff 0f c1 03 ff 0f c1 06 ff 0f c1 0c ff 0f c1 18 ff 0f c1 30 ff 0f c1 60 ff 0f c1 c0 ff 0f c1 80 ff 0f c1 00 ff 0f c1 ef c2 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[165]: cmd.EFW_SRMWRTCTL(1) #Protect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[166]: cmd.EFW_ARM(3) #Checksum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[169]: cmd.EFW_DUMPTABL(12,0) #Dump and Spot Check Instruments/EFW/scripts/FSW\TEST_LDS.py[170]: cmd.EFW_TMDUMPCTR(255) #Indefinitely Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[176]: DUMPADR( 0x6100 ) Instruments/EFW/scripts\UTIL.py[61]: cmd.EFW_DUMPADRX( (addr >> 24 )& 0xff ) Instruments/EFW/scripts\UTIL.py[62]: cmd.EFW_DUMPADRE( (addr >> 16 )& 0xff ) Instruments/EFW/scripts\UTIL.py[63]: cmd.EFW_DUMPADRH( (addr >> 8 )& 0xff ) Instruments/EFW/scripts\UTIL.py[64]: cmd.EFW_DUMPADRL( addr & 0xff ) Instruments/EFW/scripts\UTIL.py[65]: cmd.EFW_TMDUMPCTR(255) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[182]: cmd.EFW_TMDUMPCTR(0) #Turn off dump Instruments/EFW/scripts/FSW\TEST_LDS.py[183]: log(' SCRIPT LOADING VERIFIED ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[248]: run_script() #Run and check script Instruments/EFW/scripts/FSW\TEST_LDS.py[189]: log(' SCRIPT EXECUTION TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[190]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[191]: cmd.EFW_SCRIPT(0xEF) #Should Start LEDs going Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[194]: sleep(10) Instruments/EFW/scripts/FSW\TEST_LDS.py[195]: cmd.EFW_SCRIPT(00) #Stop script Instruments/EFW/scripts/FSW\TEST_LDS.py[196]: cmd.EFW_TMPKTRATE( 4, 4 ) #Set APID 267 to 1/4Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[197]: log(' SCRIPT EXECUTION COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[249]: request_playbacks( fm ) #Determine what Burst1's to play Instruments/EFW/scripts/FSW\TEST_LDS.py[224]: log(' REQUESTING BURST1 PLAYBACKS ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[225]: log("FMAX %4x" % fm) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[227]: rp = APID_263.B1_RECPTR Instruments/EFW/scripts/FSW\TEST_LDS.py[228]: if( APID_263.B1_PLAYREQ < 10 ): Instruments/EFW/scripts/FSW\TEST_LDS.py[239]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[240]: log(' BURST1 PLAYLIST HAS %d REQUESTS '% APID_263.B1_PLAYREQ, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[354]: generate_report(ps) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[257]: filename = 'FSW_LDS'+str(ps)+'_AP263.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[258]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[259]: print_window('Instruments/EFW/screens/APID_263.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[261]: wait(APID_267, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[262]: filename = 'FSW_LDS'+str(ps)+'_AP267.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[263]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[264]: print_window('Instruments/EFW/screens/APID_267.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[266]: filename = 'FSW_LDS'+str(ps)+'_TlmRates.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[267]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[268]: print_window('Instruments/EFW/screens/CCSDS_tlm_rates.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[270]: log(' TELEMETRY RECEIVED (CUMULATIVE) @ PASS(%d)' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[271]: hsk = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[272]: rt = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[273]: b1 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[274]: b2 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[285]: tot = hsk+rt+b1+b2 Instruments/EFW/scripts/FSW\TEST_LDS.py[286]: fhsk = hsk/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[287]: frt = rt/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[288]: fb1 = b1/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[289]: fb2 = b2/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[290]: ftot= tot/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[291]: log(' HSK = %7.3f MB ' % fhsk, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[292]: log(' RealTime = %7.3f MB ' % frt, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[293]: log(' Burst1 = %7.3f MB ' % fb1, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[294]: log(' Burst2 = %7.3f MB ' % fb2, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[295]: log(' Total = %7.3f MB ' % ftot, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[297]: log(' THERE ARE %d ERRORS ' % APID_267.ERRCTR, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[355]: sleep(3600) Instruments/EFW/scripts/FSW\TEST_LDS.py[351]: for ps in range(72): Instruments/EFW/scripts/FSW\TEST_LDS.py[352]: log('3.%d COMMAND PASS SIMULATION ' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[353]: simulate_pass(FMAX) Instruments/EFW/scripts/FSW\TEST_LDS.py[246]: serial_cmd_stress_test() #Command at Max Rate Instruments/EFW/scripts/FSW\TEST_LDS.py[204]: log(' SERIAL COMMAND TEST AT MAX RATE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[205]: cmd.EFW_CMDS( 250 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[209]: for i in range( 250 ): cmd.EFW_ADRL( 0 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[211]: try: Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[217]: log(' SERIAL COMMAND TEST COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[247]: load_scripts() #Load & Dump Scripts Instruments/EFW/scripts/FSW\TEST_LDS.py[155]: log(' SCRIPT LOADING TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[156]: cmd.EFW_CMDS( 6 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[157]: cmd.EFW_SRMWRTCTL(0) #Unprotect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[158]: cmd.EFW_DISARM(3) #Don't csum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[161]: efw.idpu_load("00006000", " e0 e1 00 00 00 00 00 00 00 00 00 00 00 00 ee ef 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 00 a3 7f c1 01 e4 00 00 00 00 00 00 00 00 00 00 00 a3 7f c1 00 a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[162]: efw.idpu_load("00006100", " 1d c1 02 bb ee c2 00 00 00 00 00 00 00 00 00 00 01 ff 0f c1 03 ff 0f c1 06 ff 0f c1 0c ff 0f c1 18 ff 0f c1 30 ff 0f c1 60 ff 0f c1 c0 ff 0f c1 80 ff 0f c1 00 ff 0f c1 ef c2 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[165]: cmd.EFW_SRMWRTCTL(1) #Protect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[166]: cmd.EFW_ARM(3) #Checksum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[169]: cmd.EFW_DUMPTABL(12,0) #Dump and Spot Check Instruments/EFW/scripts/FSW\TEST_LDS.py[170]: cmd.EFW_TMDUMPCTR(255) #Indefinitely Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[176]: DUMPADR( 0x6100 ) Instruments/EFW/scripts\UTIL.py[61]: cmd.EFW_DUMPADRX( (addr >> 24 )& 0xff ) Instruments/EFW/scripts\UTIL.py[62]: cmd.EFW_DUMPADRE( (addr >> 16 )& 0xff ) Instruments/EFW/scripts\UTIL.py[63]: cmd.EFW_DUMPADRH( (addr >> 8 )& 0xff ) Instruments/EFW/scripts\UTIL.py[64]: cmd.EFW_DUMPADRL( addr & 0xff ) Instruments/EFW/scripts\UTIL.py[65]: cmd.EFW_TMDUMPCTR(255) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[182]: cmd.EFW_TMDUMPCTR(0) #Turn off dump Instruments/EFW/scripts/FSW\TEST_LDS.py[183]: log(' SCRIPT LOADING VERIFIED ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[248]: run_script() #Run and check script Instruments/EFW/scripts/FSW\TEST_LDS.py[189]: log(' SCRIPT EXECUTION TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[190]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[191]: cmd.EFW_SCRIPT(0xEF) #Should Start LEDs going Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[194]: sleep(10) Instruments/EFW/scripts/FSW\TEST_LDS.py[195]: cmd.EFW_SCRIPT(00) #Stop script Instruments/EFW/scripts/FSW\TEST_LDS.py[196]: cmd.EFW_TMPKTRATE( 4, 4 ) #Set APID 267 to 1/4Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[197]: log(' SCRIPT EXECUTION COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[249]: request_playbacks( fm ) #Determine what Burst1's to play Instruments/EFW/scripts/FSW\TEST_LDS.py[224]: log(' REQUESTING BURST1 PLAYBACKS ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[225]: log("FMAX %4x" % fm) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[227]: rp = APID_263.B1_RECPTR Instruments/EFW/scripts/FSW\TEST_LDS.py[228]: if( APID_263.B1_PLAYREQ < 10 ): Instruments/EFW/scripts/FSW\TEST_LDS.py[239]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[240]: log(' BURST1 PLAYLIST HAS %d REQUESTS '% APID_263.B1_PLAYREQ, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[354]: generate_report(ps) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[257]: filename = 'FSW_LDS'+str(ps)+'_AP263.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[258]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[259]: print_window('Instruments/EFW/screens/APID_263.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[261]: wait(APID_267, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[262]: filename = 'FSW_LDS'+str(ps)+'_AP267.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[263]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[264]: print_window('Instruments/EFW/screens/APID_267.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[266]: filename = 'FSW_LDS'+str(ps)+'_TlmRates.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[267]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[268]: print_window('Instruments/EFW/screens/CCSDS_tlm_rates.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[270]: log(' TELEMETRY RECEIVED (CUMULATIVE) @ PASS(%d)' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[271]: hsk = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[272]: rt = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[273]: b1 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[274]: b2 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[285]: tot = hsk+rt+b1+b2 Instruments/EFW/scripts/FSW\TEST_LDS.py[286]: fhsk = hsk/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[287]: frt = rt/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[288]: fb1 = b1/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[289]: fb2 = b2/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[290]: ftot= tot/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[291]: log(' HSK = %7.3f MB ' % fhsk, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[292]: log(' RealTime = %7.3f MB ' % frt, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[293]: log(' Burst1 = %7.3f MB ' % fb1, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[294]: log(' Burst2 = %7.3f MB ' % fb2, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[295]: log(' Total = %7.3f MB ' % ftot, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[297]: log(' THERE ARE %d ERRORS ' % APID_267.ERRCTR, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[355]: sleep(3600) Instruments/EFW/scripts/FSW\TEST_LDS.py[351]: for ps in range(72): Instruments/EFW/scripts/FSW\TEST_LDS.py[352]: log('3.%d COMMAND PASS SIMULATION ' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[353]: simulate_pass(FMAX) Instruments/EFW/scripts/FSW\TEST_LDS.py[246]: serial_cmd_stress_test() #Command at Max Rate Instruments/EFW/scripts/FSW\TEST_LDS.py[204]: log(' SERIAL COMMAND TEST AT MAX RATE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[205]: cmd.EFW_CMDS( 250 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[209]: for i in range( 250 ): cmd.EFW_ADRL( 0 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[211]: try: Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[217]: log(' SERIAL COMMAND TEST COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[247]: load_scripts() #Load & Dump Scripts Instruments/EFW/scripts/FSW\TEST_LDS.py[155]: log(' SCRIPT LOADING TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[156]: cmd.EFW_CMDS( 6 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[157]: cmd.EFW_SRMWRTCTL(0) #Unprotect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[158]: cmd.EFW_DISARM(3) #Don't csum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[161]: efw.idpu_load("00006000", " e0 e1 00 00 00 00 00 00 00 00 00 00 00 00 ee ef 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 00 a3 7f c1 01 e4 00 00 00 00 00 00 00 00 00 00 00 a3 7f c1 00 a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[162]: efw.idpu_load("00006100", " 1d c1 02 bb ee c2 00 00 00 00 00 00 00 00 00 00 01 ff 0f c1 03 ff 0f c1 06 ff 0f c1 0c ff 0f c1 18 ff 0f c1 30 ff 0f c1 60 ff 0f c1 c0 ff 0f c1 80 ff 0f c1 00 ff 0f c1 ef c2 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[165]: cmd.EFW_SRMWRTCTL(1) #Protect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[166]: cmd.EFW_ARM(3) #Checksum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[169]: cmd.EFW_DUMPTABL(12,0) #Dump and Spot Check Instruments/EFW/scripts/FSW\TEST_LDS.py[170]: cmd.EFW_TMDUMPCTR(255) #Indefinitely Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[176]: DUMPADR( 0x6100 ) Instruments/EFW/scripts\UTIL.py[61]: cmd.EFW_DUMPADRX( (addr >> 24 )& 0xff ) Instruments/EFW/scripts\UTIL.py[62]: cmd.EFW_DUMPADRE( (addr >> 16 )& 0xff ) Instruments/EFW/scripts\UTIL.py[63]: cmd.EFW_DUMPADRH( (addr >> 8 )& 0xff ) Instruments/EFW/scripts\UTIL.py[64]: cmd.EFW_DUMPADRL( addr & 0xff ) Instruments/EFW/scripts\UTIL.py[65]: cmd.EFW_TMDUMPCTR(255) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[182]: cmd.EFW_TMDUMPCTR(0) #Turn off dump Instruments/EFW/scripts/FSW\TEST_LDS.py[183]: log(' SCRIPT LOADING VERIFIED ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[248]: run_script() #Run and check script Instruments/EFW/scripts/FSW\TEST_LDS.py[189]: log(' SCRIPT EXECUTION TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[190]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[191]: cmd.EFW_SCRIPT(0xEF) #Should Start LEDs going Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[194]: sleep(10) Instruments/EFW/scripts/FSW\TEST_LDS.py[195]: cmd.EFW_SCRIPT(00) #Stop script Instruments/EFW/scripts/FSW\TEST_LDS.py[196]: cmd.EFW_TMPKTRATE( 4, 4 ) #Set APID 267 to 1/4Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[197]: log(' SCRIPT EXECUTION COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[249]: request_playbacks( fm ) #Determine what Burst1's to play Instruments/EFW/scripts/FSW\TEST_LDS.py[224]: log(' REQUESTING BURST1 PLAYBACKS ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[225]: log("FMAX %4x" % fm) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[227]: rp = APID_263.B1_RECPTR Instruments/EFW/scripts/FSW\TEST_LDS.py[228]: if( APID_263.B1_PLAYREQ < 10 ): Instruments/EFW/scripts/FSW\TEST_LDS.py[229]: blk = (rp - 800 ) & fm #Play from 800 blocks back Instruments/EFW/scripts/FSW\TEST_LDS.py[230]: log("QUEUEING Block %4x" % blk) Instruments/EFW/scripts/FSW\TEST_LDS.py[231]: QUEUE_B1PLAYBACK( blk, 32 ) #32 blocks should take 20 min Instruments/EFW/scripts\UTIL.py[50]: cmd.EFW_B1_SETREQDTA( (block >> 2) & 0xff ) Instruments/EFW/scripts\UTIL.py[51]: cmd.EFW_B1_SETREQDTA( (block >> 10)& 0xff ) Instruments/EFW/scripts\UTIL.py[52]: cmd.EFW_B1_SETREQDTA( leng & 0xff ) Instruments/EFW/scripts\UTIL.py[53]: cmd.EFW_B1_SETREQDTA( (leng >> 8 ) & 0xff ) Instruments/EFW/scripts/FSW\TEST_LDS.py[232]: blk = (rp - 500 ) & fm #Play from 500 blocks back Instruments/EFW/scripts/FSW\TEST_LDS.py[233]: log("QUEUEING Block %4x" % blk) Instruments/EFW/scripts/FSW\TEST_LDS.py[234]: QUEUE_B1PLAYBACK( blk, 32 ) #32 blocks should take 20 min Instruments/EFW/scripts\UTIL.py[50]: cmd.EFW_B1_SETREQDTA( (block >> 2) & 0xff ) Instruments/EFW/scripts\UTIL.py[51]: cmd.EFW_B1_SETREQDTA( (block >> 10)& 0xff ) Instruments/EFW/scripts\UTIL.py[52]: cmd.EFW_B1_SETREQDTA( leng & 0xff ) Instruments/EFW/scripts\UTIL.py[53]: cmd.EFW_B1_SETREQDTA( (leng >> 8 ) & 0xff ) Instruments/EFW/scripts/FSW\TEST_LDS.py[235]: blk = (rp - 200 ) & fm #Play from 200 blocks back Instruments/EFW/scripts/FSW\TEST_LDS.py[236]: log("QUEUEING Block %4x" % blk) Instruments/EFW/scripts/FSW\TEST_LDS.py[237]: QUEUE_B1PLAYBACK( blk, 64 ) #32 blocks should take 40 min Instruments/EFW/scripts\UTIL.py[50]: cmd.EFW_B1_SETREQDTA( (block >> 2) & 0xff ) Instruments/EFW/scripts\UTIL.py[51]: cmd.EFW_B1_SETREQDTA( (block >> 10)& 0xff ) Instruments/EFW/scripts\UTIL.py[52]: cmd.EFW_B1_SETREQDTA( leng & 0xff ) Instruments/EFW/scripts\UTIL.py[53]: cmd.EFW_B1_SETREQDTA( (leng >> 8 ) & 0xff ) Instruments/EFW/scripts/FSW\TEST_LDS.py[238]: sleep(8) Instruments/EFW/scripts/FSW\TEST_LDS.py[239]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[240]: log(' BURST1 PLAYLIST HAS %d REQUESTS '% APID_263.B1_PLAYREQ, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[354]: generate_report(ps) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[257]: filename = 'FSW_LDS'+str(ps)+'_AP263.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[258]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[259]: print_window('Instruments/EFW/screens/APID_263.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[261]: wait(APID_267, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[262]: filename = 'FSW_LDS'+str(ps)+'_AP267.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[263]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[264]: print_window('Instruments/EFW/screens/APID_267.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[266]: filename = 'FSW_LDS'+str(ps)+'_TlmRates.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[267]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[268]: print_window('Instruments/EFW/screens/CCSDS_tlm_rates.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[270]: log(' TELEMETRY RECEIVED (CUMULATIVE) @ PASS(%d)' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[271]: hsk = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[272]: rt = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[273]: b1 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[274]: b2 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[285]: tot = hsk+rt+b1+b2 Instruments/EFW/scripts/FSW\TEST_LDS.py[286]: fhsk = hsk/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[287]: frt = rt/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[288]: fb1 = b1/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[289]: fb2 = b2/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[290]: ftot= tot/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[291]: log(' HSK = %7.3f MB ' % fhsk, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[292]: log(' RealTime = %7.3f MB ' % frt, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[293]: log(' Burst1 = %7.3f MB ' % fb1, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[294]: log(' Burst2 = %7.3f MB ' % fb2, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[295]: log(' Total = %7.3f MB ' % ftot, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[297]: log(' THERE ARE %d ERRORS ' % APID_267.ERRCTR, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[355]: sleep(3600) Instruments/EFW/scripts/FSW\TEST_LDS.py[351]: for ps in range(72): Instruments/EFW/scripts/FSW\TEST_LDS.py[352]: log('3.%d COMMAND PASS SIMULATION ' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[353]: simulate_pass(FMAX) Instruments/EFW/scripts/FSW\TEST_LDS.py[246]: serial_cmd_stress_test() #Command at Max Rate Instruments/EFW/scripts/FSW\TEST_LDS.py[204]: log(' SERIAL COMMAND TEST AT MAX RATE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[205]: cmd.EFW_CMDS( 250 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[209]: for i in range( 250 ): cmd.EFW_ADRL( 0 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[211]: try: Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[217]: log(' SERIAL COMMAND TEST COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[247]: load_scripts() #Load & Dump Scripts Instruments/EFW/scripts/FSW\TEST_LDS.py[155]: log(' SCRIPT LOADING TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[156]: cmd.EFW_CMDS( 6 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[157]: cmd.EFW_SRMWRTCTL(0) #Unprotect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[158]: cmd.EFW_DISARM(3) #Don't csum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[161]: efw.idpu_load("00006000", " e0 e1 00 00 00 00 00 00 00 00 00 00 00 00 ee ef 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 00 a3 7f c1 01 e4 00 00 00 00 00 00 00 00 00 00 00 a3 7f c1 00 a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[162]: efw.idpu_load("00006100", " 1d c1 02 bb ee c2 00 00 00 00 00 00 00 00 00 00 01 ff 0f c1 03 ff 0f c1 06 ff 0f c1 0c ff 0f c1 18 ff 0f c1 30 ff 0f c1 60 ff 0f c1 c0 ff 0f c1 80 ff 0f c1 00 ff 0f c1 ef c2 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[165]: cmd.EFW_SRMWRTCTL(1) #Protect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[166]: cmd.EFW_ARM(3) #Checksum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[169]: cmd.EFW_DUMPTABL(12,0) #Dump and Spot Check Instruments/EFW/scripts/FSW\TEST_LDS.py[170]: cmd.EFW_TMDUMPCTR(255) #Indefinitely Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[176]: DUMPADR( 0x6100 ) Instruments/EFW/scripts\UTIL.py[61]: cmd.EFW_DUMPADRX( (addr >> 24 )& 0xff ) Instruments/EFW/scripts\UTIL.py[62]: cmd.EFW_DUMPADRE( (addr >> 16 )& 0xff ) Instruments/EFW/scripts\UTIL.py[63]: cmd.EFW_DUMPADRH( (addr >> 8 )& 0xff ) Instruments/EFW/scripts\UTIL.py[64]: cmd.EFW_DUMPADRL( addr & 0xff ) Instruments/EFW/scripts\UTIL.py[65]: cmd.EFW_TMDUMPCTR(255) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[182]: cmd.EFW_TMDUMPCTR(0) #Turn off dump Instruments/EFW/scripts/FSW\TEST_LDS.py[183]: log(' SCRIPT LOADING VERIFIED ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[248]: run_script() #Run and check script Instruments/EFW/scripts/FSW\TEST_LDS.py[189]: log(' SCRIPT EXECUTION TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[190]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[191]: cmd.EFW_SCRIPT(0xEF) #Should Start LEDs going Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[194]: sleep(10) Instruments/EFW/scripts/FSW\TEST_LDS.py[195]: cmd.EFW_SCRIPT(00) #Stop script Instruments/EFW/scripts/FSW\TEST_LDS.py[196]: cmd.EFW_TMPKTRATE( 4, 4 ) #Set APID 267 to 1/4Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[197]: log(' SCRIPT EXECUTION COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[249]: request_playbacks( fm ) #Determine what Burst1's to play Instruments/EFW/scripts/FSW\TEST_LDS.py[224]: log(' REQUESTING BURST1 PLAYBACKS ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[225]: log("FMAX %4x" % fm) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[227]: rp = APID_263.B1_RECPTR Instruments/EFW/scripts/FSW\TEST_LDS.py[228]: if( APID_263.B1_PLAYREQ < 10 ): Instruments/EFW/scripts/FSW\TEST_LDS.py[239]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[240]: log(' BURST1 PLAYLIST HAS %d REQUESTS '% APID_263.B1_PLAYREQ, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[354]: generate_report(ps) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[257]: filename = 'FSW_LDS'+str(ps)+'_AP263.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[258]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[259]: print_window('Instruments/EFW/screens/APID_263.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[261]: wait(APID_267, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[262]: filename = 'FSW_LDS'+str(ps)+'_AP267.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[263]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[264]: print_window('Instruments/EFW/screens/APID_267.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[266]: filename = 'FSW_LDS'+str(ps)+'_TlmRates.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[267]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[268]: print_window('Instruments/EFW/screens/CCSDS_tlm_rates.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[270]: log(' TELEMETRY RECEIVED (CUMULATIVE) @ PASS(%d)' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[271]: hsk = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[272]: rt = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[273]: b1 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[274]: b2 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[285]: tot = hsk+rt+b1+b2 Instruments/EFW/scripts/FSW\TEST_LDS.py[286]: fhsk = hsk/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[287]: frt = rt/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[288]: fb1 = b1/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[289]: fb2 = b2/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[290]: ftot= tot/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[291]: log(' HSK = %7.3f MB ' % fhsk, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[292]: log(' RealTime = %7.3f MB ' % frt, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[293]: log(' Burst1 = %7.3f MB ' % fb1, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[294]: log(' Burst2 = %7.3f MB ' % fb2, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[295]: log(' Total = %7.3f MB ' % ftot, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[297]: log(' THERE ARE %d ERRORS ' % APID_267.ERRCTR, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[355]: sleep(3600) Instruments/EFW/scripts/FSW\TEST_LDS.py[351]: for ps in range(72): Instruments/EFW/scripts/FSW\TEST_LDS.py[352]: log('3.%d COMMAND PASS SIMULATION ' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[353]: simulate_pass(FMAX) Instruments/EFW/scripts/FSW\TEST_LDS.py[246]: serial_cmd_stress_test() #Command at Max Rate Instruments/EFW/scripts/FSW\TEST_LDS.py[204]: log(' SERIAL COMMAND TEST AT MAX RATE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[205]: cmd.EFW_CMDS( 250 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[209]: for i in range( 250 ): cmd.EFW_ADRL( 0 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[211]: try: Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[217]: log(' SERIAL COMMAND TEST COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[247]: load_scripts() #Load & Dump Scripts Instruments/EFW/scripts/FSW\TEST_LDS.py[155]: log(' SCRIPT LOADING TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[156]: cmd.EFW_CMDS( 6 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[157]: cmd.EFW_SRMWRTCTL(0) #Unprotect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[158]: cmd.EFW_DISARM(3) #Don't csum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[161]: efw.idpu_load("00006000", " e0 e1 00 00 00 00 00 00 00 00 00 00 00 00 ee ef 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 00 a3 7f c1 01 e4 00 00 00 00 00 00 00 00 00 00 00 a3 7f c1 00 a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[162]: efw.idpu_load("00006100", " 1d c1 02 bb ee c2 00 00 00 00 00 00 00 00 00 00 01 ff 0f c1 03 ff 0f c1 06 ff 0f c1 0c ff 0f c1 18 ff 0f c1 30 ff 0f c1 60 ff 0f c1 c0 ff 0f c1 80 ff 0f c1 00 ff 0f c1 ef c2 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[165]: cmd.EFW_SRMWRTCTL(1) #Protect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[166]: cmd.EFW_ARM(3) #Checksum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[169]: cmd.EFW_DUMPTABL(12,0) #Dump and Spot Check Instruments/EFW/scripts/FSW\TEST_LDS.py[170]: cmd.EFW_TMDUMPCTR(255) #Indefinitely Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[176]: DUMPADR( 0x6100 ) Instruments/EFW/scripts\UTIL.py[61]: cmd.EFW_DUMPADRX( (addr >> 24 )& 0xff ) Instruments/EFW/scripts\UTIL.py[62]: cmd.EFW_DUMPADRE( (addr >> 16 )& 0xff ) Instruments/EFW/scripts\UTIL.py[63]: cmd.EFW_DUMPADRH( (addr >> 8 )& 0xff ) Instruments/EFW/scripts\UTIL.py[64]: cmd.EFW_DUMPADRL( addr & 0xff ) Instruments/EFW/scripts\UTIL.py[65]: cmd.EFW_TMDUMPCTR(255) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[182]: cmd.EFW_TMDUMPCTR(0) #Turn off dump Instruments/EFW/scripts/FSW\TEST_LDS.py[183]: log(' SCRIPT LOADING VERIFIED ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[248]: run_script() #Run and check script Instruments/EFW/scripts/FSW\TEST_LDS.py[189]: log(' SCRIPT EXECUTION TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[190]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[191]: cmd.EFW_SCRIPT(0xEF) #Should Start LEDs going Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[194]: sleep(10) Instruments/EFW/scripts/FSW\TEST_LDS.py[195]: cmd.EFW_SCRIPT(00) #Stop script Instruments/EFW/scripts/FSW\TEST_LDS.py[196]: cmd.EFW_TMPKTRATE( 4, 4 ) #Set APID 267 to 1/4Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[197]: log(' SCRIPT EXECUTION COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[249]: request_playbacks( fm ) #Determine what Burst1's to play Instruments/EFW/scripts/FSW\TEST_LDS.py[224]: log(' REQUESTING BURST1 PLAYBACKS ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[225]: log("FMAX %4x" % fm) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[227]: rp = APID_263.B1_RECPTR Instruments/EFW/scripts/FSW\TEST_LDS.py[228]: if( APID_263.B1_PLAYREQ < 10 ): Instruments/EFW/scripts/FSW\TEST_LDS.py[229]: blk = (rp - 800 ) & fm #Play from 800 blocks back Instruments/EFW/scripts/FSW\TEST_LDS.py[230]: log("QUEUEING Block %4x" % blk) Instruments/EFW/scripts/FSW\TEST_LDS.py[231]: QUEUE_B1PLAYBACK( blk, 32 ) #32 blocks should take 20 min Instruments/EFW/scripts\UTIL.py[50]: cmd.EFW_B1_SETREQDTA( (block >> 2) & 0xff ) Instruments/EFW/scripts\UTIL.py[51]: cmd.EFW_B1_SETREQDTA( (block >> 10)& 0xff ) Instruments/EFW/scripts\UTIL.py[52]: cmd.EFW_B1_SETREQDTA( leng & 0xff ) Instruments/EFW/scripts\UTIL.py[53]: cmd.EFW_B1_SETREQDTA( (leng >> 8 ) & 0xff ) Instruments/EFW/scripts/FSW\TEST_LDS.py[232]: blk = (rp - 500 ) & fm #Play from 500 blocks back Instruments/EFW/scripts/FSW\TEST_LDS.py[233]: log("QUEUEING Block %4x" % blk) Instruments/EFW/scripts/FSW\TEST_LDS.py[234]: QUEUE_B1PLAYBACK( blk, 32 ) #32 blocks should take 20 min Instruments/EFW/scripts\UTIL.py[50]: cmd.EFW_B1_SETREQDTA( (block >> 2) & 0xff ) Instruments/EFW/scripts\UTIL.py[51]: cmd.EFW_B1_SETREQDTA( (block >> 10)& 0xff ) Instruments/EFW/scripts\UTIL.py[52]: cmd.EFW_B1_SETREQDTA( leng & 0xff ) Instruments/EFW/scripts\UTIL.py[53]: cmd.EFW_B1_SETREQDTA( (leng >> 8 ) & 0xff ) Instruments/EFW/scripts/FSW\TEST_LDS.py[235]: blk = (rp - 200 ) & fm #Play from 200 blocks back Instruments/EFW/scripts/FSW\TEST_LDS.py[236]: log("QUEUEING Block %4x" % blk) Instruments/EFW/scripts/FSW\TEST_LDS.py[237]: QUEUE_B1PLAYBACK( blk, 64 ) #32 blocks should take 40 min Instruments/EFW/scripts\UTIL.py[50]: cmd.EFW_B1_SETREQDTA( (block >> 2) & 0xff ) Instruments/EFW/scripts\UTIL.py[51]: cmd.EFW_B1_SETREQDTA( (block >> 10)& 0xff ) Instruments/EFW/scripts\UTIL.py[52]: cmd.EFW_B1_SETREQDTA( leng & 0xff ) Instruments/EFW/scripts\UTIL.py[53]: cmd.EFW_B1_SETREQDTA( (leng >> 8 ) & 0xff ) Instruments/EFW/scripts/FSW\TEST_LDS.py[238]: sleep(8) Instruments/EFW/scripts/FSW\TEST_LDS.py[239]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[240]: log(' BURST1 PLAYLIST HAS %d REQUESTS '% APID_263.B1_PLAYREQ, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[354]: generate_report(ps) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[257]: filename = 'FSW_LDS'+str(ps)+'_AP263.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[258]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[259]: print_window('Instruments/EFW/screens/APID_263.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[261]: wait(APID_267, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[262]: filename = 'FSW_LDS'+str(ps)+'_AP267.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[263]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[264]: print_window('Instruments/EFW/screens/APID_267.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[266]: filename = 'FSW_LDS'+str(ps)+'_TlmRates.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[267]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[268]: print_window('Instruments/EFW/screens/CCSDS_tlm_rates.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[270]: log(' TELEMETRY RECEIVED (CUMULATIVE) @ PASS(%d)' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[271]: hsk = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[272]: rt = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[273]: b1 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[274]: b2 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[285]: tot = hsk+rt+b1+b2 Instruments/EFW/scripts/FSW\TEST_LDS.py[286]: fhsk = hsk/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[287]: frt = rt/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[288]: fb1 = b1/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[289]: fb2 = b2/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[290]: ftot= tot/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[291]: log(' HSK = %7.3f MB ' % fhsk, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[292]: log(' RealTime = %7.3f MB ' % frt, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[293]: log(' Burst1 = %7.3f MB ' % fb1, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[294]: log(' Burst2 = %7.3f MB ' % fb2, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[295]: log(' Total = %7.3f MB ' % ftot, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[297]: log(' THERE ARE %d ERRORS ' % APID_267.ERRCTR, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[355]: sleep(3600) Instruments/EFW/scripts/FSW\TEST_LDS.py[351]: for ps in range(72): Instruments/EFW/scripts/FSW\TEST_LDS.py[352]: log('3.%d COMMAND PASS SIMULATION ' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[353]: simulate_pass(FMAX) Instruments/EFW/scripts/FSW\TEST_LDS.py[246]: serial_cmd_stress_test() #Command at Max Rate Instruments/EFW/scripts/FSW\TEST_LDS.py[204]: log(' SERIAL COMMAND TEST AT MAX RATE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[205]: cmd.EFW_CMDS( 250 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[209]: for i in range( 250 ): cmd.EFW_ADRL( 0 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[211]: try: Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[217]: log(' SERIAL COMMAND TEST COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[247]: load_scripts() #Load & Dump Scripts Instruments/EFW/scripts/FSW\TEST_LDS.py[155]: log(' SCRIPT LOADING TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[156]: cmd.EFW_CMDS( 6 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[157]: cmd.EFW_SRMWRTCTL(0) #Unprotect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[158]: cmd.EFW_DISARM(3) #Don't csum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[161]: efw.idpu_load("00006000", " e0 e1 00 00 00 00 00 00 00 00 00 00 00 00 ee ef 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 00 a3 7f c1 01 e4 00 00 00 00 00 00 00 00 00 00 00 a3 7f c1 00 a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[162]: efw.idpu_load("00006100", " 1d c1 02 bb ee c2 00 00 00 00 00 00 00 00 00 00 01 ff 0f c1 03 ff 0f c1 06 ff 0f c1 0c ff 0f c1 18 ff 0f c1 30 ff 0f c1 60 ff 0f c1 c0 ff 0f c1 80 ff 0f c1 00 ff 0f c1 ef c2 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[165]: cmd.EFW_SRMWRTCTL(1) #Protect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[166]: cmd.EFW_ARM(3) #Checksum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[169]: cmd.EFW_DUMPTABL(12,0) #Dump and Spot Check Instruments/EFW/scripts/FSW\TEST_LDS.py[170]: cmd.EFW_TMDUMPCTR(255) #Indefinitely Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[176]: DUMPADR( 0x6100 ) Instruments/EFW/scripts\UTIL.py[61]: cmd.EFW_DUMPADRX( (addr >> 24 )& 0xff ) Instruments/EFW/scripts\UTIL.py[62]: cmd.EFW_DUMPADRE( (addr >> 16 )& 0xff ) Instruments/EFW/scripts\UTIL.py[63]: cmd.EFW_DUMPADRH( (addr >> 8 )& 0xff ) Instruments/EFW/scripts\UTIL.py[64]: cmd.EFW_DUMPADRL( addr & 0xff ) Instruments/EFW/scripts\UTIL.py[65]: cmd.EFW_TMDUMPCTR(255) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[182]: cmd.EFW_TMDUMPCTR(0) #Turn off dump Instruments/EFW/scripts/FSW\TEST_LDS.py[183]: log(' SCRIPT LOADING VERIFIED ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[248]: run_script() #Run and check script Instruments/EFW/scripts/FSW\TEST_LDS.py[189]: log(' SCRIPT EXECUTION TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[190]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[191]: cmd.EFW_SCRIPT(0xEF) #Should Start LEDs going Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[194]: sleep(10) Instruments/EFW/scripts/FSW\TEST_LDS.py[195]: cmd.EFW_SCRIPT(00) #Stop script Instruments/EFW/scripts/FSW\TEST_LDS.py[196]: cmd.EFW_TMPKTRATE( 4, 4 ) #Set APID 267 to 1/4Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[197]: log(' SCRIPT EXECUTION COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[249]: request_playbacks( fm ) #Determine what Burst1's to play Instruments/EFW/scripts/FSW\TEST_LDS.py[224]: log(' REQUESTING BURST1 PLAYBACKS ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[225]: log("FMAX %4x" % fm) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[227]: rp = APID_263.B1_RECPTR Instruments/EFW/scripts/FSW\TEST_LDS.py[228]: if( APID_263.B1_PLAYREQ < 10 ): Instruments/EFW/scripts/FSW\TEST_LDS.py[239]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[240]: log(' BURST1 PLAYLIST HAS %d REQUESTS '% APID_263.B1_PLAYREQ, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[354]: generate_report(ps) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[257]: filename = 'FSW_LDS'+str(ps)+'_AP263.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[258]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[259]: print_window('Instruments/EFW/screens/APID_263.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[261]: wait(APID_267, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[262]: filename = 'FSW_LDS'+str(ps)+'_AP267.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[263]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[264]: print_window('Instruments/EFW/screens/APID_267.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[266]: filename = 'FSW_LDS'+str(ps)+'_TlmRates.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[267]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[268]: print_window('Instruments/EFW/screens/CCSDS_tlm_rates.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[270]: log(' TELEMETRY RECEIVED (CUMULATIVE) @ PASS(%d)' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[271]: hsk = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[272]: rt = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[273]: b1 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[274]: b2 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[285]: tot = hsk+rt+b1+b2 Instruments/EFW/scripts/FSW\TEST_LDS.py[286]: fhsk = hsk/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[287]: frt = rt/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[288]: fb1 = b1/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[289]: fb2 = b2/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[290]: ftot= tot/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[291]: log(' HSK = %7.3f MB ' % fhsk, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[292]: log(' RealTime = %7.3f MB ' % frt, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[293]: log(' Burst1 = %7.3f MB ' % fb1, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[294]: log(' Burst2 = %7.3f MB ' % fb2, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[295]: log(' Total = %7.3f MB ' % ftot, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[297]: log(' THERE ARE %d ERRORS ' % APID_267.ERRCTR, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[355]: sleep(3600) Instruments/EFW/scripts/FSW\TEST_LDS.py[351]: for ps in range(72): Instruments/EFW/scripts/FSW\TEST_LDS.py[352]: log('3.%d COMMAND PASS SIMULATION ' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[353]: simulate_pass(FMAX) Instruments/EFW/scripts/FSW\TEST_LDS.py[246]: serial_cmd_stress_test() #Command at Max Rate Instruments/EFW/scripts/FSW\TEST_LDS.py[204]: log(' SERIAL COMMAND TEST AT MAX RATE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[205]: cmd.EFW_CMDS( 250 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[209]: for i in range( 250 ): cmd.EFW_ADRL( 0 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[211]: try: Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[217]: log(' SERIAL COMMAND TEST COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[247]: load_scripts() #Load & Dump Scripts Instruments/EFW/scripts/FSW\TEST_LDS.py[155]: log(' SCRIPT LOADING TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[156]: cmd.EFW_CMDS( 6 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[157]: cmd.EFW_SRMWRTCTL(0) #Unprotect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[158]: cmd.EFW_DISARM(3) #Don't csum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[161]: efw.idpu_load("00006000", " e0 e1 00 00 00 00 00 00 00 00 00 00 00 00 ee ef 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 00 a3 7f c1 01 e4 00 00 00 00 00 00 00 00 00 00 00 a3 7f c1 00 a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[162]: efw.idpu_load("00006100", " 1d c1 02 bb ee c2 00 00 00 00 00 00 00 00 00 00 01 ff 0f c1 03 ff 0f c1 06 ff 0f c1 0c ff 0f c1 18 ff 0f c1 30 ff 0f c1 60 ff 0f c1 c0 ff 0f c1 80 ff 0f c1 00 ff 0f c1 ef c2 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[165]: cmd.EFW_SRMWRTCTL(1) #Protect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[166]: cmd.EFW_ARM(3) #Checksum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[169]: cmd.EFW_DUMPTABL(12,0) #Dump and Spot Check Instruments/EFW/scripts/FSW\TEST_LDS.py[170]: cmd.EFW_TMDUMPCTR(255) #Indefinitely Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[176]: DUMPADR( 0x6100 ) Instruments/EFW/scripts\UTIL.py[61]: cmd.EFW_DUMPADRX( (addr >> 24 )& 0xff ) Instruments/EFW/scripts\UTIL.py[62]: cmd.EFW_DUMPADRE( (addr >> 16 )& 0xff ) Instruments/EFW/scripts\UTIL.py[63]: cmd.EFW_DUMPADRH( (addr >> 8 )& 0xff ) Instruments/EFW/scripts\UTIL.py[64]: cmd.EFW_DUMPADRL( addr & 0xff ) Instruments/EFW/scripts\UTIL.py[65]: cmd.EFW_TMDUMPCTR(255) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[182]: cmd.EFW_TMDUMPCTR(0) #Turn off dump Instruments/EFW/scripts/FSW\TEST_LDS.py[183]: log(' SCRIPT LOADING VERIFIED ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[248]: run_script() #Run and check script Instruments/EFW/scripts/FSW\TEST_LDS.py[189]: log(' SCRIPT EXECUTION TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[190]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[191]: cmd.EFW_SCRIPT(0xEF) #Should Start LEDs going Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[194]: sleep(10) Instruments/EFW/scripts/FSW\TEST_LDS.py[195]: cmd.EFW_SCRIPT(00) #Stop script Instruments/EFW/scripts/FSW\TEST_LDS.py[196]: cmd.EFW_TMPKTRATE( 4, 4 ) #Set APID 267 to 1/4Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[197]: log(' SCRIPT EXECUTION COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[249]: request_playbacks( fm ) #Determine what Burst1's to play Instruments/EFW/scripts/FSW\TEST_LDS.py[224]: log(' REQUESTING BURST1 PLAYBACKS ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[225]: log("FMAX %4x" % fm) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[227]: rp = APID_263.B1_RECPTR Instruments/EFW/scripts/FSW\TEST_LDS.py[228]: if( APID_263.B1_PLAYREQ < 10 ): Instruments/EFW/scripts/FSW\TEST_LDS.py[229]: blk = (rp - 800 ) & fm #Play from 800 blocks back Instruments/EFW/scripts/FSW\TEST_LDS.py[230]: log("QUEUEING Block %4x" % blk) Instruments/EFW/scripts/FSW\TEST_LDS.py[231]: QUEUE_B1PLAYBACK( blk, 32 ) #32 blocks should take 20 min Instruments/EFW/scripts\UTIL.py[50]: cmd.EFW_B1_SETREQDTA( (block >> 2) & 0xff ) Instruments/EFW/scripts\UTIL.py[51]: cmd.EFW_B1_SETREQDTA( (block >> 10)& 0xff ) Instruments/EFW/scripts\UTIL.py[52]: cmd.EFW_B1_SETREQDTA( leng & 0xff ) Instruments/EFW/scripts\UTIL.py[53]: cmd.EFW_B1_SETREQDTA( (leng >> 8 ) & 0xff ) Instruments/EFW/scripts/FSW\TEST_LDS.py[232]: blk = (rp - 500 ) & fm #Play from 500 blocks back Instruments/EFW/scripts/FSW\TEST_LDS.py[233]: log("QUEUEING Block %4x" % blk) Instruments/EFW/scripts/FSW\TEST_LDS.py[234]: QUEUE_B1PLAYBACK( blk, 32 ) #32 blocks should take 20 min Instruments/EFW/scripts\UTIL.py[50]: cmd.EFW_B1_SETREQDTA( (block >> 2) & 0xff ) Instruments/EFW/scripts\UTIL.py[51]: cmd.EFW_B1_SETREQDTA( (block >> 10)& 0xff ) Instruments/EFW/scripts\UTIL.py[52]: cmd.EFW_B1_SETREQDTA( leng & 0xff ) Instruments/EFW/scripts\UTIL.py[53]: cmd.EFW_B1_SETREQDTA( (leng >> 8 ) & 0xff ) Instruments/EFW/scripts/FSW\TEST_LDS.py[235]: blk = (rp - 200 ) & fm #Play from 200 blocks back Instruments/EFW/scripts/FSW\TEST_LDS.py[236]: log("QUEUEING Block %4x" % blk) Instruments/EFW/scripts/FSW\TEST_LDS.py[237]: QUEUE_B1PLAYBACK( blk, 64 ) #32 blocks should take 40 min Instruments/EFW/scripts\UTIL.py[50]: cmd.EFW_B1_SETREQDTA( (block >> 2) & 0xff ) Instruments/EFW/scripts\UTIL.py[51]: cmd.EFW_B1_SETREQDTA( (block >> 10)& 0xff ) Instruments/EFW/scripts\UTIL.py[52]: cmd.EFW_B1_SETREQDTA( leng & 0xff ) Instruments/EFW/scripts\UTIL.py[53]: cmd.EFW_B1_SETREQDTA( (leng >> 8 ) & 0xff ) Instruments/EFW/scripts/FSW\TEST_LDS.py[238]: sleep(8) Instruments/EFW/scripts/FSW\TEST_LDS.py[239]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[240]: log(' BURST1 PLAYLIST HAS %d REQUESTS '% APID_263.B1_PLAYREQ, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[354]: generate_report(ps) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[257]: filename = 'FSW_LDS'+str(ps)+'_AP263.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[258]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[259]: print_window('Instruments/EFW/screens/APID_263.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[261]: wait(APID_267, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[262]: filename = 'FSW_LDS'+str(ps)+'_AP267.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[263]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[264]: print_window('Instruments/EFW/screens/APID_267.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[266]: filename = 'FSW_LDS'+str(ps)+'_TlmRates.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[267]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[268]: print_window('Instruments/EFW/screens/CCSDS_tlm_rates.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[270]: log(' TELEMETRY RECEIVED (CUMULATIVE) @ PASS(%d)' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[271]: hsk = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[272]: rt = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[273]: b1 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[274]: b2 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[285]: tot = hsk+rt+b1+b2 Instruments/EFW/scripts/FSW\TEST_LDS.py[286]: fhsk = hsk/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[287]: frt = rt/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[288]: fb1 = b1/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[289]: fb2 = b2/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[290]: ftot= tot/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[291]: log(' HSK = %7.3f MB ' % fhsk, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[292]: log(' RealTime = %7.3f MB ' % frt, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[293]: log(' Burst1 = %7.3f MB ' % fb1, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[294]: log(' Burst2 = %7.3f MB ' % fb2, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[295]: log(' Total = %7.3f MB ' % ftot, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[297]: log(' THERE ARE %d ERRORS ' % APID_267.ERRCTR, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[355]: sleep(3600) Instruments/EFW/scripts/FSW\TEST_LDS.py[351]: for ps in range(72): Instruments/EFW/scripts/FSW\TEST_LDS.py[352]: log('3.%d COMMAND PASS SIMULATION ' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[353]: simulate_pass(FMAX) Instruments/EFW/scripts/FSW\TEST_LDS.py[246]: serial_cmd_stress_test() #Command at Max Rate Instruments/EFW/scripts/FSW\TEST_LDS.py[204]: log(' SERIAL COMMAND TEST AT MAX RATE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[205]: cmd.EFW_CMDS( 250 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[209]: for i in range( 250 ): cmd.EFW_ADRL( 0 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[211]: try: Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[217]: log(' SERIAL COMMAND TEST COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[247]: load_scripts() #Load & Dump Scripts Instruments/EFW/scripts/FSW\TEST_LDS.py[155]: log(' SCRIPT LOADING TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[156]: cmd.EFW_CMDS( 6 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[157]: cmd.EFW_SRMWRTCTL(0) #Unprotect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[158]: cmd.EFW_DISARM(3) #Don't csum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[161]: efw.idpu_load("00006000", " e0 e1 00 00 00 00 00 00 00 00 00 00 00 00 ee ef 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 00 a3 7f c1 01 e4 00 00 00 00 00 00 00 00 00 00 00 a3 7f c1 00 a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[162]: efw.idpu_load("00006100", " 1d c1 02 bb ee c2 00 00 00 00 00 00 00 00 00 00 01 ff 0f c1 03 ff 0f c1 06 ff 0f c1 0c ff 0f c1 18 ff 0f c1 30 ff 0f c1 60 ff 0f c1 c0 ff 0f c1 80 ff 0f c1 00 ff 0f c1 ef c2 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[165]: cmd.EFW_SRMWRTCTL(1) #Protect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[166]: cmd.EFW_ARM(3) #Checksum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[169]: cmd.EFW_DUMPTABL(12,0) #Dump and Spot Check Instruments/EFW/scripts/FSW\TEST_LDS.py[170]: cmd.EFW_TMDUMPCTR(255) #Indefinitely Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[176]: DUMPADR( 0x6100 ) Instruments/EFW/scripts\UTIL.py[61]: cmd.EFW_DUMPADRX( (addr >> 24 )& 0xff ) Instruments/EFW/scripts\UTIL.py[62]: cmd.EFW_DUMPADRE( (addr >> 16 )& 0xff ) Instruments/EFW/scripts\UTIL.py[63]: cmd.EFW_DUMPADRH( (addr >> 8 )& 0xff ) Instruments/EFW/scripts\UTIL.py[64]: cmd.EFW_DUMPADRL( addr & 0xff ) Instruments/EFW/scripts\UTIL.py[65]: cmd.EFW_TMDUMPCTR(255) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[182]: cmd.EFW_TMDUMPCTR(0) #Turn off dump Instruments/EFW/scripts/FSW\TEST_LDS.py[183]: log(' SCRIPT LOADING VERIFIED ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[248]: run_script() #Run and check script Instruments/EFW/scripts/FSW\TEST_LDS.py[189]: log(' SCRIPT EXECUTION TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[190]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[191]: cmd.EFW_SCRIPT(0xEF) #Should Start LEDs going Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[194]: sleep(10) Instruments/EFW/scripts/FSW\TEST_LDS.py[195]: cmd.EFW_SCRIPT(00) #Stop script Instruments/EFW/scripts/FSW\TEST_LDS.py[196]: cmd.EFW_TMPKTRATE( 4, 4 ) #Set APID 267 to 1/4Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[197]: log(' SCRIPT EXECUTION COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[249]: request_playbacks( fm ) #Determine what Burst1's to play Instruments/EFW/scripts/FSW\TEST_LDS.py[224]: log(' REQUESTING BURST1 PLAYBACKS ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[225]: log("FMAX %4x" % fm) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[227]: rp = APID_263.B1_RECPTR Instruments/EFW/scripts/FSW\TEST_LDS.py[228]: if( APID_263.B1_PLAYREQ < 10 ): Instruments/EFW/scripts/FSW\TEST_LDS.py[239]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[240]: log(' BURST1 PLAYLIST HAS %d REQUESTS '% APID_263.B1_PLAYREQ, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[354]: generate_report(ps) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[257]: filename = 'FSW_LDS'+str(ps)+'_AP263.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[258]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[259]: print_window('Instruments/EFW/screens/APID_263.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[261]: wait(APID_267, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[262]: filename = 'FSW_LDS'+str(ps)+'_AP267.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[263]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[264]: print_window('Instruments/EFW/screens/APID_267.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[266]: filename = 'FSW_LDS'+str(ps)+'_TlmRates.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[267]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[268]: print_window('Instruments/EFW/screens/CCSDS_tlm_rates.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[270]: log(' TELEMETRY RECEIVED (CUMULATIVE) @ PASS(%d)' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[271]: hsk = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[272]: rt = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[273]: b1 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[274]: b2 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[285]: tot = hsk+rt+b1+b2 Instruments/EFW/scripts/FSW\TEST_LDS.py[286]: fhsk = hsk/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[287]: frt = rt/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[288]: fb1 = b1/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[289]: fb2 = b2/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[290]: ftot= tot/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[291]: log(' HSK = %7.3f MB ' % fhsk, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[292]: log(' RealTime = %7.3f MB ' % frt, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[293]: log(' Burst1 = %7.3f MB ' % fb1, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[294]: log(' Burst2 = %7.3f MB ' % fb2, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[295]: log(' Total = %7.3f MB ' % ftot, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[297]: log(' THERE ARE %d ERRORS ' % APID_267.ERRCTR, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[355]: sleep(3600) Instruments/EFW/scripts/FSW\TEST_LDS.py[351]: for ps in range(72): Instruments/EFW/scripts/FSW\TEST_LDS.py[352]: log('3.%d COMMAND PASS SIMULATION ' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[353]: simulate_pass(FMAX) Instruments/EFW/scripts/FSW\TEST_LDS.py[246]: serial_cmd_stress_test() #Command at Max Rate Instruments/EFW/scripts/FSW\TEST_LDS.py[204]: log(' SERIAL COMMAND TEST AT MAX RATE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[205]: cmd.EFW_CMDS( 250 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[209]: for i in range( 250 ): cmd.EFW_ADRL( 0 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[211]: try: Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[217]: log(' SERIAL COMMAND TEST COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[247]: load_scripts() #Load & Dump Scripts Instruments/EFW/scripts/FSW\TEST_LDS.py[155]: log(' SCRIPT LOADING TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[156]: cmd.EFW_CMDS( 6 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[157]: cmd.EFW_SRMWRTCTL(0) #Unprotect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[158]: cmd.EFW_DISARM(3) #Don't csum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[161]: efw.idpu_load("00006000", " e0 e1 00 00 00 00 00 00 00 00 00 00 00 00 ee ef 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 00 a3 7f c1 01 e4 00 00 00 00 00 00 00 00 00 00 00 a3 7f c1 00 a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[162]: efw.idpu_load("00006100", " 1d c1 02 bb ee c2 00 00 00 00 00 00 00 00 00 00 01 ff 0f c1 03 ff 0f c1 06 ff 0f c1 0c ff 0f c1 18 ff 0f c1 30 ff 0f c1 60 ff 0f c1 c0 ff 0f c1 80 ff 0f c1 00 ff 0f c1 ef c2 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[165]: cmd.EFW_SRMWRTCTL(1) #Protect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[166]: cmd.EFW_ARM(3) #Checksum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[169]: cmd.EFW_DUMPTABL(12,0) #Dump and Spot Check Instruments/EFW/scripts/FSW\TEST_LDS.py[170]: cmd.EFW_TMDUMPCTR(255) #Indefinitely Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[176]: DUMPADR( 0x6100 ) Instruments/EFW/scripts\UTIL.py[61]: cmd.EFW_DUMPADRX( (addr >> 24 )& 0xff ) Instruments/EFW/scripts\UTIL.py[62]: cmd.EFW_DUMPADRE( (addr >> 16 )& 0xff ) Instruments/EFW/scripts\UTIL.py[63]: cmd.EFW_DUMPADRH( (addr >> 8 )& 0xff ) Instruments/EFW/scripts\UTIL.py[64]: cmd.EFW_DUMPADRL( addr & 0xff ) Instruments/EFW/scripts\UTIL.py[65]: cmd.EFW_TMDUMPCTR(255) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[182]: cmd.EFW_TMDUMPCTR(0) #Turn off dump Instruments/EFW/scripts/FSW\TEST_LDS.py[183]: log(' SCRIPT LOADING VERIFIED ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[248]: run_script() #Run and check script Instruments/EFW/scripts/FSW\TEST_LDS.py[189]: log(' SCRIPT EXECUTION TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[190]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[191]: cmd.EFW_SCRIPT(0xEF) #Should Start LEDs going Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[194]: sleep(10) Instruments/EFW/scripts/FSW\TEST_LDS.py[195]: cmd.EFW_SCRIPT(00) #Stop script Instruments/EFW/scripts/FSW\TEST_LDS.py[196]: cmd.EFW_TMPKTRATE( 4, 4 ) #Set APID 267 to 1/4Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[197]: log(' SCRIPT EXECUTION COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[249]: request_playbacks( fm ) #Determine what Burst1's to play Instruments/EFW/scripts/FSW\TEST_LDS.py[224]: log(' REQUESTING BURST1 PLAYBACKS ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[225]: log("FMAX %4x" % fm) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[227]: rp = APID_263.B1_RECPTR Instruments/EFW/scripts/FSW\TEST_LDS.py[228]: if( APID_263.B1_PLAYREQ < 10 ): Instruments/EFW/scripts/FSW\TEST_LDS.py[239]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[240]: log(' BURST1 PLAYLIST HAS %d REQUESTS '% APID_263.B1_PLAYREQ, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[354]: generate_report(ps) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[257]: filename = 'FSW_LDS'+str(ps)+'_AP263.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[258]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[259]: print_window('Instruments/EFW/screens/APID_263.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[261]: wait(APID_267, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[262]: filename = 'FSW_LDS'+str(ps)+'_AP267.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[263]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[264]: print_window('Instruments/EFW/screens/APID_267.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[266]: filename = 'FSW_LDS'+str(ps)+'_TlmRates.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[267]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[268]: print_window('Instruments/EFW/screens/CCSDS_tlm_rates.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[270]: log(' TELEMETRY RECEIVED (CUMULATIVE) @ PASS(%d)' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[271]: hsk = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[272]: rt = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[273]: b1 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[274]: b2 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[285]: tot = hsk+rt+b1+b2 Instruments/EFW/scripts/FSW\TEST_LDS.py[286]: fhsk = hsk/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[287]: frt = rt/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[288]: fb1 = b1/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[289]: fb2 = b2/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[290]: ftot= tot/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[291]: log(' HSK = %7.3f MB ' % fhsk, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[292]: log(' RealTime = %7.3f MB ' % frt, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[293]: log(' Burst1 = %7.3f MB ' % fb1, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[294]: log(' Burst2 = %7.3f MB ' % fb2, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[295]: log(' Total = %7.3f MB ' % ftot, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[297]: log(' THERE ARE %d ERRORS ' % APID_267.ERRCTR, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[355]: sleep(3600) Instruments/EFW/scripts/FSW\TEST_LDS.py[351]: for ps in range(72): Instruments/EFW/scripts/FSW\TEST_LDS.py[352]: log('3.%d COMMAND PASS SIMULATION ' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[353]: simulate_pass(FMAX) Instruments/EFW/scripts/FSW\TEST_LDS.py[246]: serial_cmd_stress_test() #Command at Max Rate Instruments/EFW/scripts/FSW\TEST_LDS.py[204]: log(' SERIAL COMMAND TEST AT MAX RATE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[205]: cmd.EFW_CMDS( 250 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[209]: for i in range( 250 ): cmd.EFW_ADRL( 0 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[211]: try: Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[217]: log(' SERIAL COMMAND TEST COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[247]: load_scripts() #Load & Dump Scripts Instruments/EFW/scripts/FSW\TEST_LDS.py[155]: log(' SCRIPT LOADING TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[156]: cmd.EFW_CMDS( 6 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[157]: cmd.EFW_SRMWRTCTL(0) #Unprotect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[158]: cmd.EFW_DISARM(3) #Don't csum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[161]: efw.idpu_load("00006000", " e0 e1 00 00 00 00 00 00 00 00 00 00 00 00 ee ef 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 00 a3 7f c1 01 e4 00 00 00 00 00 00 00 00 00 00 00 a3 7f c1 00 a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[162]: efw.idpu_load("00006100", " 1d c1 02 bb ee c2 00 00 00 00 00 00 00 00 00 00 01 ff 0f c1 03 ff 0f c1 06 ff 0f c1 0c ff 0f c1 18 ff 0f c1 30 ff 0f c1 60 ff 0f c1 c0 ff 0f c1 80 ff 0f c1 00 ff 0f c1 ef c2 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[165]: cmd.EFW_SRMWRTCTL(1) #Protect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[166]: cmd.EFW_ARM(3) #Checksum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[169]: cmd.EFW_DUMPTABL(12,0) #Dump and Spot Check Instruments/EFW/scripts/FSW\TEST_LDS.py[170]: cmd.EFW_TMDUMPCTR(255) #Indefinitely Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[176]: DUMPADR( 0x6100 ) Instruments/EFW/scripts\UTIL.py[61]: cmd.EFW_DUMPADRX( (addr >> 24 )& 0xff ) Instruments/EFW/scripts\UTIL.py[62]: cmd.EFW_DUMPADRE( (addr >> 16 )& 0xff ) Instruments/EFW/scripts\UTIL.py[63]: cmd.EFW_DUMPADRH( (addr >> 8 )& 0xff ) Instruments/EFW/scripts\UTIL.py[64]: cmd.EFW_DUMPADRL( addr & 0xff ) Instruments/EFW/scripts\UTIL.py[65]: cmd.EFW_TMDUMPCTR(255) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[182]: cmd.EFW_TMDUMPCTR(0) #Turn off dump Instruments/EFW/scripts/FSW\TEST_LDS.py[183]: log(' SCRIPT LOADING VERIFIED ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[248]: run_script() #Run and check script Instruments/EFW/scripts/FSW\TEST_LDS.py[189]: log(' SCRIPT EXECUTION TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[190]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[191]: cmd.EFW_SCRIPT(0xEF) #Should Start LEDs going Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[194]: sleep(10) Instruments/EFW/scripts/FSW\TEST_LDS.py[195]: cmd.EFW_SCRIPT(00) #Stop script Instruments/EFW/scripts/FSW\TEST_LDS.py[196]: cmd.EFW_TMPKTRATE( 4, 4 ) #Set APID 267 to 1/4Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[197]: log(' SCRIPT EXECUTION COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[249]: request_playbacks( fm ) #Determine what Burst1's to play Instruments/EFW/scripts/FSW\TEST_LDS.py[224]: log(' REQUESTING BURST1 PLAYBACKS ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[225]: log("FMAX %4x" % fm) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[227]: rp = APID_263.B1_RECPTR Instruments/EFW/scripts/FSW\TEST_LDS.py[228]: if( APID_263.B1_PLAYREQ < 10 ): Instruments/EFW/scripts/FSW\TEST_LDS.py[229]: blk = (rp - 800 ) & fm #Play from 800 blocks back Instruments/EFW/scripts/FSW\TEST_LDS.py[230]: log("QUEUEING Block %4x" % blk) Instruments/EFW/scripts/FSW\TEST_LDS.py[231]: QUEUE_B1PLAYBACK( blk, 32 ) #32 blocks should take 20 min Instruments/EFW/scripts\UTIL.py[50]: cmd.EFW_B1_SETREQDTA( (block >> 2) & 0xff ) Instruments/EFW/scripts\UTIL.py[51]: cmd.EFW_B1_SETREQDTA( (block >> 10)& 0xff ) Instruments/EFW/scripts\UTIL.py[52]: cmd.EFW_B1_SETREQDTA( leng & 0xff ) Instruments/EFW/scripts\UTIL.py[53]: cmd.EFW_B1_SETREQDTA( (leng >> 8 ) & 0xff ) Instruments/EFW/scripts/FSW\TEST_LDS.py[232]: blk = (rp - 500 ) & fm #Play from 500 blocks back Instruments/EFW/scripts/FSW\TEST_LDS.py[233]: log("QUEUEING Block %4x" % blk) Instruments/EFW/scripts/FSW\TEST_LDS.py[234]: QUEUE_B1PLAYBACK( blk, 32 ) #32 blocks should take 20 min Instruments/EFW/scripts\UTIL.py[50]: cmd.EFW_B1_SETREQDTA( (block >> 2) & 0xff ) Instruments/EFW/scripts\UTIL.py[51]: cmd.EFW_B1_SETREQDTA( (block >> 10)& 0xff ) Instruments/EFW/scripts\UTIL.py[52]: cmd.EFW_B1_SETREQDTA( leng & 0xff ) Instruments/EFW/scripts\UTIL.py[53]: cmd.EFW_B1_SETREQDTA( (leng >> 8 ) & 0xff ) Instruments/EFW/scripts/FSW\TEST_LDS.py[235]: blk = (rp - 200 ) & fm #Play from 200 blocks back Instruments/EFW/scripts/FSW\TEST_LDS.py[236]: log("QUEUEING Block %4x" % blk) Instruments/EFW/scripts/FSW\TEST_LDS.py[237]: QUEUE_B1PLAYBACK( blk, 64 ) #32 blocks should take 40 min Instruments/EFW/scripts\UTIL.py[50]: cmd.EFW_B1_SETREQDTA( (block >> 2) & 0xff ) Instruments/EFW/scripts\UTIL.py[51]: cmd.EFW_B1_SETREQDTA( (block >> 10)& 0xff ) Instruments/EFW/scripts\UTIL.py[52]: cmd.EFW_B1_SETREQDTA( leng & 0xff ) Instruments/EFW/scripts\UTIL.py[53]: cmd.EFW_B1_SETREQDTA( (leng >> 8 ) & 0xff ) Instruments/EFW/scripts/FSW\TEST_LDS.py[238]: sleep(8) Instruments/EFW/scripts/FSW\TEST_LDS.py[239]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[240]: log(' BURST1 PLAYLIST HAS %d REQUESTS '% APID_263.B1_PLAYREQ, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[354]: generate_report(ps) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[257]: filename = 'FSW_LDS'+str(ps)+'_AP263.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[258]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[259]: print_window('Instruments/EFW/screens/APID_263.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[261]: wait(APID_267, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[262]: filename = 'FSW_LDS'+str(ps)+'_AP267.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[263]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[264]: print_window('Instruments/EFW/screens/APID_267.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[266]: filename = 'FSW_LDS'+str(ps)+'_TlmRates.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[267]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[268]: print_window('Instruments/EFW/screens/CCSDS_tlm_rates.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[270]: log(' TELEMETRY RECEIVED (CUMULATIVE) @ PASS(%d)' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[271]: hsk = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[272]: rt = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[273]: b1 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[274]: b2 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[285]: tot = hsk+rt+b1+b2 Instruments/EFW/scripts/FSW\TEST_LDS.py[286]: fhsk = hsk/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[287]: frt = rt/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[288]: fb1 = b1/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[289]: fb2 = b2/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[290]: ftot= tot/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[291]: log(' HSK = %7.3f MB ' % fhsk, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[292]: log(' RealTime = %7.3f MB ' % frt, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[293]: log(' Burst1 = %7.3f MB ' % fb1, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[294]: log(' Burst2 = %7.3f MB ' % fb2, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[295]: log(' Total = %7.3f MB ' % ftot, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[297]: log(' THERE ARE %d ERRORS ' % APID_267.ERRCTR, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[355]: sleep(3600) Instruments/EFW/scripts/FSW\TEST_LDS.py[351]: for ps in range(72): Instruments/EFW/scripts/FSW\TEST_LDS.py[352]: log('3.%d COMMAND PASS SIMULATION ' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[353]: simulate_pass(FMAX) Instruments/EFW/scripts/FSW\TEST_LDS.py[246]: serial_cmd_stress_test() #Command at Max Rate Instruments/EFW/scripts/FSW\TEST_LDS.py[204]: log(' SERIAL COMMAND TEST AT MAX RATE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[205]: cmd.EFW_CMDS( 250 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[209]: for i in range( 250 ): cmd.EFW_ADRL( 0 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[211]: try: Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[217]: log(' SERIAL COMMAND TEST COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[247]: load_scripts() #Load & Dump Scripts Instruments/EFW/scripts/FSW\TEST_LDS.py[155]: log(' SCRIPT LOADING TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[156]: cmd.EFW_CMDS( 6 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[157]: cmd.EFW_SRMWRTCTL(0) #Unprotect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[158]: cmd.EFW_DISARM(3) #Don't csum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[161]: efw.idpu_load("00006000", " e0 e1 00 00 00 00 00 00 00 00 00 00 00 00 ee ef 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 00 a3 7f c1 01 e4 00 00 00 00 00 00 00 00 00 00 00 a3 7f c1 00 a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[162]: efw.idpu_load("00006100", " 1d c1 02 bb ee c2 00 00 00 00 00 00 00 00 00 00 01 ff 0f c1 03 ff 0f c1 06 ff 0f c1 0c ff 0f c1 18 ff 0f c1 30 ff 0f c1 60 ff 0f c1 c0 ff 0f c1 80 ff 0f c1 00 ff 0f c1 ef c2 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[165]: cmd.EFW_SRMWRTCTL(1) #Protect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[166]: cmd.EFW_ARM(3) #Checksum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[169]: cmd.EFW_DUMPTABL(12,0) #Dump and Spot Check Instruments/EFW/scripts/FSW\TEST_LDS.py[170]: cmd.EFW_TMDUMPCTR(255) #Indefinitely Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[176]: DUMPADR( 0x6100 ) Instruments/EFW/scripts\UTIL.py[61]: cmd.EFW_DUMPADRX( (addr >> 24 )& 0xff ) Instruments/EFW/scripts\UTIL.py[62]: cmd.EFW_DUMPADRE( (addr >> 16 )& 0xff ) Instruments/EFW/scripts\UTIL.py[63]: cmd.EFW_DUMPADRH( (addr >> 8 )& 0xff ) Instruments/EFW/scripts\UTIL.py[64]: cmd.EFW_DUMPADRL( addr & 0xff ) Instruments/EFW/scripts\UTIL.py[65]: cmd.EFW_TMDUMPCTR(255) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[182]: cmd.EFW_TMDUMPCTR(0) #Turn off dump Instruments/EFW/scripts/FSW\TEST_LDS.py[183]: log(' SCRIPT LOADING VERIFIED ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[248]: run_script() #Run and check script Instruments/EFW/scripts/FSW\TEST_LDS.py[189]: log(' SCRIPT EXECUTION TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[190]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[191]: cmd.EFW_SCRIPT(0xEF) #Should Start LEDs going Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[194]: sleep(10) Instruments/EFW/scripts/FSW\TEST_LDS.py[195]: cmd.EFW_SCRIPT(00) #Stop script Instruments/EFW/scripts/FSW\TEST_LDS.py[196]: cmd.EFW_TMPKTRATE( 4, 4 ) #Set APID 267 to 1/4Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[197]: log(' SCRIPT EXECUTION COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[249]: request_playbacks( fm ) #Determine what Burst1's to play Instruments/EFW/scripts/FSW\TEST_LDS.py[224]: log(' REQUESTING BURST1 PLAYBACKS ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[225]: log("FMAX %4x" % fm) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[227]: rp = APID_263.B1_RECPTR Instruments/EFW/scripts/FSW\TEST_LDS.py[228]: if( APID_263.B1_PLAYREQ < 10 ): Instruments/EFW/scripts/FSW\TEST_LDS.py[239]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[240]: log(' BURST1 PLAYLIST HAS %d REQUESTS '% APID_263.B1_PLAYREQ, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[354]: generate_report(ps) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[257]: filename = 'FSW_LDS'+str(ps)+'_AP263.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[258]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[259]: print_window('Instruments/EFW/screens/APID_263.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[261]: wait(APID_267, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[262]: filename = 'FSW_LDS'+str(ps)+'_AP267.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[263]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[264]: print_window('Instruments/EFW/screens/APID_267.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[266]: filename = 'FSW_LDS'+str(ps)+'_TlmRates.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[267]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[268]: print_window('Instruments/EFW/screens/CCSDS_tlm_rates.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[270]: log(' TELEMETRY RECEIVED (CUMULATIVE) @ PASS(%d)' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[271]: hsk = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[272]: rt = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[273]: b1 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[274]: b2 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[285]: tot = hsk+rt+b1+b2 Instruments/EFW/scripts/FSW\TEST_LDS.py[286]: fhsk = hsk/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[287]: frt = rt/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[288]: fb1 = b1/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[289]: fb2 = b2/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[290]: ftot= tot/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[291]: log(' HSK = %7.3f MB ' % fhsk, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[292]: log(' RealTime = %7.3f MB ' % frt, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[293]: log(' Burst1 = %7.3f MB ' % fb1, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[294]: log(' Burst2 = %7.3f MB ' % fb2, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[295]: log(' Total = %7.3f MB ' % ftot, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[297]: log(' THERE ARE %d ERRORS ' % APID_267.ERRCTR, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[355]: sleep(3600) Instruments/EFW/scripts/FSW\TEST_LDS.py[351]: for ps in range(72): Instruments/EFW/scripts/FSW\TEST_LDS.py[352]: log('3.%d COMMAND PASS SIMULATION ' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[353]: simulate_pass(FMAX) Instruments/EFW/scripts/FSW\TEST_LDS.py[246]: serial_cmd_stress_test() #Command at Max Rate Instruments/EFW/scripts/FSW\TEST_LDS.py[204]: log(' SERIAL COMMAND TEST AT MAX RATE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[205]: cmd.EFW_CMDS( 250 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[209]: for i in range( 250 ): cmd.EFW_ADRL( 0 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[211]: try: Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[217]: log(' SERIAL COMMAND TEST COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[247]: load_scripts() #Load & Dump Scripts Instruments/EFW/scripts/FSW\TEST_LDS.py[155]: log(' SCRIPT LOADING TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[156]: cmd.EFW_CMDS( 6 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[157]: cmd.EFW_SRMWRTCTL(0) #Unprotect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[158]: cmd.EFW_DISARM(3) #Don't csum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[161]: efw.idpu_load("00006000", " e0 e1 00 00 00 00 00 00 00 00 00 00 00 00 ee ef 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 00 a3 7f c1 01 e4 00 00 00 00 00 00 00 00 00 00 00 a3 7f c1 00 a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[162]: efw.idpu_load("00006100", " 1d c1 02 bb ee c2 00 00 00 00 00 00 00 00 00 00 01 ff 0f c1 03 ff 0f c1 06 ff 0f c1 0c ff 0f c1 18 ff 0f c1 30 ff 0f c1 60 ff 0f c1 c0 ff 0f c1 80 ff 0f c1 00 ff 0f c1 ef c2 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[165]: cmd.EFW_SRMWRTCTL(1) #Protect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[166]: cmd.EFW_ARM(3) #Checksum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[169]: cmd.EFW_DUMPTABL(12,0) #Dump and Spot Check Instruments/EFW/scripts/FSW\TEST_LDS.py[170]: cmd.EFW_TMDUMPCTR(255) #Indefinitely Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[176]: DUMPADR( 0x6100 ) Instruments/EFW/scripts\UTIL.py[61]: cmd.EFW_DUMPADRX( (addr >> 24 )& 0xff ) Instruments/EFW/scripts\UTIL.py[62]: cmd.EFW_DUMPADRE( (addr >> 16 )& 0xff ) Instruments/EFW/scripts\UTIL.py[63]: cmd.EFW_DUMPADRH( (addr >> 8 )& 0xff ) Instruments/EFW/scripts\UTIL.py[64]: cmd.EFW_DUMPADRL( addr & 0xff ) Instruments/EFW/scripts\UTIL.py[65]: cmd.EFW_TMDUMPCTR(255) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[182]: cmd.EFW_TMDUMPCTR(0) #Turn off dump Instruments/EFW/scripts/FSW\TEST_LDS.py[183]: log(' SCRIPT LOADING VERIFIED ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[248]: run_script() #Run and check script Instruments/EFW/scripts/FSW\TEST_LDS.py[189]: log(' SCRIPT EXECUTION TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[190]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[191]: cmd.EFW_SCRIPT(0xEF) #Should Start LEDs going Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[194]: sleep(10) Instruments/EFW/scripts/FSW\TEST_LDS.py[195]: cmd.EFW_SCRIPT(00) #Stop script Instruments/EFW/scripts/FSW\TEST_LDS.py[196]: cmd.EFW_TMPKTRATE( 4, 4 ) #Set APID 267 to 1/4Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[197]: log(' SCRIPT EXECUTION COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[249]: request_playbacks( fm ) #Determine what Burst1's to play Instruments/EFW/scripts/FSW\TEST_LDS.py[224]: log(' REQUESTING BURST1 PLAYBACKS ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[225]: log("FMAX %4x" % fm) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[227]: rp = APID_263.B1_RECPTR Instruments/EFW/scripts/FSW\TEST_LDS.py[228]: if( APID_263.B1_PLAYREQ < 10 ): Instruments/EFW/scripts/FSW\TEST_LDS.py[229]: blk = (rp - 800 ) & fm #Play from 800 blocks back Instruments/EFW/scripts/FSW\TEST_LDS.py[230]: log("QUEUEING Block %4x" % blk) Instruments/EFW/scripts/FSW\TEST_LDS.py[231]: QUEUE_B1PLAYBACK( blk, 32 ) #32 blocks should take 20 min Instruments/EFW/scripts\UTIL.py[50]: cmd.EFW_B1_SETREQDTA( (block >> 2) & 0xff ) Instruments/EFW/scripts\UTIL.py[51]: cmd.EFW_B1_SETREQDTA( (block >> 10)& 0xff ) Instruments/EFW/scripts\UTIL.py[52]: cmd.EFW_B1_SETREQDTA( leng & 0xff ) Instruments/EFW/scripts\UTIL.py[53]: cmd.EFW_B1_SETREQDTA( (leng >> 8 ) & 0xff ) Instruments/EFW/scripts/FSW\TEST_LDS.py[232]: blk = (rp - 500 ) & fm #Play from 500 blocks back Instruments/EFW/scripts/FSW\TEST_LDS.py[233]: log("QUEUEING Block %4x" % blk) Instruments/EFW/scripts/FSW\TEST_LDS.py[234]: QUEUE_B1PLAYBACK( blk, 32 ) #32 blocks should take 20 min Instruments/EFW/scripts\UTIL.py[50]: cmd.EFW_B1_SETREQDTA( (block >> 2) & 0xff ) Instruments/EFW/scripts\UTIL.py[51]: cmd.EFW_B1_SETREQDTA( (block >> 10)& 0xff ) Instruments/EFW/scripts\UTIL.py[52]: cmd.EFW_B1_SETREQDTA( leng & 0xff ) Instruments/EFW/scripts\UTIL.py[53]: cmd.EFW_B1_SETREQDTA( (leng >> 8 ) & 0xff ) Instruments/EFW/scripts/FSW\TEST_LDS.py[235]: blk = (rp - 200 ) & fm #Play from 200 blocks back Instruments/EFW/scripts/FSW\TEST_LDS.py[236]: log("QUEUEING Block %4x" % blk) Instruments/EFW/scripts/FSW\TEST_LDS.py[237]: QUEUE_B1PLAYBACK( blk, 64 ) #32 blocks should take 40 min Instruments/EFW/scripts\UTIL.py[50]: cmd.EFW_B1_SETREQDTA( (block >> 2) & 0xff ) Instruments/EFW/scripts\UTIL.py[51]: cmd.EFW_B1_SETREQDTA( (block >> 10)& 0xff ) Instruments/EFW/scripts\UTIL.py[52]: cmd.EFW_B1_SETREQDTA( leng & 0xff ) Instruments/EFW/scripts\UTIL.py[53]: cmd.EFW_B1_SETREQDTA( (leng >> 8 ) & 0xff ) Instruments/EFW/scripts/FSW\TEST_LDS.py[238]: sleep(8) Instruments/EFW/scripts/FSW\TEST_LDS.py[239]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[240]: log(' BURST1 PLAYLIST HAS %d REQUESTS '% APID_263.B1_PLAYREQ, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[354]: generate_report(ps) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[257]: filename = 'FSW_LDS'+str(ps)+'_AP263.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[258]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[259]: print_window('Instruments/EFW/screens/APID_263.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[261]: wait(APID_267, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[262]: filename = 'FSW_LDS'+str(ps)+'_AP267.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[263]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[264]: print_window('Instruments/EFW/screens/APID_267.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[266]: filename = 'FSW_LDS'+str(ps)+'_TlmRates.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[267]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[268]: print_window('Instruments/EFW/screens/CCSDS_tlm_rates.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[270]: log(' TELEMETRY RECEIVED (CUMULATIVE) @ PASS(%d)' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[271]: hsk = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[272]: rt = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[273]: b1 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[274]: b2 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[285]: tot = hsk+rt+b1+b2 Instruments/EFW/scripts/FSW\TEST_LDS.py[286]: fhsk = hsk/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[287]: frt = rt/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[288]: fb1 = b1/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[289]: fb2 = b2/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[290]: ftot= tot/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[291]: log(' HSK = %7.3f MB ' % fhsk, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[292]: log(' RealTime = %7.3f MB ' % frt, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[293]: log(' Burst1 = %7.3f MB ' % fb1, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[294]: log(' Burst2 = %7.3f MB ' % fb2, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[295]: log(' Total = %7.3f MB ' % ftot, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[297]: log(' THERE ARE %d ERRORS ' % APID_267.ERRCTR, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[355]: sleep(3600) Instruments/EFW/scripts/FSW\TEST_LDS.py[351]: for ps in range(72): Instruments/EFW/scripts/FSW\TEST_LDS.py[352]: log('3.%d COMMAND PASS SIMULATION ' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[353]: simulate_pass(FMAX) Instruments/EFW/scripts/FSW\TEST_LDS.py[246]: serial_cmd_stress_test() #Command at Max Rate Instruments/EFW/scripts/FSW\TEST_LDS.py[204]: log(' SERIAL COMMAND TEST AT MAX RATE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[205]: cmd.EFW_CMDS( 250 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[209]: for i in range( 250 ): cmd.EFW_ADRL( 0 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[211]: try: Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[217]: log(' SERIAL COMMAND TEST COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[247]: load_scripts() #Load & Dump Scripts Instruments/EFW/scripts/FSW\TEST_LDS.py[155]: log(' SCRIPT LOADING TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[156]: cmd.EFW_CMDS( 6 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[157]: cmd.EFW_SRMWRTCTL(0) #Unprotect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[158]: cmd.EFW_DISARM(3) #Don't csum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[161]: efw.idpu_load("00006000", " e0 e1 00 00 00 00 00 00 00 00 00 00 00 00 ee ef 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 00 a3 7f c1 01 e4 00 00 00 00 00 00 00 00 00 00 00 a3 7f c1 00 a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[162]: efw.idpu_load("00006100", " 1d c1 02 bb ee c2 00 00 00 00 00 00 00 00 00 00 01 ff 0f c1 03 ff 0f c1 06 ff 0f c1 0c ff 0f c1 18 ff 0f c1 30 ff 0f c1 60 ff 0f c1 c0 ff 0f c1 80 ff 0f c1 00 ff 0f c1 ef c2 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[165]: cmd.EFW_SRMWRTCTL(1) #Protect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[166]: cmd.EFW_ARM(3) #Checksum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[169]: cmd.EFW_DUMPTABL(12,0) #Dump and Spot Check Instruments/EFW/scripts/FSW\TEST_LDS.py[170]: cmd.EFW_TMDUMPCTR(255) #Indefinitely Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[176]: DUMPADR( 0x6100 ) Instruments/EFW/scripts\UTIL.py[61]: cmd.EFW_DUMPADRX( (addr >> 24 )& 0xff ) Instruments/EFW/scripts\UTIL.py[62]: cmd.EFW_DUMPADRE( (addr >> 16 )& 0xff ) Instruments/EFW/scripts\UTIL.py[63]: cmd.EFW_DUMPADRH( (addr >> 8 )& 0xff ) Instruments/EFW/scripts\UTIL.py[64]: cmd.EFW_DUMPADRL( addr & 0xff ) Instruments/EFW/scripts\UTIL.py[65]: cmd.EFW_TMDUMPCTR(255) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[182]: cmd.EFW_TMDUMPCTR(0) #Turn off dump Instruments/EFW/scripts/FSW\TEST_LDS.py[183]: log(' SCRIPT LOADING VERIFIED ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[248]: run_script() #Run and check script Instruments/EFW/scripts/FSW\TEST_LDS.py[189]: log(' SCRIPT EXECUTION TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[190]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[191]: cmd.EFW_SCRIPT(0xEF) #Should Start LEDs going Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[194]: sleep(10) Instruments/EFW/scripts/FSW\TEST_LDS.py[195]: cmd.EFW_SCRIPT(00) #Stop script Instruments/EFW/scripts/FSW\TEST_LDS.py[196]: cmd.EFW_TMPKTRATE( 4, 4 ) #Set APID 267 to 1/4Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[197]: log(' SCRIPT EXECUTION COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[249]: request_playbacks( fm ) #Determine what Burst1's to play Instruments/EFW/scripts/FSW\TEST_LDS.py[224]: log(' REQUESTING BURST1 PLAYBACKS ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[225]: log("FMAX %4x" % fm) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[227]: rp = APID_263.B1_RECPTR Instruments/EFW/scripts/FSW\TEST_LDS.py[228]: if( APID_263.B1_PLAYREQ < 10 ): Instruments/EFW/scripts/FSW\TEST_LDS.py[239]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[240]: log(' BURST1 PLAYLIST HAS %d REQUESTS '% APID_263.B1_PLAYREQ, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[354]: generate_report(ps) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[257]: filename = 'FSW_LDS'+str(ps)+'_AP263.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[258]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[259]: print_window('Instruments/EFW/screens/APID_263.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[261]: wait(APID_267, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[262]: filename = 'FSW_LDS'+str(ps)+'_AP267.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[263]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[264]: print_window('Instruments/EFW/screens/APID_267.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[266]: filename = 'FSW_LDS'+str(ps)+'_TlmRates.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[267]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[268]: print_window('Instruments/EFW/screens/CCSDS_tlm_rates.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[270]: log(' TELEMETRY RECEIVED (CUMULATIVE) @ PASS(%d)' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[271]: hsk = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[272]: rt = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[273]: b1 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[274]: b2 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[285]: tot = hsk+rt+b1+b2 Instruments/EFW/scripts/FSW\TEST_LDS.py[286]: fhsk = hsk/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[287]: frt = rt/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[288]: fb1 = b1/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[289]: fb2 = b2/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[290]: ftot= tot/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[291]: log(' HSK = %7.3f MB ' % fhsk, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[292]: log(' RealTime = %7.3f MB ' % frt, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[293]: log(' Burst1 = %7.3f MB ' % fb1, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[294]: log(' Burst2 = %7.3f MB ' % fb2, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[295]: log(' Total = %7.3f MB ' % ftot, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[297]: log(' THERE ARE %d ERRORS ' % APID_267.ERRCTR, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[355]: sleep(3600) Instruments/EFW/scripts/FSW\TEST_LDS.py[351]: for ps in range(72): Instruments/EFW/scripts/FSW\TEST_LDS.py[352]: log('3.%d COMMAND PASS SIMULATION ' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[353]: simulate_pass(FMAX) Instruments/EFW/scripts/FSW\TEST_LDS.py[246]: serial_cmd_stress_test() #Command at Max Rate Instruments/EFW/scripts/FSW\TEST_LDS.py[204]: log(' SERIAL COMMAND TEST AT MAX RATE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[205]: cmd.EFW_CMDS( 250 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[209]: for i in range( 250 ): cmd.EFW_ADRL( 0 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[211]: try: Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[217]: log(' SERIAL COMMAND TEST COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[247]: load_scripts() #Load & Dump Scripts Instruments/EFW/scripts/FSW\TEST_LDS.py[155]: log(' SCRIPT LOADING TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[156]: cmd.EFW_CMDS( 6 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[157]: cmd.EFW_SRMWRTCTL(0) #Unprotect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[158]: cmd.EFW_DISARM(3) #Don't csum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[161]: efw.idpu_load("00006000", " e0 e1 00 00 00 00 00 00 00 00 00 00 00 00 ee ef 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 00 a3 7f c1 01 e4 00 00 00 00 00 00 00 00 00 00 00 a3 7f c1 00 a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[162]: efw.idpu_load("00006100", " 1d c1 02 bb ee c2 00 00 00 00 00 00 00 00 00 00 01 ff 0f c1 03 ff 0f c1 06 ff 0f c1 0c ff 0f c1 18 ff 0f c1 30 ff 0f c1 60 ff 0f c1 c0 ff 0f c1 80 ff 0f c1 00 ff 0f c1 ef c2 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[165]: cmd.EFW_SRMWRTCTL(1) #Protect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[166]: cmd.EFW_ARM(3) #Checksum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[169]: cmd.EFW_DUMPTABL(12,0) #Dump and Spot Check Instruments/EFW/scripts/FSW\TEST_LDS.py[170]: cmd.EFW_TMDUMPCTR(255) #Indefinitely Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[176]: DUMPADR( 0x6100 ) Instruments/EFW/scripts\UTIL.py[61]: cmd.EFW_DUMPADRX( (addr >> 24 )& 0xff ) Instruments/EFW/scripts\UTIL.py[62]: cmd.EFW_DUMPADRE( (addr >> 16 )& 0xff ) Instruments/EFW/scripts\UTIL.py[63]: cmd.EFW_DUMPADRH( (addr >> 8 )& 0xff ) Instruments/EFW/scripts\UTIL.py[64]: cmd.EFW_DUMPADRL( addr & 0xff ) Instruments/EFW/scripts\UTIL.py[65]: cmd.EFW_TMDUMPCTR(255) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[182]: cmd.EFW_TMDUMPCTR(0) #Turn off dump Instruments/EFW/scripts/FSW\TEST_LDS.py[183]: log(' SCRIPT LOADING VERIFIED ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[248]: run_script() #Run and check script Instruments/EFW/scripts/FSW\TEST_LDS.py[189]: log(' SCRIPT EXECUTION TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[190]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[191]: cmd.EFW_SCRIPT(0xEF) #Should Start LEDs going Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[194]: sleep(10) Instruments/EFW/scripts/FSW\TEST_LDS.py[195]: cmd.EFW_SCRIPT(00) #Stop script Instruments/EFW/scripts/FSW\TEST_LDS.py[196]: cmd.EFW_TMPKTRATE( 4, 4 ) #Set APID 267 to 1/4Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[197]: log(' SCRIPT EXECUTION COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[249]: request_playbacks( fm ) #Determine what Burst1's to play Instruments/EFW/scripts/FSW\TEST_LDS.py[224]: log(' REQUESTING BURST1 PLAYBACKS ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[225]: log("FMAX %4x" % fm) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[227]: rp = APID_263.B1_RECPTR Instruments/EFW/scripts/FSW\TEST_LDS.py[228]: if( APID_263.B1_PLAYREQ < 10 ): Instruments/EFW/scripts/FSW\TEST_LDS.py[239]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[240]: log(' BURST1 PLAYLIST HAS %d REQUESTS '% APID_263.B1_PLAYREQ, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[354]: generate_report(ps) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[257]: filename = 'FSW_LDS'+str(ps)+'_AP263.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[258]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[259]: print_window('Instruments/EFW/screens/APID_263.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[261]: wait(APID_267, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[262]: filename = 'FSW_LDS'+str(ps)+'_AP267.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[263]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[264]: print_window('Instruments/EFW/screens/APID_267.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[266]: filename = 'FSW_LDS'+str(ps)+'_TlmRates.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[267]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[268]: print_window('Instruments/EFW/screens/CCSDS_tlm_rates.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[270]: log(' TELEMETRY RECEIVED (CUMULATIVE) @ PASS(%d)' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[271]: hsk = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[272]: rt = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[273]: b1 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[274]: b2 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[285]: tot = hsk+rt+b1+b2 Instruments/EFW/scripts/FSW\TEST_LDS.py[286]: fhsk = hsk/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[287]: frt = rt/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[288]: fb1 = b1/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[289]: fb2 = b2/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[290]: ftot= tot/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[291]: log(' HSK = %7.3f MB ' % fhsk, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[292]: log(' RealTime = %7.3f MB ' % frt, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[293]: log(' Burst1 = %7.3f MB ' % fb1, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[294]: log(' Burst2 = %7.3f MB ' % fb2, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[295]: log(' Total = %7.3f MB ' % ftot, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[297]: log(' THERE ARE %d ERRORS ' % APID_267.ERRCTR, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[355]: sleep(3600) Instruments/EFW/scripts/FSW\TEST_LDS.py[351]: for ps in range(72): Instruments/EFW/scripts/FSW\TEST_LDS.py[352]: log('3.%d COMMAND PASS SIMULATION ' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[353]: simulate_pass(FMAX) Instruments/EFW/scripts/FSW\TEST_LDS.py[246]: serial_cmd_stress_test() #Command at Max Rate Instruments/EFW/scripts/FSW\TEST_LDS.py[204]: log(' SERIAL COMMAND TEST AT MAX RATE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[205]: cmd.EFW_CMDS( 250 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[209]: for i in range( 250 ): cmd.EFW_ADRL( 0 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[211]: try: Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[217]: log(' SERIAL COMMAND TEST COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[247]: load_scripts() #Load & Dump Scripts Instruments/EFW/scripts/FSW\TEST_LDS.py[155]: log(' SCRIPT LOADING TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[156]: cmd.EFW_CMDS( 6 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[157]: cmd.EFW_SRMWRTCTL(0) #Unprotect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[158]: cmd.EFW_DISARM(3) #Don't csum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[161]: efw.idpu_load("00006000", " e0 e1 00 00 00 00 00 00 00 00 00 00 00 00 ee ef 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 00 a3 7f c1 01 e4 00 00 00 00 00 00 00 00 00 00 00 a3 7f c1 00 a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[162]: efw.idpu_load("00006100", " 1d c1 02 bb ee c2 00 00 00 00 00 00 00 00 00 00 01 ff 0f c1 03 ff 0f c1 06 ff 0f c1 0c ff 0f c1 18 ff 0f c1 30 ff 0f c1 60 ff 0f c1 c0 ff 0f c1 80 ff 0f c1 00 ff 0f c1 ef c2 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[165]: cmd.EFW_SRMWRTCTL(1) #Protect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[166]: cmd.EFW_ARM(3) #Checksum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[169]: cmd.EFW_DUMPTABL(12,0) #Dump and Spot Check Instruments/EFW/scripts/FSW\TEST_LDS.py[170]: cmd.EFW_TMDUMPCTR(255) #Indefinitely Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[176]: DUMPADR( 0x6100 ) Instruments/EFW/scripts\UTIL.py[61]: cmd.EFW_DUMPADRX( (addr >> 24 )& 0xff ) Instruments/EFW/scripts\UTIL.py[62]: cmd.EFW_DUMPADRE( (addr >> 16 )& 0xff ) Instruments/EFW/scripts\UTIL.py[63]: cmd.EFW_DUMPADRH( (addr >> 8 )& 0xff ) Instruments/EFW/scripts\UTIL.py[64]: cmd.EFW_DUMPADRL( addr & 0xff ) Instruments/EFW/scripts\UTIL.py[65]: cmd.EFW_TMDUMPCTR(255) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[182]: cmd.EFW_TMDUMPCTR(0) #Turn off dump Instruments/EFW/scripts/FSW\TEST_LDS.py[183]: log(' SCRIPT LOADING VERIFIED ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[248]: run_script() #Run and check script Instruments/EFW/scripts/FSW\TEST_LDS.py[189]: log(' SCRIPT EXECUTION TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[190]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[191]: cmd.EFW_SCRIPT(0xEF) #Should Start LEDs going Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[194]: sleep(10) Instruments/EFW/scripts/FSW\TEST_LDS.py[195]: cmd.EFW_SCRIPT(00) #Stop script Instruments/EFW/scripts/FSW\TEST_LDS.py[196]: cmd.EFW_TMPKTRATE( 4, 4 ) #Set APID 267 to 1/4Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[197]: log(' SCRIPT EXECUTION COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[249]: request_playbacks( fm ) #Determine what Burst1's to play Instruments/EFW/scripts/FSW\TEST_LDS.py[224]: log(' REQUESTING BURST1 PLAYBACKS ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[225]: log("FMAX %4x" % fm) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[227]: rp = APID_263.B1_RECPTR Instruments/EFW/scripts/FSW\TEST_LDS.py[228]: if( APID_263.B1_PLAYREQ < 10 ): Instruments/EFW/scripts/FSW\TEST_LDS.py[229]: blk = (rp - 800 ) & fm #Play from 800 blocks back Instruments/EFW/scripts/FSW\TEST_LDS.py[230]: log("QUEUEING Block %4x" % blk) Instruments/EFW/scripts/FSW\TEST_LDS.py[231]: QUEUE_B1PLAYBACK( blk, 32 ) #32 blocks should take 20 min Instruments/EFW/scripts\UTIL.py[50]: cmd.EFW_B1_SETREQDTA( (block >> 2) & 0xff ) Instruments/EFW/scripts\UTIL.py[51]: cmd.EFW_B1_SETREQDTA( (block >> 10)& 0xff ) Instruments/EFW/scripts\UTIL.py[52]: cmd.EFW_B1_SETREQDTA( leng & 0xff ) Instruments/EFW/scripts\UTIL.py[53]: cmd.EFW_B1_SETREQDTA( (leng >> 8 ) & 0xff ) Instruments/EFW/scripts/FSW\TEST_LDS.py[232]: blk = (rp - 500 ) & fm #Play from 500 blocks back Instruments/EFW/scripts/FSW\TEST_LDS.py[233]: log("QUEUEING Block %4x" % blk) Instruments/EFW/scripts/FSW\TEST_LDS.py[234]: QUEUE_B1PLAYBACK( blk, 32 ) #32 blocks should take 20 min Instruments/EFW/scripts\UTIL.py[50]: cmd.EFW_B1_SETREQDTA( (block >> 2) & 0xff ) Instruments/EFW/scripts\UTIL.py[51]: cmd.EFW_B1_SETREQDTA( (block >> 10)& 0xff ) Instruments/EFW/scripts\UTIL.py[52]: cmd.EFW_B1_SETREQDTA( leng & 0xff ) Instruments/EFW/scripts\UTIL.py[53]: cmd.EFW_B1_SETREQDTA( (leng >> 8 ) & 0xff ) Instruments/EFW/scripts/FSW\TEST_LDS.py[235]: blk = (rp - 200 ) & fm #Play from 200 blocks back Instruments/EFW/scripts/FSW\TEST_LDS.py[236]: log("QUEUEING Block %4x" % blk) Instruments/EFW/scripts/FSW\TEST_LDS.py[237]: QUEUE_B1PLAYBACK( blk, 64 ) #32 blocks should take 40 min Instruments/EFW/scripts\UTIL.py[50]: cmd.EFW_B1_SETREQDTA( (block >> 2) & 0xff ) Instruments/EFW/scripts\UTIL.py[51]: cmd.EFW_B1_SETREQDTA( (block >> 10)& 0xff ) Instruments/EFW/scripts\UTIL.py[52]: cmd.EFW_B1_SETREQDTA( leng & 0xff ) Instruments/EFW/scripts\UTIL.py[53]: cmd.EFW_B1_SETREQDTA( (leng >> 8 ) & 0xff ) Instruments/EFW/scripts/FSW\TEST_LDS.py[238]: sleep(8) Instruments/EFW/scripts/FSW\TEST_LDS.py[239]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[240]: log(' BURST1 PLAYLIST HAS %d REQUESTS '% APID_263.B1_PLAYREQ, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[354]: generate_report(ps) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[257]: filename = 'FSW_LDS'+str(ps)+'_AP263.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[258]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[259]: print_window('Instruments/EFW/screens/APID_263.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[261]: wait(APID_267, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[262]: filename = 'FSW_LDS'+str(ps)+'_AP267.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[263]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[264]: print_window('Instruments/EFW/screens/APID_267.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[266]: filename = 'FSW_LDS'+str(ps)+'_TlmRates.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[267]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[268]: print_window('Instruments/EFW/screens/CCSDS_tlm_rates.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[270]: log(' TELEMETRY RECEIVED (CUMULATIVE) @ PASS(%d)' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[271]: hsk = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[272]: rt = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[273]: b1 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[274]: b2 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[285]: tot = hsk+rt+b1+b2 Instruments/EFW/scripts/FSW\TEST_LDS.py[286]: fhsk = hsk/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[287]: frt = rt/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[288]: fb1 = b1/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[289]: fb2 = b2/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[290]: ftot= tot/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[291]: log(' HSK = %7.3f MB ' % fhsk, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[292]: log(' RealTime = %7.3f MB ' % frt, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[293]: log(' Burst1 = %7.3f MB ' % fb1, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[294]: log(' Burst2 = %7.3f MB ' % fb2, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[295]: log(' Total = %7.3f MB ' % ftot, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[297]: log(' THERE ARE %d ERRORS ' % APID_267.ERRCTR, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[355]: sleep(3600) Instruments/EFW/scripts/FSW\TEST_LDS.py[351]: for ps in range(72): Instruments/EFW/scripts/FSW\TEST_LDS.py[352]: log('3.%d COMMAND PASS SIMULATION ' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[353]: simulate_pass(FMAX) Instruments/EFW/scripts/FSW\TEST_LDS.py[246]: serial_cmd_stress_test() #Command at Max Rate Instruments/EFW/scripts/FSW\TEST_LDS.py[204]: log(' SERIAL COMMAND TEST AT MAX RATE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[205]: cmd.EFW_CMDS( 250 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[209]: for i in range( 250 ): cmd.EFW_ADRL( 0 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[211]: try: Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[217]: log(' SERIAL COMMAND TEST COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[247]: load_scripts() #Load & Dump Scripts Instruments/EFW/scripts/FSW\TEST_LDS.py[155]: log(' SCRIPT LOADING TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[156]: cmd.EFW_CMDS( 6 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[157]: cmd.EFW_SRMWRTCTL(0) #Unprotect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[158]: cmd.EFW_DISARM(3) #Don't csum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[161]: efw.idpu_load("00006000", " e0 e1 00 00 00 00 00 00 00 00 00 00 00 00 ee ef 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 00 a3 7f c1 01 e4 00 00 00 00 00 00 00 00 00 00 00 a3 7f c1 00 a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[162]: efw.idpu_load("00006100", " 1d c1 02 bb ee c2 00 00 00 00 00 00 00 00 00 00 01 ff 0f c1 03 ff 0f c1 06 ff 0f c1 0c ff 0f c1 18 ff 0f c1 30 ff 0f c1 60 ff 0f c1 c0 ff 0f c1 80 ff 0f c1 00 ff 0f c1 ef c2 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[165]: cmd.EFW_SRMWRTCTL(1) #Protect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[166]: cmd.EFW_ARM(3) #Checksum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[169]: cmd.EFW_DUMPTABL(12,0) #Dump and Spot Check Instruments/EFW/scripts/FSW\TEST_LDS.py[170]: cmd.EFW_TMDUMPCTR(255) #Indefinitely Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[176]: DUMPADR( 0x6100 ) Instruments/EFW/scripts\UTIL.py[61]: cmd.EFW_DUMPADRX( (addr >> 24 )& 0xff ) Instruments/EFW/scripts\UTIL.py[62]: cmd.EFW_DUMPADRE( (addr >> 16 )& 0xff ) Instruments/EFW/scripts\UTIL.py[63]: cmd.EFW_DUMPADRH( (addr >> 8 )& 0xff ) Instruments/EFW/scripts\UTIL.py[64]: cmd.EFW_DUMPADRL( addr & 0xff ) Instruments/EFW/scripts\UTIL.py[65]: cmd.EFW_TMDUMPCTR(255) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[182]: cmd.EFW_TMDUMPCTR(0) #Turn off dump Instruments/EFW/scripts/FSW\TEST_LDS.py[183]: log(' SCRIPT LOADING VERIFIED ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[248]: run_script() #Run and check script Instruments/EFW/scripts/FSW\TEST_LDS.py[189]: log(' SCRIPT EXECUTION TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[190]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[191]: cmd.EFW_SCRIPT(0xEF) #Should Start LEDs going Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[194]: sleep(10) Instruments/EFW/scripts/FSW\TEST_LDS.py[195]: cmd.EFW_SCRIPT(00) #Stop script Instruments/EFW/scripts/FSW\TEST_LDS.py[196]: cmd.EFW_TMPKTRATE( 4, 4 ) #Set APID 267 to 1/4Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[197]: log(' SCRIPT EXECUTION COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[249]: request_playbacks( fm ) #Determine what Burst1's to play Instruments/EFW/scripts/FSW\TEST_LDS.py[224]: log(' REQUESTING BURST1 PLAYBACKS ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[225]: log("FMAX %4x" % fm) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[227]: rp = APID_263.B1_RECPTR Instruments/EFW/scripts/FSW\TEST_LDS.py[228]: if( APID_263.B1_PLAYREQ < 10 ): Instruments/EFW/scripts/FSW\TEST_LDS.py[239]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[240]: log(' BURST1 PLAYLIST HAS %d REQUESTS '% APID_263.B1_PLAYREQ, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[354]: generate_report(ps) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[257]: filename = 'FSW_LDS'+str(ps)+'_AP263.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[258]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[259]: print_window('Instruments/EFW/screens/APID_263.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[261]: wait(APID_267, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[262]: filename = 'FSW_LDS'+str(ps)+'_AP267.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[263]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[264]: print_window('Instruments/EFW/screens/APID_267.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[266]: filename = 'FSW_LDS'+str(ps)+'_TlmRates.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[267]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[268]: print_window('Instruments/EFW/screens/CCSDS_tlm_rates.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[270]: log(' TELEMETRY RECEIVED (CUMULATIVE) @ PASS(%d)' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[271]: hsk = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[272]: rt = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[273]: b1 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[274]: b2 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[285]: tot = hsk+rt+b1+b2 Instruments/EFW/scripts/FSW\TEST_LDS.py[286]: fhsk = hsk/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[287]: frt = rt/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[288]: fb1 = b1/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[289]: fb2 = b2/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[290]: ftot= tot/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[291]: log(' HSK = %7.3f MB ' % fhsk, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[292]: log(' RealTime = %7.3f MB ' % frt, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[293]: log(' Burst1 = %7.3f MB ' % fb1, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[294]: log(' Burst2 = %7.3f MB ' % fb2, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[295]: log(' Total = %7.3f MB ' % ftot, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[297]: log(' THERE ARE %d ERRORS ' % APID_267.ERRCTR, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[355]: sleep(3600) Instruments/EFW/scripts/FSW\TEST_LDS.py[351]: for ps in range(72): Instruments/EFW/scripts/FSW\TEST_LDS.py[352]: log('3.%d COMMAND PASS SIMULATION ' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[353]: simulate_pass(FMAX) Instruments/EFW/scripts/FSW\TEST_LDS.py[246]: serial_cmd_stress_test() #Command at Max Rate Instruments/EFW/scripts/FSW\TEST_LDS.py[204]: log(' SERIAL COMMAND TEST AT MAX RATE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[205]: cmd.EFW_CMDS( 250 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[209]: for i in range( 250 ): cmd.EFW_ADRL( 0 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[211]: try: Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[217]: log(' SERIAL COMMAND TEST COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[247]: load_scripts() #Load & Dump Scripts Instruments/EFW/scripts/FSW\TEST_LDS.py[155]: log(' SCRIPT LOADING TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[156]: cmd.EFW_CMDS( 6 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[157]: cmd.EFW_SRMWRTCTL(0) #Unprotect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[158]: cmd.EFW_DISARM(3) #Don't csum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[161]: efw.idpu_load("00006000", " e0 e1 00 00 00 00 00 00 00 00 00 00 00 00 ee ef 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 00 a3 7f c1 01 e4 00 00 00 00 00 00 00 00 00 00 00 a3 7f c1 00 a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[162]: efw.idpu_load("00006100", " 1d c1 02 bb ee c2 00 00 00 00 00 00 00 00 00 00 01 ff 0f c1 03 ff 0f c1 06 ff 0f c1 0c ff 0f c1 18 ff 0f c1 30 ff 0f c1 60 ff 0f c1 c0 ff 0f c1 80 ff 0f c1 00 ff 0f c1 ef c2 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[165]: cmd.EFW_SRMWRTCTL(1) #Protect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[166]: cmd.EFW_ARM(3) #Checksum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[169]: cmd.EFW_DUMPTABL(12,0) #Dump and Spot Check Instruments/EFW/scripts/FSW\TEST_LDS.py[170]: cmd.EFW_TMDUMPCTR(255) #Indefinitely Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[176]: DUMPADR( 0x6100 ) Instruments/EFW/scripts\UTIL.py[61]: cmd.EFW_DUMPADRX( (addr >> 24 )& 0xff ) Instruments/EFW/scripts\UTIL.py[62]: cmd.EFW_DUMPADRE( (addr >> 16 )& 0xff ) Instruments/EFW/scripts\UTIL.py[63]: cmd.EFW_DUMPADRH( (addr >> 8 )& 0xff ) Instruments/EFW/scripts\UTIL.py[64]: cmd.EFW_DUMPADRL( addr & 0xff ) Instruments/EFW/scripts\UTIL.py[65]: cmd.EFW_TMDUMPCTR(255) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[182]: cmd.EFW_TMDUMPCTR(0) #Turn off dump Instruments/EFW/scripts/FSW\TEST_LDS.py[183]: log(' SCRIPT LOADING VERIFIED ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[248]: run_script() #Run and check script Instruments/EFW/scripts/FSW\TEST_LDS.py[189]: log(' SCRIPT EXECUTION TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[190]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[191]: cmd.EFW_SCRIPT(0xEF) #Should Start LEDs going Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[194]: sleep(10) Instruments/EFW/scripts/FSW\TEST_LDS.py[195]: cmd.EFW_SCRIPT(00) #Stop script Instruments/EFW/scripts/FSW\TEST_LDS.py[196]: cmd.EFW_TMPKTRATE( 4, 4 ) #Set APID 267 to 1/4Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[197]: log(' SCRIPT EXECUTION COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[249]: request_playbacks( fm ) #Determine what Burst1's to play Instruments/EFW/scripts/FSW\TEST_LDS.py[224]: log(' REQUESTING BURST1 PLAYBACKS ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[225]: log("FMAX %4x" % fm) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[227]: rp = APID_263.B1_RECPTR Instruments/EFW/scripts/FSW\TEST_LDS.py[228]: if( APID_263.B1_PLAYREQ < 10 ): Instruments/EFW/scripts/FSW\TEST_LDS.py[229]: blk = (rp - 800 ) & fm #Play from 800 blocks back Instruments/EFW/scripts/FSW\TEST_LDS.py[230]: log("QUEUEING Block %4x" % blk) Instruments/EFW/scripts/FSW\TEST_LDS.py[231]: QUEUE_B1PLAYBACK( blk, 32 ) #32 blocks should take 20 min Instruments/EFW/scripts\UTIL.py[50]: cmd.EFW_B1_SETREQDTA( (block >> 2) & 0xff ) Instruments/EFW/scripts\UTIL.py[51]: cmd.EFW_B1_SETREQDTA( (block >> 10)& 0xff ) Instruments/EFW/scripts\UTIL.py[52]: cmd.EFW_B1_SETREQDTA( leng & 0xff ) Instruments/EFW/scripts\UTIL.py[53]: cmd.EFW_B1_SETREQDTA( (leng >> 8 ) & 0xff ) Instruments/EFW/scripts/FSW\TEST_LDS.py[232]: blk = (rp - 500 ) & fm #Play from 500 blocks back Instruments/EFW/scripts/FSW\TEST_LDS.py[233]: log("QUEUEING Block %4x" % blk) Instruments/EFW/scripts/FSW\TEST_LDS.py[234]: QUEUE_B1PLAYBACK( blk, 32 ) #32 blocks should take 20 min Instruments/EFW/scripts\UTIL.py[50]: cmd.EFW_B1_SETREQDTA( (block >> 2) & 0xff ) Instruments/EFW/scripts\UTIL.py[51]: cmd.EFW_B1_SETREQDTA( (block >> 10)& 0xff ) Instruments/EFW/scripts\UTIL.py[52]: cmd.EFW_B1_SETREQDTA( leng & 0xff ) Instruments/EFW/scripts\UTIL.py[53]: cmd.EFW_B1_SETREQDTA( (leng >> 8 ) & 0xff ) Instruments/EFW/scripts/FSW\TEST_LDS.py[235]: blk = (rp - 200 ) & fm #Play from 200 blocks back Instruments/EFW/scripts/FSW\TEST_LDS.py[236]: log("QUEUEING Block %4x" % blk) Instruments/EFW/scripts/FSW\TEST_LDS.py[237]: QUEUE_B1PLAYBACK( blk, 64 ) #32 blocks should take 40 min Instruments/EFW/scripts\UTIL.py[50]: cmd.EFW_B1_SETREQDTA( (block >> 2) & 0xff ) Instruments/EFW/scripts\UTIL.py[51]: cmd.EFW_B1_SETREQDTA( (block >> 10)& 0xff ) Instruments/EFW/scripts\UTIL.py[52]: cmd.EFW_B1_SETREQDTA( leng & 0xff ) Instruments/EFW/scripts\UTIL.py[53]: cmd.EFW_B1_SETREQDTA( (leng >> 8 ) & 0xff ) Instruments/EFW/scripts/FSW\TEST_LDS.py[238]: sleep(8) Instruments/EFW/scripts/FSW\TEST_LDS.py[239]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[240]: log(' BURST1 PLAYLIST HAS %d REQUESTS '% APID_263.B1_PLAYREQ, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[354]: generate_report(ps) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[257]: filename = 'FSW_LDS'+str(ps)+'_AP263.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[258]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[259]: print_window('Instruments/EFW/screens/APID_263.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[261]: wait(APID_267, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[262]: filename = 'FSW_LDS'+str(ps)+'_AP267.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[263]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[264]: print_window('Instruments/EFW/screens/APID_267.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[266]: filename = 'FSW_LDS'+str(ps)+'_TlmRates.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[267]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[268]: print_window('Instruments/EFW/screens/CCSDS_tlm_rates.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[270]: log(' TELEMETRY RECEIVED (CUMULATIVE) @ PASS(%d)' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[271]: hsk = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[272]: rt = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[273]: b1 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[274]: b2 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[285]: tot = hsk+rt+b1+b2 Instruments/EFW/scripts/FSW\TEST_LDS.py[286]: fhsk = hsk/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[287]: frt = rt/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[288]: fb1 = b1/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[289]: fb2 = b2/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[290]: ftot= tot/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[291]: log(' HSK = %7.3f MB ' % fhsk, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[292]: log(' RealTime = %7.3f MB ' % frt, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[293]: log(' Burst1 = %7.3f MB ' % fb1, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[294]: log(' Burst2 = %7.3f MB ' % fb2, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[295]: log(' Total = %7.3f MB ' % ftot, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[297]: log(' THERE ARE %d ERRORS ' % APID_267.ERRCTR, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[355]: sleep(3600) Instruments/EFW/scripts/FSW\TEST_LDS.py[351]: for ps in range(72): Instruments/EFW/scripts/FSW\TEST_LDS.py[352]: log('3.%d COMMAND PASS SIMULATION ' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[353]: simulate_pass(FMAX) Instruments/EFW/scripts/FSW\TEST_LDS.py[246]: serial_cmd_stress_test() #Command at Max Rate Instruments/EFW/scripts/FSW\TEST_LDS.py[204]: log(' SERIAL COMMAND TEST AT MAX RATE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[205]: cmd.EFW_CMDS( 250 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[209]: for i in range( 250 ): cmd.EFW_ADRL( 0 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[211]: try: Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[217]: log(' SERIAL COMMAND TEST COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[247]: load_scripts() #Load & Dump Scripts Instruments/EFW/scripts/FSW\TEST_LDS.py[155]: log(' SCRIPT LOADING TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[156]: cmd.EFW_CMDS( 6 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[157]: cmd.EFW_SRMWRTCTL(0) #Unprotect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[158]: cmd.EFW_DISARM(3) #Don't csum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[161]: efw.idpu_load("00006000", " e0 e1 00 00 00 00 00 00 00 00 00 00 00 00 ee ef 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 00 a3 7f c1 01 e4 00 00 00 00 00 00 00 00 00 00 00 a3 7f c1 00 a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[162]: efw.idpu_load("00006100", " 1d c1 02 bb ee c2 00 00 00 00 00 00 00 00 00 00 01 ff 0f c1 03 ff 0f c1 06 ff 0f c1 0c ff 0f c1 18 ff 0f c1 30 ff 0f c1 60 ff 0f c1 c0 ff 0f c1 80 ff 0f c1 00 ff 0f c1 ef c2 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[165]: cmd.EFW_SRMWRTCTL(1) #Protect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[166]: cmd.EFW_ARM(3) #Checksum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[169]: cmd.EFW_DUMPTABL(12,0) #Dump and Spot Check Instruments/EFW/scripts/FSW\TEST_LDS.py[170]: cmd.EFW_TMDUMPCTR(255) #Indefinitely Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[176]: DUMPADR( 0x6100 ) Instruments/EFW/scripts\UTIL.py[61]: cmd.EFW_DUMPADRX( (addr >> 24 )& 0xff ) Instruments/EFW/scripts\UTIL.py[62]: cmd.EFW_DUMPADRE( (addr >> 16 )& 0xff ) Instruments/EFW/scripts\UTIL.py[63]: cmd.EFW_DUMPADRH( (addr >> 8 )& 0xff ) Instruments/EFW/scripts\UTIL.py[64]: cmd.EFW_DUMPADRL( addr & 0xff ) Instruments/EFW/scripts\UTIL.py[65]: cmd.EFW_TMDUMPCTR(255) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[182]: cmd.EFW_TMDUMPCTR(0) #Turn off dump Instruments/EFW/scripts/FSW\TEST_LDS.py[183]: log(' SCRIPT LOADING VERIFIED ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[248]: run_script() #Run and check script Instruments/EFW/scripts/FSW\TEST_LDS.py[189]: log(' SCRIPT EXECUTION TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[190]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[191]: cmd.EFW_SCRIPT(0xEF) #Should Start LEDs going Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[194]: sleep(10) Instruments/EFW/scripts/FSW\TEST_LDS.py[195]: cmd.EFW_SCRIPT(00) #Stop script Instruments/EFW/scripts/FSW\TEST_LDS.py[196]: cmd.EFW_TMPKTRATE( 4, 4 ) #Set APID 267 to 1/4Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[197]: log(' SCRIPT EXECUTION COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[249]: request_playbacks( fm ) #Determine what Burst1's to play Instruments/EFW/scripts/FSW\TEST_LDS.py[224]: log(' REQUESTING BURST1 PLAYBACKS ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[225]: log("FMAX %4x" % fm) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[227]: rp = APID_263.B1_RECPTR Instruments/EFW/scripts/FSW\TEST_LDS.py[228]: if( APID_263.B1_PLAYREQ < 10 ): Instruments/EFW/scripts/FSW\TEST_LDS.py[239]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[240]: log(' BURST1 PLAYLIST HAS %d REQUESTS '% APID_263.B1_PLAYREQ, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[354]: generate_report(ps) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[257]: filename = 'FSW_LDS'+str(ps)+'_AP263.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[258]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[259]: print_window('Instruments/EFW/screens/APID_263.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[261]: wait(APID_267, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[262]: filename = 'FSW_LDS'+str(ps)+'_AP267.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[263]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[264]: print_window('Instruments/EFW/screens/APID_267.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[266]: filename = 'FSW_LDS'+str(ps)+'_TlmRates.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[267]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[268]: print_window('Instruments/EFW/screens/CCSDS_tlm_rates.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[270]: log(' TELEMETRY RECEIVED (CUMULATIVE) @ PASS(%d)' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[271]: hsk = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[272]: rt = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[273]: b1 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[274]: b2 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[285]: tot = hsk+rt+b1+b2 Instruments/EFW/scripts/FSW\TEST_LDS.py[286]: fhsk = hsk/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[287]: frt = rt/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[288]: fb1 = b1/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[289]: fb2 = b2/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[290]: ftot= tot/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[291]: log(' HSK = %7.3f MB ' % fhsk, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[292]: log(' RealTime = %7.3f MB ' % frt, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[293]: log(' Burst1 = %7.3f MB ' % fb1, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[294]: log(' Burst2 = %7.3f MB ' % fb2, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[295]: log(' Total = %7.3f MB ' % ftot, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[297]: log(' THERE ARE %d ERRORS ' % APID_267.ERRCTR, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[355]: sleep(3600) Instruments/EFW/scripts/FSW\TEST_LDS.py[351]: for ps in range(72): Instruments/EFW/scripts/FSW\TEST_LDS.py[352]: log('3.%d COMMAND PASS SIMULATION ' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[353]: simulate_pass(FMAX) Instruments/EFW/scripts/FSW\TEST_LDS.py[246]: serial_cmd_stress_test() #Command at Max Rate Instruments/EFW/scripts/FSW\TEST_LDS.py[204]: log(' SERIAL COMMAND TEST AT MAX RATE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[205]: cmd.EFW_CMDS( 250 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[209]: for i in range( 250 ): cmd.EFW_ADRL( 0 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[211]: try: Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[217]: log(' SERIAL COMMAND TEST COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[247]: load_scripts() #Load & Dump Scripts Instruments/EFW/scripts/FSW\TEST_LDS.py[155]: log(' SCRIPT LOADING TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[156]: cmd.EFW_CMDS( 6 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[157]: cmd.EFW_SRMWRTCTL(0) #Unprotect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[158]: cmd.EFW_DISARM(3) #Don't csum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[161]: efw.idpu_load("00006000", " e0 e1 00 00 00 00 00 00 00 00 00 00 00 00 ee ef 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 00 a3 7f c1 01 e4 00 00 00 00 00 00 00 00 00 00 00 a3 7f c1 00 a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[162]: efw.idpu_load("00006100", " 1d c1 02 bb ee c2 00 00 00 00 00 00 00 00 00 00 01 ff 0f c1 03 ff 0f c1 06 ff 0f c1 0c ff 0f c1 18 ff 0f c1 30 ff 0f c1 60 ff 0f c1 c0 ff 0f c1 80 ff 0f c1 00 ff 0f c1 ef c2 00 00") Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[163]: wait(APID_267, lambda: APID_267.CMDTOT==4, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[165]: cmd.EFW_SRMWRTCTL(1) #Protect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[166]: cmd.EFW_ARM(3) #Checksum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[167]: wait(APID_267, lambda: APID_267.CMDTOT==6, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[169]: cmd.EFW_DUMPTABL(12,0) #Dump and Spot Check Instruments/EFW/scripts/FSW\TEST_LDS.py[170]: cmd.EFW_TMDUMPCTR(255) #Indefinitely Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[171]: wait(APID_266, lambda: APID_266.Data[0]==0xe0, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[172]: wait(APID_266, lambda: APID_266.Data[1]==0xe1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[173]: wait(APID_266, lambda: APID_266.Data[14]==0xee, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[174]: wait(APID_266, lambda: APID_266.Data[15]==0xef, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[176]: DUMPADR( 0x6100 ) Instruments/EFW/scripts\UTIL.py[61]: cmd.EFW_DUMPADRX( (addr >> 24 )& 0xff ) Instruments/EFW/scripts\UTIL.py[62]: cmd.EFW_DUMPADRE( (addr >> 16 )& 0xff ) Instruments/EFW/scripts\UTIL.py[63]: cmd.EFW_DUMPADRH( (addr >> 8 )& 0xff ) Instruments/EFW/scripts\UTIL.py[64]: cmd.EFW_DUMPADRL( addr & 0xff ) Instruments/EFW/scripts\UTIL.py[65]: cmd.EFW_TMDUMPCTR(255) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[177]: wait(APID_266, lambda: APID_266.Data[0]==0x1d, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[178]: wait(APID_266, lambda: APID_266.Data[1]==0xc1, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[179]: wait(APID_266, lambda: APID_266.Data[2]==0x02, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[180]: wait(APID_266, lambda: APID_266.Data[3]==0xbb, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[182]: cmd.EFW_TMDUMPCTR(0) #Turn off dump Instruments/EFW/scripts/FSW\TEST_LDS.py[183]: log(' SCRIPT LOADING VERIFIED ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[248]: run_script() #Run and check script Instruments/EFW/scripts/FSW\TEST_LDS.py[189]: log(' SCRIPT EXECUTION TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[190]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[191]: cmd.EFW_SCRIPT(0xEF) #Should Start LEDs going Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[192]: wait(APID_267, lambda: APID_267.IO_LEDS < 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[193]: wait(APID_267, lambda: APID_267.IO_LEDS > 0x18, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[194]: sleep(10) Instruments/EFW/scripts/FSW\TEST_LDS.py[195]: cmd.EFW_SCRIPT(00) #Stop script Instruments/EFW/scripts/FSW\TEST_LDS.py[196]: cmd.EFW_TMPKTRATE( 4, 4 ) #Set APID 267 to 1/4Hz Instruments/EFW/scripts/FSW\TEST_LDS.py[197]: log(' SCRIPT EXECUTION COMPLETE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[249]: request_playbacks( fm ) #Determine what Burst1's to play Instruments/EFW/scripts/FSW\TEST_LDS.py[224]: log(' REQUESTING BURST1 PLAYBACKS ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[225]: log("FMAX %4x" % fm) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[227]: rp = APID_263.B1_RECPTR Instruments/EFW/scripts/FSW\TEST_LDS.py[228]: if( APID_263.B1_PLAYREQ < 10 ): Instruments/EFW/scripts/FSW\TEST_LDS.py[229]: blk = (rp - 800 ) & fm #Play from 800 blocks back Instruments/EFW/scripts/FSW\TEST_LDS.py[230]: log("QUEUEING Block %4x" % blk) Instruments/EFW/scripts/FSW\TEST_LDS.py[231]: QUEUE_B1PLAYBACK( blk, 32 ) #32 blocks should take 20 min Instruments/EFW/scripts\UTIL.py[50]: cmd.EFW_B1_SETREQDTA( (block >> 2) & 0xff ) Instruments/EFW/scripts\UTIL.py[51]: cmd.EFW_B1_SETREQDTA( (block >> 10)& 0xff ) Instruments/EFW/scripts\UTIL.py[52]: cmd.EFW_B1_SETREQDTA( leng & 0xff ) Instruments/EFW/scripts\UTIL.py[53]: cmd.EFW_B1_SETREQDTA( (leng >> 8 ) & 0xff ) Instruments/EFW/scripts/FSW\TEST_LDS.py[232]: blk = (rp - 500 ) & fm #Play from 500 blocks back Instruments/EFW/scripts/FSW\TEST_LDS.py[233]: log("QUEUEING Block %4x" % blk) Instruments/EFW/scripts/FSW\TEST_LDS.py[234]: QUEUE_B1PLAYBACK( blk, 32 ) #32 blocks should take 20 min Instruments/EFW/scripts\UTIL.py[50]: cmd.EFW_B1_SETREQDTA( (block >> 2) & 0xff ) Instruments/EFW/scripts\UTIL.py[51]: cmd.EFW_B1_SETREQDTA( (block >> 10)& 0xff ) Instruments/EFW/scripts\UTIL.py[52]: cmd.EFW_B1_SETREQDTA( leng & 0xff ) Instruments/EFW/scripts\UTIL.py[53]: cmd.EFW_B1_SETREQDTA( (leng >> 8 ) & 0xff ) Instruments/EFW/scripts/FSW\TEST_LDS.py[235]: blk = (rp - 200 ) & fm #Play from 200 blocks back Instruments/EFW/scripts/FSW\TEST_LDS.py[236]: log("QUEUEING Block %4x" % blk) Instruments/EFW/scripts/FSW\TEST_LDS.py[237]: QUEUE_B1PLAYBACK( blk, 64 ) #32 blocks should take 40 min Instruments/EFW/scripts\UTIL.py[50]: cmd.EFW_B1_SETREQDTA( (block >> 2) & 0xff ) Instruments/EFW/scripts\UTIL.py[51]: cmd.EFW_B1_SETREQDTA( (block >> 10)& 0xff ) Instruments/EFW/scripts\UTIL.py[52]: cmd.EFW_B1_SETREQDTA( leng & 0xff ) Instruments/EFW/scripts\UTIL.py[53]: cmd.EFW_B1_SETREQDTA( (leng >> 8 ) & 0xff ) Instruments/EFW/scripts/FSW\TEST_LDS.py[238]: sleep(8) Instruments/EFW/scripts/FSW\TEST_LDS.py[239]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[226]: wait(APID_263, lambda: True, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[240]: log(' BURST1 PLAYLIST HAS %d REQUESTS '% APID_263.B1_PLAYREQ, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[354]: generate_report(ps) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[257]: filename = 'FSW_LDS'+str(ps)+'_AP263.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[258]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[259]: print_window('Instruments/EFW/screens/APID_263.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[261]: wait(APID_267, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[256]: wait(APID_263, lambda: True, flTimeout=12) Instruments/EFW/scripts/FSW\TEST_LDS.py[262]: filename = 'FSW_LDS'+str(ps)+'_AP267.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[263]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[264]: print_window('Instruments/EFW/screens/APID_267.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[266]: filename = 'FSW_LDS'+str(ps)+'_TlmRates.jpg' Instruments/EFW/scripts/FSW\TEST_LDS.py[267]: outfile = os.path.join(settings.full_output_path, filename) Instruments/EFW/scripts/FSW\TEST_LDS.py[268]: print_window('Instruments/EFW/screens/CCSDS_tlm_rates.gscr', outfile) Instruments/EFW/scripts/FSW\TEST_LDS.py[270]: log(' TELEMETRY RECEIVED (CUMULATIVE) @ PASS(%d)' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[271]: hsk = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[272]: rt = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[273]: b1 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[274]: b2 = 0 Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[276]: hsk = hsk+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x263] Instruments/EFW/scripts/FSW\TEST_LDS.py[275]: for i in range(7): Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[278]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x241] Instruments/EFW/scripts/FSW\TEST_LDS.py[277]: for i in range(5): Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[280]: rt = rt+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x24D] Instruments/EFW/scripts/FSW\TEST_LDS.py[279]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[282]: b1 = b1+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x246] Instruments/EFW/scripts/FSW\TEST_LDS.py[281]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[284]: b2 = b2+DecStatus_efw_ccsds_frag_tlm.APID_bytes[i+0x249] Instruments/EFW/scripts/FSW\TEST_LDS.py[283]: for i in range(3): Instruments/EFW/scripts/FSW\TEST_LDS.py[285]: tot = hsk+rt+b1+b2 Instruments/EFW/scripts/FSW\TEST_LDS.py[286]: fhsk = hsk/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[287]: frt = rt/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[288]: fb1 = b1/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[289]: fb2 = b2/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[290]: ftot= tot/1048576.0 Instruments/EFW/scripts/FSW\TEST_LDS.py[291]: log(' HSK = %7.3f MB ' % fhsk, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[292]: log(' RealTime = %7.3f MB ' % frt, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[293]: log(' Burst1 = %7.3f MB ' % fb1, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[294]: log(' Burst2 = %7.3f MB ' % fb2, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[295]: log(' Total = %7.3f MB ' % ftot, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[297]: log(' THERE ARE %d ERRORS ' % APID_267.ERRCTR, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[355]: sleep(3600) Instruments/EFW/scripts/FSW\TEST_LDS.py[351]: for ps in range(72): Instruments/EFW/scripts/FSW\TEST_LDS.py[352]: log('3.%d COMMAND PASS SIMULATION ' % ps, color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[353]: simulate_pass(FMAX) Instruments/EFW/scripts/FSW\TEST_LDS.py[246]: serial_cmd_stress_test() #Command at Max Rate Instruments/EFW/scripts/FSW\TEST_LDS.py[204]: log(' SERIAL COMMAND TEST AT MAX RATE ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[205]: cmd.EFW_CMDS( 250 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[206]: wait(APID_267, lambda: APID_267.CMDEXP==250, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[207]: wait(APID_267, lambda: APID_267.CMDTOT==0, flTimeout=20) Instruments/EFW/scripts/FSW\TEST_LDS.py[209]: for i in range( 250 ): cmd.EFW_ADRL( 0 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[211]: try: Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[212]: wait(APID_267, lambda: APID_267.CMDTOT==250, flTimeout=60) Instruments/EFW/scripts/FSW\TEST_LDS.py[213]: except: Instruments/EFW/scripts/FSW\TEST_LDS.py[214]: log(' Command Count Expected 250, Got %d' % APID_267.CMDTOT, color=RED, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[215]: return(-1) Instruments/EFW/scripts/FSW\TEST_LDS.py[247]: load_scripts() #Load & Dump Scripts Instruments/EFW/scripts/FSW\TEST_LDS.py[155]: log(' SCRIPT LOADING TEST ', color=BLUE, attr=BOLD ) Instruments/EFW/scripts/FSW\TEST_LDS.py[156]: cmd.EFW_CMDS( 6 ) Instruments/EFW/scripts/FSW\TEST_LDS.py[157]: cmd.EFW_SRMWRTCTL(0) #Unprotect SRAM Instruments/EFW/scripts/FSW\TEST_LDS.py[158]: cmd.EFW_DISARM(3) #Don't csum memory Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10) Instruments/EFW/scripts/FSW\TEST_LDS.py[159]: wait(APID_267, lambda: APID_267.CMDTOT==2, flTimeout=10)