; FILE: hr_f1_v2_m2.ips ; PURPOSE: Make a high resolution magnetogram and average dopplergram and ; downlink the full 2x2 bin dopplergram, full continuum filtergram ; and the full 2x2 bin magnetogram. ; PAGE USAGE: ; From MK_HR_MVL30 ; page 6 * full compressed continuum filtergram ; page 7 full velocity ; page 17 full magnetogram ; From within here ; Page 15 * binned velocity ; Page 18 * binned magnetogram ; Page 19 binning of magnetogram and vel ; ; HISTORY: ; Written 13-May-96 by M.Morrison ; 14-May-96 (MDM) - Added conditional to start downlink of continuum at Cam ; frame 8 (v&m had to be later, or cont had to be earlier -- ; cont used to be at frame 10) ; 20-May-96 (MDM) - Moved continuum downlink to start at cam frame 7 ; 18-Jul-96 (MDM) - Renamed to "hr_f1_v2_m2" from "hr_c1_v2_m2" ; - Added the compression subroutine call ; 1-Aug-96 (MDM) - Modified to do the first downlink at cam frame 10 ; so that it would work with other observations. ; Moved so that a shorted data product was downlinked ; first. Change included moving callback from ; frame 8 to 4. ; 1-Aug-96 (MDM) - Moved callback from frame 4 to frame 5 QPROG_HR_F1_V2_M2:: BRANCHEQ R3072 10 &DONE ;don't do anything with frame 10 ;the processing at frame 9 takes so long ;that when it returns from the "HR_MVL30" ;subroutine call, the frame number has changed! CALLQUE $QSR_HR_MVL30 ;do all of the work BRANCHLT R3072 9 &DONE ;don't do anything unless frame 9 (or 10) ;---- Compress the continuum filtergram SETREGS $IPRL_SQRT_PARAM 4 19:0x00726 6:0x0726 ;source must be 0-7,16-19 CALLQUE $QSR_SQRT_COMP ;0.3 sec ;---- Bin the velocity SETREGS $IPRL_BIN_PARAM 4 7:0x0726 15:0x0726 ;setup source/destination page of the bin CALLQUE $QSR_FMT_2X2BIN ;---- Bin the magnetogram data SETREGS $IPRL_BIN_PARAM 4 17:0x0726 18:0x0726 ;setup source and dest page of the bin CALLQUE $QSR_FMT_2X2BIN ;---- Downlink the one observable SETREG $IPRL_DL_PARAM 0x9000 ;downlink mag CALLQUE $QSR_DL_1PAGE SETREG $IPRL_CB_ADDR &QCB_REENTRY ;set the callback register with the address to go to DONE: END ;----------------------- Start of callback code QCB_REENTRY: BRANCHEQ R3072 5 &CB_FRM05 GOTO &QSR_CB_DONE_ADDR CB_FRM05: ;---- Downlink the two observables SETREGS $IPRL_DL_PARAM 2 0x3000 0x7800 ;downlink cont filt and mag CALLQUE $QSR_DL_2PAGE ;0.6 sec SETREG $IPRL_CB_ADDR 0 ;clear the callback register GOTO &QSR_CB_DONE_ADDR