; FILE: hr_ve_fe_m2.ips ; PURPOSE: Make a high resolution magnetogram and average dopplergram and ; downlink the extracted dopplergram, extracted continuum filtergram ; and the full 2x2 bin magnetogram. ; PAGE USAGE: ; From MK_HR_MVL30 ; page 19 full continuum filtergram (not compressed) ; page 7 full velocity ; page 17 full magnetogram ; From within here ; Page 4 extracted continuum filtergram ; Page 6 * sqrt compressed filtergram ; Page 15 * extracted velocity ; Page 19 binning of magnetogram ; Page 18 * binned magnetogram ; ; HISTORY: 2-May-96 by M.Morrison ; 3-May-96 (MDM) - Changed to do the compression here after the extract ; 9-May-96 (MDM) - Changed to do callback downlink a frame later ; downlink V&M at PRIME30 frame 8, instead of 7. ; 9-May-96 (MDM) - Changed the offset used for page 4 (from 726 to 226) ; 18-Jul-96 (MDM) - Renamed from "hr_v1_c1_m2" to "hr_ve_fe_m2" ; 23-Jul-96 (MDM) - Moved call back to frame 7 QPROG_HR_VE_FE_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) COPYRD2D $IPRL_EXTRACT_60K $IPRL_EXTRACT_PARAM 6 ;setup the parameters to be used by the extract subroutine CALLQUE $QSR_STD_EFMT_CONTF ;---- Extract 600 lines from continuum and compress CALLQUE $QSR_STD_EFMT_VEL ;---- Extract 600 lines from velocity ;---- 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 0x9800 ;downlink cont filt 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 7 &CB_FRM07 GOTO &QSR_CB_DONE_ADDR CB_FRM07: ;---- Downlink the two observables SETREGS $IPRL_DL_PARAM 2 0x6800 0x9000 ;downlink vel and 2x2 mag CALLQUE $QSR_DL_2PAGE ;0.6 sec SETREG $IPRL_CB_ADDR 0 ;clear the callback register GOTO &QSR_CB_DONE_ADDR