areaDetector  3-5-0
EPICS areaDetector framework
Classes | Macros
pvCamSrc.h File Reference
#include <stddef.h>
#include <stdlib.h>
#include <stdarg.h>
#include <math.h>
#include <stdio.h>
#include <errno.h>
#include <string.h>
#include <epicsTime.h>
#include <epicsThread.h>
#include <epicsEvent.h>
#include <epicsMutex.h>
#include <epicsString.h>
#include <epicsStdio.h>
#include <cantProceed.h>
#include "ADDriver.h"
#include "drvPVCam.h"
#include "master.h"
#include "pvcam.h"

Go to the source code of this file.

Classes

class  pvCam
 Driver for Roper (Photometrics and Princeton Instruments) cameras using the PvCam library. More...
 

Macros

#define POLL_TIME   0.01
 The polling interval when checking to see if acquisition is complete. More...
 
#define NUM_PV_CAM_PARAMS   (sizeof(PVCamParamString)/sizeof(PVCamParamString[0]))
 
#define MAX_DETECTORS_SUPPORTED   3
 
#define MAX_SPEEDS_SUPPORTED   5
 
#define PVCamInitDetectorString   "PVCAM_INITIALIZE_DETECTOR"
 
#define PVCamSlot1CamString   "PVCAM_SLOT1"
 
#define PVCamSlot2CamString   "PVCAM_SLOT2"
 
#define PVCamSlot3CamString   "PVCAM_SLOT3"
 
#define PVCamDetectorSelectedString   "PVCAM_DETECTORSELECTED"
 
#define PVCamChipNameRBVString   "PVCAM_CHIPNAME"
 
#define PVCamNumParallelPixelsRBVString   "PVCAM_NUMPARALLELPIXELS"
 
#define PVCamNumSerialPixelsRBVString   "PVCAM_NUMSERIALPIXELS"
 
#define PVCamPixelParallelSizeRBVString   "PVCAM_PIXELPARALLELSIZE"
 
#define PVCamPixelSerialSizeRBVString   "PVCAM_PIXELSERIALSIZE"
 
#define PVCamChipHeightMMRBVString   "PVCAM_CHIPHEIGHT"
 
#define PVCamChipWidthMMRBVString   "PVCAM_CHIPWIDTH"
 
#define PVCamPixelParallelDistRBVString   "PVCAM_PIXELPARALLELDIST"
 
#define PVCamPixelSerialDistRBVString   "PVCAM_PIXELSERIALDIST"
 
#define PVCamPostMaskRBVString   "PVCAM_POSTMASK"
 
#define PVCamPreMaskRBVString   "PVCAM_PREMASK"
 
#define PVCamPostScanRBVString   "PVCAM_POSTSCAN"
 
#define PVCamPreScanRBVString   "PVCAM_PRESCAN"
 
#define PVCamNumPortsRBVString   "PVCAM_NUMPORTS"
 
#define PVCamFullWellCapacityRBVString   "PVCAM_FULLWELLCAPACITY"
 
#define PVCamFrameTransferCapableRBVString   "PVCAM_FRAMETRANSFERCAPABLE"
 
#define PVCamNumSpeedTableEntriesRBVString   "PVCAM_NUMSPEEDTABLEENTRIES"
 
#define PVCamSpeedTableIndexString   "PVCAM_SPEEDTABLEINDEX"
 
#define PVCamSpeedTableIndexRBVString   "PVCAM_SPEEDTABLEINDEX_RBV"
 
#define PVCamBitDepthRBVString   "PVCAM_BITDEPTH"
 
#define PVCamPixelTimeRBVString   "PVCAM_PIXELTIME"
 
#define PVCamGainIndexString   "PVCAM_GAININDEX"
 
#define PVCamGainIndexRBVString   "PVCAM_GAININDEX_RBV"
 
#define PVCamMaxGainIndexRBVString   "PVCAM_MAXGAININDEX"
 
