areaDetector  3-14
EPICS areaDetector framework
Macros | Functions
andorCCD.cpp File Reference
#include <stdio.h>
#include <string.h>
#include <string>
#include <errno.h>
#include <epicsTime.h>
#include <epicsThread.h>
#include <epicsEvent.h>
#include <epicsString.h>
#include <iocsh.h>
#include <epicsExit.h>
#include <libxml/parser.h>
#include <ADDriver.h>
#include "atmcdLXd.h"
#include "ShamrockCIF.h"
#include "SPEHeader.h"
#include <epicsExport.h>
#include "andorCCD.h"

Macros

#define DRIVER_VERSION   2
 Area Detector driver for the Andor CCD. More...
 
#define DRIVER_REVISION   9
 
#define DRIVER_MODIFICATION   0
 

Functions

xmlNode * xmlFindChildElement (xmlNode *parent, const char *name)
 
int andorCCDConfig (const char *portName, const char *installPath, int cameraSerial, int shamrockID, int maxBuffers, size_t maxMemory, int priority, int stackSize)
 IOC shell configuration command for Andor driver. More...
 
 epicsExportRegistrar (andorCCDRegister)
 

Macro Definition Documentation

◆ DRIVER_MODIFICATION

#define DRIVER_MODIFICATION   0

◆ DRIVER_REVISION

#define DRIVER_REVISION   9

◆ DRIVER_VERSION

#define DRIVER_VERSION   2

Area Detector driver for the Andor CCD.

Author
Matthew Pearson
Date
June 2009

Updated Dec 2011 for Asyn 4-17 and areaDetector 1-7

Major updates to get callbacks working, etc. by Mark Rivers Feb. 2011 Updated by Peter Heesterman to support multi-track operation Oct. 2019

Function Documentation

◆ andorCCDConfig()

int andorCCDConfig ( const char *  portName,
const char *  installPath,
int  cameraSerial,
int  shamrockID,
int  maxBuffers,
size_t  maxMemory,
int  priority,
int  stackSize 
)

IOC shell configuration command for Andor driver.

Parameters
[in]portNameThe name of the asyn port driver to be created.
[in]installPathThe path to the Andor directory containing the detector INI files, etc. This can be specified as an empty string ("") for new detectors that don't use the INI
[in]cameraSerialThe serial number of the desired camera.
[in]shamrockIDThe index number of the Shamrock spectrograph, if installed. 0 is the first Shamrock in the system. Ignored if there are no Shamrocks.
[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. files on Windows, but must be a valid path on Linux.
[in]priorityThe thread priority for the asyn port driver thread
[in]stackSizeThe stack size for the asyn port driver thread

◆ epicsExportRegistrar()

epicsExportRegistrar ( andorCCDRegister  )

◆ xmlFindChildElement()

xmlNode* xmlFindChildElement ( xmlNode *  parent,
const char *  name 
)