areaDetector  3-13
EPICS areaDetector framework
Macros | Functions | Variables
pco.cpp File Reference
#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
 

Macro Definition Documentation

◆ _ADIOC_

#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.

Author
tim madden
Date
2014

◆ FALSE

#define FALSE   false

◆ TRUE

#define TRUE   true

Function Documentation

◆ PCOConfig()

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

Parameters
portNameCstring like "PCOIOC", the asyn port name.
serverPortC string to the serial port asyn port driver.
maxBuffersMax num NDArrays to create
maxMemorymax bytes of NDArray space to create. 0 for infinite.
prioritythread priority, 50 is typical value.
stackSizeStack size for asynPortDriver, use 0.

Variable Documentation

◆ pco_blocking

int pco_blocking = 0

debugging flags

◆ pco_pr_mutex

int pco_pr_mutex = 0

◆ pco_pr_mutex2

int pco_pr_mutex2 = 0