SICS-262 TC1 and TC2 sensor readings are duplicates of each other for lakeshore

An AsyncQueue is now being created for each temperature controller.

r2686 | ffr | 2008-08-29 21:55:02 +1000 (Fri, 29 Aug 2008) | 3 lines
This commit is contained in:
Ferdi Franceschini
2008-08-29 21:55:02 +10:00
committed by Douglas Clowes
parent e390dcb920
commit c53b56b97b

View File

@@ -31,9 +31,9 @@ proc ::environment::temperature::mkls340sim {temp_sobj} {
# @param IP, (optional) IP address for temperature controller.
# @param port, (optional) port number for temperature controller.
proc ::environment::temperature::mkls340 {temp_sobj IP port} {
Makeasyncqueue sertemp1 LS340 $IP $port
sertemp1 timeout 2000
EvFactory new $temp_sobj ls340 sertemp1 1 D ABCD
Makeasyncqueue ${temp_sobj}_AsyncQ LS340 $IP $port
${temp_sobj}_AsyncQ timeout 2000
EvFactory new $temp_sobj ls340 ${temp_sobj}_AsyncQ 1 D ABCD
sicslist setatt $temp_sobj units kelvin
sicslist setatt $temp_sobj klass @none
}