Files
dev/script/local.groovy
2018-01-19 10:56:53 +01:00

18 lines
569 B
Groovy
Executable File

///////////////////////////////////////////////////////////////////////////////////////////////////
// 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)
}