From: W. Trevor King Date: Sat, 17 Dec 2011 02:09:31 +0000 (-0500) Subject: Add temperature bit value reading to slow_bend.py (CHANNEL_1_A_D_COUNTS). X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=462cc014d975a9e6c248e28228f065acfe2d0a84;p=mw2txt.git Add temperature bit value reading to slow_bend.py (CHANNEL_1_A_D_COUNTS). --- diff --git a/posts/slow_bend/slow_bend.py b/posts/slow_bend/slow_bend.py index 0e235b0..f99a40e 100755 --- a/posts/slow_bend/slow_bend.py +++ b/posts/slow_bend/slow_bend.py @@ -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):