Copied modifications from ics1-platypus.

This commit is contained in:
Ferdi Franceschini
2013-10-29 07:12:52 +11:00
parent 7bb1763da9
commit d35e7079a2
2 changed files with 3 additions and 0 deletions

View File

@@ -80,6 +80,8 @@ proc ::exp_mode::omega_2theta { arg1 arg2 {s1vg 0} {s2vg 0} {s3vg 0} {s4vg 0}} {
} errMsg ] } { } errMsg ] } {
omega -1 omega -1
twotheta -1 twotheta -1
broadcast ERROR: omega_2theta command did not complete correctly
broadcast $errMsg
return -code error $errMsg return -code error $errMsg
} }
if {![string is double $s1vg] || ![string is double $s2vg] || ![string is double $s3vg] || ![string is double $s4vg]} { if {![string is double $s1vg] || ![string is double $s2vg] || ![string is double $s3vg] || ![string is double $s4vg]} {

View File

@@ -13,6 +13,7 @@ foreach {mc host port} {
foreach {bm host port} { foreach {bm host port} {
MONITOR_1 das1-platypus 30000 MONITOR_1 das1-platypus 30000
MONITOR_2 das1-platypus 30001 MONITOR_2 das1-platypus 30001
MONITOR_3 das1-platypus 30002
} { } {
dict set MONITOR_HOSTPORT $bm HOST $host dict set MONITOR_HOSTPORT $bm HOST $host
dict set MONITOR_HOSTPORT $bm PORT $port dict set MONITOR_HOSTPORT $bm PORT $port