areaDetector  3-14
EPICS areaDetector framework
Macros | Enumerations | Functions
PhotonII.cpp File Reference
#include <stdio.h>
#include <errno.h>
#include <string.h>
#include <sys/stat.h>
#include <string>
#include <epicsTime.h>
#include <epicsThread.h>
#include <epicsEvent.h>
#include <epicsMutex.h>
#include <epicsTimer.h>
#include <epicsString.h>
#include <epicsStdio.h>
#include <cantProceed.h>
#include <iocsh.h>
#include <asynOctetSyncIO.h>
#include <ADDriver.h>
#include <epicsExport.h>
#include <PhotonII.h>

Macros

#define PII_SIZEX   768
 
#define PII_SIZEY   1024
 
#define PII_COMMAND_TIMEOUT   1.0
 
#define PII_MAX_FILENAME_LEN   256
 
#define PII_FILE_READ_DELAY   .01
 Time between checking to see if raw file is complete. More...
 
#define PII_FILE_READ_TIMEOUT   3.0
 

Enumerations

enum  PII_FrameType_t { PII_FrameNormal , PII_FrameDark , PII_FrameADC0 }
 Frame type choices. More...
 
enum  PII_TriggerEdge_t { PII_TriggerRising , PII_TriggerFalling }
 
enum  PII_TriggerMode_t { PII_TriggerStep , PII_TriggerContinuous }
 

Functions

int PhotonIIConfig (const char *portName, const char *commandPort, int maxBuffers, size_t maxMemory, int priority, int stackSize)
 
int p2util (const char *portName, const char *command)
 
 epicsExportRegistrar (PhotonIIRegister)
 

Macro Definition Documentation

◆ PII_COMMAND_TIMEOUT

#define PII_COMMAND_TIMEOUT   1.0

◆ PII_FILE_READ_DELAY

#define PII_FILE_READ_DELAY   .01

Time between checking to see if raw file is complete.

◆ PII_FILE_READ_TIMEOUT

#define PII_FILE_READ_TIMEOUT   3.0

◆ PII_MAX_FILENAME_LEN

#define PII_MAX_FILENAME_LEN   256

◆ PII_SIZEX

#define PII_SIZEX   768

◆ PII_SIZEY

#define PII_SIZEY   1024

Enumeration Type Documentation

◆ PII_FrameType_t

Frame type choices.

Enumerator
PII_FrameNormal 
PII_FrameDark 
PII_FrameADC0 

◆ PII_TriggerEdge_t

Enumerator
PII_TriggerRising 
PII_TriggerFalling 

◆ PII_TriggerMode_t

Enumerator
PII_TriggerStep 
PII_TriggerContinuous 

Function Documentation

◆ epicsExportRegistrar()

epicsExportRegistrar ( PhotonIIRegister  )

◆ p2util()

int p2util ( const char *  portName,
const char *  command 
)

◆ PhotonIIConfig()

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