areaDetector
3-5-0
EPICS areaDetector framework
|
#include <stdio.h>
#include <errno.h>
#include <string.h>
#include <sys/stat.h>
#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>
Classes | |
class | BISDetector |
Driver for Bruker BIS ccd detector using their BIS server over TCP/IP socket. More... | |
Macros | |
#define | MAX_MESSAGE_SIZE 512 |
Messages to/from BIS. More... | |
#define | MAX_FILENAME_LEN 256 |
#define | ASYN_POLL_TIME .01 |
Time to poll when reading from BIS. More... | |
#define | BIS_POLL_DELAY .01 |
#define | BIS_DEFAULT_TIMEOUT 1.0 |
#define | FILE_READ_DELAY .01 |
Time between checking to see if .SFRM file is complete. More... | |
#define | BISSFRMTimeoutString "SFRM_TIMEOUT" |
#define | BISNumDarksString "NUM_DARKS" |
#define | BISStatusString "BIS_STATUS" |
#define | FIRST_BIS_PARAM BISSFRMTimeout |
#define | LAST_BIS_PARAM BISStatus |
#define | NUM_BIS_PARAMS ((int)(&LAST_BIS_PARAM - &FIRST_BIS_PARAM + 1)) |
#define | lineLen 80 |
#define | maxLine 95 |
#define | blockLen 512 |
#define | dataOffset 8 |
Enumerations | |
enum | BISFrameType_t { BISFrameNormal, BISFrameDark, BISFrameRaw, BISFrameDoubleCorrelation } |
Frame type choices. More... | |
Functions | |
int | BISDetectorConfig (const char *portName, const char *commandPort, const char *statusPort, int maxBuffers, size_t maxMemory, int priority, int stackSize) |
epicsExportRegistrar (BISDetectorRegister) | |
#define ASYN_POLL_TIME .01 |
Time to poll when reading from BIS.
#define BIS_DEFAULT_TIMEOUT 1.0 |
#define BIS_POLL_DELAY .01 |
#define BISNumDarksString "NUM_DARKS" |
#define BISSFRMTimeoutString "SFRM_TIMEOUT" |
#define BISStatusString "BIS_STATUS" |
#define blockLen 512 |
#define dataOffset 8 |
#define FILE_READ_DELAY .01 |
Time between checking to see if .SFRM file is complete.
#define FIRST_BIS_PARAM BISSFRMTimeout |
#define LAST_BIS_PARAM BISStatus |
#define lineLen 80 |
#define MAX_FILENAME_LEN 256 |
#define MAX_MESSAGE_SIZE 512 |
Messages to/from BIS.
#define maxLine 95 |
#define NUM_BIS_PARAMS ((int)(&LAST_BIS_PARAM - &FIRST_BIS_PARAM + 1)) |
enum BISFrameType_t |
int BISDetectorConfig | ( | const char * | portName, |
const char * | commandPort, | ||
const char * | statusPort, | ||
int | maxBuffers, | ||
size_t | maxMemory, | ||
int | priority, | ||
int | stackSize | ||
) |
epicsExportRegistrar | ( | BISDetectorRegister | ) |