DAS  3.1.6 - 18/09/2017
dcl.h
Go to the documentation of this file.
1 #include "dcldef.h"
152 // ************************************************************************
153 // High Level Procedure ***************************************************
154 // ************************************************************************
155 
159 CTYPE void DLL DC_LibraryInit(void);
160 
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);
179 
180 
194 CTYPE void DLL _DC_Open(int Platform, int Sensor, int PortAddress, int InterfaceModel, int StartMode, int Camera, int TaskSettings);
195 
196 
207 CTYPE void DLL DC_OpenByConfig(config *CameraConfig, int StartMode, DTA1_CB CountDownCallBack, DTA2_CB StatusBarCallBack);
208 
209 
221 CTYPE int DLL DC_OpenByFile(char * ConfigFile, int StartMode, DTA1_CB dwn, DTA2_CB per);
222 
234 CTYPE int DLL _DC_OpenByFile(char * ConfigFile, int StartMode);
235 
236 
251 CTYPE void DLL DC_GetCCD(int Mode, double Exposure, U16 *mat, int Camera);
252 
253 
270 CTYPE void DLL DC_GetCCDPulsed(int Mode, int Fast, double Pulse, double Exposure, U16 *mat, int Camera);
271 
272 
290 CTYPE void DLL DC_FGetCCD(int Mode, double Exposure, U16 *mat, int Camera);
291 
292 
312 CTYPE void DLL DC_TGetCCD(int Mode, double Exposure, U16 *mat, int Camera);
313 
314 
334 CTYPE void DLL DC_GetWinCCD(int Mode, double Exposure, int sx, int sy, int dx, int dy, U16 *mat, int Camera);
335 
336 
358 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);
359 
360 
386 CTYPE void DLL DC_FGetWinCCD(int Mode, double Exposure, int sx, int sy, int dx, int dy, U16 *mat, int Camera);
387 
388 
431 CTYPE void DLL DC_Kinetics(int Mode, double Exposure, int NumOfFrames, int sx, int sy, int dx, int dy, U16 **mat, int Camera);
432 
472 CTYPE void DLL DC_KineticsCCD(int Mode, double Exposure, int NumOfFrames, int dy, U16 *mat, int Camera);
473 
484 CTYPE void DLL DC_Close(int Camera);
485 
491 CTYPE void DLL DC_ArmTimerHandle(int Mode, int camera);
492 
500 CTYPE void DLL DC_ArmAcquisition(double Exposure, int Camera);
501 
502 
511 CTYPE void DLL DC_StartAcquisition(int mode, int Camera);
512 
513 
520 CTYPE void DLL DC_FlushAcquisition(int Camera);
521 
522 
530 CTYPE void DLL DC_GetImage(U16 *mat, int Camera);
531 
532 
533 //*****************************************************************
534 // Array Mode Via Multiplexer -------------------------------------
535 //
536 
554 CTYPE void DLL DC_OpenArray(ccdarray *CameraArrayConfiguration, int Platform, int Sensor, int StartMode, int TaskSettings, int Camera, DTA1_CB CountDownCallBack, DTA2_CB StatusBarCallBack);
555 
556 
569 CTYPE void DLL DC_AGetCCD(int Mode, double *Exposure, U16 *mat[8], int camera);
570 
571 
572 //*************************************************************************
573 // Control Procedure ******************************************************
574 //*************************************************************************
575 
576 //*****************************************************************
577 // Camera Configuration Set ---------------------------------------
578 //
579 
590 CTYPE void DLL DC_InitOptions(config *CameraConfig, int camera);
591 
592 
599 CTYPE void DLL DC_InitCfg(config * CameraConfig);
600 
601 
608 CTYPE int DLL DC_SaveCameraConfig(const char * PathName, config *CameraConfig);
609 
610 
617 CTYPE int DLL DC_LoadCameraConfig(const char * PathName, config *CameraConfig);
618 
619 
628 CTYPE void DLL DC_SetFW(int speed, int torque, int offset, int Camera);
629 
630 
643 CTYPE void DLL DC_OpenFW(int speed, int torque, int offset, int Camera);
644 
645 
654 CTYPE void DLL DC_Select(int Camera);
655 
656 
664 CTYPE void DLL DC_SubSelect(int Camera, int subcamera);
665 
666 
672 CTYPE U32 DLL DC_GetSerNum(int Camera);
673 
674 
682 CTYPE void DLL DC_SetSerNum(U32 SerialNumber, int Ext, int Camera);
683 
684 
685 //*****************************************************************
686 // Memory Allocation Procedures -----------------------------------
687 //
688 
696 CTYPE void DLL DC_Matrix(int Operation, int Camera);
697 
698 
706 CTYPE U16 DLL_P DC_MatrixPointer(int Select, int Camera);
707 
708 
717 CTYPE void DLL DC_MatrixSet(int Select, int Camera);
718 
719 
726 CTYPE int DLL DC_MatrixGet(int Camera);
727 
728 
736 CTYPE U16 DLL DC_MatrixRead(int x, int y, int Camera);
737 
738 
745 CTYPE U32 DLL DC_MatrixSize(int Camera);
746 
747 
748 //*****************************************************************
749 // Camera Peripherals Controls ------------------------------------
750 //
751 
759 CTYPE void DLL DC_ObjectiveControl(int Command, U16 Parameter, int Camera);
760 
761 
768 CTYPE void DLL DC_SetFilter(int Filter, int Camera);
769 
770 
777 CTYPE void DLL DC_CalibFW(int Camera);
778 
783 CTYPE int DLL DC_IsThereFW(int camera);
784 
792 CTYPE int DLL DC_Plug(int parCnt, int * param, int camera);
793 
794 
795 //*****************************************************************
796 // CCD And Acquisition Controls -----------------------------------
797 //
798 
808 CTYPE void DLL DC_SetBinning(int HorValue, int VerValue, int Camera);
809 
810 
818 CTYPE void DLL DC_GetBinning(int *HorValue, int *VerValue, int Camera);
819 
820 
828 CTYPE int DLL DC_SetGain(int Gain, int Camera);
829 
830 
838 CTYPE int DLL DC_GetGain(int Camera);
839 
840 
869 CTYPE void DLL DC_SetUsrGain(int Gain, int Range, int Offset, int Camera);
870 
871 
882 CTYPE void DLL DC_SetDNR(int DNRValue, int Camera);
883 
884 
890 CTYPE int DLL DC_GetDNR(int Camera);
891 
892 
904 CTYPE void DLL DC_SetBitDecimation(int NumOfBit, int Camera);
905 
906 
914 CTYPE S32 DLL DC_QuerySts(int Command, int Camera);
915 
916 
925 CTYPE void DLL DC_ClearCCD(int camera);
926 
927 
928 //*****************************************************************
929 // Cooler control -------------------------------------------------
930 //
931 
947 CTYPE void DLL DC_SetTemp(double TargetTemperature, int Scale, int Camera);
948 
949 
964 CTYPE double DLL DC_GetTemp(char *CurrentTemperature, int Scale, int Camera);
965 
966 
975 CTYPE void DLL DC_Cooler(int Mode, int Camera);
976 
977 
989 CTYPE int DLL DC_CoolerStatus(int Camera);
990 
991 
1000 CTYPE void DLL DC_SetPower(double CoolerPower, int Camera);
1001 
1002 
1011 CTYPE void DLL DC_SetFanSpeed(double FanSpeed, int Camera);
1012 
1013 
1020 CTYPE double DLL DC_GetPower(int Camera);
1021 
1022 
1032 CTYPE void DLL DC_TempCalib(double kto, double kt, int Camera);
1033 
1034 
1048 CTYPE double DLL DC_ReadTemp(int Scale, int camera);
1049 
1050 
1058 CTYPE int DLL DC_TemperatureHandle(int camera);
1059 
1060 
1068 CTYPE int DLL DC_GetTempHistory(double *data, int camera);
1069 
1078 CTYPE int DLL DC_CheckTempEquil(int hist, F64 tolerance, int camera);
1079 
1080 
1081 //*****************************************************************
1082 // Camera Status & Library Informations Control -------------------
1083 //
1084 
1092 CTYPE int DLL DC_Status(int Camera);
1093 
1094 
1102 CTYPE const char * PROC_CALL DC_ErrorMessage(int ErrorCode);
1103 
1104 
1112 CTYPE void PROC_CALL DC_ErrorMessageVB(int ErrorCode, char * ErrorMessage);
1113 
1114 
1125 CTYPE int DLL DC_Ver(char *LibraryVersion);
1126 
1127 
1134 CTYPE int DLL DC_WDVer(char *ver, int camera);
1135 
1136 
1142 CTYPE int DLL DC_CamQuery(int *CameraList);
1143 
1144 
1152 CTYPE int DLL DC_CCDQuery(int SelectedCamera, int *CCDList);
1153 
1154 
1161 CTYPE const char DLL_P DC_CCDtoName(int CCDCode, int camera);
1162 
1163 
1169 CTYPE void DLL DC_CCDtoNameVB(int CCDCode, char * CCDName, int camera);
1170 
1171 
1178 CTYPE const char DLL_P DC_PTFtoName(int PlatFormCode, int camera);
1179 
1180 
1186 CTYPE void DLL DC_PTFtoNameVB(int PlatFormCode, char * PlatformName, int camera);
1187 
1188 
1194 CTYPE const char DLL_P DC_FamtoName(int CameraFamily);
1195 
1196 
1202 CTYPE void DLL DC_FamtoNameVB(int CameraFamily, char * FamilyName);
1203 
1204 
1210 CTYPE const char DLL_P DC_PtfName(int CameraId, int camera);
1211 
1212 
1218 CTYPE void DLL DC_PtfNameVB(int CameraId, char * PlatformName, int camera);
1219 
1220 
1230 CTYPE int DLL DC_OpenPar(int Platform, int Sensor, int Camera);
1231 
1232 
1238 CTYPE int DLL DC_GetDimX(int Camera);
1239 
1240 
1246 CTYPE int DLL DC_GetDimY(int Camera);
1247 
1248 
1256 CTYPE void DLL DC_RWData(int LibraryVariable, int rw, void *data, int Camera);
1257 CTYPE void DLL DC_GetCCDdata(ccd * cfg, int camera);
1258 CTYPE void DLL DC_GetHPdata(ptf * cfg, int camera);
1259 
1260 CTYPE int DLL DC_GetCCDX(int Camera);
1261 CTYPE int DLL DC_GetCCDY(int Camera);
1262 
1263 
1264 //*****************************************************************
1265 // Hardware Low Level Procedures ----------------------------------
1266 //
1267 
1273 CTYPE void DLL DC_Shutter(double TimeExposure, int camera);
1274 
1275 
1281 CTYPE void DLL DC_ShutterControl(int mode, int camera);
1282 
1283 
1290 CTYPE int DLL DC_Trigger(int Loop, int camera);
1291 
1292 
1299 CTYPE void DLL DC_WRReg(U16 RegisterAddress, U16 Data, int camera);
1300 
1301 
1306 CTYPE U16 DLL DC_RDReg(U16 RegisterAddress, int camera);
1307 
1308 
1313 CTYPE U16 DLL DC_RMReg(U16 RegisterAddress, int camera);
1314 
1315 CTYPE void DLL DC_WMReg(U16 add, U16 data, int camera);
1316 
1317 
1323 CTYPE U16 DLL DC_GetStatus(U16 StatusAddress, int camera);
1324 
1325 
1331 CTYPE void DLL DC_WriteEP(U16 EEpromAddress, U16 Data, int camera);
1332 
1333 
1339 CTYPE U16 DLL DC_ReadEP(U16 EEpromAddress, int camera);
1340 
1341 
1347 CTYPE U16 DLL DC_PeekW(U16 RAMAddress, int camera);
1348 
1349 
1355 CTYPE U16 DLL DC_Peek(U16 RAMAddress, int camera);
1356 
1357 
1363 CTYPE void DLL DC_PokeW(U16 RAMAddress, U16 Data, int camera);
1364 
1365 
1371 CTYPE void DLL DC_Poke(U16 RAMAddress, U16 Data, int camera);
1372 
1373 
1378 CTYPE void DLL DC_SetFDLPCI(int FDLPCIChannel, int camera);
1379 
1380 
1385 CTYPE U32 DLL DC_GetFDLPCIAddress(int FDLPCIChannel);
1386 
1387 
1392 CTYPE U16 DLL DC_GetFDLPCIRevision(int FDLPCIChannel, int camera);
1393 
1399 CTYPE U16 DLL DC_GetAD(int channel, int Camera);
1400 
1401 
1402 //*****************************************************************
1403 // Library Activity -----------------------------------------------
1404 //
1405 
1409 CTYPE void DLL DC_StopNow(int camera);
1410 
1411 
1416 CTYPE void DLL DC_StartNow(int camera);
1417 
1418 
1424 CTYPE void DLL DC_SetMode(int TaskSettings, int SetRes, int camera);
1425 
1426 
1431 CTYPE int DLL DC_GetMode(int camera);
1432 
1433 
1438 CTYPE int DLL DC_IsOn(int Camera);
1439 
1440 
1444 CTYPE void DLL DC_BrkFlg(int camera);
1445 
1446 
1454 CTYPE U32 DLL DC_BckGnd(int Camera);
1455 
1456 
1462 CTYPE U32 DLL DC_BckBusy(int Camera);
1463 
1464 
1465 //*****************************************************************
1466 // Library Configuration ------------------------------------------
1467 //
1468 
1477 CTYPE int DLL DC_LoadCCD(int ccdCode, int camera);
1478 
1479 
1486 CTYPE int DLL DC_SaveCCD(int ccdCode, int camera);
1487 
1488 
1497 CTYPE int DLL DC_LoadPlatform(int platformCode, int ccdCode, int camera);
1498 
1499 
1508 CTYPE int DLL DC_SavePlatform(int platformCode, int ccdCode, int camera);
1509 
1510 
1516 CTYPE void DLL DC_SetFunction(int WichFunction, DTA_FN FunctionPointer, int camera);
1517 
1518 
1530 CTYPE U16 DLL DC_MaxNumbers(int Camera);
1531 
1532 
1537 CTYPE void DLL DC_SetPathName(char *Path);
1538 
1539 
1540 //*****************************************************************
1541 // Generic Utility
1542 //
1543 
1549 CTYPE void DLL DC_Delay(U32 Delay);
1550 
CTYPE int DLL DC_SaveCCD(int ccdCode, int camera)
double F64
8 byte floating point
Definition: dcldef.h:379
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)
#define DLL_P
Definition: dcldef.h:352
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...
#define CTYPE
Definition: dcldef.h:363
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)
int Mode
Definition: DAS_Spat.c:108
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
Definition: dcldef.h:375
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
Definition: dcldef.h:376
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)
Definition: Dildef.h:641
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)
Definition: dcldef.h:386
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
Definition: dcldef.h:377
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)
#define DLL
Definition: dcldef.h:351
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)
#define PROC_CALL
Definition: dcldef.h:354
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.
Definition: dcldef.h:388
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)
Definition: dcldef.h:1020
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...
Definition: dcldef.h:1043
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.
Definition: dcldef.h:385
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)
______________________________________________________________________________________
Generated on Mon Sep 18 2017 11:44:08 for DAS - Rel. 3.1.6 - 18/09/2017.