areaDetector
3-14
EPICS areaDetector framework
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <set>
#include <epicsEvent.h>
#include <epicsTime.h>
#include <epicsThread.h>
#include <iocsh.h>
#include <cantProceed.h>
#include <epicsString.h>
#include <epicsExit.h>
#include "VimbaCPP/Include/VimbaCPP.h"
#include "VimbaImageTransform/Include/VmbTransform.h"
#include <ADGenICam.h>
#include <epicsExport.h>
#include "VimbaFeature.h"
#include "ADVimba.h"
Classes | |
class | ADVimbaFrameObserver |
class | ADVimbaCameraListObserver |
Macros | |
#define | DRIVER_VERSION 1 |
#define | DRIVER_REVISION 5 |
#define | DRIVER_MODIFICATION 0 |
#define | CALLBACK_MESSAGE_QUEUE_SIZE 10 |
#define | NUM_VIMBA_BUFFERS 10 |
Enumerations | |
enum | VMBPixelConvert_t { VMBPixelConvertNone , VMBPixelConvertMono8 , VMBPixelConvertMono16 , VMBPixelConvertRGB8 , VMBPixelConvertRGB16 } |
enum | VMBTimeStamp_t { TimeStampCamera , TimeStampEPICS } |
enum | VMBUniqueId_t { UniqueIdCamera , UniqueIdDriver } |
Functions | |
int | ADVimbaConfig (const char *portName, const char *cameraId, size_t maxMemory, int priority, int stackSize) |
Configuration function to configure one camera. More... | |
epicsExportRegistrar (ADVimbaRegister) | |
#define CALLBACK_MESSAGE_QUEUE_SIZE 10 |
#define DRIVER_MODIFICATION 0 |
#define DRIVER_REVISION 5 |
#define DRIVER_VERSION 1 |
#define NUM_VIMBA_BUFFERS 10 |
enum VMBPixelConvert_t |
enum VMBTimeStamp_t |
enum VMBUniqueId_t |
int ADVimbaConfig | ( | 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 ADVimba 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 | ( | ADVimbaRegister | ) |