I added the camera parameters to EPICS and the MEDM screen. These are available as channels now in EPICS and eventually there will be a python script that writes the EPICS value to those channels, but right now it is just a python script that reads the values off the Dalsa camera.
I updated the channels in /cvs/cds/caltech/chans/daq/C4TCS.ini so that these are saved to the daq and I also restarted the daq daemon.
The python script that gets the camera parameters is here: scripts/Dalsa1M60/GetCameraParameters.py and the script that writes the parameters to the EPICS channels is here scripts/dalsa_to_epics.py.
These are attached as is C4TCS.ini and HWS.db which defines the new channels.
# Import the Dalsa1M60 packzge
import Dalsa1M60, subprocess
# define the serial command location
serial_cmd_location = '/opt/EDTpdv/serial_cmd'
# start a loop that continually gets the temperatures
getTemperatures = 1
# GetCameraParameters - a module for getting the Dalsa 1M60 parameters
# Part of the Dalsa1M60 python package
# GetCameraParameters( serial_cmd_location )