areaDetector
3-14
EPICS areaDetector framework
|
#include <stddef.h>
#include <stdlib.h>
#include <math.h>
#include <stdio.h>
#include <errno.h>
#include <string.h>
#include <ctype.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <epicsTime.h>
#include <epicsThread.h>
#include <epicsEvent.h>
#include <epicsTimer.h>
#include <epicsMutex.h>
#include <epicsStdlib.h>
#include <epicsString.h>
#include <epicsStdio.h>
#include <cantProceed.h>
#include <iocsh.h>
#include <asynOctetSyncIO.h>
#include "ADDriver.h"
#include "grabberInterface.h"
#include "comportInterface.h"
#include "logfile.h"
#include "ccd_exception.h"
#include "coreco.h"
#include "stopWatch.h"
#include "pco_structures.h"
#include "ADCameralink.h"
#include <epicsExport.h>
#include "pco.h"
Macros | |
#define | _ADIOC_ |
pco.cpp Area Detector Driver for PCO cameras that use Camera Link Inherite ADCameraLink to provide Image Grabbing functions. More... | |
#define | FALSE false |
#define | TRUE true |
Functions | |
int | PCOConfig (const char *portName, const char *serverPort, int maxBuffers, size_t maxMemory, int priority, int stackSize) |
Called in IOC shell to start PCO. More... | |
Variables | |
int | pco_blocking = 0 |
debugging flags More... | |
int | pco_pr_mutex = 0 |
int | pco_pr_mutex2 = 0 |
#define _ADIOC_ |
pco.cpp Area Detector Driver for PCO cameras that use Camera Link Inherite ADCameraLink to provide Image Grabbing functions.
this class addes all the commands/control that is sent over serial port on CL grabber.
#define FALSE false |
#define TRUE true |
int PCOConfig | ( | const char * | portName, |
const char * | serverPort, | ||
int | maxBuffers, | ||
size_t | maxMemory, | ||
int | priority, | ||
int | stackSize | ||
) |
Called in IOC shell to start PCO.
drvSimDetector.h
portName | Cstring like "PCOIOC", the asyn port name. |
serverPort | C string to the serial port asyn port driver. |
maxBuffers | Max num NDArrays to create |
maxMemory | max bytes of NDArray space to create. 0 for infinite. |
priority | thread priority, 50 is typical value. |
stackSize | Stack size for asynPortDriver, use 0. |
int pco_blocking = 0 |
debugging flags
int pco_pr_mutex = 0 |
int pco_pr_mutex2 = 0 |