aperture_offset_width = aperture_slope_width #TODO: REMOVE aperture_offset_height = aperture_slope_height camera_screen.move("Wafer 100um") time.sleep(0.2) camera_screen.getSettlingCondition().waitSettled() #ecj cam_server.start(CAMERA_NAME + '_sp', True) cam_server.averaging=10 st = cam_server.stream print('Started camera') #Fix this with a specific pipeline time.sleep(0.5) st.waitCacheChange(5000) #show_panel(cam_server) add_device(st, True) attenuator.write(ATENUATOR_CAL)