Optical control & measurement