From 2c3a32f2e34ac4e0daa7303af40926c9bfc41ed2 Mon Sep 17 00:00:00 2001 From: Jing Chen Date: Thu, 24 Nov 2011 15:02:45 +1100 Subject: [PATCH] add oscillator control r3281 | jgn | 2011-11-24 15:02:45 +1100 (Thu, 24 Nov 2011) | 1 line --- .../pelican/config/motors/extraconfig.tcl | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 site_ansto/instrument/pelican/config/motors/extraconfig.tcl diff --git a/site_ansto/instrument/pelican/config/motors/extraconfig.tcl b/site_ansto/instrument/pelican/config/motors/extraconfig.tcl new file mode 100644 index 00000000..4df464cb --- /dev/null +++ b/site_ansto/instrument/pelican/config/motors/extraconfig.tcl @@ -0,0 +1,14 @@ +### +# Oscillating collimator control +# oscmd start n -- will run the oscillator motor rco for n cycles and send a stop to the histmem + + +MakeOscillator oscmd rco + +proc rco_cb {} { + hmm pause +} +publish rco_cb user + +scriptcallback connect rco MOTEND rco_cb +