|
CAEN MCA
0.99.10
SDK for Hexagon
|
Definitions and types. More...
#include <stdint.h>#include <stdarg.h>
Include dependency graph for CAENMCATypes.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Macros | |
| #define | CAEN_MCA_API |
| Calling convention (Windows only) More... | |
| #define | CAEN_MCA_DLLAPI __attribute__((visibility("default"))) |
| Storage-class attributes (Windows only) More... | |
| #define | _MCALIB_SYMBOL_DLLAPI_ extern CAEN_MCA_DLLAPI |
| #define | _CAEN_MCA_STR_HELPER(S) #S |
| #define | CAEN_MCA_STR(S) _CAEN_MCA_STR_HELPER(S) |
| #define | CONFIGSAVE_NAME_DEFAULTVALUES "__default" |
| #define | DATAMASK_CMD_NONE UINT64_C(0x0) |
| Empty datamask. More... | |
| #define | DATAMASK_CMD_REG_ADDR UINT64_C(0x1) |
| Register Address. More... | |
| #define | DATAMASK_CMD_REG_DATA UINT64_C(0x2) |
| Register Data. More... | |
| #define | DATAMASK_CMD_REG_MASK UINT64_C(0x4) |
| Register Write Mask. More... | |
| #define | DATAMASK_CMD_SAVE_NAME UINT64_C(0x1) |
| Name of the save. More... | |
| #define | DATAMASK_CMD_SAVE_LIST_OFFSET UINT64_C(0x2) |
| Offset for list of saved configuration. If not set: 0. More... | |
| #define | DATAMASK_CMD_SAVE_LIST_COUNT UINT64_C(0x4) |
| Number of saved configuration. More... | |
| #define | DATAMASK_CMD_SAVE_LIST_NAMES UINT64_C(0x8) |
| List of CONFIGSAVE_LIST_MAXLEN saved configuration starting from the one speficied in the optional parameter DATAMASK_CMD_SAVE_LIST_OFFSET. More... | |
| #define | DATAMASK_CMD_SAVE_HV_RELOAD UINT64_C(0x10) |
| Reload saved HV parameters. Boolean (false if not set). More... | |
| #define | DATAMASK_CMD_SAVE_DB_PATH UINT64_C(0x20) |
| Set or get the complete path (including filename) were to look for saves database. Such database is used for both CAEN_MCA_CMD_CONFIGURATION_SAVE and CAEN_MCA_CMD_CONFIGURATION_LOAD commands. More... | |
| #define | DATAMASK_CMD_AUTOSET_DCO UINT64_C(0x1) |
| Activate DC offset autoset. Boolean (false if not set). More... | |
| #define | DATAMASK_CMD_AUTOSET_THR UINT64_C(0x2) |
| Activate Threshold autoset. Boolean (false if not set). More... | |
| #define | DATAMASK_CMD_AUTOSET_TAU UINT64_C(0x4) |
| Activate Tau autoset. Boolean (false if not set). More... | |
| #define | DATAMASK_CMD_HVOUTPUT_STATUS UINT64_C(0x1) |
| Represents HV Channel output status. Boolean (false if channel is OFF). More... | |
| #define | DATAMASK_CMD_CURRENT_DATETIME UINT64_C(0x1) |
| Datetime string. More... | |
| #define | DATAMASK_BRDINFO_MODELNAME UINT64_C(0x1) |
| Model name. More... | |
| #define | DATAMASK_BRDINFO_MODEL UINT64_C(0x2) |
| Model type. More... | |
| #define | DATAMASK_BRDINFO_NCHANNELS UINT64_C(0x4) |
| Number of input channels. More... | |
| #define | DATAMASK_BRDINFO_ROC_FW_MAJ UINT64_C(0x8) |
| ROC firmware version (Major) More... | |
| #define | DATAMASK_BRDINFO_ROC_FW_MIN UINT64_C(0x10) |
| ROC firmware version (Minor) More... | |
| #define | DATAMASK_BRDINFO_ROC_FW_BUILD UINT64_C(0x20) |
| ROC firmware version (Build) More... | |
| #define | DATAMASK_BRDINFO_AMC_FW_MAJ UINT64_C(0x40) |
| AMC firmware version (Major) More... | |
| #define | DATAMASK_BRDINFO_AMC_FW_MIN UINT64_C(0x80) |
| AMC firmware version (Minor) More... | |
| #define | DATAMASK_BRDINFO_AMC_FW_BUILD UINT64_C(0x100) |
| AMC firmware version (Build) More... | |
| #define | DATAMASK_BRDINFO_LICENSE UINT64_C(0x200) |
| License data. More... | |
| #define | DATAMASK_BRDINFO_SERIALNUM UINT64_C(0x400) |
| Serial number. More... | |
| #define | DATAMASK_BRDINFO_FAMCODE UINT64_C(0x800) |
| Family code. More... | |
| #define | DATAMASK_BRDINFO_NHVCHANNELS UINT64_C(0x1000) |
| Number of High-Voltage channels. More... | |
| #define | DATAMASK_BRDINFO_FORMFACTOR UINT64_C(0x2000) |
| Form factor. More... | |
| #define | DATAMASK_BRDINFO_PCBREV UINT64_C(0x4000) |
| PCB revision. More... | |
| #define | DATAMASK_BRDINFO_ADC_BIT_COUNT UINT64_C(0x8000) |
| ADC number of bits. More... | |
| #define | DATAMASK_BRDINFO_TSAMPLE_PS UINT64_C(0x10000) |
| Sample period in picoseconds. More... | |
| #define | DATAMASK_BRDINFO_NLVDSGROUPS UINT64_C(0x20000) |
| Number of LVDS groups. More... | |
| #define | DATAMASK_BRDINFO_NTRACES UINT64_C(0x40000) |
| Number of supported traces. More... | |
| #define | DATAMASK_BRDINFO_NMONOUTS UINT64_C(0x80000) |
| Number of monitor outputs. More... | |
| #define | DATAMASK_BRDINFO_ENERGY_BIT_COUNT UINT64_C(0x100000) |
| Energy Spectrum maximum number of bits. More... | |
| #define | DATAMASK_BRDINFO_LIB_VERSION UINT64_C(0x200000) |
| CAENMCA library version supported by board firmware. More... | |
| #define | DATAMASK_BRDINFO_NDTSPECTRA UINT64_C(0x400000) |
| Number of DT Spectra. More... | |
| #define | DATAMASK_CHANNELINFO_NENERGYSPECTRA UINT64_C(0x1) |
| Number of supported Energy Spectra. More... | |
| #define | DATAMASK_CHANNELINFO_NMCSSPECTRA UINT64_C(0x2) |
| Number of supported MCS Spectra. More... | |
| #define | DATAMASK_PARAMINFO_NAME UINT64_C(0x1) |
| Parameter name. More... | |
| #define | DATAMASK_PARAMINFO_CODENAME UINT64_C(0X2) |
| Parameter codename (unique) More... | |
| #define | DATAMASK_PARAMINFO_INFOMASK UINT64_C(0X4) |
| Extra information mask. More... | |
| #define | DATAMASK_PARAMINFO_UOM_NAME UINT64_C(0x8) |
| Symbol of the SI unit of measurement. Metrix prefix specified by DATAMASK_PARAMINFO_UOM_POWER as power of 10. Example: in case of millivolts, the name will be "V" and the power "-3". More... | |
| #define | DATAMASK_PARAMINFO_UOM_CODENAME UINT64_C(0x10) |
| Codename of the unit of measurement. More... | |
| #define | DATAMASK_PARAMINFO_UOM_POWER UINT64_C(0x20) |
| Power of 10 to multiply with respect to the unit of measurement. Example: in case of millivolts, the name will be "V" and the power "-3". More... | |
| #define | DATAMASK_PARAMINFO_TYPE UINT64_C(0x40) |
| Type of parameter (range or list) More... | |
| #define | DATAMASK_PARAMINFO_MIN UINT64_C(0x80) |
| Min. value allowed. More... | |
| #define | DATAMASK_PARAMINFO_MAX UINT64_C(0x100) |
| Max. value allowed. More... | |
| #define | DATAMASK_PARAMINFO_INCR UINT64_C(0x200) |
| Min. step allowed. More... | |
| #define | DATAMASK_PARAMINFO_NALLOWED_VALUES UINT64_C(0x400) |
| In case of list parameter: number of allowed values. More... | |
| #define | DATAMASK_PARAMINFO_ALLOWED_VALUES UINT64_C(0x800) |
| In case of list parameter: allowed values. More... | |
| #define | DATAMASK_PARAMINFO_ALLOWED_VALUE_CODENAMES UINT64_C(0x1000) |
| In case of list parameter: allowed codenames. More... | |
| #define | DATAMASK_PARAMINFO_ALLOWED_VALUE_NAMES UINT64_C(0x2000) |
| In case of list parameter: names of allowed values. More... | |
| #define | PARAMINFO_INFOMASK_IS_ACQ_ON_ALLOWED UINT32_C(0x1) |
| Can be set when acquisition is on. More... | |
| #define | PARAMINFO_INFOMASK_IS_HVCONFIG_ALLOWED UINT32_C(0x2) |
| Can be set after HV has been configured. More... | |
| #define | PARAMINFO_INFOMASK_IS_HVON_ALLOWED UINT32_C(0x4) |
| Can be set when HV is ON. More... | |
| #define | PARAMINFO_INFOMASK_READABLE UINT32_C(0x8) |
| Can be read. More... | |
| #define | PARAMINFO_INFOMASK_WRITEABLE UINT32_C(0x10) |
| Can be written. More... | |
| #define | DATAMASK_HVCHANNELINFO_NRANGES UINT64_C(0x1) |
| Number of HV Ranges provided by the HV Channel. More... | |
| #define | DATAMASK_HVCHANNELINFO_POLARITY UINT64_C(0x2) |
| Polarity of the HV Channel. More... | |
| #define | DATAMASK_HVRANGEINFO_VSET_MIN UINT64_C(0x1) |
| Vset min. value in volts. More... | |
| #define | DATAMASK_HVRANGEINFO_VSET_MAX UINT64_C(0x2) |
| Vset max. in volts. More... | |
| #define | DATAMASK_HVRANGEINFO_VSET_INCR UINT64_C(0x4) |
| Vset min. step in volts. More... | |
| #define | DATAMASK_HVRANGEINFO_ISET_MIN UINT64_C(0x8) |
| Iset min. value in microampere. More... | |
| #define | DATAMASK_HVRANGEINFO_ISET_MAX UINT64_C(0x10) |
| Iset max. value in microampere. More... | |
| #define | DATAMASK_HVRANGEINFO_ISET_INCR UINT64_C(0x20) |
| Iset min. step in microampere. More... | |
| #define | DATAMASK_HVRANGEINFO_VMON_MIN UINT64_C(0x40) |
| Vmon min. value in volts. More... | |
| #define | DATAMASK_HVRANGEINFO_VMON_MAX UINT64_C(0x80) |
| Vmon max. in volts. More... | |
| #define | DATAMASK_HVRANGEINFO_VMON_INCR UINT64_C(0x100) |
| Vmon min. step in volts. More... | |
| #define | DATAMASK_HVRANGEINFO_IMON_MIN UINT64_C(0x200) |
| Imon min. value in microampere. More... | |
| #define | DATAMASK_HVRANGEINFO_IMON_MAX UINT64_C(0x400) |
| Imon max. value in microampere. More... | |
| #define | DATAMASK_HVRANGEINFO_IMON_INCR UINT64_C(0x800) |
| Imon min. step in microampere. More... | |
| #define | DATAMASK_HVRANGEINFO_VMAX_MIN UINT64_C(0x1000) |
| Vmax min. value in volts. More... | |
| #define | DATAMASK_HVRANGEINFO_VMAX_MAX UINT64_C(0x2000) |
| Vmax max. in volts. More... | |
| #define | DATAMASK_HVRANGEINFO_VMAX_INCR UINT64_C(0x4000) |
| Vmax min. step in volts. More... | |
| #define | DATAMASK_HVRANGEINFO_RAMPUP_MIN UINT64_C(0x8000) |
| RampUp min. value in volts. More... | |
| #define | DATAMASK_HVRANGEINFO_RAMPUP_MAX UINT64_C(0x10000) |
| RampUp max. in volts. More... | |
| #define | DATAMASK_HVRANGEINFO_RAMPUP_INCR UINT64_C(0x20000) |
| RampUp min. step in volts. More... | |
| #define | DATAMASK_HVRANGEINFO_RAMPDOWN_MIN UINT64_C(0x40000) |
| RampDown min. value in volts. More... | |
| #define | DATAMASK_HVRANGEINFO_RAMPDOWN_MAX UINT64_C(0x80000) |
| RampDown max. in volts. More... | |
| #define | DATAMASK_HVRANGEINFO_RAMPDOWN_INCR UINT64_C(0x100000) |
| RampDown min. step in volts. More... | |
| #define | DATAMASK_HVRANGEINFO_CODE UINT64_C(0x200000) |
| HV Range code. More... | |
| #define | DATAMASK_HVRANGEINFO_CODENAME UINT64_C(0x400000) |
| HV Range codename. More... | |
| #define | DATAMASK_HVRANGEINFO_NAME UINT64_C(0x800000) |
| HV Range name. More... | |
| #define | DATAMASK_COLLECTION_LENGTH UINT64_C(0x1) |
| Number of handles in the collection. More... | |
| #define | DATAMASK_COLLECTION_HANDLES UINT64_C(0x2) |
| Array of handles. More... | |
| #define | DATAMASK_VALUE_NUMERIC UINT64_C(0x1) |
| Numeric value. More... | |
| #define | DATAMASK_VALUE_CODENAME UINT64_C(0x2) |
| Value codename in case of list parameter. Literal value in case or range parameter. More... | |
| #define | DATAMASK_VALUE_NAME UINT64_C(0x4) |
| Value name in case of list parameter. Literal value in case or range parameter. More... | |
| #define | DATAMASK_ENERGY_SPECTRUM_ARRAY UINT64_C(0x1) |
| The spectrum. More... | |
| #define | DATAMASK_ENERGY_SPECTRUM_RTIME UINT64_C(0x2) |
| Real time. More... | |
| #define | DATAMASK_ENERGY_SPECTRUM_LTIME UINT64_C(0x4) |
| Live time. More... | |
| #define | DATAMASK_ENERGY_SPECTRUM_DTIME UINT64_C(0x8) |
| Dead time. More... | |
| #define | DATAMASK_ENERGY_SPECTRUM_OVERFLOW UINT64_C(0x10) |
| Number of overflows. More... | |
| #define | DATAMASK_ENERGY_SPECTRUM_UNDERFLOW UINT64_C(0x20) |
| Number of underflows. More... | |
| #define | DATAMASK_ENERGY_SPECTRUM_NENTRIES UINT64_C(0x40) |
| Total number of entries in the spectrum. More... | |
| #define | DATAMASK_ENERGY_SPECTRUM_NROIS UINT64_C(0x80) |
| Number of supported ROIs. More... | |
| #define | DATAMASK_ENERGY_SPECTRUM_FILENAME UINT64_C(0x100) |
| Remote file where the spectrum is saved periodically and at acquisition stop. More... | |
| #define | DATAMASK_ENERGY_SPECTRUM_AUTOSAVE_PERIOD UINT64_C(0x200) |
| Period of the auto save of the spectra to file in milliseconds. Set to 0 to disable the autosave. More... | |
| #define | DATAMASK_ENERGY_SPECTRUM_STABILIZER_ENABLE UINT64_C(0x400) |
| Status of the gain stabilizer. Set to 0 to disable the gain stabilizer. More... | |
| #define | DATAMASK_ENERGY_SPECTRUM_SAMPLE_ID UINT64_C(0x800) |
| Identification of the sample from which the spectrum is obtained. More... | |
| #define | DATAMASK_ENERGY_SPECTRUM_START_DATETIME UINT64_C(0x1000) |
| Datetime of last data acquisition start. More... | |
| #define | DATAMASK_ENERGY_SPECTRUM_STOP_DATETIME UINT64_C(0x2000) |
| Datetime of last data acquisition stop. More... | |
| #define | DATAMASK_ROI_NENTRIES UINT64_C(0x1) |
| Total number of entries in the ROI. More... | |
| #define | DATAMASK_DT_SPECTRUM_ARRAY UINT64_C(0x1) |
| The spectrum. More... | |
| #define | DATAMASK_DT_SPECTRUM_NENTRIES UINT64_C(0x2) |
| Total number of entries in the spectrum. More... | |
| #define | DATAMASK_DT_SPECTRUM_ENABLE UINT64_C(0x4) |
| ΔT Spectrum enabled. Boolean. More... | |
| #define | DATAMASK_DT_SPECTRUM_REFCH UINT64_C(0x8) |
| Reference channel for DT calculation. More... | |
| #define | DATAMASK_WAVEFORM_TRACE1 UINT64_C(0x1) |
| Analog trace #1. More... | |
| #define | DATAMASK_WAVEFORM_TRACE2 UINT64_C(0x2) |
| Analog trace #2. More... | |
| #define | DATAMASK_WAVEFORM_DTRACE1 UINT64_C(0x4) |
| Digital trace #1. More... | |
| #define | DATAMASK_WAVEFORM_DTRACE2 UINT64_C(0x8) |
| Digital trace #2. More... | |
| #define | DATAMASK_DISCOVERY_TIMEOUT_MS UINT64_C(0x1) |
| Time-out of the function in milliseconds. More... | |
| #define | DATAMASK_DISCOVERY_FOUNDCOUNT UINT64_C(0x2) |
| Number of devices found. More... | |
| #define | DATAMASK_DISCOVERY_NAME UINT64_C(0x4) |
| Array of found devices. More... | |
| #define | DATAMASK_DISCOVERY_SERIALNUMBER UINT64_C(0x8) |
| Array of found serial numbers. More... | |
| #define | DATAMASK_DISCOVERY_IP UINT64_C(0x10) |
| Array of found IP addresses. More... | |
| #define | DATAMASK_DISCOVERY_INPUT_CHANNELS UINT64_C(0x20) |
| Array of found Number of Input Channels. More... | |
| #define | DATAMASK_DISCOVERY_MODEL_NAME UINT64_C(0x40) |
| Array of found model names. More... | |
| #define | DATAMASK_DISCOVERY_PATH UINT64_C(0x80) |
| Array of found path to use as argument of CAEN_MCA_OpenDevice() More... | |
| #define | DATAMASK_LIST_ENABLE UINT64_C(0x1) |
| List enabled. Boolean. More... | |
| #define | DATAMASK_LIST_SAVEMODE UINT64_C(0x2) |
| Current List mode. More... | |
| #define | DATAMASK_LIST_FILENAME UINT64_C(0x4) |
| In case of ASCII-Binary mode: remote file name used. More... | |
| #define | DATAMASK_LIST_FILE_DATAMASK UINT64_C(0x8) |
| Data to save. More... | |
| #define | DATAMASK_LIST_GETFAKEEVTS UINT64_C(0x10) |
| Get also fake events. Boolean. More... | |
| #define | DATAMASK_LIST_MAXNEVTS UINT64_C(0x20) |
| In case of memory mode: max number of events to get in case of memory mode. Must be < LISTS_DATA_MAXLEN. More... | |
| #define | DATAMASK_LIST_NEVTS UINT64_C(0x40) |
| Number of events in the data. More... | |
| #define | DATAMASK_LIST_DATA_TIMETAG UINT64_C(0x80) |
| Timetags of the events in picoseconds since acquisition start. More... | |
| #define | DATAMASK_LIST_DATA_ENERGY UINT64_C(0x100) |
| Energies of the events in bins. More... | |
| #define | DATAMASK_LIST_DATA_FLAGS_DATAMASK UINT64_C(0x200) |
| Flags of the events. More... | |
| #define | DATAMASK_LIST_GETSATEVTS UINT64_C(0x400) |
| Get also saturated events. Boolean. More... | |
| #define | DATAMASK_LIST_GETSKIMEVTS UINT64_C(0x800) |
| Get also energy skim events (whose energy is outside the spectrum [LLD,ULD] interval). Boolean. More... | |
| #define | LIST_FILE_DATAMASK_TIMETAG UINT32_C(0x1) |
| enable Timetag More... | |
| #define | LIST_FILE_DATAMASK_ENERGY UINT32_C(0x2) |
| enable Energy More... | |
| #define | LIST_FILE_DATAMASK_FLAGS UINT32_C(0x4) |
| enable Flags More... | |
| #define | LIST_DATA_FLAGS_DATAMASK_DEADTIME UINT32_C(0x1) |
| Identifies the first event after a dead time. More... | |
| #define | LIST_DATA_FLAGS_DATAMASK_TTROLLOVER UINT32_C(0x2) |
| Identifies a trigger time stamp roll-over that occurred before this event. More... | |
| #define | LIST_DATA_FLAGS_DATAMASK_TTRESET UINT32_C(0x4) |
| Identifies a trigger time stamp reset forced from external signals in S-IN (GPI for Desktop). More... | |
| #define | LIST_DATA_FLAGS_DATAMASK_EVTFAKE UINT32_C(0x8) |
| Identifies a fake event (which does not correspond to any physical event). More... | |
| #define | LIST_DATA_FLAGS_DATAMASK_MEMFULL UINT32_C(0x10) |
| Reading memory full. More... | |
| #define | LIST_DATA_FLAGS_DATAMASK_TRGLOST UINT32_C(0x20) |
| Identifies the first event after a trigger lost. More... | |
| #define | LIST_DATA_FLAGS_DATAMASK_NTRGLOST UINT32_C(0x40) |
| Every N lost events this flag is high (see board documentation to set N). More... | |
| #define | LIST_DATA_FLAGS_DATAMASK_OVERRNG UINT32_C(0x80) |
| Energy overranged. More... | |
| #define | LIST_DATA_FLAGS_DATAMASK_1024TRG UINT32_C(0x100) |
| 1024 triggers counted (every 1024 counted events this flag is high). More... | |
| #define | LIST_DATA_FLAGS_DATAMASK_LOSTEVT UINT32_C(0x200) |
| Identifies the first event after when one or more events is lost due to a memory board FULL. The memory can be FULL due to a write event. More... | |
| #define | LIST_DATA_FLAGS_DATAMASK_INPUTSAT UINT32_C(0x400) |
| Identifies an event saturating the input dynamics (clipping). More... | |
| #define | LIST_DATA_FLAGS_DATAMASK_NTRGTOT UINT32_C(0x800) |
| Every N total events this flag is high (see board documentation to set N). More... | |
| #define | LIST_DATA_FLAGS_DATAMASK_OLDSORT UINT32_C(0x1000) |
| Identifies an event not sorted but sent for waveform. More... | |
| #define | LIST_DATA_FLAGS_DATAMASK_EOR UINT32_C(0x2000) |
| Identifies a fake event occurring at the end of run. More... | |
| #define | LIST_DATA_FLAGS_DATAMASK_FINETT UINT32_C(0x4000) |
| Identifies an event with fine time stamp. More... | |
| #define | LIST_DATA_FLAGS_DATAMASK_PILEUP UINT32_C(0x8000) |
| Identifies a pile up event. More... | |
| #define | LIST_DATA_FLAGS_DATAMASK_TIME UINT32_C(0x10000) |
| Identifies a fake event occurring on a time stamp roll-over. More... | |
| #define | LIST_DATA_FLAGS_DATAMASK_ENERGY_SKIM UINT32_C(0x20000) |
| Energy skimming. More... | |
| #define | LIST_DATA_FLAGS_DATAMASK_SATREJ UINT32_C(0x40000) |
| Identifies an event occurred when detector was inibited due to saturation. More... | |
| #define | DATAMASK_HANDLE_TYPE UINT64_C(0x1) |
| Handle type. More... | |
| #define | DATAMASK_HANDLE_INDEX UINT64_C(0x2) |
| Handle index. More... | |
| #define | DATAMASK_HANDLE_NAME UINT64_C(0x4) |
| Handle name. More... | |
| #define | DATAMASK_MCS_SPECTRUM_ARRAY UINT64_C(0x1) |
| The MCS spectrum. More... | |
| #define | DATAMASK_MCS_SPECTRUM_STATUS UINT64_C(0x2) |
| The MCS spectrum status. More... | |
| #define | DATAMASK_MCS_SPECTRUM_CURRENT_PASS UINT64_C(0x4) |
| The MCS current pass number. More... | |
| #define | HEXAGONDISCOVERY_NAME_MAXLEN (DISCOVERY_NAME_MAXLEN) |
| #define | HEXAGONDISCOVERY_LIST_MAXLEN (DISCOVERY_LIST_MAXLEN) |
| #define | HEXAGONDISCOVERY_IP_MAXLEN (DISCOVERY_IP_MAXLEN) |
Typedefs | |
| typedef void * | CAEN_MCA_HANDLE |
| Reference to an object. More... | |
Definitions and types.
Definition in file CAENMCATypes.h.
| #define CONFIGSAVE_NAME_DEFAULTVALUES "__default" |
Definition at line 316 of file CAENMCATypes.h.
| typedef void* CAEN_MCA_HANDLE |
Reference to an object.
Definition at line 71 of file CAENMCATypes.h.
Handle type definitions.
| Enumerator | |
|---|---|
| CAEN_MCA_HANDLE_PARENT | Current handle's parent. To be used with CAEN_MCA_GetAncestorHandle() to directly get the parent handle.
|
| CAEN_MCA_HANDLE_LIBRARY | Library.
|
| CAEN_MCA_HANDLE_DEVICE | Device. |
| CAEN_MCA_HANDLE_CHANNEL | Channel. |
| CAEN_MCA_HANDLE_HVCHANNEL | HV Channel.
|
| CAEN_MCA_HANDLE_HVRANGE | HV Range.
|
| CAEN_MCA_HANDLE_LVDSGROUP | LVDS Group.
|
| CAEN_MCA_HANDLE_TRACE | Trace.
|
| CAEN_MCA_HANDLE_PARAMETER | Parameter.
|
| CAEN_MCA_HANDLE_COLLECTION | Handle Collection.
|
| CAEN_MCA_HANDLE_ENERGYSPECTRUM | Energy Spectrum.
|
| CAEN_MCA_HANDLE_MCSSPECTRUM | MCS Spectrum.
|
| CAEN_MCA_HANDLE_ROI | ROI.
|
| CAEN_MCA_HANDLE_EVENT | Board-related event (e.g: reaction to a command)
|
| CAEN_MCA_HANDLE_TRIGGER | Single-trigger event (list mode event)
|
| CAEN_MCA_HANDLE_VALUE | Parameter Value.
|
| CAEN_MCA_HANDLE_MONOUT | Monitor Out.
|
| CAEN_MCA_HANDLE_DTSPECTRUM | ΔT Spectrum
|
| CAEN_MCA_HANDLE_REMOVABLE_COLLECTION | Handle Collection where elements can be removed.
|
Definition at line 85 of file CAENMCATypes.h.
Command type definitions.
| Enumerator | |
|---|---|
| CAEN_MCA_CMD_ACQ_START | Start Acquisition.
|
| CAEN_MCA_CMD_ACQ_STOP | Stop Acquisition.
|
| CAEN_MCA_CMD_ENERGYSPECTRUM_CLEAR | Clear Energy Spectrum.
|
| CAEN_MCA_CMD_REGISTER_READ | Read Register.
|
| CAEN_MCA_CMD_REGISTER_WRITE | Write Register.
|
| CAEN_MCA_CMD_RESTART | Restart the server.
|
| CAEN_MCA_CMD_CONFIGURATION_SAVE | Save current configuration to a file.
|
| CAEN_MCA_CMD_CONFIGURATION_LOAD | Load a saved configuration.
|
| CAEN_MCA_CMD_CONFIGURATION_LIST | List all saved configuration.
|
| CAEN_MCA_CMD_CONFIGURATION_DELETE | Delete saved configurations.
|
| CAEN_MCA_CMD_PARAM_AUTOSET_START | Start Parameter auto-set.
|
| CAEN_MCA_CMD_PARAM_AUTOSET_STOP | Stop Parameter auto-set.
|
| CAEN_MCA_CMD_HV_ON | Enable HV output.
|
| CAEN_MCA_CMD_HV_OFF | Disable HV output.
|
| CAEN_MCA_CMD_HV_ONOFF | Enable or Disable HV output.
|
| CAEN_MCA_CMD_MCS_SWEEP | Send sweep signal for MCS Spectrum.
|
| CAEN_MCA_CMD_MCS_SPECTRUM_CLEAR | Clear MCS Spectrum.
|
| CAEN_MCA_CMD_GAIN_STABILIZER_RESET | Reset the gain stabilizer.
|
| CAEN_MCA_CMD_DTSPECTRUM_CLEAR | Clear ΔT Spectrum.
|
| CAEN_MCA_CMD_SAMPLE_ADVANCE | Send Sample Advance signal.
|
| CAEN_MCA_CMD_CONFIGURATION_DB_PATH | Set or get the path of internal configrations database.
|
| CAEN_MCA_CMD_RTCLOCK | Set or get the internal system datetime.
|
Definition at line 108 of file CAENMCATypes.h.
| enum CAEN_MCA_DataType_t |
Data type definitions.
| Enumerator | |
|---|---|
| CAEN_MCA_DATA_BOARD_INFO | Board Information.
|
| CAEN_MCA_DATA_CHANNEL_INFO | Channel Information.
|
| CAEN_MCA_DATA_HVCHANNEL_INFO | HV Channel Information.
|
| CAEN_MCA_DATA_HVRANGE_INFO | HV Range Information.
|
| CAEN_MCA_DATA_COLLECTION | Handle Collection.
|
| CAEN_MCA_DATA_PARAMETER_INFO | Parameter Information.
|
| CAEN_MCA_DATA_PARAMETER_VALUE | Parameter Value.
|
| CAEN_MCA_DATA_ENERGYSPECTRUM | Energy Spectrum.
|
| CAEN_MCA_DATA_ROI | ROI.
|
| CAEN_MCA_DATA_WAVEFORM | Waveforms.
|
| CAEN_MCA_DATA_LIST_MODE | List Mode.
|
| CAEN_MCA_DATA_DISCOVEREDDEVICES | Discover Hexagon devices on the local LAN.
|
| CAEN_MCA_DATA_HANDLE_INFO | Handle information.
|
| CAEN_MCA_DATA_MCSSPECTRUM | MCS Spectrum.
|
| CAEN_MCA_DATA_DTSPECTRUM | ΔT Spectrum
|
Definition at line 134 of file CAENMCATypes.h.
Form Factor types.
Definition at line 153 of file CAENMCATypes.h.
Board Family types.
Definition at line 162 of file CAENMCATypes.h.
Board Model types.
Definition at line 183 of file CAENMCATypes.h.
Parameter Range format.
Definition at line 232 of file CAENMCATypes.h.
| enum CAEN_MCA_Polarity_t |
HV Polarity type.
| Enumerator | |
|---|---|
| CAEN_MCA_POLARITY_TYPE_POSITIVE | Positive polarity. |
| CAEN_MCA_POLARITY_TYPE_NEGATIVE | Negative polarity. |
Definition at line 239 of file CAENMCATypes.h.
List save mode.
Definition at line 245 of file CAENMCATypes.h.
HV Ranges.
| Enumerator | |
|---|---|
| CAEN_MCA_HVRANGE_HPGE | HV Range suited for HPGe detectors. |
| CAEN_MCA_HVRANGE_PMT | HV Range suited for PMT detectors. |
| CAEN_MCA_HVRANGE_SD | HV Range suited for Silicon-Diamond detectors. |
Definition at line 252 of file CAENMCATypes.h.
| enum CAEN_MCA_MCSMode_t |
MCS counting mode.
Definition at line 259 of file CAENMCATypes.h.
MCS spectrum status.
Definition at line 266 of file CAENMCATypes.h.
MCS acquisition mode.
Definition at line 274 of file CAENMCATypes.h.
MCS acquisition mode.
Definition at line 281 of file CAENMCATypes.h.
| enum CAEN_MCA_RetCode_t |
Library return codes.
| Enumerator | |
|---|---|
| CAEN_MCA_RetCode_Success | Success. |
| CAEN_MCA_RetCode_Generic | Generic error. |
| CAEN_MCA_RetCode_SockInit | Socket initialization error. |
| CAEN_MCA_RetCode_SockConnect | Socket connect error. |
| CAEN_MCA_RetCode_OutOfMemory | Out of memory (malloc failed) |
| CAEN_MCA_RetCode_Handle | Invalid handle. |
| CAEN_MCA_RetCode_Argument | Invalid argument. |
| CAEN_MCA_RetCode_SocketSend | TCP/IP send error. |
| CAEN_MCA_RetCode_SocketReceive | TCP/IP receive error. |
| CAEN_MCA_RetCode_Protocol | Protocol error. |
| CAEN_MCA_RetCode_Serialize | Serialize error. |
| CAEN_MCA_RetCode_Deserialize | Deserialize error. |
| CAEN_MCA_RetCode_Parameter | Parameter error. |
| CAEN_MCA_RetCode_ParameterValue | Parameter Value error. |
| CAEN_MCA_RetCode_LibraryLoad | Library dynamic load error (Linux only) |
| CAEN_MCA_RetCode_DiscoveryFunction | SSDP discovery failed. |
| CAEN_MCA_RetCode_NotConnected | Not connected. |
| CAEN_MCA_RetCode_NotSupported | Not supported. |
| CAEN_MCA_RetCode_NotYetImplemented | Not yet implemented. |
| CAEN_MCA_RetCode_CollectionFull | Handle collection full (collections support up to COLLECTION_MAXLEN elements) |
| CAEN_MCA_RetCode_Map | Error in a map. |
| CAEN_MCA_RetCode_IndexAlreadyUsed | Collection index is already in use. |
Definition at line 291 of file CAENMCATypes.h.
| int32_t CAEN_MCA_DEFAULT_TCP_PORT |
Default port.