Regenerate SCT drivers

This commit is contained in:
Douglas Clowes
2014-12-02 10:09:17 +11:00
parent e64b7bf409
commit 5f2223510f
41 changed files with 82 additions and 0 deletions

View File

@@ -106,6 +106,8 @@ proc ::scobj::green_magnet_labview::read_config {} {
}
if { [string equal -nocase [dict get $v "driver"] "green_magnet_labview"] } {
::scobj::green_magnet_labview::sics_log 9 "No sctcontroller for green_magnet_labview"
set ip_address [dict get $v ip]
set tcp_port [dict get $v port]
${ns}::mkDriver sct_${name} ${name} ${device_class} ${simulation_flag} ${ip_address} ${tcp_port}
}
}

View File

@@ -37,10 +37,12 @@ proc ::scobj::oxford12tlv::mkDriver { sct_controller name device_class simulatio
MakeSICSObj ${name} SCT_OBJECT
sicslist setatt ${name} driver oxford12tlv
sicslist setatt ${name} klass ${device_class}
sicslist setatt ${name} long_name ${name}
set scobj_hpath /sics/${name}
hsetprop ${scobj_hpath} driver oxford12tlv
hsetprop ${scobj_hpath} klass ${device_class}
hsetprop ${scobj_hpath} data true
hsetprop ${scobj_hpath} debug_threshold 5

View File

@@ -278,6 +278,7 @@ proc ::scobj::tsi_smc::mkDriver { sct_controller name device_class simulation_fl
MakeSICSObj ${name} SCT_OBJECT
sicslist setatt ${name} driver tsi_smc
sicslist setatt ${name} klass ${device_class}
sicslist setatt ${name} long_name ${name}
@@ -564,6 +565,7 @@ proc ::scobj::tsi_smc::mkDriver { sct_controller name device_class simulation_fl
hsetprop ${scobj_hpath}/b data "true"
hsetprop ${scobj_hpath}/b klass "@none"
hsetprop ${scobj_hpath}/b type "part"
hsetprop ${scobj_hpath} driver tsi_smc
hsetprop ${scobj_hpath} klass ${device_class}
hsetprop ${scobj_hpath} data true
hsetprop ${scobj_hpath} debug_threshold 5