/////////////////////////////////////////////////////////////////////////////////////////////////// // Deployment specific global definitions - executed after startup.groovy /////////////////////////////////////////////////////////////////////////////////////////////////// import ch.psi.pshell.scan.ScanRecord System.out.println("OK") before_readout = { double[] pos-> println (pos) } after_readout = { ScanRecord rec->println (rec) } def onBeforeReadout(double[]pos){ println (pos) } def onAfterReadout(ScanRecord rec){ println (rec) }