This issue will track developments meant to generate measurement masks after OpenQL program compilation with the purpose of automating the preparation of readout instruments. These developments are necessary for the next planned release of Quantum Inspire with support for multiple measurement definition per program