/home/epics/devel/areaDetector/ADApp/PSLSrc/PSL.cpp File Reference

#include <stdio.h>
#include <string.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 <epicsExport.h>
#include <asynOctetSyncIO.h>
#include <asynCommonSyncIO.h>
#include "ADDriver.h"

Classes

class  PSL
 Driver for Photonic Sciencies Ltd. More...

Defines

#define MAX_MESSAGE_SIZE   256
 Messages to/from server.
#define MAX_FILENAME_LEN   256
#define PSL_SERVER_TIMEOUT   1.0
#define MAX_PSL_TRIGGER_MODES   7
#define MAX_PSL_FILE_FORMATS   9
#define PSLOffOnString   "PSL_OFF_ON"
#define PSLResetString   "PSL_RESET"
#define FIRST_PSL_PARAM   PSLOffOn
#define LAST_PSL_PARAM   PSLReset
#define NUM_PSL_PARAMS   (&LAST_PSL_PARAM - &FIRST_PSL_PARAM + 1)

Enumerations

enum  PSLTriggerMode_t {
  PSLTriggerFreeRun, PSLTriggerSoftware, PSLTriggerFalling, PSLTriggerRising,
  PSLTriggerPipelineSoftware, PSLTriggerPipelineFalling, PSLTriggerPipelineRising
}
 Trigger mode choices. More...
enum  PSLFileFormat_t {
  PSLFileFormatTIFF, PSLFileFormatJPEG, PSLFileFormatBMP, PSLFileFormatGIF,
  PSLFileFormatPNG, PSLFileFormatFLF, PSLFileFormatICO, PSLFileFormatPNM,
  PSLFileFormatPCX
}
 Trigger mode choices. More...

Functions

int PSLConfig (const char *portName, const char *serverPort, int maxBuffers, size_t maxMemory, int priority, int stackSize)
 epicsExportRegistrar (PSLRegister)

Define Documentation

#define FIRST_PSL_PARAM   PSLOffOn

#define LAST_PSL_PARAM   PSLReset

#define MAX_FILENAME_LEN   256

#define MAX_MESSAGE_SIZE   256

Messages to/from server.

#define MAX_PSL_FILE_FORMATS   9

#define MAX_PSL_TRIGGER_MODES   7

#define NUM_PSL_PARAMS   (&LAST_PSL_PARAM - &FIRST_PSL_PARAM + 1)

#define PSL_SERVER_TIMEOUT   1.0

#define PSLOffOnString   "PSL_OFF_ON"

#define PSLResetString   "PSL_RESET"


Enumeration Type Documentation

Trigger mode choices.

Enumerator:
PSLFileFormatTIFF 
PSLFileFormatJPEG 
PSLFileFormatBMP 
PSLFileFormatGIF 
PSLFileFormatPNG 
PSLFileFormatFLF 
PSLFileFormatICO 
PSLFileFormatPNM 
PSLFileFormatPCX 

Trigger mode choices.

Enumerator:
PSLTriggerFreeRun 
PSLTriggerSoftware 
PSLTriggerFalling 
PSLTriggerRising 
PSLTriggerPipelineSoftware 
PSLTriggerPipelineFalling 
PSLTriggerPipelineRising 


Function Documentation

epicsExportRegistrar ( PSLRegister   ) 

int PSLConfig ( const char *  portName,
const char *  serverPort,
int  maxBuffers,
size_t  maxMemory,
int  priority,
int  stackSize 
)


Generated on Tue Aug 9 14:44:37 2011 for areaDetector by  doxygen 1.5.7.1