Copied in-situ modifications from ics1-quokka.
This commit is contained in:
@@ -16,6 +16,21 @@ switch [string tolower $envtemp] {
|
||||
}
|
||||
}
|
||||
}
|
||||
"brukerjulabo" {
|
||||
add_bruker_BEC1 ma1 137.157.202.80 4444 0.1
|
||||
add_lh45 tc1 137.157.202.78 4003 0.5
|
||||
proc ::histogram_memory::pre_count {} {
|
||||
catch {
|
||||
hset /sample/tc1/sensor/start_temperature [hval /sample/tc1/sensor/value]
|
||||
hset /sample/tc1/sensor/end_temperature [hval /sample/tc1/sensor/value]
|
||||
}
|
||||
}
|
||||
proc ::histogram_memory::post_count {} {
|
||||
catch {
|
||||
hset /sample/tc1/sensor/end_temperature [hval /sample/tc1/sensor/value]
|
||||
}
|
||||
}
|
||||
}
|
||||
"rhqc" {
|
||||
puts "Configuring RHQC"
|
||||
# 9600 8 1 None None Enable
|
||||
@@ -56,6 +71,49 @@ switch [string tolower $envtemp] {
|
||||
tuning 0
|
||||
interval 10
|
||||
}
|
||||
hfactory /sics/tc2/sensor/start_sensorValueA plain user float
|
||||
hfactory /sics/tc2/sensor/end_sensorValueA plain user float
|
||||
# ::scobj::hinitprops tc2 sensor/start_sensorValueA sensor/end_sensorValueA
|
||||
hsetprop /sics/tc2/sensor/start_sensorValueA nxalias start_sensorValueA
|
||||
hsetprop /sics/tc2/sensor/end_sensorValueA nxalias start_sensorValueB
|
||||
foreach {prop propval} {
|
||||
control true
|
||||
data true
|
||||
nxsave true
|
||||
mutable true
|
||||
klass parameter
|
||||
sdsinfo ::nexus::scobj::sdsinfo
|
||||
long_name tc2
|
||||
} {
|
||||
hsetprop /sics/tc2/sensor/start_sensorValueA $prop $propval
|
||||
hsetprop /sics/tc2/sensor/end_sensorValueA $prop $propval
|
||||
}
|
||||
proc ::histogram_memory::pre_count {} {
|
||||
catch {
|
||||
set fPath "magnetic"
|
||||
hset /sics/$fPath/start_magnetic [hval /sics/$fPath/magneticField]
|
||||
|
||||
hset /sics/$fPath/start_temperature_s1 [hval /sics/$fPath/Temp_s1]
|
||||
hset /sics/$fPath/start_temperature_s2 [hval /sics/$fPath/Temp_s2]
|
||||
hset /sics/$fPath/start_temperature_s3 [hval /sics/$fPath/Temp_s3]
|
||||
# Set lakeshore temperatures at start of acquisition
|
||||
hset /sample/tc2/sensor/start_sensorValueA [hval /sample/tc2/sensor/sensorValueA]
|
||||
hset /sample/tc2/sensor/end_sensorValueA [hval /sample/tc2/sensor/sensorValueA]
|
||||
}
|
||||
}
|
||||
|
||||
proc ::histogram_memory::post_count {} {
|
||||
catch {
|
||||
set fPath "magnetic"
|
||||
hset /sics/$fPath/end_magnetic [hval /sics/$fPath/magneticField]
|
||||
|
||||
hset /sics/$fPath/end_temperature_s1 [hval /sics/$fPath/Temp_s1]
|
||||
hset /sics/$fPath/end_temperature_s2 [hval /sics/$fPath/Temp_s2]
|
||||
hset /sics/$fPath/end_temperature_s3 [hval /sics/$fPath/Temp_s3]
|
||||
# Set lakeshore temperature at end of acquisition
|
||||
hset /sample/tc2/sensor/end_sensorValueA [hval /sample/tc2/sensor/sensorValueA]
|
||||
}
|
||||
}
|
||||
}
|
||||
"11tmagnetvti" {
|
||||
puts "Configuring 11TMagnet with VTI"
|
||||
|
||||
Reference in New Issue
Block a user