DMC_grat_scan_nochop
The only role of PACS' DMC scripts is the computation of its duration, needed as input variable when starting the associated OBCP.
// Purpose : Compute duration of DMC Sequence 13 : grating scan without // chopping // Description : For all internal details about DMC Seq 13, see PACS-ME-LI-005 // and pseudo code here. Identical to "Grating line scan with // two or three position choping" but with out choping on source. // Meant mostly for ILT to allow for fast execution of // measurements on "absolute" flux sources. // Comments : 1. No single command is executed here, only the duration is // computed here. Hence, not all parameters of the actual DMC // Seq. are relevant here! // Version : 2.0 // History : 1.0 05-Apr-2005 Creation by PR // 2.0 06-Apr-2005 Completed by DAC with pseudo code and // full duration computation. // 2.1 25-apr-2005 DAC Arranged arguments in P#1,#2 order // Renamed DMC_grat_scan_nochop as OBCP //
Input variabke(s):
int[] procedure DMC_grat_scan_nochop { int nb_up_dn = 1; // Seq P#1 Nb of sequences: up down up ... int nb_grat_steps_up = 10; // Seq P#2 Nb of grating up steps int nb_ramps_grat_pos = 2; // Seq P#5 Nb of ramps per grating position int nb_CS1_CS2 = 0; // Seq P#6 Nb of cycles on CS, per grat position int nb_ramps_cs = 2; // Seq P#9 Nb of ramps per plateau on the CS int nb_grat_steps_dn = 10; // Seq P#10 Nb of grating down steps }{