Add temperature bit value reading to slow_bend.py (CHANNEL_1_A_D_COUNTS).
authorW. Trevor King <wking@drexel.edu>
Sat, 17 Dec 2011 02:09:31 +0000 (21:09 -0500)
committerW. Trevor King <wking@drexel.edu>
Sat, 17 Dec 2011 02:17:06 +0000 (21:17 -0500)
posts/slow_bend/slow_bend.py

index 0e235b0627c9dc54e3be6c0db3d8069af0d1b471..f99a40e9f4cde93619529e0582724896694c6cb1 100755 (executable)
@@ -174,7 +174,7 @@ class Monitor (object):
     def _measure_temperature(self):
         self.log(msg='measure temperature')
         physical = self.temperature.get_pv()
-        bitvalue = -1  # self.temperature._read('INPUT_1') # or possibly ACTUALL_2, PROCESS_1, PROCESS_2
+        bitvalue = self.temperature._read('CHANNEL_1_A_D_COUNTS')
         return (bitvalue, physical)
 
     def _measure_ambient_temperature(self):