dxpSITORO  1-0
Macros | Enumerations | Functions
NDDxp.cpp File Reference
#include <stddef.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <epicsString.h>
#include <epicsTypes.h>
#include <epicsTime.h>
#include <epicsThread.h>
#include <epicsEvent.h>
#include <epicsMutex.h>
#include <epicsExit.h>
#include <envDefs.h>
#include <iocsh.h>
#include <handel.h>
#include <handel_errors.h>
#include <handel_generic.h>
#include <md_generic.h>
#include <handel_constants.h>
#include <drvMca.h>
#include <asynNDArrayDriver.h>
#include <epicsExport.h>
#include "NDDxp.h"

Macros

#define DXP_ALL   -1
 
#define MAX_MCA_BINS   8192
 
#define DEFAULT_TRACE_POINTS   8192
 
#define LEN_SCA_NAME   10
 
#define MAPPING_CLOCK_PERIOD   320e-9
 
#define MAPPING_BUFFER_SIZE   2228352*2
 < The maximum number of 16-bit words in the mapping mode buffer More...
 
#define MEGABYTE   1048576
 
#define CALLHANDEL(handel_call, msg)
 

Enumerations

enum  NDDxpCollectMode_t { NDDxpModeMCA, NDDxpModeMCAMapping, NDDxpModeSCAMapping, NDDxpModeListMapping }
 
enum  NDDxpListMode_t { NDDxpListModeGate, NDDxpListModeSync, NDDxpListModeClock }
 
enum  NDDxpPresetMode_t { NDDxpPresetModeNone, NDDxpPresetModeReal, NDDxpPresetModeEvents, NDDxpPresetModeTriggers }
 
enum  NDDxpPixelAdvanceMode_t { NDDxpPixelAdvanceUser, NDDxpPixelAdvanceGate, NDDxpPixelAdvanceSync }
 

Functions

int NDDxpConfig (const char *portName, int nChannels, int maxBuffers, size_t maxMemory)
 
 epicsExportRegistrar (NDDxpRegister)
 

Macro Definition Documentation

#define CALLHANDEL (   handel_call,
  msg 
)
Value:
{ \
xiastatus = handel_call; \
status = this->xia_checkError( pasynUser, xiastatus, msg ); \
}
#define DEFAULT_TRACE_POINTS   8192
#define DXP_ALL   -1
#define LEN_SCA_NAME   10
#define MAPPING_BUFFER_SIZE   2228352*2

< The maximum number of 16-bit words in the mapping mode buffer

#define MAPPING_CLOCK_PERIOD   320e-9
#define MAX_MCA_BINS   8192
#define MEGABYTE   1048576

Enumeration Type Documentation

Enumerator
NDDxpModeMCA 
NDDxpModeMCAMapping 
NDDxpModeSCAMapping 
NDDxpModeListMapping 
Enumerator
NDDxpListModeGate 
NDDxpListModeSync 
NDDxpListModeClock 
Enumerator
NDDxpPixelAdvanceUser 
NDDxpPixelAdvanceGate 
NDDxpPixelAdvanceSync 
Enumerator
NDDxpPresetModeNone 
NDDxpPresetModeReal 
NDDxpPresetModeEvents 
NDDxpPresetModeTriggers 

Function Documentation

epicsExportRegistrar ( NDDxpRegister  )
int NDDxpConfig ( const char *  portName,
int  nChannels,
int  maxBuffers,
size_t  maxMemory 
)