areaDetector  3-14
EPICS areaDetector framework
Classes | Macros | Enumerations | Functions | Variables
pxrd2_interface_misc.h File Reference

Go to the source code of this file.

Classes

struct  RunConfiguration
 
struct  CONV_TABLE
 
struct  SENSOR
 
struct  ACQ_PROP
 
struct  CROP_t
 
struct  INTERPOL_t
 
struct  FRAME_PROP
 
struct  HOST
 
struct  FrameAccumulator16
 
struct  FrameAccumulator32
 
struct  FFMap
 
struct  FileList
 

Macros

#define NOVERBOSE   0
 
#define VERBOSITY_LOW   1
 
#define VERBOSITY_MEDIUM   2
 
#define VERBOSITY_HIGH   3
 
#define VERBOSITY_VERYHIGH   4
 
#define VERBOSITY_ULTRAHIGH   5
 
#define MACHINE_SHORT_DELAY_MS   10
 
#define MACHINE_LONG_DELAY_MS   500
 
#define HUMAN_SHORT_DELAY_MS   1000
 
#define MAX_FILENAME_STR_LENGTH   1000
 
#define MAX_MSG_STR_LENGTH   10000
 
#define MAX_SHORT_MSG_STR_LEN   50
 
#define MAX_INPUT_STRING_LENGTH   MAX_MSG_STR_LENGTH
 
#define MAX_CMD_PARAMETERS   15
 
#define CMD_STR_ELEMENT_MAX_LENGTH   50
 
#define CONN_RX_BUFF_LEN   8192
 
#define CONN_TX_BUFF_LEN   8192
 
#define SRV_TAG_STR   "SRV"
 
#define DAQ_TAG_STR   "DAQ"
 
#define SYS_TAG_STR   "SYS"
 
#define FILE_LIST_LEN   200
 
#define FF_MAP_LIST_LEN   500
 

Enumerations

enum  EnState { DISABLED , ENABLED }
 
enum  ConnectionState { FREE , ESTABILISHED , CLOSING }
 
enum  ImageType { FULL_RAW , FULL_BMP , DOWNSAMPLED_RAW , DOWNSAMPLED_BMP }
 
enum  npi_mode_t { NONPI , NPI , NPISUM }
 
enum  RUNMODE {
  TWO_COLS , ONE_COL0 , ONE_COL1 , ONE_COL_DTF ,
  TWO_COLS_DTF , UNDEFINED
}
 
enum  HVType { AUTOHV , STDHV }
 
enum  DETECTOR_BUILD { PX1 , PX2 , PX4 , PX8 }
 
enum  ROSCHEMA_t {
  MONO0 , MONO1 , MONO2 , MONO3 ,
  MONO4 , MONO5 , MONO6 , MONO7 ,
  DEFAULT
}
 
enum  ASIC_TYPE { PII , PIII }
 
enum  HYBRID_TYPE { CDTE , GAAS }
 
enum  PIXEL_ARRANGEMENT { EXAGON , SQUARE }
 
enum  RunState {
  IDLERUN , RUNNING , CLOSINGRUN , BREAKINGRUN ,
  CLOSEDRUN
}
 
enum  RunType {
  DATA , SUMMED_DATA , COLLECT_FLAT , SUMMED_COLLECT_FLAT ,
  AUTOCAL
}
 
enum  DataTransferType { OLD_DIFFERENT_SOCKET , NEW_SAME_SOCKET , NEW_DIFFERENT_SOCKET }
 
enum  FileSaveType { SAVE_OFF , SAVE_OLD_STYLE , SAVE_NEW_STYLE , SAVE_GLORIA_PX1_OLD_STYLE }
 
enum  Processing_t { DEFAULT_PROCESSING , CORRECTIONS , EX_TO_SQ_MAP_SP , NO_PROCESSING }
 
enum  RegType { REG0 , REG1 , REG01 }
 

Functions

void StrRunState (RunState State, char *deststr, int maxlen)
 
RUNMODE getRunModeFromStr (const char *)
 

Variables

int verbose
 

Macro Definition Documentation

◆ CMD_STR_ELEMENT_MAX_LENGTH

#define CMD_STR_ELEMENT_MAX_LENGTH   50

◆ CONN_RX_BUFF_LEN

#define CONN_RX_BUFF_LEN   8192

◆ CONN_TX_BUFF_LEN

#define CONN_TX_BUFF_LEN   8192

◆ DAQ_TAG_STR

#define DAQ_TAG_STR   "DAQ"

