13#error This is a C++ include file and cannot be used from plain C
25#define ngcdcsAOCAL_MEDIAN 1
26#define ngcdcsAOCAL_MEAN 2
31#define ngcdcsAOCAL_MINPIX 40
61 void Exit(
int status);
182 char targetFile_[256];
197 int NumPix_() {
return (nx_ * ny_);}
218 void Copy_(
ngcdcs_ao_t *target,
void *source,
int dataType);
221 void Bias_(
ngcdcs_ao_t *target,
void *source,
int dataType);
230 int Calibrate_(
int gain);
233 void Path_(
char *path,
int size,
const char *fileName,
const char *dir=NULL);
259 if (sys.
ctrl == NULL)
261 strcpy(
ErrMsg(),
"no controller instance");
264 if (sscanf(desc,
"aocal%10d", &
id) < 1)
id = 1;
267 sprintf(
ErrMsg(),
"AO camera instance out of range [1,%d]",
Definition ngcbPARAM.hpp:201
Definition ngcdcsAOCAL.hpp:247
ngcdcsEXPDRV * Make(const char *desc, const ngcdcs_system_t &sys, const ngcb_fb_t &fb)
Creator.
Definition ngcdcsAOCAL.hpp:256
virtual ~ngcdcsAOCAL_FACTORY()
Destructor.
Definition ngcdcsAOCAL.hpp:253
ngcdcsAOCAL_FACTORY()
Constructor.
Definition ngcdcsAOCAL.hpp:250
Definition ngcdcsAOCAL.hpp:42
ngcdcsAOCAL(ngcdcsAO *module, const ngcb_fb_t &fb)
Constructor with associated AO camera module and feed-back channel.
Definition ngcdcsAOCAL.cpp:38
virtual ~ngcdcsAOCAL()
Destructor.
Definition ngcdcsAOCAL.cpp:48
int Configure(ngcbPARAM_LIST *cfg)
Configuration call-back.
Definition ngcdcsAOCAL.cpp:189
void Exit(int status)
Exposure sequence termination call-back.
Definition ngcdcsAOCAL.cpp:573
void CfgStatus(ngcbPARAM_LIST *cfg)
Configuration status call-back.
Definition ngcdcsAOCAL.cpp:502
int Process(void *buffer, ngcdcs_finfo_t *finfo)
Processing call-back.
Definition ngcdcsAOCAL.cpp:788
int Exec()
Execution block.
Definition ngcdcsAOCAL.cpp:616
Definition ngcdcsAO.hpp:312
ngcdcsAO * ao[ngcdcsCTRL_MAX_AO]
AO cameras.
Definition ngcdcsCTRL.hpp:125
int numAoMod
Number of AO cameras.
Definition ngcdcsCTRL.hpp:128
Definition ngcdcsEXPDRV.hpp:31
ngcdcsEXPDRV(const ngcb_fb_t &fb)
Constructor with feed-back channel.
Definition ngcdcsEXPDRV.hpp:55
ngcdcsFACTORY(const char *s)
Constructor.
Definition ngcdcsFACTORY.hpp:64
char * ErrMsg()
Error message.
Definition ngcdcsFACTORY.hpp:88
float ngcdcs_ao_t
Definition ngcdcsAOCAL.hpp:36
ngcdcsAOCAL_FACTORY ngcdcsAoCal
Definition ngcdcsAOCAL.cpp:32
Definition ngcbSTREAM.hpp:28
Definition ngcdcsFINFO.hpp:468
Definition ngcdcsFACTORY.hpp:23
ngcdcsCTRL * ctrl
Controller.
Definition ngcdcsFACTORY.hpp:25