178 CTYPE void DLL DC_Open(
int Platform,
int Sensor,
int PortAddress,
int InterfaceModel,
int StartMode,
int Camera,
int TaskSettings,
DTA1_CB CountDownCallBack,
DTA2_CB StatusBarCallBack);
194 CTYPE void DLL _DC_Open(
int Platform,
int Sensor,
int PortAddress,
int InterfaceModel,
int StartMode,
int Camera,
int TaskSettings);
431 CTYPE void DLL DC_Kinetics(
int Mode,
double Exposure,
int NumOfFrames,
int sx,
int sy,
int dx,
int dy,
U16 **mat,
int Camera);
CTYPE int DLL DC_SaveCCD(int ccdCode, int camera)
double F64
8 byte floating point
CTYPE void DLL DC_StopNow(int camera)
CTYPE U16 DLL DC_GetAD(int channel, int Camera)
Get the A/D converter for a specified channel.
CTYPE U16 DLL DC_PeekW(U16 RAMAddress, int camera)
CTYPE U16 DLL DC_Peek(U16 RAMAddress, int camera)
CTYPE int DLL DC_OpenByFile(char *ConfigFile, int StartMode, DTA1_CB dwn, DTA2_CB per)
Open the camera. Open the camera using the settings specified in CameraConfig file. The default path name is ./dcl/. This file is setted by the utility program dcs.exe.
CTYPE void DLL DC_PokeW(U16 RAMAddress, U16 Data, int camera)
CTYPE void DLL DC_SetFanSpeed(double FanSpeed, int Camera)
Procedure that allows you to set the speed of the fan cooler. Procedure that allows you to set the sp...
CTYPE void DLL DC_SetMode(int TaskSettings, int SetRes, int camera)
CTYPE int DLL DC_LoadCCD(int ccdCode, int camera)
CTYPE double DLL DC_ReadTemp(int Scale, int camera)
CTYPE const char DLL_P DC_CCDtoName(int CCDCode, int camera)
CTYPE int DLL DC_IsThereFW(int camera)
Return the filter wheel type if exists.
CTYPE int DLL DC_SetGain(int Gain, int Camera)
Change the ratio between ADU and electrons. Procedure that allows you to set ccd gains, according to preset values in four various values.
CTYPE U16 DLL DC_MatrixRead(int x, int y, int Camera)
Read a selected pixel from the internal image buffer.
CTYPE void DLL DC_FGetWinCCD(int Mode, double Exposure, int sx, int sy, int dx, int dy, U16 *mat, int Camera)
Read a Region Of Interest. The same procedure as DC_GetWinCCD, as far as parameters are concerned...
CTYPE int DLL DC_GetDimX(int Camera)
Procedure that returns the number of horizontal pixels of the CCD divided by the horizontal binning v...
CTYPE void DLL DC_StartNow(int camera)
CTYPE void DLL DC_TempCalib(double kto, double kt, int Camera)
Calibrate temperature sensor. First generation of iCAM camera doesn't have internal temperature senso...
CTYPE void DLL DC_FlushAcquisition(int Camera)
Flush currently armed acquisition.
CTYPE U16 DLL DC_MaxNumbers(int Camera)
Maximum value present in an acquired image.
CTYPE void DLL DC_RWData(int LibraryVariable, int rw, void *data, int Camera)
Procedure that allows read/write operation on a variable used into the library.
CTYPE U16 DLL DC_GetFDLPCIRevision(int FDLPCIChannel, int camera)
CTYPE void DLL DC_ArmTimerHandle(int Mode, int camera)
CTYPE void DLL DC_TGetCCD(int Mode, double Exposure, U16 *mat, int Camera)
Get an image at full resolution. The same procedure as DC_FGetCCD as far as parameters are concerned ...
CTYPE int DLL DC_Plug(int parCnt, int *param, int camera)
Command used to send special commands to custom cameras.
CTYPE int DLL DC_CheckTempEquil(int hist, F64 tolerance, int camera)
CTYPE void DLL DC_SetSerNum(U32 SerialNumber, int Ext, int Camera)
Procedure that writes the serial number of the camera.
CTYPE void DLL DC_Open(int Platform, int Sensor, int PortAddress, int InterfaceModel, int StartMode, int Camera, int TaskSettings, DTA1_CB CountDownCallBack, DTA2_CB StatusBarCallBack)
Open the camera. Procedure which initializes the camera, checks its presence and proceeds to load the...
CTYPE void DLL _DC_Open(int Platform, int Sensor, int PortAddress, int InterfaceModel, int StartMode, int Camera, int TaskSettings)
Open the camera. The same procedure as DC_Open, but without the last two parameters (functional point...
CTYPE U16 DLL DC_GetStatus(U16 StatusAddress, int camera)
CTYPE int DLL DC_SaveCameraConfig(const char *PathName, config *CameraConfig)
Save camera configuration into a file.
CTYPE int DLL DC_MatrixGet(int Camera)
Return the active image buffer.
CTYPE void DLL DC_Shutter(double TimeExposure, int camera)
CTYPE void DLL DC_Select(int Camera)
Select the camera to be used. This function selects the camera to be used (0 - 7), by selecting different FDL-PCI boards into the system. Many high level procedures have a specific parameter but for low level interations with the camera this procedure must be used.
CTYPE void DLL DC_GetHPdata(ptf *cfg, int camera)
CTYPE void DLL DC_PTFtoNameVB(int PlatFormCode, char *PlatformName, int camera)
CTYPE const char *PROC_CALL DC_ErrorMessage(int ErrorCode)
Convert an error code into an error message (string). DC_Status returns an error code of the previous...
CTYPE int DLL DC_WDVer(char *ver, int camera)
CTYPE U32 DLL DC_BckBusy(int Camera)
Return the CPU time (ms) used by background activity.
CTYPE int DLL DC_Trigger(int Loop, int camera)
CTYPE void DLL DC_SubSelect(int Camera, int subcamera)
Select which camera, linked to the multiplexer, will be used. By means of this function it's possible...
CTYPE int DLL DC_GetDimY(int Camera)
Procedure that returns the number of vertical pixels of the CCD divided by the vertical binning value...
CTYPE void DLL DC_GetBinning(int *HorValue, int *VerValue, int Camera)
Get the current horizontal and vertical binning value.
CTYPE void DLL DC_Kinetics(int Mode, double Exposure, int NumOfFrames, int sx, int sy, int dx, int dy, U16 **mat, int Camera)
Take a sequence of images in kinetic mode There is the possibility to use a full-frame as a pseudo fr...
short unsigned U16
2 byte without sign, range 0-65535
CTYPE void DLL DC_ArmAcquisition(double Exposure, int Camera)
Arm the camera acquisition.
CTYPE U16 DLL DC_RMReg(U16 RegisterAddress, int camera)
CTYPE double DLL DC_GetTemp(char *CurrentTemperature, int Scale, int Camera)
Procedure that allows you to read the temperature of the sensor. Procedure that allows you to read th...
CTYPE void DLL DC_GetCCDPulsed(int Mode, int Fast, double Pulse, double Exposure, U16 *mat, int Camera)
Get an image at full resolution. Procedure that allows you to read an image, given an exposure time e...
unsigned int data[576]
Conversion data buffer 64 samples * 8 channels * 2 bytes.
CTYPE void DLL DC_WMReg(U16 add, U16 data, int camera)
CTYPE void DLL DC_MatrixSet(int Select, int Camera)
Select an internal allocated image memory buffer.
CTYPE void DLL DC_SetTemp(double TargetTemperature, int Scale, int Camera)
Procedure that turns the camera cooler on and allows you to set an operative temperature of the CCD...
CTYPE void DLL DC_Close(int Camera)
Shuts down the control operations of the camera. Procedure that shuts down the control operations of ...
CTYPE void DLL DC_OpenArray(ccdarray *CameraArrayConfiguration, int Platform, int Sensor, int StartMode, int TaskSettings, int Camera, DTA1_CB CountDownCallBack, DTA2_CB StatusBarCallBack)
Procedure that initializes an array of CHROMA cameras. Procedure that initializes an array of Chroma ...
unsigned long U32
4 byte without sign, range 0-4294967295
CTYPE void DLL DC_SetFilter(int Filter, int Camera)
Procedure that places the wheel on a filter.
CTYPE void DLL DC_SetDNR(int DNRValue, int Camera)
Reduce camera noise with different levels.
CTYPE void DLL DC_KineticsCCD(int Mode, double Exposure, int NumOfFrames, int dy, U16 *mat, int Camera)
Take a sequence of images in kinetic mode There is the possibility to use a full-frame as a pseudo fr...
CTYPE void DLL DC_WriteEP(U16 EEpromAddress, U16 Data, int camera)
CTYPE void DLL DC_Poke(U16 RAMAddress, U16 Data, int camera)
CTYPE void DLL DC_SetFW(int speed, int torque, int offset, int Camera)
Procedure that loads the control parameters of the filter wheel.
void(PROC_CALL * DTA2_CB)(const char *str, int perc, int Port)
Definition of a generic procedure that can show percent value (0:100)
CTYPE void DLL DC_FGetCCD(int Mode, double Exposure, U16 *mat, int Camera)
Get an image at full resolution. The same procedure as DC_GetCCD, as far as parameters are concerned...
CTYPE void DLL DC_SetBinning(int HorValue, int VerValue, int Camera)
Set the horizontal and vertical binning value. This procedure accepts arbitrary values in the range b...
CTYPE int DLL DC_GetGain(int Camera)
Read the current gain. Procedure that allows you to read the gain of the set CCD The values that can ...
CTYPE void DLL DC_BrkFlg(int camera)
CTYPE U32 DLL DC_GetSerNum(int Camera)
Procedure that reads the serial number of the camera.
CTYPE void DLL DC_Matrix(int Operation, int Camera)
Procedure that handle the image buffer. A maximum of 16 image buffer can be allocated.
CTYPE void DLL DC_OpenByConfig(config *CameraConfig, int StartMode, DTA1_CB CountDownCallBack, DTA2_CB StatusBarCallBack)
Open the camera. Open the camera using the settings specified in CameraConfig structure data (see con...
CTYPE U32 DLL DC_BckGnd(int Camera)
Return a background operation counter. Counter variable, which is increased at each background proces...
CTYPE int DLL DC_IsOn(int Camera)
CTYPE U16 DLL DC_RDReg(U16 RegisterAddress, int camera)
CTYPE void DLL DC_WRReg(U16 RegisterAddress, U16 Data, int camera)
CTYPE void DLL DC_Delay(U32 Delay)
Carries out a delay. Simple procedure that carries out a delay of millisecond Delay.
CTYPE U32 DLL DC_GetFDLPCIAddress(int FDLPCIChannel)
Retrieve the base address of the selected FDl-PCI.
CTYPE void DLL DC_OpenFW(int speed, int torque, int offset, int Camera)
Initialize and calibrate the filter wheel. Procedure that initializes the filter wheel ...
CTYPE void DLL DC_SetFunction(int WichFunction, DTA_FN FunctionPointer, int camera)
CTYPE void DLL DC_InitOptions(config *CameraConfig, int camera)
CTYPE int DLL DC_GetCCDX(int Camera)
CTYPE int DLL DC_Status(int Camera)
Return the status of the last operations performed on the camera. This procedure allows you to check ...
CTYPE void DLL DC_ClearCCD(int camera)
long S32
4 byte with sign, range +2147483647-2147483647
CTYPE void DLL DC_GetCCD(int Mode, double Exposure, U16 *mat, int Camera)
Get an image at full resolution. Procedure that allows you to read an image, given an exposure time e...
CTYPE void DLL DC_GetCCDdata(ccd *cfg, int camera)
CTYPE const char DLL_P DC_FamtoName(int CameraFamily)
Convert a camera family code (Camera Family) into a string.
CTYPE void DLL DC_SetPathName(char *Path)
Set the pathname for all dcl files.
CTYPE void DLL DC_GetWinCCD(int Mode, double Exposure, int sx, int sy, int dx, int dy, U16 *mat, int Camera)
Read a Region Of Interest. Procedure that allows you to read an image by selecting a defined area of ...
CTYPE void DLL DC_SetBitDecimation(int NumOfBit, int Camera)
Change the number of bits of the A/D converter.
CTYPE void DLL DC_SetPower(double CoolerPower, int Camera)
Procedure that allows you to set the cooler power. Procedure that allows you to set the power (%) of ...
CTYPE U32 DLL DC_MatrixSize(int Camera)
Return the size of the active image buffer.
CTYPE S32 DLL DC_QuerySts(int Command, int Camera)
Retrieve the status of operations in progress.
CTYPE int DLL DC_OpenPar(int Platform, int Sensor, int Camera)
Procedure that initializes dcl internal data structure. Procedure that initializes the DC_HP and DC_C...
CTYPE void DLL DC_ShutterControl(int mode, int camera)
CTYPE const char DLL_P DC_PTFtoName(int PlatFormCode, int camera)
CTYPE int DLL DC_Ver(char *LibraryVersion)
Return the library version. Procedure returning the number of the revision of the library...
Types, structures and defines used in DCL libraries.
CTYPE void DLL DC_SetFDLPCI(int FDLPCIChannel, int camera)
int(PROC_CALL * DTA_FN)(void)
Definition of a i/o procedure.
CTYPE int DLL DC_TemperatureHandle(int camera)
CTYPE const char DLL_P DC_PtfName(int CameraId, int camera)
CTYPE void DLL DC_GetWinCCDPulsed(int Mode, int Fast, double Pulse, double Exposure, int sx, int sy, int dx, int dy, U16 *mat, int Camera)
Read a Region Of Interest. Procedure that allows you to read an image by selecting a defined area of ...
CTYPE int DLL DC_CamQuery(int *CameraList)
Return the list and the numbver of the camera handled by the library.
CTYPE int DLL DC_GetDNR(int Camera)
Retrieve the current value of the noise reducer.
CTYPE int DLL DC_CCDQuery(int SelectedCamera, int *CCDList)
Return the list (CCD code definitions) and the number of the CCD being used by selected camera...
CTYPE U16 DLL DC_ReadEP(U16 EEpromAddress, int camera)
CTYPE void DLL DC_PtfNameVB(int CameraId, char *PlatformName, int camera)
CTYPE int DLL DC_SavePlatform(int platformCode, int ccdCode, int camera)
CTYPE int DLL DC_GetMode(int camera)
CTYPE U16 DLL_P DC_MatrixPointer(int Select, int Camera)
Return the pointer of an allocated image buffer.
CTYPE int DLL DC_GetCCDY(int Camera)
CTYPE void DLL DC_SetUsrGain(int Gain, int Range, int Offset, int Camera)
Procedure that allows you to set the ccd gain. Procedure that allows you to set the ccd gain...
CTYPE int DLL DC_LoadCameraConfig(const char *PathName, config *CameraConfig)
Load camera configuration from a specified file.
CTYPE void DLL DC_ObjectiveControl(int Command, U16 Parameter, int Camera)
It allows one to control a motorized objective.
void(PROC_CALL * DTA1_CB)(const char *str, int Port)
Definition of a generic procedure that can show exposure countdown.
CTYPE int DLL DC_GetTempHistory(double *data, int camera)
CTYPE void DLL DC_Cooler(int Mode, int Camera)
Procedure that allows you to control the cooler manually. Procedure that allows you to control the co...
CTYPE void DLL DC_LibraryInit(void)
Library initialization. Please call this procedure before any one but inly in explicit mode...
CTYPE int DLL _DC_OpenByFile(char *ConfigFile, int StartMode)
Open the camera. The same procedure as DC_OpenByFile, but without the last two parameters (functional...
CTYPE int DLL DC_CoolerStatus(int Camera)
Procedure that reports the activity status of the cooler.
CTYPE void DLL DC_StartAcquisition(int mode, int Camera)
Start the camera acquisition.
CTYPE double DLL DC_GetPower(int Camera)
Return current cooler power. Procedure that allows you to read the power (%) of the cooler currently ...
CTYPE void DLL DC_InitCfg(config *CameraConfig)
Initialize config variable. Initialize with default value the cnf variable.
CTYPE int DLL DC_LoadPlatform(int platformCode, int ccdCode, int camera)
CTYPE void DLL DC_FamtoNameVB(int CameraFamily, char *FamilyName)
Convert a camera family code (Camera Family) into a string.
CTYPE void DLL DC_CalibFW(int Camera)
It carries out the calibration of the filter wheel by placing it on the first filter.
CTYPE void DLL DC_GetImage(U16 *mat, int Camera)
Retrive the acquired image.
CTYPE void DLL DC_AGetCCD(int Mode, double *Exposure, U16 *mat[8], int camera)
CTYPE void PROC_CALL DC_ErrorMessageVB(int ErrorCode, char *ErrorMessage)
Convert an error code into an error message (string). DC_Status returns an error code of the previous...
CTYPE void DLL DC_CCDtoNameVB(int CCDCode, char *CCDName, int camera)