areaDetector / ADPICam

areaDetector driver for Princeton Instruments cameras using the PICam library
https://areadetector.github.io/areaDetector/ADPICam/PICamDoc.html
3 stars 4 forks source link

Camera MTE3 sensor temperature read back value does not update until "Acquire" start. #22

Open LeeYangLBLBCS opened 1 year ago

LeeYangLBLBCS commented 1 year ago

Running MTE3 on ubuntu 18.04. Camera sensor RBV value does not change until I command "Acquire" image.

MarkRivers commented 1 year ago

I looked at the driver. There is no explicit code to read the temperature. It appears to happen in a callback function that PICAM calls when it changes. I don't know when those callbacks are enabled and occur.

LeeYangLBLBCS commented 1 year ago

I noticed that the ADPICam's database template: https://github.com/areaDetector/ADPICam/blob/master/PICamApp/Db/PICam.template is not referencing ADBase.template. Maybe that's why the Temperature PV is not handled?

MarkRivers commented 1 year ago

ADBase.template is being explicitly loaded in st.cmd, rather than being included in PICam.template:

https://github.com/areaDetector/ADPICam/blob/5321c41cd7da478ad826c7e52035f95b113e39b0/iocs/PICamIOC/iocBoot/iocPICam/st.cmd#L29