#define PVCamMinShutterOpenDelayRBVString   "PVCAM_MINSHUTTEROPENDELAY"
 
#define PVCamMaxShutterOpenDelayRBVString   "PVCAM_MAXSHUTTEROPENDELAY"
 
#define PVCamMinShutterCloseDelayRBVString   "PVCAM_MINSHUTTERCLOSEDELAY"
 
#define PVCamMaxShutterCloseDelayRBVString   "PVCAM_MAXSHUTTERCLOSEDELAY"
 
#define PVCamShutterOpenDelayString   "PVCAM_SHUTTEROPENDELAY"
 
#define PVCamShutterOpenDelayRBVString   "PVCAM_SHUTTEROPENDELAY_RBV"
 
#define PVCamShutterCloseDelayString   "PVCAM_SHUTTERCLOSEDELAY"
 
#define PVCamShutterCloseDelayRBVString   "PVCAM_SHUTTERCLOSEDELAY_RBV"
 
#define PVCamMeasuredTemperatureRBVString   "PVCAM_MEASUREDTEMPERATURE"
 
#define PVCamMinTemperatureRBVString   "PVCAM_MINTEMPERATURE"
 
#define PVCamMaxTemperatureRBVString   "PVCAM_MAXTEMPERATURE"
 
#define PVCamSetTemperatureString   "PVCAM_SETTEMPERATURE"
 
#define PVCamSetTemperatureRBVString   "PVCAM_SETTEMPERATURE_RBV"
 
#define PVCamDetectorModeString   "PVCAM_DETECTORMODE"
 
#define PVCamDetectorModeRBVString   "PVCAM_DETECTORMODE_RBV"
 
#define PVCamTriggerModeString   "PVCAM_TRIGGERMODE"
 
#define PVCamTriggerModeRBVString   "PVCAM_TRIGGERMODE_RBV"
 
#define PVCamTriggerEdgeString   "PVCAM_TRIGGEREDGE"
 
#define PVCamTriggerEdgeRBVString   "PVCAM_TRIGGEREDGE_RBV"
 
#define PVCamCamFirmwareVersRBVString   "PVCAM_CAMFIRMWAREVERS_RBV"
 
#define PVCamPCIFWVersRBVString   "PVCAM_PCIFWVERS_RBV"
 
#define PVCamHeadSerialNumRBVString   "PVCAM_HEADSERNUM_RBV"
 
#define PVCamSerialNumRBVString   "PVCAM_SERIALNUM_RBV"
 
#define PVCamPVCamVersRBVString   "PVCAM_PVCAMVERS_RBV"
 
#define PVCamDevDrvVersRBVString   "PVCAM_DEVDRVVERS_RBV"
 
#define FIRST_PVCAM_PARAM   PVCamInitDetector
 
#define LAST_PVCAM_PARAM   PVCamDevDrvVersRBV
 
#define NUM_PVCAM_PARAMS   ((int)(&LAST_PVCAM_PARAM - &FIRST_PVCAM_PARAM + 1))
 

Macro Definition Documentation

◆ FIRST_PVCAM_PARAM

#define FIRST_PVCAM_PARAM   PVCamInitDetector

◆ LAST_PVCAM_PARAM

#define LAST_PVCAM_PARAM   PVCamDevDrvVersRBV

◆ MAX_DETECTORS_SUPPORTED

#define MAX_DETECTORS_SUPPORTED   3

◆ MAX_SPEEDS_SUPPORTED

#define MAX_SPEEDS_SUPPORTED   5

◆ NUM_PV_CAM_PARAMS

#define NUM_PV_CAM_PARAMS   (sizeof(PVCamParamString)/sizeof(PVCamParamString[0]))

◆ NUM_PVCAM_PARAMS

#define NUM_PVCAM_PARAMS   ((int)(&LAST_PVCAM_PARAM - &FIRST_PVCAM_PARAM + 1))

◆ POLL_TIME

