1
! @(#)pipeline.control 19.2 (ESO-DMD) 04/28/03 14:57:55
2
! +++++++++++++++++++++++++++++++++++++
4
! Midas procedure pipeline.control for VLT/NTT pipeline
5
! K. Banse 970121, 981214, 990910, 030428
7
! this procedure controls different settings for the pipeline
9
! use as @d pipeline.control tok1 tok2
10
! with tok1 = Display[,display_name[,disp_size]]
12
! tok2 = Overwrite product frames
13
! NoOverwrite (default)
15
! +++++++++++++++++++++++++++++++++++++~
17
define/param p1 NoDISPLAY c "Enter Display/NoDisplay to en/disable display:"
18
define/param p2 NoOverwrite c "Enter Overwrite/NoOverwrite for products:"
20
if p1(1:1) .eq. "N" then !No display
21
if mid$sess(6:6) .ne. "-" then
22
if mid$sess(6:6) .ne. " " then
26
if mid$sess(7:7) .ne. "-" then
27
if mid$sess(7:7) .ne. " " then
34
write/out image display/graphics disabled...
38
mid$disp = "I_ImageDisplay "
39
inputi = m$index(p1,",")+1
40
if inputi .gt. 2 then !disp,...
41
write/keyw inputc {p1({inputi}:)}
42
inputi = m$index(inputc,",")+1
44
write/keyw pipeline_aux/i/3/1 {inputc({inputi}:)}
46
write/keyw pipeline_disp "local "
49
write/keyw pipeline_disp "{inputc(1:{inputi})} "
52
write/keyw pipeline_disp {inputc(1:)}
56
write/keyw pipeline_disp "local "
59
if pipeline_aux(3) .lt. 1 .or. pipeline_aux(3) .gt. 100 then
63
pipeline(5) = 1 !RBS Midas = display Midas
64
@d pipeline.control,getFont !search for Font in data base
67
if p2(1:1) .eq. "N" then !update Product_Overwrite_flag
73
! this entry is called also from dispsetup.prg which launches the displayMidas
74
! therefore it is here that we also create the keywords pipeline, pipeline_aux
75
! in displayMidas, so that the procedures can use them
79
if m$existk("pipeline_aux") .ne. 1 then
81
pipeline_aux/i/1/8 2,0,80,2,0,0,0,0 !init like in pipeline.start
82
write/keyw pipeline/i/1/15 0,1,0,0,0,0,300,0,0,-1,0,0,0,0,0
85
pipeline_aux(2) = 1 !use medium sized font