kstars
Apn.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00008
00009
00010 #define APOGEE_DLL_OUTPUT 1
00011 #ifdef APOGEE_DLL_OUTPUT
00012
00013 #ifdef LINUX
00014 #define AltaDebugOutputString(__X__) fprintf(stderr,"%s\n",__X__)
00015 #else
00016 #define AltaDebugString(__X__) OutputDebugString(__X__)
00017 #endif
00018
00019 #define AltaDebugPrint( __A__, __B__, __C__ ) sprintf( __A__, __B__, __C__ )
00020 #else
00021 #define AltaDebugString(__X__)
00022 #define AltaDebugPrint( __A__, __B__, __C__ )
00023 #endif
00024
00025
00026 #define APN_DRIVER_VERSION "3.1.1"
00027
00028 #define APN_HBINNING_MAX 10
00029 #define APN_VBINNING_MAX 2048
00030
00031 #define APN_TIMER_RESOLUTION 0.00000256
00032 #define APN_PERIOD_TIMER_RESOLUTION 0.000000040
00033
00034 #define APN_TIMER_OFFSET_COUNT 3
00035
00036 #define APN_SEQUENCE_DELAY_RESOLUTION 0.000327
00037 #define APN_SEQUENCE_DELAY_MAXIMUM 21.429945
00038 #define APN_SEQUENCE_DELAY_MINIMUM 0.000327
00039
00040 #define APN_EXPOSURE_TIME_MIN 0.00001 // 10us is the defined min.
00041 #define APN_EXPOSURE_TIME_MAX 10990.0 // seconds
00042
00043 #define APN_TDI_RATE_RESOLUTION 0.00000512
00044 #define APN_TDI_RATE_MIN 0.00000512
00045 #define APN_TDI_RATE_MAX 0.336
00046 #define APN_TDI_RATE_DEFAULT 0.100
00047
00048 #define APN_VOLTAGE_RESOLUTION 0.00439453
00049
00050 #define APN_SHUTTER_CLOSE_DIFF 0.00001024
00051
00052 #define APN_STROBE_POSITION_MIN 0.00000331
00053 #define APN_STROBE_POSITION_MAX 0.1677
00054 #define APN_STROBE_POSITION_DEFAULT 0.001
00055
00056 #define APN_STROBE_PERIOD_MIN 0.000000045
00057 #define APN_STROBE_PERIOD_MAX 0.0026
00058 #define APN_STROBE_PERIOD_DEFAULT 0.001
00059
00060 #define APN_TEMP_COUNTS 4096
00061 #define APN_TEMP_KELVIN_SCALE_OFFSET 273.16
00062
00063 #define APN_TEMP_SETPOINT_MIN 213
00064 #define APN_TEMP_SETPOINT_MAX 313
00065
00066 #define APN_TEMP_HEATSINK_MIN 240
00067 #define APN_TEMP_HEATSINK_MAX 340
00068
00069 #define APN_TEMP_SETPOINT_ZERO_POINT 2458
00070 #define APN_TEMP_HEATSINK_ZERO_POINT 1351
00071
00072 #define APN_TEMP_DEGREES_PER_BIT 0.024414
00073
00074 #define APN_FAN_SPEED_OFF 0
00075 #define APN_FAN_SPEED_LOW 3100
00076 #define APN_FAN_SPEED_MEDIUM 3660
00077 #define APN_FAN_SPEED_HIGH 4095
00078
00079
00080