Take Sequence of Images

Take Sequence of Images

TITLE		Take a Sequence of Images (LP 20)  

PURPOSE		To take a sequence of images from C1-EIT

DESCRIPTION	This Observation Program is used to take normal images,
		using shutters, from C1,C2,C3 and EIT. This program 
		calls op_take_normal or op_build_fp_line_scan multiple 
		times and provides a "macro" capability to the scheduling.

		The operator schedules this LP with the parameters which
		include which of the 3 telescopes are to be used, as well
		as which parameter table, FW position, PW position, and
		the image processing table number to process the image data.

		If a telescope is declared down (non-operational) this code
		would simply by-pass that particular telescope, and work at
		the others.

	        This program requires many rows of the image_control array
		for determining the image processing for the first and
		successive images.

LP Number 	20

INPUT PARAMETERS
		   Parameter	Description
			#

			0       Campaign ID
			1	Bit 0-3 Program ID
			 	Bit 4-7 Num of Steps (for Build Line Scan Only)
				Bit 8-9 End Condition - Cyclic, Iterations
				Bit 10-15 Num of images

			2	Bit 0,1  Camera ID
				Bit 2,3  Camera Parameter Table
					1 = primary
					2 = alternate
					3 = calibration
				Bit 4,5,6 Filter Wheel (0-4)
				Bit 7,8,9 Polarizer Wheel (0-4)
				Bit 10-14 Image Processing Table
			.
			.
			.



			Continue same layout for each image (up to 9).  
			A zero for num_images is an error.

EXAMPLE:
		   Parameter	Description
			0	101  = Campaign ID
			1       8713 = 0x2209  		: Program ID = 09
					 		: End Condition = 2  (Iteration)
					  		: Num of Images = 16

			2	276  = 0x0114		: Camera = 0 (C1)
							: Camera Parameter Table = 1 (primary)
							: Filter Wheel = 1
							: Polarizer Wheel = 2
							: Image Proc Table = 0

MODULE NAME	OP_TAKE_SEQ.C