Remove superfluous trailing white space from TCL files
This commit is contained in:
@@ -38,7 +38,7 @@ proc ord_set_pot { potxy potnumber potvalue } {
|
||||
set rsp [ sct_dhv transact "p $potname $potvalue" ]
|
||||
# MJL sometimes the driver returns absolute bollocks, looks like strings from inside the TCL interpreter.
|
||||
# Under this condition, assume the write failed, although we can't really tell without reading back value, but don't bother.
|
||||
# Just flag anything that's not 'ACK' as 'Bad' i.e. do retries.
|
||||
# Just flag anything that's not 'ACK' as 'Bad' i.e. do retries.
|
||||
# clientput "Response:" $rsp
|
||||
if { $rsp != "ACK" } { set rsp "Bad" }
|
||||
}
|
||||
@@ -401,7 +401,7 @@ proc ord_calc_hist_mmm_xy { } {
|
||||
set span_y 190
|
||||
set histogram_mean_x [expr double($histogram_mean_x) / double($span_x) ]
|
||||
set histogram_mean_y [expr double($histogram_mean_y) / double($span_y) ]
|
||||
clientput "Calculated histogram means: mx =" $histogram_mean_x "and my =" $histogram_mean_y "(should be
|
||||
clientput "Calculated histogram means: mx =" $histogram_mean_x "and my =" $histogram_mean_y "(should be
|
||||
roughly equal if bs window is square)."
|
||||
}
|
||||
Publish ord_calc_hist_mmm_xy User
|
||||
|
||||
@@ -4,7 +4,7 @@ set sim_mode [SplitReply [hmm_simulation]]
|
||||
|
||||
proc ::histogram_memory::init_OAT_TABLE {} {
|
||||
if [ catch {
|
||||
# We don't need a MAX_CHAN parameter for time because the time channel
|
||||
# We don't need a MAX_CHAN parameter for time because the time channel
|
||||
# is scaled by calling the ::histogram_memory::clock_scale function
|
||||
OAT_TABLE X -setdata MAX_CHAN 192
|
||||
OAT_TABLE Y -setdata MAX_CHAN 192
|
||||
@@ -19,7 +19,7 @@ proc ::histogram_memory::init_OAT_TABLE {} {
|
||||
hmm configure fat_frame_frequency $freq
|
||||
hmm configure fat_frame_source INTERNAL
|
||||
|
||||
OAT_TABLE -set X { 191.5 190.5 } NXC 192 Y { -0.5 0.5 } NYC 192 T { 0 20000 } NTC 1
|
||||
OAT_TABLE -set X { 191.5 190.5 } NXC 192 Y { -0.5 0.5 } NYC 192 T { 0 20000 } NTC 1
|
||||
} message ] {
|
||||
return -code error $message
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user