◆ FF_MAP_LIST_LEN

#define FF_MAP_LIST_LEN   500

◆ FILE_LIST_LEN

#define FILE_LIST_LEN   200

◆ HUMAN_SHORT_DELAY_MS

#define HUMAN_SHORT_DELAY_MS   1000

◆ MACHINE_LONG_DELAY_MS

#define MACHINE_LONG_DELAY_MS   500

◆ MACHINE_SHORT_DELAY_MS

#define MACHINE_SHORT_DELAY_MS   10

◆ MAX_CMD_PARAMETERS

#define MAX_CMD_PARAMETERS   15

◆ MAX_FILENAME_STR_LENGTH

#define MAX_FILENAME_STR_LENGTH   1000

◆ MAX_INPUT_STRING_LENGTH

#define MAX_INPUT_STRING_LENGTH   MAX_MSG_STR_LENGTH

◆ MAX_MSG_STR_LENGTH

#define MAX_MSG_STR_LENGTH   10000

◆ MAX_SHORT_MSG_STR_LEN

#define MAX_SHORT_MSG_STR_LEN   50

◆ NOVERBOSE

#define NOVERBOSE   0

◆ SRV_TAG_STR

#define SRV_TAG_STR   "SRV"

◆ SYS_TAG_STR

#define SYS_TAG_STR   "SYS"

◆ VERBOSITY_HIGH

#define VERBOSITY_HIGH   3

◆ VERBOSITY_LOW

#define VERBOSITY_LOW   1

◆ VERBOSITY_MEDIUM

#define VERBOSITY_MEDIUM   2

◆ VERBOSITY_ULTRAHIGH

#define VERBOSITY_ULTRAHIGH   5

◆ VERBOSITY_VERYHIGH

#define VERBOSITY_VERYHIGH   4

Enumeration Type Documentation

◆ ASIC_TYPE

enum ASIC_TYPE
Enumerator
PII 
PIII 

◆ ConnectionState

Enumerator
FREE 
ESTABILISHED 
CLOSING 

◆ DataTransferType

Enumerator
OLD_DIFFERENT_SOCKET 
NEW_SAME_SOCKET 
NEW_DIFFERENT_SOCKET 

◆ DETECTOR_BUILD

Enumerator
PX1 
PX2 
PX4 
PX8 

◆ EnState

enum EnState
Enumerator
DISABLED 
ENABLED 

◆ FileSaveType

Enumerator
SAVE_OFF 
SAVE_OLD_STYLE 
SAVE_NEW_STYLE 
SAVE_GLORIA_PX1_OLD_STYLE 

◆ HVType

enum HVType
Enumerator
AUTOHV 
STDHV 

◆ HYBRID_TYPE

Enumerator
CDTE 
GAAS 

◆ ImageType

enum ImageType
Enumerator
FULL_RAW 
FULL_BMP 
DOWNSAMPLED_RAW 
DOWNSAMPLED_BMP 

◆ npi_mode_t

enum npi_mode_t
Enumerator
NONPI 
NPI 
NPISUM 

◆ PIXEL_ARRANGEMENT

Enumerator
EXAGON 
SQUARE 

◆ Processing_t

Enumerator
DEFAULT_PROCESSING 
CORRECTIONS 
EX_TO_SQ_MAP_SP 
NO_PROCESSING 

◆ RegType

enum RegType
Enumerator
REG0 
REG1 
REG01 

◆ ROSCHEMA_t

enum ROSCHEMA_t
Enumerator
MONO0 
MONO1 
MONO2 
MONO3 
MONO4 
MONO5 
MONO6 
MONO7 
DEFAULT 

◆ RUNMODE

enum RUNMODE
Enumerator
TWO_COLS 
ONE_COL0 
ONE_COL1 
ONE_COL_DTF 
TWO_COLS_DTF 
UNDEFINED 

◆ RunState

enum RunState
Enumerator
IDLERUN 
RUNNING 
CLOSINGRUN 
BREAKINGRUN 
CLOSEDRUN 

◆ RunType

enum RunType
Enumerator
DATA 
SUMMED_DATA 
COLLECT_FLAT 
SUMMED_COLLECT_FLAT 
AUTOCAL 

Function Documentation

◆ getRunModeFromStr()

RUNMODE getRunModeFromStr ( const char *  str)

◆ StrRunState()

void StrRunState ( RunState  State,
char *  deststr,
int  maxlen 
)

Variable Documentation

◆ verbose

int verbose
extern