#define POLL_TIME   0.01

The polling interval when checking to see if acquisition is complete.

◆ PVCamBitDepthRBVString

#define PVCamBitDepthRBVString   "PVCAM_BITDEPTH"

◆ PVCamCamFirmwareVersRBVString

#define PVCamCamFirmwareVersRBVString   "PVCAM_CAMFIRMWAREVERS_RBV"

◆ PVCamChipHeightMMRBVString

#define PVCamChipHeightMMRBVString   "PVCAM_CHIPHEIGHT"

◆ PVCamChipNameRBVString

#define PVCamChipNameRBVString   "PVCAM_CHIPNAME"

◆ PVCamChipWidthMMRBVString

#define PVCamChipWidthMMRBVString   "PVCAM_CHIPWIDTH"

◆ PVCamDetectorModeRBVString

#define PVCamDetectorModeRBVString   "PVCAM_DETECTORMODE_RBV"

◆ PVCamDetectorModeString

#define PVCamDetectorModeString   "PVCAM_DETECTORMODE"

◆ PVCamDetectorSelectedString

#define PVCamDetectorSelectedString   "PVCAM_DETECTORSELECTED"

◆ PVCamDevDrvVersRBVString

#define PVCamDevDrvVersRBVString   "PVCAM_DEVDRVVERS_RBV"

◆ PVCamFrameTransferCapableRBVString

#define PVCamFrameTransferCapableRBVString   "PVCAM_FRAMETRANSFERCAPABLE"

◆ PVCamFullWellCapacityRBVString

#define PVCamFullWellCapacityRBVString   "PVCAM_FULLWELLCAPACITY"

◆ PVCamGainIndexRBVString

#define PVCamGainIndexRBVString   "PVCAM_GAININDEX_RBV"

◆ PVCamGainIndexString

#define PVCamGainIndexString   "PVCAM_GAININDEX"

◆ PVCamHeadSerialNumRBVString

#define PVCamHeadSerialNumRBVString   "PVCAM_HEADSERNUM_RBV"

◆ PVCamInitDetectorString

#define PVCamInitDetectorString   "PVCAM_INITIALIZE_DETECTOR"

◆ PVCamMaxGainIndexRBVString

#define PVCamMaxGainIndexRBVString   "PVCAM_MAXGAININDEX"

◆ PVCamMaxShutterCloseDelayRBVString

#define PVCamMaxShutterCloseDelayRBVString   "PVCAM_MAXSHUTTERCLOSEDELAY"

◆ PVCamMaxShutterOpenDelayRBVString

#define PVCamMaxShutterOpenDelayRBVString   "PVCAM_MAXSHUTTEROPENDELAY"

◆ PVCamMaxTemperatureRBVString

#define PVCamMaxTemperatureRBVString   "PVCAM_MAXTEMPERATURE"

◆ PVCamMeasuredTemperatureRBVString

#define PVCamMeasuredTemperatureRBVString   "PVCAM_MEASUREDTEMPERATURE"

◆ PVCamMinShutterCloseDelayRBVString

#define PVCamMinShutterCloseDelayRBVString   "PVCAM_MINSHUTTERCLOSEDELAY"

◆ PVCamMinShutterOpenDelayRBVString

#define PVCamMinShutterOpenDelayRBVString   "PVCAM_MINSHUTTEROPENDELAY"

◆ PVCamMinTemperatureRBVString

#define PVCamMinTemperatureRBVString   "PVCAM_MINTEMPERATURE"

◆ PVCamNumParallelPixelsRBVString

#define PVCamNumParallelPixelsRBVString   "PVCAM_NUMPARALLELPIXELS"

◆ PVCamNumPortsRBVString

#define PVCamNumPortsRBVString   "PVCAM_NUMPORTS"

◆ PVCamNumSerialPixelsRBVString

#define PVCamNumSerialPixelsRBVString   "PVCAM_NUMSERIALPIXELS"

