diff options
Diffstat (limited to 'include/qhy/qhy695a.h')
-rw-r--r-- | include/qhy/qhy695a.h | 98 |
1 files changed, 98 insertions, 0 deletions
diff --git a/include/qhy/qhy695a.h b/include/qhy/qhy695a.h new file mode 100644 index 0000000..6c4ce5a --- /dev/null +++ b/include/qhy/qhy695a.h @@ -0,0 +1,98 @@ +/*
+ QHYCCD SDK
+
+ Copyright (c) 2014 QHYCCD.
+ All Rights Reserved.
+
+ This program is free software; you can redistribute it and/or modify it
+ under the terms of the GNU General Public License as published by the Free
+ Software Foundation; either version 2 of the License, or (at your option)
+ any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ more details.
+
+ You should have received a copy of the GNU General Public License along with
+ this program; if not, write to the Free Software Foundation, Inc., 59
+ Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+ The full GNU General Public License is included in this distribution in the
+ file called LICENSE.
+ */
+
+/*!
+ * @file qhy695a.h
+ * @brief QHY695A class define
+ */
+
+#include "qhyabase.h"
+
+#ifndef __QHY695ADEF_H__
+#define __QHY695ADEF_H__
+
+/**
+ * @brief QHY695A class define
+ *
+ * include all functions for QHY695A
+ */
+class QHY695A:public QHYABASE
+{
+public:
+ QHY695A();
+ ~QHY695A();
+
+ /**
+ @fn uint32_t SetChipBinMode(qhyccd_handle *h,uint32_t wbin,uint32_t hbin)
+ @brief set the camera offset
+ @param h camera control handle
+ @param wbin width bin
+ @param hbin height bin
+ @return
+ success return QHYCCD_SUCCESS \n
+ another QHYCCD_ERROR code on other failures
+ */
+ uint32_t SetChipBinMode(qhyccd_handle *h,uint32_t wbin,uint32_t hbin);
+
+ /**
+ @fn uint32_t SetFocusSetting(qhyccd_handle *h,uint32_t focusCenterX, uint32_t focusCenterY)
+ @brief Set the camera on focus mode
+ @param h camera control handle
+ @param focusCenterX
+ @param focusCenterY
+ @return
+ on success,return QHYCCD_SUCCESS \n
+ another QHYCCD_ERROR code on other failures
+ */
+ uint32_t SetFocusSetting(qhyccd_handle *h,uint32_t focusCenterX, uint32_t focusCenterY);
+
+ double GetChipCoolPWM();
+
+ uint32_t AutoTempControl(qhyccd_handle *h,double ttemp);
+
+ uint32_t SetChipCoolPWM(qhyccd_handle *h,double PWM);
+
+ double GetChipCoolTemp(qhyccd_handle *h);
+
+ /**
+ @fn uint32_t SetChipResolution(qhyccd_handle *handle,uint32_t x,uint32_t y,uint32_t xsize,uint32_t ysize)
+ @brief set camera ouput resolution
+ @param handle camera control handle
+ @param x the top left position x
+ @param y the top left position y
+ @param xsize the image width
+ @param ysize the image height
+ @return
+ on success,return QHYCCD_SUCCESS\n
+ another QHYCCD_ERROR code on other failures
+ */
+ uint32_t SetChipResolution(qhyccd_handle *handle,uint32_t x,uint32_t y,uint32_t xsize,uint32_t ysize);
+
+private:
+ double lastTargetTemp;
+ double lastPWM;
+
+};
+#endif
+
|