Download Spectrum ONE - CCD-2000 Manual
Transcript
Programming with Windows DLL
DATA STRUCTURES
This chapter documents the data structures used in the driver API.
CCD_POINT
Logical point of the CCD surface.
typedef struct {
WORD x;
WORD y;
} CCD_POINT;
x
y
Specifies the horizontal coordinate
Specifies the vertical coordinate
CCD_SIZE
Logical size of an area of the CCD surface.
typedef struct {
WORD cx;
WORD cy;
} CCD_SIZE;
cx
cy
Specifies the horizontal count of pixels
Specifies the vertical count of pixels
CCD_CHIPMETRICS
Characteristics of the CCD surface and chip.
typedef struct {
CCD_SIZE sizActivePixels;
UINT
nOrientation;
CCD_SIZE sizPixelSpacing;
} CCD_CHIPMETRICS, FAR *CCD_LPCHIPMETRICS;
sizActivePixels
nOrientation
sizPixelSpacing
Number of logical active pixels.
Readout register orientation as defined in
ccdload.ini.
Physical distance between pixels (0.1 µm)
CCD_TEMPS
typedef struct {
WORD ccd1;
// @field CCD temperature
WORD sink;
// @field Sink temperature
WORD vtherm;
// @field Thermostat set point
} CCD_TEMPS, FAR* CCD_LPTEMPS;
ccd1
sink
vtherm
CCD temperature
Sink temperature
Thermostat set point
CCD_PROP
This structure provides an extensible mechanism for manipulating CCD object properties while
maintaining a consistent API.
typedef struct tagCCD_PROP
{
127