7 #pragma comment(lib,"DexelaDetector-d.lib")
9 #pragma comment(lib,"DexelaDetector.lib")
17 #include <boost/shared_ptr.hpp>
20 #pragma warning(disable: 4251)
38 UINT CallbackCounterThread();
60 boost::shared_ptr<baseDetector> base;
61 boost::shared_ptr<gigEDetector> gigeDet;
62 boost::shared_ptr<camLinkDetector> clDet;
69 virtual void OpenBoard();
70 void OpenBoard(
int NumBufs);
73 int GetBufferXdim(
void);
74 int GetBufferYdim(
void);
75 int GetNumBuffers(
void);
76 int GetCapturedBuffer(
void);
77 int GetFieldCount(
void);
78 void ReadBuffer(
int bufNum, byte* buffer);
79 void ReadBuffer(
int bufNum,
DexImage &img,
int iZ=0);
80 void WriteBuffer(
int bufNum, byte* buffer);
84 void SetExposureTime(
float timems);
85 void SetBinningMode(
bins flag);
86 void SetTestMode(BOOL SetTestOn);
88 void SetNumOfExposures(
int num);
89 int GetNumOfExposures();
90 void SetGapTime(
float timems);
95 float GetExposureTime();
100 bins GetBinningMode();
101 int GetSerialNumber();
102 int GetModelNumber();
103 int GetFirmwareVersion();
104 void GetFirmwareBuild(
int& iDayAndMonth,
int& iYear,
int& iTime);
106 double GetReadOutTime();
108 bool IsCallbackActive();
111 void Snap(
int buffer,
int timeout);
113 int ReadRegister(
int address,
int sensorNum=1);
114 void WriteRegister(
int address,
int value,
int sensorNum=0);
115 void ClearCameraBuffer(
int i);
117 void LoadSensorConfigFile(
char* filename);
118 void SoftReset(
void);
120 void GoLiveSeq(
int start,
int stop,
int numBuf);
124 void SoftwareTrigger();
126 void EnablePulseGenerator(
float frequency);
127 void EnablePulseGenerator();
128 void DisablePulseGenerator();
129 void ToggleGenerator(BOOL onOff);
131 void WaitImage(
int timeout);
136 void CheckForCallbackError();
137 void CheckForLiveError();
139 void SetPreProgrammedExposureTimes(
int numExposures,
float* exposuretimes_ms);
141 void SetROICoordinates(
unsigned short usStartColumn,
unsigned short usStartRow,
unsigned short usROIWidth,
unsigned short usROIHeight);
142 void GetROICoordinates(
unsigned short& usStartColumn,
unsigned short& usStartRow,
unsigned short& usROIWidth,
unsigned short& usROIHeight);
143 void EnableROIMode(
bool bEnableROI);
145 unsigned short GetSensorHeight(
unsigned short uiSensorID=1);
146 unsigned short GetSensorWidth(
unsigned short uiSensorID=1);
148 bool IsFrameCntWithinImage();
149 void EnableFrameCntWithinImage(
unsigned short usEnable);
150 void SetSlowed(
bool flag);
158 int QueryBinningMode(
bins flag);
160 friend class baseBusScanner;
161 friend class MockSetter;
162 friend class DexelaDetectorPy;
ReadoutModes
An enumeration of ReadOut modes.
Definition: DexDefs.h:316
ExposureTriggerSource
An enumeration of exposure trigger sources.
Definition: DexDefs.h:248
void(* IMAGE_CALLBACK)(int fc, int buf, DexelaDetector *det)
Image callback function signature. This is the signature that any user-passed callback funcitons must...
Definition: DexelaDetector.h:172
FullWellModes
An enumeration of the available full well modes
Definition: DexDefs.h:185
Structure to hold the detector current status.
Definition: DexDefs.h:283
This class is used to control any interface-type Detector and acquire images from it...
Definition: DexelaDetector.h:27
This class contains information about any possible error's in the API. In the event of a problem a De...
Definition: DexelaException.h:21
A structure to hold device information.
Definition: DexDefs.h:42
ExposureModes
An enumeration of exposure modes.
Definition: DexDefs.h:224
This class is used to store and handle the images acquired from a detector.
Definition: DexImage.h:27
bins
An enumeration of the different bin levels available
Definition: DexDefs.h:73
DetectorInterface
An enumeration of detector interface types.
Definition: DexDefs.h:12