diff --git a/tcl/drivers/trun.tcl b/tcl/drivers/trun.tcl index 6f679d4..7390b86 100644 --- a/tcl/drivers/trun.tcl +++ b/tcl/drivers/trun.tcl @@ -497,9 +497,10 @@ proc trun::read_run {} { set now [DoubleTime] set tr [silent none sct target] set prev_tr [silent $tr sct prev_tr] + sct prev_tr $tr if {$tr eq "none"} { set tr $tmain - sct prev_tr $tr + sct prev_tr $tmain } else { set dif [expr $tr - $prev_tr] updateval_u [sct]/target $tr 0 diff --git a/tcl/startup/ccu4make.tcl b/tcl/startup/ccu4make.tcl index 1a12085..1ab1a43 100644 --- a/tcl/startup/ccu4make.tcl +++ b/tcl/startup/ccu4make.tcl @@ -41,7 +41,7 @@ proc makeCCU4 {args} { set hepump 1 } nvstep { - makenv nv nvstep + makenv nv -driver nvstep $sensirion GraphAdd nv.flow ln/min nv_flow magenta GraphAdd nv.autoflow.flowtarget ln/min nv_set green if {[silent 0 result instconfig sensirion]} { diff --git a/tcl/startup/flow_ctrl.tcl b/tcl/startup/flow_ctrl.tcl index adf03d1..e63be9c 100644 --- a/tcl/startup/flow_ctrl.tcl +++ b/tcl/startup/flow_ctrl.tcl @@ -161,7 +161,7 @@ proc flow::make {{getT flow::tmts} {getS "result tt tr"} {getF "result nv flow"} node difRange par 7 node flowSize par 10 node convTime par 30 - node Tmin par 10 + node Tmin par 1.5 node script -text par "flow::task" prop width 24 node getTemp -text par "$getT"