◆ PVCamNumSpeedTableEntriesRBVString

#define PVCamNumSpeedTableEntriesRBVString   "PVCAM_NUMSPEEDTABLEENTRIES"

◆ PVCamPCIFWVersRBVString

#define PVCamPCIFWVersRBVString   "PVCAM_PCIFWVERS_RBV"

◆ PVCamPixelParallelDistRBVString

#define PVCamPixelParallelDistRBVString   "PVCAM_PIXELPARALLELDIST"

◆ PVCamPixelParallelSizeRBVString

#define PVCamPixelParallelSizeRBVString   "PVCAM_PIXELPARALLELSIZE"

◆ PVCamPixelSerialDistRBVString

#define PVCamPixelSerialDistRBVString   "PVCAM_PIXELSERIALDIST"

◆ PVCamPixelSerialSizeRBVString

#define PVCamPixelSerialSizeRBVString   "PVCAM_PIXELSERIALSIZE"

◆ PVCamPixelTimeRBVString

#define PVCamPixelTimeRBVString   "PVCAM_PIXELTIME"

◆ PVCamPostMaskRBVString

#define PVCamPostMaskRBVString   "PVCAM_POSTMASK"

◆ PVCamPostScanRBVString

#define PVCamPostScanRBVString   "PVCAM_POSTSCAN"

◆ PVCamPreMaskRBVString

#define PVCamPreMaskRBVString   "PVCAM_PREMASK"

◆ PVCamPreScanRBVString

#define PVCamPreScanRBVString   "PVCAM_PRESCAN"

◆ PVCamPVCamVersRBVString

#define PVCamPVCamVersRBVString   "PVCAM_PVCAMVERS_RBV"

◆ PVCamSerialNumRBVString

#define PVCamSerialNumRBVString   "PVCAM_SERIALNUM_RBV"

◆ PVCamSetTemperatureRBVString

#define PVCamSetTemperatureRBVString   "PVCAM_SETTEMPERATURE_RBV"

◆ PVCamSetTemperatureString

#define PVCamSetTemperatureString   "PVCAM_SETTEMPERATURE"

◆ PVCamShutterCloseDelayRBVString

#define PVCamShutterCloseDelayRBVString   "PVCAM_SHUTTERCLOSEDELAY_RBV"

◆ PVCamShutterCloseDelayString

#define PVCamShutterCloseDelayString   "PVCAM_SHUTTERCLOSEDELAY"

◆ PVCamShutterOpenDelayRBVString

#define PVCamShutterOpenDelayRBVString   "PVCAM_SHUTTEROPENDELAY_RBV"

◆ PVCamShutterOpenDelayString

#define PVCamShutterOpenDelayString   "PVCAM_SHUTTEROPENDELAY"

◆ PVCamSlot1CamString

#define PVCamSlot1CamString   "PVCAM_SLOT1"

◆ PVCamSlot2CamString

#define PVCamSlot2CamString   "PVCAM_SLOT2"

◆ PVCamSlot3CamString

#define PVCamSlot3CamString   "PVCAM_SLOT3"

◆ PVCamSpeedTableIndexRBVString

#define PVCamSpeedTableIndexRBVString   "PVCAM_SPEEDTABLEINDEX_RBV"

◆ PVCamSpeedTableIndexString

#define PVCamSpeedTableIndexString   "PVCAM_SPEEDTABLEINDEX"

◆ PVCamTriggerEdgeRBVString

#define PVCamTriggerEdgeRBVString   "PVCAM_TRIGGEREDGE_RBV"

◆ PVCamTriggerEdgeString

#define PVCamTriggerEdgeString   "PVCAM_TRIGGEREDGE"

◆ PVCamTriggerModeRBVString

#define PVCamTriggerModeRBVString   "PVCAM_TRIGGERMODE_RBV"

◆ PVCamTriggerModeString

#define PVCamTriggerModeString   "PVCAM_TRIGGERMODE"