Initializing the Camera¶
Sequence of API calls for camera Initialization (assuming USB communication)
{
int CameraHandle;
float lfSetPointDegC;
short lnTemp;
bool lbCoolingState;
// Open the camera
CameraHandle = CLOpenHSUSBCamera(0);
// set cooling on
// enables TE cooling to setpoint programmed at the factory (35C below ambient)
CLSetCooling(CameraHandle, true);
// read back CCD Temp setpoint
CLGetCCDTargetTemp(CameraHandle, & lfSetPointDegC);
// read back CCD Temp
CLGetCCDTemp(CameraHandle, & lnTemp);
// read back cooling state
CLGetCCDTemp(CameraHandle, & lbCoolingState);
}
Go to top