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