areaDetector  3-5-0
EPICS areaDetector framework
Classes | Macros | Enumerations | Functions
Dexela.cpp File Reference
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <epicsTime.h>
#include <epicsThread.h>
#include <epicsExit.h>
#include <epicsString.h>
#include <epicsStdio.h>
#include <iocsh.h>
#include "ADDriver.h"
#include "BusScanner.h"
#include "DexelaDetector.h"
#include <epicsExport.h>
#include "Dexela.h"

Classes

struct  enumStruct_t
 

Macros

#define MAX_BINNING   10
 
#define MAX_TRIGGERS   6
 
#define MAX_FULL_WELL   2
 

Enumerations

enum  DEXTriggerMode_t {
  DEXInternalFreeRun, DEXInternalFixedRate, DEXInternalSoftware, DEXExternalEdgeSingle,
  DEXExternalEdgeMulti, DEXExternalBulb
}
 

Functions

int DexelaConfig (const char *portName, int detIndex, int maxBuffers, size_t maxMemory, int priority, int stackSize)
 Configuration command for Dexel driver; creates a new Dexela object. More...
 
 epicsExportRegistrar (DexelaRegister)
 

Macro Definition Documentation

◆ MAX_BINNING

#define MAX_BINNING   10

◆ MAX_FULL_WELL

#define MAX_FULL_WELL   2

◆ MAX_TRIGGERS

#define MAX_TRIGGERS   6

Enumeration Type Documentation

◆ DEXTriggerMode_t

Enumerator
DEXInternalFreeRun 
DEXInternalFixedRate 
DEXInternalSoftware 
DEXExternalEdgeSingle 
DEXExternalEdgeMulti 
DEXExternalBulb 

Function Documentation

◆ DexelaConfig()

int DexelaConfig ( const char *  portName,
int  detIndex,
int  maxBuffers,
size_t  maxMemory,
int  priority,
int  stackSize 
)

Configuration command for Dexel driver; creates a new Dexela object.

Parameters
[in]portNameThe name of the asyn port driver to be created.
[in]detIndexThe detector index in system (0=first detector, etc.)
[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.

◆ epicsExportRegistrar()

epicsExportRegistrar ( DexelaRegister  )