• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

kstars

libfli-camera-usb.h

Go to the documentation of this file.
00001 /*
00002 
00003   Copyright (c) 2002 Finger Lakes Instrumentation (FLI), L.L.C.
00004   All rights reserved.
00005 
00006   Redistribution and use in source and binary forms, with or without
00007   modification, are permitted provided that the following conditions
00008   are met:
00009 
00010         Redistributions of source code must retain the above copyright
00011         notice, this list of conditions and the following disclaimer.
00012 
00013         Redistributions in binary form must reproduce the above
00014         copyright notice, this list of conditions and the following
00015         disclaimer in the documentation and/or other materials
00016         provided with the distribution.
00017 
00018         Neither the name of Finger Lakes Instrumentation (FLI), LLC
00019         nor the names of its contributors may be used to endorse or
00020         promote products derived from this software without specific
00021         prior written permission.
00022 
00023   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
00024   ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
00025   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
00026   FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
00027   REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
00028   INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
00029   BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
00030   LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
00031   CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
00032   LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
00033   ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
00034   POSSIBILITY OF SUCH DAMAGE.
00035 
00036   ======================================================================
00037 
00038   Finger Lakes Instrumentation, L.L.C. (FLI)
00039   web: http://www.fli-cam.com
00040   email: support@fli-cam.com
00041 
00042 */
00043 
00044 #ifndef _LIBFLI_CAMERA_USB_H_
00045 #define _LIBFLI_CAMERA_USB_H_
00046 
00047 #define FLI_USBCAM_DEVICENAME 0x01
00048 #define FLI_USBCAM_DEVICEMFG 0x02
00049 #define FLI_USBCAM_VERSION 0x03
00050 #define FLI_USBCAM_DEVICEID 0x04
00051 #define FLI_USBCAM_SERIALNUM 0x05
00052 #define FLI_USBCAM_HARDWAREREV 0x06
00053 #define FLI_USBCAM_DEVINIT 0x07
00054 #define FLI_USBCAM_READPARAMBLOCK 0x08
00055 
00056 #define FLI_USBCAM_ARRAYSIZE 0x100
00057 #define FLI_USBCAM_IMAGEOFFSET 0x102
00058 #define FLI_USBCAM_IMAGESIZE 0x103
00059 #define FLI_USBCAM_TEMPERATURE 0x104
00060 #define FLI_USBCAM_SETFRAMEOFFSET 0x105
00061 #define FLI_USBCAM_SETBINFACTORS 0x106
00062 #define FLI_USBCAM_SETFLUSHBINFACTORS 0x107
00063 #define FLI_USBCAM_SETEXPOSURE 0x108
00064 #define FLI_USBCAM_STARTEXPOSURE 0x109
00065 #define FLI_USBCAM_ABORTEXPOSURE 0x10a
00066 #define FLI_USBCAM_EXPOSURESTATUS 0x10b
00067 #define FLI_USBCAM_FLUSHROWS 0x10c
00068 #define FLI_USBCAM_SENDROW 0x10d
00069 #define FLI_USBCAM_SHUTTER 0x10f
00070 #define FLI_USBCAM_WRITEIO 0x110
00071 #define FLI_USBCAM_READIO 0x111
00072 #define FLI_USBCAM_WRITEDIR 0x112
00073 #define FLI_USBCAM_BGFLUSH 0x114
00074 
00075 long fli_camera_usb_open(flidev_t dev);
00076 long fli_camera_usb_get_array_area(flidev_t dev, long *ul_x, long *ul_y,
00077                    long *lr_x, long *lr_y);
00078 long fli_camera_usb_get_visible_area(flidev_t dev, long *ul_x, long *ul_y,
00079                      long *lr_x, long *lr_y);
00080 long fli_camera_usb_set_exposure_time(flidev_t dev, long exptime);
00081 long fli_camera_usb_set_image_area(flidev_t dev, long ul_x, long ul_y,
00082                    long lr_x, long lr_y);
00083 long fli_camera_usb_set_hbin(flidev_t dev, long hbin);
00084 long fli_camera_usb_set_vbin(flidev_t dev, long vbin);
00085 long fli_camera_usb_get_exposure_status(flidev_t dev, long *timeleft);
00086 long fli_camera_usb_set_temperature(flidev_t dev, double temperature);
00087 long fli_camera_usb_get_temperature(flidev_t dev, double *temperature);
00088 long fli_camera_usb_grab_row(flidev_t dev, void *buff, size_t width);
00089 long fli_camera_usb_expose_frame(flidev_t dev);
00090 long fli_camera_usb_flush_rows(flidev_t dev, long rows, long repeat);
00091 long fli_camera_usb_set_bit_depth(flidev_t dev, flibitdepth_t bitdepth);
00092 long fli_camera_usb_read_ioport(flidev_t dev, long *ioportset);
00093 long fli_camera_usb_write_ioport(flidev_t dev, long ioportset);
00094 long fli_camera_usb_configure_ioport(flidev_t dev, long ioportset);
00095 long fli_camera_usb_control_shutter(flidev_t dev, long shutter);
00096 long fli_camera_usb_control_bgflush(flidev_t dev, long bgflush);
00097 
00098 #endif /* _LIBFLI_CAMERA_USB_H_ */

kstars

Skip menu "kstars"
  • Main Page
  • Modules
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • keduca
  • kstars
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal