areaDetector
3-14
EPICS areaDetector framework
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <set>
#include <string>
#include <epicsEvent.h>
#include <epicsTime.h>
#include <epicsThread.h>
#include <epicsMessageQueue.h>
#include <iocsh.h>
#include <cantProceed.h>
#include <epicsString.h>
#include <epicsExit.h>
#include "Spinnaker.h"
#include "SpinGenApi/SpinnakerGenApi.h"
#include <ADGenICam.h>
#include <epicsExport.h>
#include "SPFeature.h"
#include "ADSpinnaker.h"
Macros | |
#define | DRIVER_VERSION 3 |
#define | DRIVER_REVISION 5 |
#define | DRIVER_MODIFICATION 0 |
#define | CALLBACK_MESSAGE_QUEUE_SIZE 100 |
Enumerations | |
enum | SPPixelConvert_t { SPPixelConvertNone , SPPixelConvertMono8 , SPPixelConvertMono16 , SPPixelConvertRaw16 , SPPixelConvertRGB8 , SPPixelConvertRGB16 } |
enum | SPTimeStamp_t { TimeStampCamera , TimeStampEPICS } |
enum | SPUniqueId_t { UniqueIdCamera , UniqueIdDriver } |
Functions | |
int | ADSpinnakerConfig (const char *portName, int cameraId, int numSPBuffers, size_t maxMemory, int priority, int stackSize) |
Configuration function to configure one camera. More... | |
epicsExportRegistrar (ADSpinnakerRegister) | |
#define CALLBACK_MESSAGE_QUEUE_SIZE 100 |
#define DRIVER_MODIFICATION 0 |
#define DRIVER_REVISION 5 |
#define DRIVER_VERSION 3 |
enum SPPixelConvert_t |
enum SPTimeStamp_t |
enum SPUniqueId_t |
int ADSpinnakerConfig | ( | const char * | portName, |
int | cameraId, | ||
int | numSPBuffers, | ||
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 ADSpinnaker 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] | numSPBuffers | The number of TransportLayer buffers to allocate in Spinnaker. 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 | ( | ADSpinnakerRegister | ) |