Make instrument specific Oxford configs consistent for Quokka and Taipan.
This commit is contained in:
@@ -1,6 +1 @@
|
|||||||
fileeval $cfPath(environment)/magneticField/sct_oxford_labview.tcl
|
fileeval $cfPath(environment)/magneticField/sct_oxford_labview.tcl
|
||||||
|
|
||||||
# PORT 55001
|
|
||||||
# Eg Make a magnet driver called magnet which polls every 10 seconds
|
|
||||||
# add_oxmag magnet 10.157.205.3 55001 10
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1 @@
|
|||||||
fileeval $cfPath(environment)/magneticField/sct_oxford_labview.tcl
|
fileeval $cfPath(environment)/magneticField/sct_oxford_labview.tcl
|
||||||
|
|
||||||
if { [ info exists ::config_dict ] && [ dict get $::config_dict 12tmagnet enabled ] } {
|
|
||||||
set IP [dict get $::config_dict 12tmagnet ip]
|
|
||||||
set PORT [dict get $::config_dict 12tmagnet port]
|
|
||||||
set NAME [dict get $::config_dict 12tmagnet name]
|
|
||||||
puts "MAGNET: add_oxmag $NAME $IP $PORT"
|
|
||||||
add_oxmag $NAME $IP $PORT
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user