areaDetector
3-13
EPICS areaDetector framework
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <algorithm>
#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 <epicsExport.h>
#include "PylonFeature.h"
#include "ADPylon.h"
Classes | |
class | ADPylonCameraEventHandler |
Pylon camera event handler. More... | |
class | ADPylonConfigurationEventHandler |
Pylon camera configuration event handler. More... | |
class | ADPylonImageEventHandler |
Pylon image grabber event handler. More... | |
Macros | |
#define | DRIVER_VERSION 1 |
#define | DRIVER_REVISION 0 |
#define | DRIVER_MODIFICATION 0 |
Enumerations | |
enum | PYLONPixelConvert_t { PYLONPixelConvertNone , PYLONPixelConvertMono8 , PYLONPixelConvertMono16 , PYLONPixelConvertRGB8 , PYLONPixelConvertRGB16 } |
enum | PYLONTimeStamp_t { TimeStampCamera , TimeStampEPICS } |
enum | PYLONUniqueId_t { UniqueIdCamera , UniqueIdDriver } |
Functions | |
int | ADPylonConfig (const char *portName, const char *cameraId, size_t maxMemory, int priority, int stackSize) |
Configuration function to configure one camera. More... | |
epicsExportRegistrar (ADPylonRegister) | |
Variables | |
struct { | |
Pylon::EPixelType fmt | |
NDColorMode_t colorMode | |
NDDataType_t dataType | |
NDBayerPattern_t bayerFormat | |
} | pix_lookup [] |
#define DRIVER_MODIFICATION 0 |
#define DRIVER_REVISION 0 |
#define DRIVER_VERSION 1 |
enum PYLONPixelConvert_t |
enum PYLONTimeStamp_t |
enum PYLONUniqueId_t |
int ADPylonConfig | ( | const char * | portName, |
const char * | cameraId, | ||
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 instanciates one object from the ADPylon class.
[in] | portName | asyn port name to assign to the camera. |
[in] | cameraId | The camera index or serial number; <1000 is assumed to be index, >=1000 is assumed to be serial number. |
[in] | maxMemory | Maximum memory (in bytes) that this driver is allowed to allocate. So if max. size = 1024x768 (8bpp) and maxBuffers is, say 14. maxMemory = 1024x768x14 = 11010048 bytes (~11MB). 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 | ( | ADPylonRegister | ) |
NDBayerPattern_t bayerFormat |
NDColorMode_t colorMode |
NDDataType_t dataType |
Pylon::EPixelType fmt |
struct { ... } pix_lookup[] |