areaDetector  3-5-0
EPICS areaDetector framework
Macros | Functions
ADPICam.cpp File Reference
#include <cstring>
#include <cstdlib>
#include <cstdio>
#include <cmath>
#include <algorithm>
#include <epicsTime.h>
#include <epicsExit.h>
#include "ADDriver.h"
#include <epicsExport.h>
#include "ADPICam.h"

Macros

#define MAX_ENUM_STATES   16
 Copyright (c) 2015, UChicago Argonne, LLC See LICENSE file. More...
 

Functions

int PICamConfig (const char *portName, int maxBuffers, size_t maxMemory, int priority, int stackSize)
 Configuration command for PICAM driver; creates a new PICam object. More...
 
int PICamAddDemoCamera (const char *demoCameraName)
 Configuration command for PICAM driver; creates a new PICam object. More...
 
 epicsExportRegistrar (PICamRegister)
 

Macro Definition Documentation

◆ MAX_ENUM_STATES

#define MAX_ENUM_STATES   16

Copyright (c) 2015, UChicago Argonne, LLC See LICENSE file.

Function Documentation

◆ epicsExportRegistrar()

epicsExportRegistrar ( PICamRegister  )

◆ PICamAddDemoCamera()

int PICamAddDemoCamera ( const char *  demoCameraName)

Configuration command for PICAM driver; creates a new PICam object.

Parameters
[in]demoCameraNameString identifying demoCameraName

◆ PICamConfig()

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

Configuration command for PICAM driver; creates a new PICam object.

Parameters
[in]portNameThe name of the asyn port driver to be created.
[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.