14 #ifndef DCLDEFINITIONS 15 #define DCLDEFINITIONS 313 #define PROC_CALL __stdcall 319 #if defined(_WIN32) || defined(__WIN32__) 320 #if defined(_MSC_VER) 321 #ifdef STATIC_LIBRARY 326 #ifdef DLL_SOURCE_CODE 327 #define DLL __declspec(dllexport) PROC_CALL 328 #define DLL_P __declspec(dllexport) * PROC_CALL 329 #define DLL_V __declspec(dllexport) 331 #define DLL __declspec(dllimport) PROC_CALL 332 #define DLL_P __declspec(dllimport) * PROC_CALL 333 #define DLL_V __declspec(dllimport) 337 #if defined(__BORLANDC__) 338 #ifdef DLL_SOURCE_CODE 339 #define DLL _export PROC_CALL 340 #define DLL_P _export * PROC_CALL 341 #define DLL_V _export 343 #define DLL _import PROC_CALL 344 #define DLL_P _import * PROC_CALL 345 #define DLL_V _import 361 #define CTYPE extern "C" 371 typedef unsigned char U8;
375 typedef short unsigned U16;
376 typedef unsigned long U32;
419 #define ANTIBLOOM 1024 423 #define DISABINT 4096 426 #define LARGEDMA 8192 428 #define SETDMA16BIT 16384 431 #define MEMALLOC 32768 474 #define HIRES_IIIA 23 476 #define HIRES_IV_P 25 519 #define FELECTRAP 115 554 #define CCD30_11B 133 555 #define CCD30_11D 135 594 #define KAF6302CE 283 599 #define KAF16800CE 295 675 #define ICX074AL 3500 676 #define ICX074AK 3510 677 #define ICX085AL 3520 678 #define ICX085AK 3530 679 #define ICX098BL 3540 680 #define ICX098BQ 3550 681 #define ICX204AL 3560 682 #define ICX204AK 3570 683 #define ICX205AL 3580 684 #define ICX205AK 3590 685 #define ICX274AL 3600 686 #define ICX274AQ 3610 687 #define ICX285AL 3620 688 #define ICX285AQ 3630 689 #define ICX424AL 3640 690 #define ICX424AQ 3650 707 #define KAI01050 3945 708 #define KAI01150 3946 709 #define KAI02050 3947 710 #define KAI02150 3948 711 #define KAI02170 3960 712 #define KAI04050 3962 713 #define KAI04070 3964 714 #define KAI08050 3968 715 #define KAI16050 3980 716 #define KAI16070 3985 717 #define KAI29050 3990 724 #define S10420_1106 4000 731 #define FPA640X512 5000 849 #define FWCALIBRATE 0 // Calibrate filter wheel 850 #define FWFILTER 1 // Select a new filter position 851 #define FWOFFSET 2 // Set an offset on filter position 852 #define FWSPEED 3 // Set filter wheel speed 853 #define FWTORQUE 4 // Set filter wheel motor torque 867 #define QRY_SHUTTER 1 868 #define QRY_TRSFDMA 2 905 #define DC_EXPOSURE 1 910 #define DC_TIMER_OFF 0 911 #define DC_TIMER_ON 1 912 #define DC_TIMER_BEGIN 2 913 #define DC_TIMER_STOP 3 921 #define ERR_CAM_NOT_FOUND 1 922 #define ERR_LINK_FAIL 2 923 #define ERR_UNSUP_PTF 3 924 #define ERR_FDL_LOCK 4 925 #define ERR_PTF_NULL 5 926 #define ERR_CCD_NULL 6 927 #define ERR_FW_ZERO 7 928 #define ERR_PG_OVFL 8 929 #define ERR_DMA_MEM 9 930 #define ERR_SER_LNK 10 931 #define ERR_SER_ID 11 932 #define ERR_ARRY_PTF 12 933 #define ERR_INV_HANDLE 13 934 #define ERR_LICENSE 14 935 #define ERR_FDL_PCI 15 936 #define ERR_IMG_MEM 16 937 #define ERR_USB_NODEV 17 938 #define ERR_USB_NOPEN 18 939 #define ERR_IODLL_NOT_FOUND 19 940 #define ERR_FDLUSB_NOT_FOUND 20 941 #define ERR_FDLUSB_LICENSE 21 942 #define ERR_PG_ALLOC 22 944 #define ERR_COPROCESSOR 24 945 #define ERR_ARM_SYNC 25 946 #define ERR_GCAM_REG_RW 26 953 #define MOB_CALIBRATE_ZOOM 0 954 #define MOB_CALIBRATE_IRIS 1 955 #define MOB_CALIBRATE_FOCUS 2 956 #define MOB_DECREMENT_ZOOM 3 957 #define MOB_INCREMENT_ZOOM 4 958 #define MOB_DECREMENT_IRIS 5 959 #define MOB_INCREMENT_IRIS 6 960 #define MOB_INCREMENT_FOCUS 7 961 #define MOB_DECREMENT_FOCUS 8 968 #define DC_CAMERA_INIT 0 969 #define DC_COOLER_POWER 1 971 #define DC_OUT_PORT 3 974 #define DC_POKW_WORD 6 975 #define DC_PEEK_WORD 7 976 #define DC_LOAD_PATTERN 8 977 #define DC_BUILD_PATTERN 9 978 #define DC_CLEAR_CCD 10 979 #define DC_READ_CCD_TEMP 11 981 #define DC_SHUTTER 13 983 #define DC_GET_USR_CCD 15 985 #define DC_READ_REGISTER 17 986 #define DC_WRITE_REGISTER 18 987 #define DC_WAIT_REQUEST 19 988 #define DC_INIT_FPGA 20 989 #define DC_IN_PORT 21 990 #define DC_ARM_SHUTTER 22 991 #define DC_CLEAR_HORIZ 23 992 #define DC_FILTER_WHEEL 24 993 #define DC_WRITE_DATA 25 994 #define DC_SET_ADDRESS 26 995 #define DC_ENABLE_READ 27 996 #define DC_READ_DATA 28 997 #define DC_GET_STATUS 29 998 #define DC_SET_CCD_GAIN 30 999 #define DC_HTRG_GET_CCD 31 1000 #define DC_ARRAY_INIT 32 1001 #define DC_ARRAY_GET_CCD 33 1006 #define CAM0 0xFFFE // Camera 0 1007 #define CAM1 0xFFFD // Camera 1 1008 #define CAM2 0xFFFB // Camera 2 1009 #define CAM3 0xFFF7 // Camera 3 1010 #define CAM4 0xFFEF // Camera 4 1011 #define CAM5 0xFFDF // Camera 5 1012 #define CAM6 0xFFBF // Camera 6 1013 #define CAM7 0xFF7F // Camera 7 double F64
8 byte floating point
struct carray carray
Camera configuration for array mode.
U32 FDL_PCI_Index
(R/W) Index selector of all available FDL-PCI. 0 - 7 range.
S16 shut
Shutter type: 0 = Full Frame, 1 = Frame Transfer, 2 = Interline.
F64 ev
Electron volt conversion in uV.
F64 sizey
Photosensitive Area Y (mm)
U32 LinkType
(R/W) Used link of selected interface Link options with FDL-PCI interface
U32 nseq
Preset frame number.
U16 vphase
Vertical phase period (us)
U32 FWPortType
(R/W) Used interface for FW
U32 FilterWheel
(R/W) FW allowed filters Filter wheel types
F64 pyd
Y pixel dimension in um.
S16 ld[4]
Dummy line for binning 1 to 8.
S16 ccdg
Gain ccd: 0 = no, 1 = yes.
F64 pxd
X pixel dimension in um.
U32 CCDType
(R/W) Used CCD CCD code definitions
char STR
1 byte with sign, range -128+127
U32 MPP
(R/W) 1 = MPP, 2 = Color CCD Mode & type
U32 Sts
(R/W) Bit 0: 1 = Correct defect pixels
struct ccd ccd
CCD data types for all info. All this info are present into CCD directory for each CCD model...
U32 TaskSettings
(R/W) Camera activity
U32 CamAdd
(R/W) Intrinsic camera address
S16 adc
A/D converter num. of bits.
F64 ampd
Amplifier delay in uS.
S16 abgck
Antiblooming Timer 0 = No, 1 = Yes.
S16 kind
CCD manufacturer codes CCD code definitions.
U32 ShutDly
(R/W) Shutter hysteresis (closing time)
F64 sizex
Photosensitive Area X (mm)
U32 FrontBack
(R/W) Front or Backside CCD CCD Technology
S16 abg
Antiblooming Gate 0 = no, 1 = yes, 2 = yes (clocked)
unsigned char U8
1 byte without sign, range 0-255
short unsigned U16
2 byte without sign, range 0-65535
S16 id
FPGA identification number.
unsigned long U32
4 byte without sign, range 0-4294967295
float F32
4 byte floating point
F64 fw
Full well capacity.
U8 on
Camera array flag, 1 = Active.
U16 fw
FW enable, 1 bit for each camera.
void(PROC_CALL * DTA2_CB)(const char *str, int perc, int Port)
Definition of a generic procedure that can show percent value (0:100)
U32 ADSel
(R/W) Selected A/D (0 or 1)
U32 delay
Interval delay between frames.
U32 Cable
(R/W) 1 = Cable > 2.5 mt
U32 FWPortAddress
(R/W) FW interface address
U32 Output
(R/W) CCD output selection CCD outputs selection
S16 kind
Platform code Camera platform definitions.
struct ptf ptf
Camera Platform data types. All this info are present into directory HP for each camera model...
long S32
4 byte with sign, range +2147483647-2147483647
U32 ShutterType
(R/W) Shutter types Shutter types
short int S16
2 byte with sign, -32768+32767
U16 ena
Camera enable, 1 bit for each camera.
struct config config
Camera configuration. Camera configuration data type. With this variable it is possible to configure ...
S16 gain
Num. of CCD presetted gains (1 - 4)
S16 ddx
Dummy pixel of the hor. reg.
U16(PROC_CALL * DTA_IO)(void)
Definition of a i/o instruction.
U32 Address
(R/W) Interface Address (if possible)
int(PROC_CALL * DTA_FN)(void)
Definition of a i/o procedure.
void(PROC_CALL * DTA1_CB)(const char *str, int Port)
Definition of a generic procedure that can show exposure countdown.
struct ccdarray ccdarray
Camera configuration for array mode used in DC_OpenArray.
char S8
1 byte with sign, range -128+127
U32 Platform
(R/W) Platform code Camera platform definitions
U32 PortType
(R/W) Used interface Camera Interface
S16 nx
Horiz. register dimension.