PROC m_fl_iplbic(ipproc) ;Version 6 GOTO BEGIN ; ;#************************************************************************** ;# ****PROCEDURE HEADER**** ;# ;# 1.0 Introduction ;# ;# 1.1 FOT Name: m_fl_iplbic ;# MMS-F Name: ;# SUM Issue: ;# Simulator Validation Status: ;# ;# 1.2 Date Created: 5-3-95 ;# Revision: 1. 5-23-95 ;# 2. 5-26-95 ;# 3. 06-JUN-95 HB ;# 4. 15-AUG-95 GJ ;# 5. 11/18/95 GJ ;# 6. 27 Nov 95 TL ;# ;# 1.3 Change Description: ;# ;# 1. changed mbiplbic commands to mbipldin ;# 2. changed command data words for current MDI SW load ;# 3. Changed command MBIPLDIN (3 times) to MBIPLBIC. Moved ;# WAIT UNTIL (MKIPSTAT=H'48') to after the command MBPWIPON. ;# 4. Deleted wait 16 seconds, wait; Tell DEP to ignore flight ;# handshaking, /mbpwipon /send, and wait until(mkipstat=h'48') ;# if(MDI_HRTLM="RED") then s m_ts_tm2ipold endif . ;# 5. Changed naming convention from m_ts_* to m_fl_*. ;# 6. Changed variable in IF stmnt to that of passed parameter. ;# ;# 1.4 Point of Contact: R. Rowe ;# FOT Author: ATSC/SOHO 286-4799 ;# ;#************************************************************************** ;# 2.0 Description ;# ;# 2.1 Narrative Description ;# ;# This procedure allows the selection of a IP "heritage"load. ;# the heritage loads consist of simple IP marco queue programs ;# to process and downlink imaged taken with direct camera ;# take-a-picture commands or via the emi2 sequence. ;# ;# 2.2 Intended Use: ;# ;# Configure for use of heritage load as IP program ;# ;# 2.3 Duration: 8 min. ;# ;# 2.4 References: ;# ;#************************************************************************** ;# 3.0 Instructions for Use: ;# ;# 3.1 Parameters Required ;# ;# 1) IP program, passed or if empty, prompted input ;# 3 - 1024x1024 (full)pixel image ;# 4 - 256x256 extracted subraster image ;# 5 - 4x4 packed or binned image ;# ;# 3.2 Critical Activities ;# ;# None ;# ;# 3.3 Special Constraints or Activities ;# ;# MDI in SAFE, STANDBY, or READY mode. High rate telemetry support ;# required for downlink of images. MDI Operator on station to support ;# verification of procedure. ;#************************************************************************** ;# 4.0 STEPS: BEGIN: local ccnt IF (P@CMD_STATE#TELECOMMAND = "AVAILABLE") THEN ELSE /CLEAR ;Clearing the Command Buffer. ENDIF IF ((P@KKTMMODE<3) and (P@KKTMFID<1)) THEN ;Check TM is not in HR WRITE "TM IS NOT IN HIGH RATE." GOTO END ENDIF if(%NARGS > 0) then goto ver_ip endif sel_ip: write "Select IP program" write " 3 - extract 1024x1024" write " 4 - extract 256x256" write " 5 - pack 4x4" ask "Select IP program number form above (3, 4, 5): "ipproc ver_ip: if((ipproc>5) or (ipproc<3)) then write"Invalid IP program selected" wait 10 goto sel_ip endif wait; 'GO' to configure for IP program ccnt=mktccnt if(ipproc=3) then /mbiplbic,0003,0003; =1024x1024 image /send wait until(mktccnt=(ccnt+1)) elseif(ipproc=4) then /mbiplbic,0004,0004; =256x256 image /send wait until(mktccnt=(ccnt+1)) elseif(ipproc=5) then /mbiplbic,0005,0005; =4x4 image /send wait until(mktccnt=(ccnt+1)) endif wait; 'GO' to load the camera header /mbcmhdr1,4040,4040,0000,0001,0000; camera header load /send wait until(mktccnt=(ccnt+2)) ;#************************************************************************** ;# 5.0 Final Constraints ;# ;# None ;# ;#************************************************************************** ENDPROC