From e16e192d01332e5665ddb0a5ea19b0a51505d37f Mon Sep 17 00:00:00 2001 From: Ferdi Franceschini Date: Thu, 31 Jul 2014 15:48:30 +1000 Subject: [PATCH] Use the camera driver auxiliary command cm1_cmd to set motor position meta data. --- site_ansto/instrument/dingo/config/scan/scan.tcl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/site_ansto/instrument/dingo/config/scan/scan.tcl b/site_ansto/instrument/dingo/config/scan/scan.tcl index 126f8109..92259622 100644 --- a/site_ansto/instrument/dingo/config/scan/scan.tcl +++ b/site_ansto/instrument/dingo/config/scan/scan.tcl @@ -7,12 +7,11 @@ proc scan_file { fname {description ""} } { publish scan_file user proc ::scan::cm_count {sobj uobj point mode preset} { - cm1 send "clear meta" + cm1_cmd clearmeta foreach m "[sicslist type motor]" { if {$m != "dummy_motor"} { - set meta_cmd "set meta,[$m]" - cm1 send $meta_cmd + cm1_cmd motor $m } } cm1 count $preset