areaDetector
3-14
EPICS areaDetector framework
|
Driver for Andor Shamrock spectrographs. More...
Public Member Functions | |
shamrock (const char *portName, int shamrockID, const char *iniPath, int priority, int stacksize) | |
Constructor for the shamrock class. More... | |
virtual asynStatus | writeInt32 (asynUser *pasynUser, epicsInt32 value) |
Sets an int32 parameter. More... | |
virtual asynStatus | writeFloat64 (asynUser *pasynUser, epicsFloat64 value) |
Sets an float64 parameter. More... | |
virtual asynStatus | readFloat32Array (asynUser *pasynUser, epicsFloat32 *pValue, size_t nElements, size_t *nIn) |
Reads float32 array. More... | |
void | report (FILE *fp, int details) |
Print out a report; calls asynPortDriver::report to get base class report as well. More... | |
Protected Attributes | |
int | SRWavelength_ |
int | SRMinWavelength_ |
int | SRMaxWavelength_ |
Min wavelength (float64 read/write) More... | |
int | SRCalibration_ |
Min wavelength (float64 read/write) More... | |
int | SRGrating_ |
Calibration (float32 array read) More... | |
int | SRNumGratings_ |
Grating (int32 read/write) More... | |
int | SRGratingExists_ |
Number of gratings (int32 read) More... | |
int | SRFlipperMirrorExists_ |
Grating exists (int32 read) More... | |
int | SRFlipperMirrorPort_ |
Flipper Mirror exists (int32 read) More... | |
int | SRSlitExists_ |
Flipper Mirror Port (int32 read/write) More... | |
int | SRSlitSize_ |
Slit exists (int32 read) More... | |
Driver for Andor Shamrock spectrographs.
One instance of this class will control one spectrograph.
shamrock::shamrock | ( | const char * | portName, |
int | shamrockID, | ||
const char * | iniPath, | ||
int | priority, | ||
int | stackSize | ||
) |
Constructor for the shamrock class.
[in] | portName | asyn port name to assign to the camera. |
[in] | shamrockID | The spectrograph index. |
[in] | iniPath | The path to the camera ini file |
[in] | priority | The EPICS thread priority for this driver. 0=use asyn default. |
[in] | stackSize | The size of the stack for the EPICS port thread. 0=use asyn default. |
|
virtual |
Reads float32 array.
[in] | pasynUser | asynUser structure that contains the function code in pasynUser->reason. |
[in] | pValue | The array |
[in] | nElements | The size of the array |
[out] | nIn | The number of elements copied to the array Takes action if the function code requires it. |
void shamrock::report | ( | FILE * | fp, |
int | details | ||
) |
Print out a report; calls asynPortDriver::report to get base class report as well.
[in] | fp | File pointer to write output to |
[in] | details | Level of detail desired. |
|
virtual |
Sets an float64 parameter.
[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.
|
virtual |
Sets an int32 parameter.
[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. ADAcquire, ADSizeX, and many other function codes make calls to the Firewire library from this function.
|
protected |
Min wavelength (float64 read/write)
|
protected |
Grating exists (int32 read)
|
protected |
Flipper Mirror exists (int32 read)
|
protected |
Calibration (float32 array read)
|
protected |
Number of gratings (int32 read)
|
protected |
Min wavelength (float64 read/write)
|
protected |
|
protected |
Grating (int32 read/write)
|
protected |
Flipper Mirror Port (int32 read/write)
|
protected |
Slit exists (int32 read)
|
protected |