areaDetector  3-5-0
EPICS areaDetector framework
Functions
FastCCD.cpp File Reference
#include <stdio.h>
#include <string.h>
#include <string>
#include <unistd.h>
#include <stdlib.h>
#include <sys/stat.h>
#include <epicsTime.h>
#include <epicsThread.h>
#include <epicsEvent.h>
#include <epicsString.h>
#include <iocsh.h>
#include <epicsExport.h>
#include <epicsExit.h>
#include <alarm.h>
#include "cin.h"
#include "FastCCD.h"

Functions

void timespec_diff (struct timespec *start, struct timespec *stop, struct timespec *result)
 
void FastCCDDebug (int error, int debug)
 IOC shell configuration command for debug output. More...
 
int FastCCDConfig (const char *portName, int maxBuffers, size_t maxMemory, int priority, int stackSize, int packetBuffer, int imageBuffer, const char *baseIP, const char *fabricIP, const char *fabricMAC)
 IOC shell configuration command for FastCCD driver. More...
 
 epicsExportRegistrar (FastCCDRegister)
 

Function Documentation

◆ epicsExportRegistrar()

epicsExportRegistrar ( FastCCDRegister  )

◆ FastCCDConfig()

int FastCCDConfig ( const char *  portName,
int  maxBuffers,
size_t  maxMemory,
int  priority,
int  stackSize,
int  packetBuffer,
int  imageBuffer,
const char *  baseIP,
const char *  fabricIP,
const char *  fabricMAC 
)

IOC shell configuration command for FastCCD driver.

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
[in]stackSizeThe stack size for the asyn port driver thread
[in]packetBufferThe CINDATA packet buffer size
[in]imageBufferThe CINDATA image buffer size
[in]baseIPThe base IP address
[in]fabricIPThe fabric IP address
[in]fabricMACThe fabric MAC address

◆ FastCCDDebug()

void FastCCDDebug ( int  error,
int  debug 
)

IOC shell configuration command for debug output.

Parameters
[in]error(0 = no error output, 1 = error output to stderr)
[in]debug(0 = no debug output, 1 = debug output to stderr)

◆ timespec_diff()

void timespec_diff ( struct timespec *  start,
struct timespec *  stop,
struct timespec *  result 
)