List of all members.
Public Member Functions |
| andor3 (const char *portName, int cameraId, int maxBuffers, size_t maxMemory, int priority, int stackSize, int maxFrames) |
| Constructor for Andor3 driver; most parameters are simply passed to ADDriver::ADDriver.
|
virtual asynStatus | writeInt32 (asynUser *pasynUser, epicsInt32 value) |
| Sets an int32 parameter.
|
virtual asynStatus | writeFloat64 (asynUser *pasynUser, epicsFloat64 value) |
| Called when asyn clients call pasynFloat64->write().
|
virtual asynStatus | readEnum (asynUser *pasynUser, char *strings[], int values[], int severities[], size_t nElements, size_t *nIn) |
| Called when asyn clients call pasynEnum->read().
|
virtual void | report (FILE *fp, int details) |
| Report status of the driver.
|
void | shutdown () |
void | imageTask () |
void | tempTask () |
int | getFeature (int paramIndex) |
Protected Attributes |
int | Andor3FrameRate |
int | Andor3PixelEncoding |
int | Andor3FullAOIControl |
int | Andor3Binning |
int | Andor3ShutterMode |
int | Andor3SoftwareTrigger |
int | Andor3SensorCooling |
int | Andor3TempControl |
int | Andor3TempStatus |
int | Andor3SerialNumber |
int | Andor3FirmwareVersion |
int | Andor3SoftwareVersion |
int | Andor3ControllerID |
int | Andor3Overlap |
int | Andor3ReadoutRate |
int | Andor3ReadoutTime |
int | Andor3TransferRate |
int | Andor3PreAmpGain |
int | Andor3NoiseFilter |
int | Andor3FanSpeed |
Constructor & Destructor Documentation
andor3::andor3 |
( |
const char * |
portName, |
|
|
int |
cameraId, |
|
|
int |
maxBuffers, |
|
|
size_t |
maxMemory, |
|
|
int |
priority, |
|
|
int |
stackSize, |
|
|
int |
maxFrames |
|
) |
| |
Constructor for Andor3 driver; most parameters are simply passed to ADDriver::ADDriver.
After calling the base class constructor this method creates a thread to collect the images from the detector and sets reasonable default values for the parameters defined in this class, asynNDArrayDriver, and ADDriver.
- Parameters:
-
[in] | portName | The name of the asyn port driver to be created. |
[in] | cameraId | The id number of the Andor camera (see listdevices example for number). |
[in] | maxBuffers | The maximum number of NDArray buffers that the NDArrayPool for this driver is allowed to allocate. Set this to -1 to allow an unlimited number of buffers. |
[in] | maxMemory | The maximum amount of memory that the NDArrayPool for this driver is allowed to allocate. Set this to -1 to allow an unlimited amount of memory. |
[in] | priority | The thread priority for the asyn port driver thread if ASYN_CANBLOCK is set in asynFlags. |
[in] | stackSize | The stack size for the asyn port driver thread if ASYN_CANBLOCK is set in asynFlags. |
[in] | maxFrames | The number of frame buffers to use in driver. |
Member Function Documentation
int andor3::getFeature |
( |
int |
paramIndex | ) |
|
void andor3::imageTask |
( |
| ) |
|
asynStatus andor3::readEnum |
( |
asynUser * |
pasynUser, |
|
|
char * |
strings[], |
|
|
int |
values[], |
|
|
int |
severities[], |
|
|
size_t |
nElements, |
|
|
size_t * |
nIn |
|
) |
| [virtual] |
Called when asyn clients call pasynEnum->read().
The base class implementation simply prints an error message. Derived classes may reimplement this function if required.
- Parameters:
-
[in] | pasynUser | pasynUser structure that encodes the reason and address. |
[in] | strings | Array of string pointers. |
[in] | values | Array of values |
[in] | severities | Array of severities |
[in] | nElements | Size of value array |
[out] | nIn | Number of elements actually returned |
Reimplemented from asynPortDriver.
void andor3::report |
( |
FILE * |
fp, |
|
|
int |
details |
|
) |
| [virtual] |
void andor3::shutdown |
( |
void |
| ) |
|
void andor3::tempTask |
( |
void |
| ) |
|
asynStatus andor3::writeFloat64 |
( |
asynUser * |
pasynUser, |
|
|
epicsFloat64 |
value |
|
) |
| [virtual] |
Called when asyn clients call pasynFloat64->write().
The base class implementation simply sets the value in the parameter library and calls any registered callbacks for this pasynUser->reason and address. Derived classes will reimplement this function if they need to perform an action when an asynFloat64 value is written.
- Parameters:
-
[in] | pasynUser | pasynUser structure that encodes the reason and address. |
[in] | value | Value to write. |
Reimplemented from asynPortDriver.
asynStatus andor3::writeInt32 |
( |
asynUser * |
pasynUser, |
|
|
epicsInt32 |
value |
|
) |
| [virtual] |
Sets an int32 parameter.
- Parameters:
-
[in] | pasynUser | asynUser structure that contains the function code in pasynUser->reason. |
[in] | value | The value for this parameter |
Takes action if the function code requires it. Currently only ADShutterControl requires action here. This method is normally called from the writeInt32 method in derived classes, which should set the value of the parameter in the parameter library.
Reimplemented from ADDriver.
Member Data Documentation
The documentation for this class was generated from the following file:
- /home/epics/devel/areaDetector/ADApp/andor3Src/andor3.cpp