photonfocus

This modules allows communication with Photonfocus camera modules.

The usage is like this:

>>> PhotonFocusSensor.listDevices() # get a list of devices and choose one of them (the list index)
[('0, National Instruments, port0, 3, 0', '2.34 build 0'),
('1, National Instruments, port1, 3, 0', '2.34 build 0'),
...]
>>> sensor = PhotonFocusSensor(0) #take 'National Instruments, port0'
>>> print sensor.exposureTime #get the exposure time
20.0
>>> sensor.exposureTime = 10 #set the exposure time
>>> print sensor.tempCMOS #get the CMOS temperature
18.0
class runmacs.spec.hw.photonfocus.PhotonFocusSensor(port)[source]

Represents a communication channel to a Photonfocus camera sensor.

exposureTime

exposure time [ms]

Note

strange things happen, when this collides with frameRateCFR

frameRateCFR

constant frame rate [Hz]

Note

strange things happen, when this collides with exposureTime

classmethod listDevices()[source]

Get a list of all connected devices.

tempADC

temperaure of ADC board

tempBoard

temperaure of sensor board

tempCMOS

temperature of CMOS sensor

tempFPGA

temperature of FPGA