; FILE: hr_t_fe_me_v2.ips ; PURPOSE: Make a high resolution magnetogram and average dopplergram and ; downlink the extracted magnetogram and confinuum filtergram ; and the full 2x2 bin dopplergram. Track for solar rotation ; HISTORY: Written 2-Oct-96 by M.Morrison QPROG_HR_T_FE_ME_V2:: CALLQUE $QSR_TRACK_ROT 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_EXT_HR_T_FE_ME_V2 $IPRL_EXTRACT_PARAM 6 ;setup the parameters to be used by the extract subroutine CALLQUE $QSR_STD_EFMT_CONTF ;---- Extract from continuum and compress CALLQUE $QSR_STD_EFMT_MAG ;---- Extract from magnetogram ;---- Bin the velocity data SETREGS $IPRL_BIN_PARAM 4 7:0x0726 13:0x0726 ;setup source and dest page of the bin CALLQUE $QSR_FMT_2X2BIN ;---- Downlink the one observable SETREG $IPRL_DL_PARAM 0x6800 ;downlink vel 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 0x9800 0x9000 ;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