The Experiment.py file (Fig. \ref{799186}) determines the exact sequence of hardware controls that is executed during the measurement. It contains Labscript syntax and is fed into the Labscript Python compiler Runmanager.  
Our approach for combining Labscript with PennyLane is sumarized in Fig. \ref{547624}.
With the help of the plugin functions pre_apply(), apply() and post_apply(), we generate a new Experiment.py on the fly depending on the quantum circuit programmed through the PennyLane interface.