|
areaDetector 3-14
EPICS areaDetector framework
|
#include <epicsMutex.h>#include <epicsEvent.h>#include "asynPortDriver.h"#include "NDArray.h"#include "ADCoreVersion.h"Go to the source code of this file.
Classes | |
| class | asynNDArrayDriver |
| This is the class from which NDArray drivers are derived; implements the asynGenericPointer functions for NDArray objects. More... | |
Macros | |
| #define | MAX_FILENAME_LEN 256 |
| Maximum length of a filename or any of its components. | |
| #define | NDPortNameSelfString "PORT_NAME_SELF" |
| Strings defining parameters that affect the behaviour of the detector. | |
| #define | NDADCoreVersionString "ADCORE_VERSION" |
| ADCore version string. | |
| #define | NDDriverVersionString "DRIVER_VERSION" |
| (asynOctet, r/o) Version of this driver or plugin | |
| #define | ADManufacturerString "MANUFACTURER" |
| (asynOctet, r/o) Detector manufacturer name | |
| #define | ADModelString "MODEL" |
| (asynOctet, r/o) Detector model name | |
| #define | ADSerialNumberString "SERIAL_NUMBER" |
| (asynOctet, r/o) Detector serial number | |
| #define | ADSDKVersionString "SDK_VERSION" |
| (asynOctet, r/o) Vendor SDK version | |
| #define | ADFirmwareVersionString "FIRMWARE_VERSION" |
| (asynOctet, r/o) Detector firmware version | |
| #define | ADAcquireString "ACQUIRE" |
| (asynInt32, r/w) Start(1) or Stop(0) acquisition | |
| #define | ADAcquireBusyString "ACQUIRE_BUSY" |
| (asynInt32, r/w) 0 when acquire done including plugins | |
| #define | ADWaitForPluginsString "WAIT_FOR_PLUGINS" |
| (asynInt32, r/w) Wait for plugins before AcquireBusy goes to 0 | |
| #define | NDArraySizeXString "ARRAY_SIZE_X" |
| (asynInt32, r/o) Size of the array data in the X direction | |
| #define | NDArraySizeYString "ARRAY_SIZE_Y" |
| (asynInt32, r/o) Size of the array data in the Y direction | |
| #define | NDArraySizeZString "ARRAY_SIZE_Z" |
| (asynInt32, r/o) Size of the array data in the Z direction | |
| #define | NDArraySizeString "ARRAY_SIZE" |
| (asynInt32, r/o) Total size of array data in bytes | |
| #define | NDNDimensionsString "ARRAY_NDIMENSIONS" |
| (asynInt32, r/o) Number of dimensions in array | |
| #define | NDDimensionsString "ARRAY_DIMENSIONS" |
| (asynInt32Array, r/o) Array dimensions | |
| #define | NDDataTypeString "DATA_TYPE" |
| (asynInt32, r/w) Data type (NDDataType_t) | |
| #define | NDColorModeString "COLOR_MODE" |
| (asynInt32, r/w) Color mode (NDColorMode_t) | |
| #define | NDUniqueIdString "UNIQUE_ID" |
| (asynInt32, r/o) Unique ID number of array | |
| #define | NDTimeStampString "TIME_STAMP" |
| (asynFloat64, r/o) Time stamp of array | |
| #define | NDEpicsTSSecString "EPICS_TS_SEC" |
| (asynInt32, r/o) EPOCS time stamp secPastEpoch of array | |
| #define | NDEpicsTSNsecString "EPICS_TS_NSEC" |
| (asynInt32, r/o) EPOCS time stamp nsec of array | |
| #define | NDBayerPatternString "BAYER_PATTERN" |
| (asynInt32, r/o) Bayer pattern of array (from bayerPattern array attribute if present) | |
| #define | NDCodecString "CODEC" |
| (asynOctet, r/o) Codec name | |
| #define | NDCompressedSizeString "COMPRESSED_SIZE" |
| (asynInt32, r/o) Compressed size in bytes | |
| #define | NDArrayCounterString "ARRAY_COUNTER" |
| (asynInt32, r/w) Number of arrays since last reset | |
| #define | NDFilePathString "FILE_PATH" |
| (asynOctet, r/w) The file path | |
| #define | NDFilePathExistsString "FILE_PATH_EXISTS" |
| (asynInt32, r/w) File path exists? | |
| #define | NDFileNameString "FILE_NAME" |
| (asynOctet, r/w) The file name | |
| #define | NDFileNumberString "FILE_NUMBER" |
| (asynInt32, r/w) The next file number | |
| #define | NDFileTemplateString "FILE_TEMPLATE" |
| (asynOctet, r/w) The file format template; C-style format string | |
| #define | NDAutoIncrementString "AUTO_INCREMENT" |
| (asynInt32, r/w) Autoincrement file number; 0=No, 1=Yes | |
| #define | NDFullFileNameString "FULL_FILE_NAME" |
| (asynOctet, r/o) The actual complete file name for the last file saved | |
| #define | NDFileFormatString "FILE_FORMAT" |
| (asynInt32, r/w) The data format to use for saving the file. | |
| #define | NDAutoSaveString "AUTO_SAVE" |
| (asynInt32, r/w) Automatically save files | |
| #define | NDWriteFileString "WRITE_FILE" |
| (asynInt32, r/w) Manually save the most recent array to a file when value=1 | |
| #define | NDReadFileString "READ_FILE" |
| (asynInt32, r/w) Manually read file when value=1 | |
| #define | NDFileWriteModeString "WRITE_MODE" |
| (asynInt32, r/w) File saving mode (NDFileMode_t) | |
| #define | NDFileWriteStatusString "WRITE_STATUS" |
| (asynInt32, r/w) File write status | |
| #define | NDFileWriteMessageString "WRITE_MESSAGE" |
| (asynOctet, r/w) File write message | |
| #define | NDFileNumCaptureString "NUM_CAPTURE" |
| (asynInt32, r/w) Number of arrays to capture | |
| #define | NDFileNumCapturedString "NUM_CAPTURED" |
| (asynInt32, r/o) Number of arrays already captured | |
| #define | NDFileFreeCaptureString "FREE_CAPTURE" |
| (asynInt32, r/w) Free the capture buffer | |
| #define | NDFileCaptureString "CAPTURE" |
| (asynInt32, r/w) Start or stop capturing arrays | |
| #define | NDFileDeleteDriverFileString "DELETE_DRIVER_FILE" |
| (asynInt32, r/w) Delete driver file | |
| #define | NDFileLazyOpenString "FILE_LAZY_OPEN" |
| (asynInt32, r/w) Don't open file until first frame arrives in Stream mode | |
| #define | NDFileCreateDirString "CREATE_DIR" |
| (asynInt32, r/w) Create the target directory up to this depth | |
| #define | NDFileTempSuffixString "FILE_TEMP_SUFFIX" |
| (asynOctet, r/w) Temporary filename suffix while writing data to file. | |
| #define | NDAttributesFileString "ND_ATTRIBUTES_FILE" |
| (asynOctet, r/w) Attributes file name | |
| #define | NDAttributesStatusString "ND_ATTRIBUTES_STATUS" |
| (asynInt32, r/o) Attributes status | |
| #define | NDAttributesMacrosString "ND_ATTRIBUTES_MACROS" |
| (asynOctet, r/w) Attributes macros string | |
| #define | NDArrayDataString "ARRAY_DATA" |
| (asynGenericPointer, r/w) NDArray data | |
| #define | NDArrayCallbacksString "ARRAY_CALLBACKS" |
| (asynInt32, r/w) Do callbacks with array data (0=No, 1=Yes) | |
| #define | NDPoolMaxBuffersString "POOL_MAX_BUFFERS" |
| #define | NDPoolAllocBuffersString "POOL_ALLOC_BUFFERS" |
| #define | NDPoolPreAllocBuffersString "POOL_PRE_ALLOC_BUFFERS" |
| #define | NDPoolNumPreAllocBuffersString "POOL_NUM_PRE_ALLOC_BUFFERS" |
| #define | NDPoolFreeBuffersString "POOL_FREE_BUFFERS" |
| #define | NDPoolMaxMemoryString "POOL_MAX_MEMORY" |
| #define | NDPoolUsedMemoryString "POOL_USED_MEMORY" |
| #define | NDPoolEmptyFreeListString "POOL_EMPTY_FREELIST" |
| #define | NDPoolPollStatsString "POOL_POLL_STATS" |
| #define | NDNumQueuedArraysString "NUM_QUEUED_ARRAYS" |
| #define | FIRST_NDARRAY_PARAM NDPortNameSelf |
Enumerations | |
| enum | NDFileMode_t { NDFileModeSingle , NDFileModeCapture , NDFileModeStream } |
| Enumeration of file saving modes. More... | |
| enum | NDFileWriteStatus_t { NDFileWriteOK , NDFileWriteError } |
| enum | NDAttributesStatus_t { NDAttributesOK , NDAttributesFileNotFound , NDAttributesXMLSyntaxError , NDAttributesMacroError } |
| #define ADAcquireBusyString "ACQUIRE_BUSY" |
(asynInt32, r/w) 0 when acquire done including plugins
| #define ADAcquireString "ACQUIRE" |
(asynInt32, r/w) Start(1) or Stop(0) acquisition
| #define ADFirmwareVersionString "FIRMWARE_VERSION" |
(asynOctet, r/o) Detector firmware version
| #define ADManufacturerString "MANUFACTURER" |
(asynOctet, r/o) Detector manufacturer name
| #define ADModelString "MODEL" |
(asynOctet, r/o) Detector model name
| #define ADSDKVersionString "SDK_VERSION" |
(asynOctet, r/o) Vendor SDK version
| #define ADSerialNumberString "SERIAL_NUMBER" |
(asynOctet, r/o) Detector serial number
| #define ADWaitForPluginsString "WAIT_FOR_PLUGINS" |
(asynInt32, r/w) Wait for plugins before AcquireBusy goes to 0
| #define FIRST_NDARRAY_PARAM NDPortNameSelf |
| #define MAX_FILENAME_LEN 256 |
Maximum length of a filename or any of its components.
| #define NDADCoreVersionString "ADCORE_VERSION" |
ADCore version string.
(asynOctet, r/o) Version of ADCore
| #define NDArrayCallbacksString "ARRAY_CALLBACKS" |
(asynInt32, r/w) Do callbacks with array data (0=No, 1=Yes)
| #define NDArrayCounterString "ARRAY_COUNTER" |
(asynInt32, r/w) Number of arrays since last reset
| #define NDArrayDataString "ARRAY_DATA" |
(asynGenericPointer, r/w) NDArray data
| #define NDArraySizeString "ARRAY_SIZE" |
(asynInt32, r/o) Total size of array data in bytes
| #define NDArraySizeXString "ARRAY_SIZE_X" |
(asynInt32, r/o) Size of the array data in the X direction
| #define NDArraySizeYString "ARRAY_SIZE_Y" |
(asynInt32, r/o) Size of the array data in the Y direction
| #define NDArraySizeZString "ARRAY_SIZE_Z" |
(asynInt32, r/o) Size of the array data in the Z direction
| #define NDAttributesFileString "ND_ATTRIBUTES_FILE" |
(asynOctet, r/w) Attributes file name
| #define NDAttributesMacrosString "ND_ATTRIBUTES_MACROS" |
(asynOctet, r/w) Attributes macros string
| #define NDAttributesStatusString "ND_ATTRIBUTES_STATUS" |
(asynInt32, r/o) Attributes status
| #define NDAutoIncrementString "AUTO_INCREMENT" |
(asynInt32, r/w) Autoincrement file number; 0=No, 1=Yes
| #define NDAutoSaveString "AUTO_SAVE" |
(asynInt32, r/w) Automatically save files
| #define NDBayerPatternString "BAYER_PATTERN" |
(asynInt32, r/o) Bayer pattern of array (from bayerPattern array attribute if present)
| #define NDCodecString "CODEC" |
(asynOctet, r/o) Codec name
| #define NDColorModeString "COLOR_MODE" |
(asynInt32, r/w) Color mode (NDColorMode_t)
| #define NDCompressedSizeString "COMPRESSED_SIZE" |
(asynInt32, r/o) Compressed size in bytes
| #define NDDataTypeString "DATA_TYPE" |
(asynInt32, r/w) Data type (NDDataType_t)
| #define NDDimensionsString "ARRAY_DIMENSIONS" |
(asynInt32Array, r/o) Array dimensions
| #define NDDriverVersionString "DRIVER_VERSION" |
(asynOctet, r/o) Version of this driver or plugin
| #define NDEpicsTSNsecString "EPICS_TS_NSEC" |
(asynInt32, r/o) EPOCS time stamp nsec of array
| #define NDEpicsTSSecString "EPICS_TS_SEC" |
(asynInt32, r/o) EPOCS time stamp secPastEpoch of array
| #define NDFileCaptureString "CAPTURE" |
(asynInt32, r/w) Start or stop capturing arrays
| #define NDFileCreateDirString "CREATE_DIR" |
(asynInt32, r/w) Create the target directory up to this depth
| #define NDFileDeleteDriverFileString "DELETE_DRIVER_FILE" |
(asynInt32, r/w) Delete driver file
| #define NDFileFormatString "FILE_FORMAT" |
(asynInt32, r/w) The data format to use for saving the file.
| #define NDFileFreeCaptureString "FREE_CAPTURE" |
(asynInt32, r/w) Free the capture buffer
| #define NDFileLazyOpenString "FILE_LAZY_OPEN" |
(asynInt32, r/w) Don't open file until first frame arrives in Stream mode
| #define NDFileNameString "FILE_NAME" |
(asynOctet, r/w) The file name
| #define NDFileNumberString "FILE_NUMBER" |
(asynInt32, r/w) The next file number
| #define NDFileNumCapturedString "NUM_CAPTURED" |
(asynInt32, r/o) Number of arrays already captured
| #define NDFileNumCaptureString "NUM_CAPTURE" |
(asynInt32, r/w) Number of arrays to capture
| #define NDFilePathExistsString "FILE_PATH_EXISTS" |
(asynInt32, r/w) File path exists?
| #define NDFilePathString "FILE_PATH" |
(asynOctet, r/w) The file path
| #define NDFileTemplateString "FILE_TEMPLATE" |
(asynOctet, r/w) The file format template; C-style format string
| #define NDFileTempSuffixString "FILE_TEMP_SUFFIX" |
(asynOctet, r/w) Temporary filename suffix while writing data to file.
The file will be renamed (suffix removed) upon closing the file.
| #define NDFileWriteMessageString "WRITE_MESSAGE" |
(asynOctet, r/w) File write message
| #define NDFileWriteModeString "WRITE_MODE" |
(asynInt32, r/w) File saving mode (NDFileMode_t)
| #define NDFileWriteStatusString "WRITE_STATUS" |
(asynInt32, r/w) File write status
| #define NDFullFileNameString "FULL_FILE_NAME" |
(asynOctet, r/o) The actual complete file name for the last file saved
| #define NDNDimensionsString "ARRAY_NDIMENSIONS" |
(asynInt32, r/o) Number of dimensions in array
| #define NDNumQueuedArraysString "NUM_QUEUED_ARRAYS" |
| #define NDPoolAllocBuffersString "POOL_ALLOC_BUFFERS" |
| #define NDPoolEmptyFreeListString "POOL_EMPTY_FREELIST" |
| #define NDPoolFreeBuffersString "POOL_FREE_BUFFERS" |
| #define NDPoolMaxBuffersString "POOL_MAX_BUFFERS" |
| #define NDPoolMaxMemoryString "POOL_MAX_MEMORY" |
| #define NDPoolNumPreAllocBuffersString "POOL_NUM_PRE_ALLOC_BUFFERS" |
| #define NDPoolPollStatsString "POOL_POLL_STATS" |
| #define NDPoolPreAllocBuffersString "POOL_PRE_ALLOC_BUFFERS" |
| #define NDPoolUsedMemoryString "POOL_USED_MEMORY" |
| #define NDPortNameSelfString "PORT_NAME_SELF" |
Strings defining parameters that affect the behaviour of the detector.
These are the values passed to drvUserCreate. The driver will place in pasynUser->reason an integer to be used when the standard asyn interface methods are called. (asynOctet, r/o) Asyn port name of this driver instance
| #define NDReadFileString "READ_FILE" |
(asynInt32, r/w) Manually read file when value=1
| #define NDTimeStampString "TIME_STAMP" |
(asynFloat64, r/o) Time stamp of array
| #define NDUniqueIdString "UNIQUE_ID" |
(asynInt32, r/o) Unique ID number of array
| #define NDWriteFileString "WRITE_FILE" |
(asynInt32, r/w) Manually save the most recent array to a file when value=1
| enum NDAttributesStatus_t |
| enum NDFileMode_t |
Enumeration of file saving modes.
| enum NDFileWriteStatus_t |