From 3c51b17eb95a31c2367e3ae28ed85d4e06c9331c Mon Sep 17 00:00:00 2001 From: Ferdi Franceschini Date: Wed, 10 Sep 2014 14:46:28 +1000 Subject: [PATCH] Fix beamstop targets in Bilby selbs command. --- site_ansto/instrument/bilby/config/commands/commands.tcl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/site_ansto/instrument/bilby/config/commands/commands.tcl b/site_ansto/instrument/bilby/config/commands/commands.tcl index 55e5c4d4..0a74bf31 100644 --- a/site_ansto/instrument/bilby/config/commands/commands.tcl +++ b/site_ansto/instrument/bilby/config/commands/commands.tcl @@ -1,7 +1,7 @@ source $cfPath(commands)/commands_common.tcl namespace eval beamstops { - array set bs_target {bs3 66.5 bs4 66 bs5 64} + array set bs_target {3 66.5 4 66 5 64} namespace export selbs } namespace eval motor { @@ -47,7 +47,7 @@ command ::beamstops::selbs {int=3,4,5 bs} { } "5" { set bsmot "bs5" - set bsdownCmd "drive bs4 $bsl(4) bs5 $bsl(5)" + set bsdownCmd "drive bs3 $bsl(3) bs4 $bsl(4)" } default { error "beamstop selection must be an integer from 3 to 5"