Allow selecting external or bath sensor when using a Julabo on Quokka

This commit is contained in:
Ferdi Franceschini
2013-08-15 08:05:49 +10:00
parent cafbd02b68
commit fef7d4382e

View File

@@ -1,9 +1,9 @@
proc select_environment_controller {envtemp} { proc select_environment_controller {envtemp args} {
if [ catch { if [ catch {
puts "selecting $envtemp for environment control" puts "selecting $envtemp for environment control"
switch [string tolower $envtemp] { switch [string tolower $envtemp] {
"lh45" { "lh45" {
add_lh45 tc1 ca4-quokka 4003 0.5 add_lh45 tc1 ca4-quokka 4003 $args 0.5
proc ::histogram_memory::pre_count {} { proc ::histogram_memory::pre_count {} {
catch { catch {
hset /sample/tc1/sensor/start_temperature [hval /sample/tc1/sensor/value] hset /sample/tc1/sensor/start_temperature [hval /sample/tc1/sensor/value]