areaDetector  3-5-0
EPICS areaDetector framework
Macros | Functions
PerkinElmer.cpp File Reference
#include <sys/stat.h>
#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 <epicsExit.h>
#include <epicsMutex.h>
#include <epicsString.h>
#include <epicsStdio.h>
#include <cantProceed.h>
#include <iocsh.h>
#include "ADDriver.h"
#include <epicsExport.h>
#include "PerkinElmer.h"

Macros

#define DRIVER_VERSION   2
 
#define DRIVER_REVISION   8
 
#define DRIVER_MODIFICATION   0
 

Functions

int PerkinElmerConfig (const char *portName, int IDType, const char *IDValue, int maxBuffers, size_t maxMemory, int priority, int stackSize)
 Configuration command for Perkin Elmer driver; creates a new PerkinElmer object. More...
 
 epicsExportRegistrar (PerkinElmerRegister)
 

Macro Definition Documentation

◆ DRIVER_MODIFICATION

#define DRIVER_MODIFICATION   0

◆ DRIVER_REVISION

#define DRIVER_REVISION   8

◆ DRIVER_VERSION

#define DRIVER_VERSION   2

Function Documentation

◆ epicsExportRegistrar()

epicsExportRegistrar ( PerkinElmerRegister  )

◆ PerkinElmerConfig()

int PerkinElmerConfig ( const char *  portName,
int  IDType,
const char *  IDValue,
int  maxBuffers,
size_t  maxMemory,
int  priority,
int  stackSize 
)

Configuration command for Perkin Elmer driver; creates a new PerkinElmer object.

Parameters
[in]portNameThe name of the asyn port driver to be created.
[in]IDTypeThe type of system ID being specifed in IDValue. Allowed values are:
IDType = 0 Frame grabber card or directly connected GigE detector, IDValue = detector index # in system.
IDType = 1 GigE detector, IDValue = IP address (e.g. 164.54.160.21)
IDType = 2 GigE detector, IDValue = MAC address (e.g. 00005b032e6b, must be lower-case letters)
IDType = 3 GigE detector, IDValue = device name (e.g. 8#2608).
[in]IDValueThe detector ID as explained above (index #, IP name, MAC address, or device name)
For IDType=0 then if IDValue="" then the first detector found in the system will be used.
For IDType=3 the available device names on the network can be found with the command "asynReport 1 portName"
[in]maxBuffersThe maximum number of NDArray buffers that the NDArrayPool for this driver is allowed to allocate. Set this to -1 to allow an unlimited number of buffers.
[in]maxMemoryThe maximum amount of memory that the NDArrayPool for this driver is allowed to allocate. Set this to -1 to allow an unlimited amount of memory.
[in]priorityThe thread priority for the asyn port driver thread if ASYN_CANBLOCK is set in asynFlags.
[in]stackSizeThe stack size for the asyn port driver thread if ASYN_CANBLOCK is set in asynFlags.