From e46298289797563622df46afef159e560c231a16 Mon Sep 17 00:00:00 2001 From: Douglas Clowes Date: Fri, 30 May 2008 17:39:29 +1000 Subject: [PATCH] Change slit gaps to floating point to avoid integer truncation in expressions r2603 | dcl | 2008-05-30 17:39:29 +1000 (Fri, 30 May 2008) | 2 lines --- site_ansto/instrument/qld/motor_configuration.tcl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/site_ansto/instrument/qld/motor_configuration.tcl b/site_ansto/instrument/qld/motor_configuration.tcl index d019bc34..0edbde16 100644 --- a/site_ansto/instrument/qld/motor_configuration.tcl +++ b/site_ansto/instrument/qld/motor_configuration.tcl @@ -26,8 +26,8 @@ set slitStepRate 20125 #Measured slit gap, in units, after homing on limit switches set ss1h_Gap 52.6 set ss1v_Gap 128.6 -set ss2h_Gap 51 -set ss2v_Gap 205 +set ss2h_Gap 51.0 +set ss2v_Gap 205.0 set ss1r_Home [expr $ss1h_Gap/2*$slitStepRate] set ss1l_Home [expr $ss1h_Gap/2*$slitStepRate]