areaDetector
3-14
EPICS areaDetector framework
|
#include "stdafx.h"
#include <string>
#include <stdio.h>
#include <stdlib.h>
#include <sys/stat.h>
#include <epicsTime.h>
#include <epicsThread.h>
#include <epicsEvent.h>
#include <epicsMutex.h>
#include <epicsString.h>
#include <epicsStdio.h>
#include <cantProceed.h>
#include <ellLib.h>
#include <epicsExit.h>
#include <iocsh.h>
#include "ADDriver.h"
#include <epicsExport.h>
Classes | |
struct | settingMap |
class | LightField |
Driver for Princeton Instruments cameras using the LightField Automation software. More... | |
Macros | |
#define | DRIVER_VERSION "2.6.0" |
#define | LIGHTFIELD_VERSION "6.4.1" |
#define | LF_POLL_TIME 1.0 |
#define | MAX_ENUM_STATES 16 |
#define | LFGainString "LF_GAIN" |
Driver-specific parameters for the Lightfield driver. More... | |
#define | LFNumAccumulationsString "LF_NUM_ACCUMULATIONS" |
#define | LFNumAcquisitionsString "LF_NUM_ACQUISITIONS" |
#define | LFGratingString "LF_GRATING" |
#define | LFGratingWavelengthString "LF_GRATING_WAVELENGTH" |
#define | LFSAGEnableString "LF_SAG_ENABLE" |
#define | LFSAGStartingWavelengthString "LF_SAG_STARTING_WAVELENGTH" |
#define | LFSAGEndingWavelengthString "LF_SAG_ENDING_WAVELENGTH" |
#define | LFEntranceSideWidthString "LF_ENTRANCE_SIDE_WIDTH" |
#define | LFEntranceSelectedString "LF_ENTRANCE_SELECTED" |
#define | LFExitSelectedString "LF_EXIT_SELECTED" |
#define | LFExperimentNameString "LF_EXPERIMENT_NAME" |
#define | LFUpdateExperimentsString "LF_UPDATE_EXPERIMENTS" |
#define | LFShutterModeString "LF_SHUTTER_MODE" |
#define | LFBackgroundPathString "LF_BACKGROUND_PATH" |
#define | LFBackgroundPathExistsString "LF_BACKGROUND_PATH_EXISTS" |
#define | LFBackgroundFileString "LF_BACKGROUND_FILE" |
#define | LFBackgroundFullFileString "LF_BACKGROUND_FULL_FILE" |
#define | LFBackgroundEnableString "LF_BACKGROUND_ENABLE" |
#define | LFIntensifierEnableString "LF_INTENSIFIER_ENABLE" |
#define | LFIntensifierGainString "LF_INTENSIFIER_GAIN" |
#define | LFGatingModeString "LF_GATING_MODE" |
#define | LFTriggerFrequencyString "LF_TRIGGER_FREQUENCY" |
#define | LFSyncMasterEnableString "LF_SYNCMASTER_ENABLE" |
#define | LFSyncMaster2DelayString "LF_SYNCMASTER2_DELAY" |
#define | LFRepGateWidthString "LF_REP_GATE_WIDTH" |
#define | LFRepGateDelayString "LF_REP_GATE_DELAY" |
#define | LFSeqStartGateWidthString "LF_SEQ_START_GATE_WIDTH" |
#define | LFSeqStartGateDelayString "LF_SEQ_START_GATE_DELAY" |
#define | LFSeqEndGateWidthString "LF_SEQ_END_GATE_WIDTH" |
#define | LFSeqEndGateDelayString "LF_SEQ_END_GATE_DELAY" |
#define | LFAuxWidthString "LF_AUX_WIDTH" |
#define | LFAuxDelayString "LF_AUX_DELAY" |
#define | LFReadyToRunString "LF_READY_TO_RUN" |
#define | LFFilePathString "LF_FILE_PATH" |
#define | LFFileNameString "LF_FILE_NAME" |
#define | FIRST_LF_PARAM LFGain_ |
#define | LAST_LF_PARAM LFFileName_ |
#define | NUM_LF_PARAMS ((int)(&LAST_LF_PARAM - &FIRST_LF_PARAM + 1)) |
Enumerations | |
enum | LFImageMode_t { LFImageModeNormal , LFImageModePreview , LFImageModeBackground } |
enum | LFSetting_t { LFSettingInt32 , LFSettingInt64 , LFSettingEnum , LFSettingBoolean , LFSettingDouble , LFSettingString , LFSettingPulse , LFSettingROI } |
Functions | |
void | completionEventHandler (System::Object^ sender, ExperimentCompletedEventArgs^ args) |
void | imageDataEventHandler (System::Object^ sender, ImageDataSetReceivedEventArgs^ args) |
void | settingChangedEventHandler (System::Object^ sender, SettingChangedEventArgs^ args) |
void | LFExitHandler (void *args) |
void | LFPollerTask (void *args) |
int | LightFieldConfig (const char *portName, const char *experimentName, int maxBuffers, size_t maxMemory, int priority, int stackSize) |
epicsExportRegistrar (LightFieldRegister) | |
#define DRIVER_VERSION "2.6.0" |
#define FIRST_LF_PARAM LFGain_ |
#define LAST_LF_PARAM LFFileName_ |
#define LF_POLL_TIME 1.0 |
#define LFAuxDelayString "LF_AUX_DELAY" |
#define LFAuxWidthString "LF_AUX_WIDTH" |
#define LFBackgroundEnableString "LF_BACKGROUND_ENABLE" |
#define LFBackgroundFileString "LF_BACKGROUND_FILE" |
#define LFBackgroundFullFileString "LF_BACKGROUND_FULL_FILE" |
#define LFBackgroundPathExistsString "LF_BACKGROUND_PATH_EXISTS" |
#define LFBackgroundPathString "LF_BACKGROUND_PATH" |
#define LFEntranceSelectedString "LF_ENTRANCE_SELECTED" |
#define LFEntranceSideWidthString "LF_ENTRANCE_SIDE_WIDTH" |
#define LFExitSelectedString "LF_EXIT_SELECTED" |
#define LFExperimentNameString "LF_EXPERIMENT_NAME" |
#define LFFileNameString "LF_FILE_NAME" |
#define LFFilePathString "LF_FILE_PATH" |
#define LFGainString "LF_GAIN" |
Driver-specific parameters for the Lightfield driver.
#define LFGatingModeString "LF_GATING_MODE" |
#define LFGratingString "LF_GRATING" |
#define LFGratingWavelengthString "LF_GRATING_WAVELENGTH" |
#define LFIntensifierEnableString "LF_INTENSIFIER_ENABLE" |
#define LFIntensifierGainString "LF_INTENSIFIER_GAIN" |
#define LFNumAccumulationsString "LF_NUM_ACCUMULATIONS" |
#define LFNumAcquisitionsString "LF_NUM_ACQUISITIONS" |
#define LFReadyToRunString "LF_READY_TO_RUN" |
#define LFRepGateDelayString "LF_REP_GATE_DELAY" |
#define LFRepGateWidthString "LF_REP_GATE_WIDTH" |
#define LFSAGEnableString "LF_SAG_ENABLE" |
#define LFSAGEndingWavelengthString "LF_SAG_ENDING_WAVELENGTH" |
#define LFSAGStartingWavelengthString "LF_SAG_STARTING_WAVELENGTH" |
#define LFSeqEndGateDelayString "LF_SEQ_END_GATE_DELAY" |
#define LFSeqEndGateWidthString "LF_SEQ_END_GATE_WIDTH" |
#define LFSeqStartGateDelayString "LF_SEQ_START_GATE_DELAY" |
#define LFSeqStartGateWidthString "LF_SEQ_START_GATE_WIDTH" |
#define LFShutterModeString "LF_SHUTTER_MODE" |
#define LFSyncMaster2DelayString "LF_SYNCMASTER2_DELAY" |
#define LFSyncMasterEnableString "LF_SYNCMASTER_ENABLE" |
#define LFTriggerFrequencyString "LF_TRIGGER_FREQUENCY" |
#define LFUpdateExperimentsString "LF_UPDATE_EXPERIMENTS" |
#define LIGHTFIELD_VERSION "6.4.1" |
#define MAX_ENUM_STATES 16 |
#define NUM_LF_PARAMS ((int)(&LAST_LF_PARAM - &FIRST_LF_PARAM + 1)) |
enum LFImageMode_t |
enum LFSetting_t |
void completionEventHandler | ( | System::Object^ | sender, |
ExperimentCompletedEventArgs^ | args | ||
) |
epicsExportRegistrar | ( | LightFieldRegister | ) |
void imageDataEventHandler | ( | System::Object^ | sender, |
ImageDataSetReceivedEventArgs^ | args | ||
) |
void LFExitHandler | ( | void * | args | ) |
void LFPollerTask | ( | void * | args | ) |
int LightFieldConfig | ( | const char * | portName, |
const char * | experimentName, | ||
int | maxBuffers, | ||
size_t | maxMemory, | ||
int | priority, | ||
int | stackSize | ||
) |
void settingChangedEventHandler | ( | System::Object^ | sender, |
SettingChangedEventArgs^ | args | ||
) |