areaDetector
3-13
EPICS areaDetector framework
|
#include <stddef.h>
#include <stdlib.h>
#include <stdarg.h>
#include <math.h>
#include <stdio.h>
#include <errno.h>
#include <string.h>
#include <epicsTime.h>
#include <epicsThread.h>
#include <epicsEndian.h>
#include <epicsEvent.h>
#include <epicsMutex.h>
#include <epicsString.h>
#include <epicsStdio.h>
#include <cantProceed.h>
#include <iocsh.h>
#include <asynOctetSyncIO.h>
#include "ADDriver.h"
#include "NDPluginDriver.h"
#include <epicsExport.h>
Classes | |
class | mythen |
Driver for sls array detectors using over TCP/IP socket. More... | |
Macros | |
#define | MAX_FILENAME_LEN 256 |
#define | MAX_DIMS 1280 |
#define | MAX_COMMAND_LEN 128 |
#define | MAX_NMODULES 2 |
#define | M1K_TIMEOUT 5.0 |
#define | MAX_FRAMES 500 |
#define | MAX_TRIGGER_TIMEOUT_COUNT 50 |
#define | SDSettingString "SD_SETTING" |
#define | SDDelayTimeString "SD_DELAY_TIME" |
#define | SDThresholdString "SD_THRESHOLD" |
#define | SDEnergyString "SD_ENERGY" |
#define | SDUseFlatFieldString "SD_USE_FLATFIELD" |
#define | SDUseCountRateString "SD_USE_COUNTRATE" |
#define | SDTauString "SD_TAU" |
#define | SDUseBadChanIntrplString "SD_USE_BADCHANNEL_INTRPL" |
#define | SDBitDepthString "SD_BIT_DEPTH" |
#define | SDUseGatesString "SD_USE_GATES" |
#define | SDNumGatesString "SD_NUM_GATES" |
#define | SDNumFramesString "SD_NUM_FRAMES" |
#define | SDTriggerString "SD_TRIGGER" |
#define | SDResetString "SD_RESET" |
#define | SDNModulesString "SD_NMODULES" |
#define | SDFirmwareVersionString "SD_FIRMWARE_VERSION" /* asynOctet ro */ |
#define | SDReadModeString "SD_READ_MODE" |
#define | FIRST_SD_PARAM SDSetting |
#define | LAST_SD_PARAM SDNModules |
#define | NUM_SD_PARAMS (&LAST_SD_PARAM - &FIRST_SD_PARAM + 1) |
Functions | |
void | acquisitionTaskC (void *drvPvt) |
void | pollTaskC (void *drvPvt) |
int | mythenConfig (const char *portName, const char *IPPortName, int maxBuffers, size_t maxMemory, int priority, int stackSize) |
epicsExportRegistrar (mythenRegister) | |
#define FIRST_SD_PARAM SDSetting |
#define LAST_SD_PARAM SDNModules |
#define M1K_TIMEOUT 5.0 |
#define MAX_COMMAND_LEN 128 |
#define MAX_DIMS 1280 |
#define MAX_FILENAME_LEN 256 |
#define MAX_FRAMES 500 |
#define MAX_NMODULES 2 |
#define MAX_TRIGGER_TIMEOUT_COUNT 50 |
#define NUM_SD_PARAMS (&LAST_SD_PARAM - &FIRST_SD_PARAM + 1) |
#define SDBitDepthString "SD_BIT_DEPTH" |
#define SDDelayTimeString "SD_DELAY_TIME" |
#define SDEnergyString "SD_ENERGY" |
#define SDFirmwareVersionString "SD_FIRMWARE_VERSION" /* asynOctet ro */ |
#define SDNModulesString "SD_NMODULES" |
#define SDNumFramesString "SD_NUM_FRAMES" |
#define SDNumGatesString "SD_NUM_GATES" |
#define SDReadModeString "SD_READ_MODE" |
#define SDResetString "SD_RESET" |
#define SDSettingString "SD_SETTING" |
#define SDTauString "SD_TAU" |
#define SDThresholdString "SD_THRESHOLD" |
#define SDTriggerString "SD_TRIGGER" |
#define SDUseBadChanIntrplString "SD_USE_BADCHANNEL_INTRPL" |
#define SDUseCountRateString "SD_USE_COUNTRATE" |
#define SDUseFlatFieldString "SD_USE_FLATFIELD" |
#define SDUseGatesString "SD_USE_GATES" |
void acquisitionTaskC | ( | void * | drvPvt | ) |
epicsExportRegistrar | ( | mythenRegister | ) |
int mythenConfig | ( | const char * | portName, |
const char * | IPPortName, | ||
int | maxBuffers, | ||
size_t | maxMemory, | ||
int | priority, | ||
int | stackSize | ||
) |
void pollTaskC | ( | void * | drvPvt | ) |