Files
dev/script/local.groovy
2018-11-23 08:42:01 +01:00

21 lines
615 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 = { ch.psi.pshell.scan.ScanRecord rec->println (rec) }
def onBeforeReadout(double[]pos){
println (pos)
}
def onAfterReadout(ch.psi.pshell.scan.ScanRecord rec){
println (rec)
}
////