In our lab, the instruments are controlled by software built on common platform LabApps, and the experiments are scripted using my #lisp dialect LabLisp. Spectroscopic data analysis is provided by QBerr libraries.
The trio of projects LabLisp, LabApps and QBerr are all written in #qt C++ and are open-source, however, I still need to find time to open and organize public git repo for them. And yes, maybe write some documentation. So far, only LabLisp has some public front at www.lablisp.org.