[INSTRM-144] CCD Temps status bug Created: 10/Jul/17  Updated: 28/Jul/17  Resolved: 28/Jul/17

Status: Done
Project: Instrument control development
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Normal
Reporter: arnaud.lefur Assignee: cloomis
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

A bug occurs when we ask fee status, KeyError Exception :

09:14:05.976907 client.alefur 8 ccd_r1 f text="command failed: KeyError(1,) at /home/pfs/mhs/products/Linux64/ics_ccdActor/1.2/python/ccdActor/Commands/TopCmd.py:130"
ret = self.actor.fee.getTemps()
cmd.inform('ccdTemps=%0.2f,%0.2f,%0.2f' % (ret[1], ret[2], ret[3]))
cmd.inform('ccdTemps=%0.2f,%0.2f,%0.2f' % (ret['PA'], ret['ccd0'], ret['ccd1']))

That should work.
BTW, I've noticed that there is a 'FEE' probe also, should we monitor that ?



 Comments   
Comment by arnaud.lefur [ 10/Jul/17 ]

I've created a dedicated branch, I let you merge .

Comment by cloomis [ 28/Jul/17 ]

Merged in 8c8a6d7

Generated at Sat Feb 10 16:21:59 JST 2024 using Jira 8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b.