areaDetector
3-5-0
EPICS areaDetector framework
|
#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) | |
#define DRIVER_MODIFICATION 0 |
#define DRIVER_REVISION 8 |
#define DRIVER_VERSION 2 |
epicsExportRegistrar | ( | PerkinElmerRegister | ) |
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.
[in] | portName | The name of the asyn port driver to be created. |
[in] | IDType | The 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] | IDValue | The 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] | maxBuffers | The 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] | maxMemory | The 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] | priority | The thread priority for the asyn port driver thread if ASYN_CANBLOCK is set in asynFlags. |
[in] | stackSize | The stack size for the asyn port driver thread if ASYN_CANBLOCK is set in asynFlags. |