$sequence_number = 22; #This sequence is used for the CAM noise measurements. #Configure the CAM to clock the CCD data towards the right port #but, enable the left port read-out sequence_id(0xface) sequence_repeats(1) #0x05 RIGHT RO enable, but ENABLE left eis_cam_setup_ae(0x99,0x99,0x77,0x2f,0xa,0,0,0) # Program CAM Y-start and Y-height eis_cam_prog_csg_win(0x03,0x0,0x0c,0x80) eis_cam_prog_csg_win(0x83,0x0,0x0c,0xc7) eis_cam_prog_csg_win(0x03,0x0,0x14,0x92) eis_cam_prog_csg_win(0x83,0x0,0x14,0x00) # program CAM x_start and x_length eis_cam_prog_csg_win(0x03,0x0,0x2D,0x80) eis_cam_prog_csg_win(0x83,0x0,0x2D,0x32) eis_cam_prog_csg_win(0x03,0x1,0x07,0x87) eis_cam_prog_csg_win(0x83,0x1,0x07,0xFF) # program CAM side R read-out eis_cam_prog_csg_win(0x03,0x0,0x00,0x0e) eis_cam_prog_csg_win(0x83,0x0,0x00,0x99) eis_cam_prog_csg_win(0x03,0x0,0x01,0x12) eis_cam_prog_csg_win(0x83,0x0,0x01,0xac) eis_mhc_heater_on(0x0fff) # science operations flags 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) #Run raster parameters id = 0xBEEF mip = 0 loop_cntr = 3 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 = 0xa ras_repeats = 1 asrc_skip = 0 ro_seq_id = 3 mirror_step = 32 line_list = 19 #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 = 0 #Start exposure eis_start_exp(exp_time_10ms) eis_set_seq_loop("here") eis_mhc_heater_off(0xffff) eis_stop_seq(22)