Use the camera driver auxiliary command cm1_cmd to set motor position meta data.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user