SICS-839 Change TCL var from nominal_outp_current to NominalOutpCurrent

This commit is contained in:
Douglas Clowes
2015-01-07 10:20:40 +11:00
parent 0afb08a7a3
commit 76d7191754

View File

@ -375,7 +375,7 @@ proc inTolerance {expectedLength} {
set nodename $tc_root/sensor/nominal_outp_current
set setpt [hval $nodename]
set nodename $tc_root/sensor/desired_current
set nominal_outp_current [hval $nodename]
set NominalOutpCurrent [hval $nodename]
# clientput "inTolerance(): comparing sensor/setpoint=$setpt with actual sensorValue=$temp"
set diff [expr {abs($setpt - $NominalOutpCurrent)}]
if {$diff > $::scobj::bruker_BEC1::bruker_BEC1_driveTolerance} {
@ -851,7 +851,7 @@ proc checktol {tc_root} {
set catch_status [ catch {
set retVal 0
set sensorValue $tc_root/sensor/desired_current
set nominal_outp_current [hval $sensorValue]
set NominalOutpCurrent [hval $sensorValue]
set isetp $tc_root/sensor/nominal_outp_current
set setpt [hval $isetp]
set tol [hval $tc_root/emon/tolerance]