$sequence_number = 125; # Acquire 100 over-scan pixels (774 to 1173). # Shift for the line list to 674 (QL usage) # ??/??/2003: Origional by KFJ/PDT # 28/09/2004: Modified for use with *** CSG-ID 4 ***, KFJ. sequence_id(0xface) sequence_repeats(1) # Normal AE setting eis_cam_setup_ae(0x99,0x99,0x77,0x2f,0xF,0,0,0) # Program CAM Y-start (1) and Y-height (512) eis_cam_prog_csg_win(0x04,0x0,0x0c,0x80) eis_cam_prog_csg_win(0x84,0x0,0x0c,0x01) eis_cam_prog_csg_win(0x04,0x0,0x14,0x92) eis_cam_prog_csg_win(0x84,0x0,0x14,0x00) # program x_start (774) and x_length (400), i.e 1174 eis_cam_prog_csg_win(0x04,0x0,0x2D,0x83) eis_cam_prog_csg_win(0x84,0x0,0x2D,0x06) # 0x18F = 399. Cam add 1 internally to make 400 eis_cam_prog_csg_win(0x04,0x1,0x07,0x81) eis_cam_prog_csg_win(0x84,0x1,0x07,0x8F) # sci_ops goes here xrt_flare_trigger = disable eis_aec = disable eis_event_trigger = disable eis_flare_trigger = disable eis_sci_op(xrt_flare_trigger, eis_aec, eis_event_trigger, eis_flare_trigger) id = 0xBEEF mip = 0 loop_cntr = 1 data_comp = 0 ocb_x = 1 ocb_y = 1 flush_seq_id = 2 num_flush = 5 exp_per_ras_pos = 1 asrc_ctl = 0x00 ro_node = 0xF ras_repeats = 3 asrc_skip = 0 ro_seq_id = 4 mirror_step = 0 line_list = 20 #sci_op is implicitly handled by run_raster. No need to include as parameter eis_run_raster(id, mip, loop_cntr, data_comp, ocb_x, ocb_y, flush_seq_id, num_flush, exp_per_ras_pos, asrc_ctl, ro_node, ras_repeats, asrc_skip, ro_seq_id, mirror_step, line_list) here: #exp_time_10ms = 30 * 100 exp_time_10ms = 0 eis_start_exp(exp_time_10ms) eis_set_seq_loop("here") # And resetore CSG4 again # Program CAM Y-start (256) and Y-height (512) eis_cam_prog_csg_win(0x04,0x0,0x0c,0x81) eis_cam_prog_csg_win(0x84,0x0,0x0c,0x00) eis_cam_prog_csg_win(0x04,0x0,0x14,0x92) eis_cam_prog_csg_win(0x84,0x0,0x14,0x00) # program x_start (50) and x_length (1024) eis_cam_prog_csg_win(0x04,0x0,0x2D,0x80) eis_cam_prog_csg_win(0x84,0x0,0x2D,0x32) eis_cam_prog_csg_win(0x04,0x1,0x07,0x83) eis_cam_prog_csg_win(0x84,0x1,0x07,0xFF) eis_call_seq(124)