areaDetector  3-5-0
EPICS areaDetector framework
Classes | Macros | Typedefs | Functions
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 <asynOctetSyncIO.h>
#include <asynCommonSyncIO.h>
#include "ADDriver.h"
#include <epicsExport.h>
#include <string>
#include <set>

Classes

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

Macros

#define MAX_MESSAGE_SIZE   4096
 
#define MAX_FILENAME_LEN   256
 
#define PSL_SERVER_TIMEOUT   2.0
 
#define PSL_GET_IMAGE_TIMEOUT   20.0
 
#define MAX_CHOICES   64
 
#define PSLCameraNameString   "PSL_CAMERA_NAME"
 
#define PSLTIFFCommentString   "PSL_TIFF_COMMENT"
 
#define FIRST_PSL_PARAM   PSLCameraName_
 
#define LAST_PSL_PARAM   PSLTIFFComment_
 
#define NUM_PSL_PARAMS   ((int)(&LAST_PSL_PARAM - &FIRST_PSL_PARAM + 1))
 

Typedefs

typedef std::set< std::string > choice_t
 

Functions

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

Macro Definition Documentation

◆ FIRST_PSL_PARAM

#define FIRST_PSL_PARAM   PSLCameraName_

◆ LAST_PSL_PARAM

#define LAST_PSL_PARAM   PSLTIFFComment_

◆ MAX_CHOICES

#define MAX_CHOICES   64

◆ MAX_FILENAME_LEN

#define MAX_FILENAME_LEN   256

◆ MAX_MESSAGE_SIZE

#define MAX_MESSAGE_SIZE   4096

◆ NUM_PSL_PARAMS

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

◆ PSL_GET_IMAGE_TIMEOUT

#define PSL_GET_IMAGE_TIMEOUT   20.0

◆ PSL_SERVER_TIMEOUT

#define PSL_SERVER_TIMEOUT   2.0

◆ PSLCameraNameString

#define PSLCameraNameString   "PSL_CAMERA_NAME"

◆ PSLTIFFCommentString

#define PSLTIFFCommentString   "PSL_TIFF_COMMENT"

Typedef Documentation

◆ choice_t

typedef std::set<std::string> choice_t

Function Documentation

◆ epicsExportRegistrar()

epicsExportRegistrar ( PSLRegister  )

◆ PSLConfig()

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