areaDetector
3-13
EPICS areaDetector framework
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <string>
#include <epicsEvent.h>
#include <epicsTime.h>
#include <epicsThread.h>
#include <iocsh.h>
#include <cantProceed.h>
#include <epicsString.h>
#include <epicsExit.h>
#include <ADGenICam.h>
#include <EGrabber.h>
#include <epicsExport.h>
#include "ADEuresys.h"
#include "EuresysFeature.h"
Classes | |
class | myGrabber |
Macros | |
#define | DRIVER_VERSION 1 |
#define | DRIVER_REVISION 0 |
#define | DRIVER_MODIFICATION 0 |
Enumerations | |
enum | ESTimeStamp_t { TimeStampCamera , TimeStampEPICS } |
enum | ESUniqueId_t { UniqueIdCamera , UniqueIdDriver } |
Functions | |
int | ADEuresysConfig (const char *portName, const char *cameraId, int numEGBuffers, size_t maxMemory, int priority, int stackSize) |
Configuration function to configure one camera. More... | |
epicsExportRegistrar (ADEuresysRegister) | |
#define DRIVER_MODIFICATION 0 |
#define DRIVER_REVISION 0 |
#define DRIVER_VERSION 1 |
enum ESTimeStamp_t |
enum ESUniqueId_t |
int ADEuresysConfig | ( | const char * | portName, |
const char * | cameraId, | ||
int | numEGBuffers, | ||
size_t | maxMemory, | ||
int | priority, | ||
int | stackSize | ||
) |
Configuration function to configure one camera.
This function need to be called once for each camera to be used by the IOC. A call to this function instantiates one object from the ADEuresys class.
[in] | portName | asyn port name to assign to the camera. |
[in] | cameraId | A string identifying the camera to control. |
[in] | numEGBuffers | The number of buffers to allocate in EGrabber. If set to 0 or omitted the default of 100 will be used. |
[in] | maxMemory | Maximum memory (in bytes) that this driver is allowed to allocate. 0=unlimited. |
[in] | priority | The EPICS thread priority for this driver. 0=use asyn default. |
[in] | stackSize | The size of the stack for the EPICS port thread. 0=use asyn default. |
epicsExportRegistrar | ( | ADEuresysRegister | ) |