#include <iocsh.h>
#include <stdlib.h>
#include <string.h>
#include <epicsString.h>
#include <asynPortDriver.h>
#include "atmcdLXd.h"
#include <ShamrockCIF.h>
#include <epicsExport.h>
|
| int | shamrockConfig (const char *portName, int shamrockId, const char *iniPath, int priority, int stackSize) |
| | Configuration function to configure one spectrograph.
|
| |
| | epicsExportRegistrar (shamrockRegister) |
| |
◆ FIRST_SR_PARAM
| #define FIRST_SR_PARAM SRWavelength_ |
Wavelength (float64 read/write)
◆ LAST_SR_PARAM
| #define LAST_SR_PARAM SRSlitSize_ |
Slit width (float64 read/write)
◆ MAX_ADDR
◆ MAX_ERROR_MESSAGE_SIZE
| #define MAX_ERROR_MESSAGE_SIZE 100 |
◆ MAX_FLIPPER_MIRRORS
| #define MAX_FLIPPER_MIRRORS 2 |
◆ MAX_GRATINGS
◆ MAX_SLITS
◆ SRCalibrationString
| #define SRCalibrationString "SR_CALIBRATION" |
◆ SRFlipperMirrorExistsString
| #define SRFlipperMirrorExistsString "SR_FLIPPER_MIRROR_EXISTS" |
◆ SRFlipperMirrorPortString
| #define SRFlipperMirrorPortString "SR_FLIPPER_MIRROR_PORT" |
◆ SRGratingExistsString
| #define SRGratingExistsString "SR_GRATING_EXISTS" |
◆ SRGratingString
| #define SRGratingString "SR_GRATING" |
◆ SRMaxWavelengthString
| #define SRMaxWavelengthString "SR_MAX_WAVELENGTH" |
◆ SRMinWavelengthString
| #define SRMinWavelengthString "SR_MIN_WAVELENGTH" |
◆ SRNumGratingsString
| #define SRNumGratingsString "SR_NUM_GRATINGS" |
◆ SRSlitExistsString
| #define SRSlitExistsString "SR_SLIT_EXISTS" |
◆ SRSlitSizeString
| #define SRSlitSizeString "SR_SLIT_SIZE" |
◆ SRWavelengthString
| #define SRWavelengthString "SR_WAVELENGTH" |
◆ epicsExportRegistrar()
| epicsExportRegistrar |
( |
shamrockRegister |
| ) |
|
◆ shamrockConfig()
| int shamrockConfig |
( |
const char * |
portName, |
|
|
int |
shamrockId, |
|
|
const char * |
iniPath, |
|
|
int |
priority, |
|
|
int |
stackSize |
|
) |
| |
Configuration function to configure one spectrograph.
This function need to be called once for each spectrography to be used by the IOC. A call to this function instanciates one object from the shamrock class.
- Parameters
-
| [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. |