Automation and control of Fabry-Perot interferometers