TwiceAsNice  2019-02-18
Macros | Functions
apogee_ccd.cpp File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include <math.h>
#include <stdexcept>
#include <unistd.h>
#include <time.h>
#include <fcntl.h>
#include <errno.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
#include <zlib.h>
#include <memory>
#include <libapogee/Alta.h>
#include <libapogee/AltaF.h>
#include <libapogee/Ascent.h>
#include <libapogee/Aspen.h>
#include <libapogee/Quad.h>
#include <libapogee/ApgLogger.h>
#include <fitsio.h>
#include "indidevapi.h"
#include "eventloop.h"
#include "indicom.h"
#include "apogee_ccd.h"
#include "config.h"
Include dependency graph for apogee_ccd.cpp:

Macros

#define MAX_CCD_TEMP   45 /* Max CCD temperature */
 
#define MIN_CCD_TEMP   -55 /* Min CCD temperature */
 
#define MAX_X_BIN   16 /* Max Horizontal binning */
 
#define MAX_Y_BIN   16 /* Max Vertical binning */
 
#define MAX_PIXELS   4096 /* Max number of pixels in one dimension */
 
#define TEMP_THRESHOLD   .25 /* Differential temperature threshold (C)*/
 
#define NFLUSHES   1 /* Number of times a CCD array is flushed before an exposure */
 
#define TEMP_UPDATE_THRESHOLD   0.05
 
#define COOLER_UPDATE_THRESHOLD   0.05
 

Functions

void ISInit (void)
 Send client definitions of all properties. More...
 
void ISPoll (void *)
 Used to read periodically the data from the device. More...
 
double min (void)
 
double max (void)
 
std::unique_ptr< ApogeeCCDapogeeCCD (new ApogeeCCD())
 
void ISGetProperties (const char *dev)
 Get Device Properties. More...
 
void ISNewSwitch (const char *dev, const char *name, ISState *states, char *names[], int num)
 Update the value of an existing switch vector property. More...
 
void ISNewText (const char *dev, const char *name, char *texts[], char *names[], int num)
 Update the value of an existing text vector property. More...
 
void ISNewNumber (const char *dev, const char *name, double values[], char *names[], int num)
 
void ISNewBLOB (const char *dev, const char *name, int sizes[], int blobsizes[], char *blobs[], char *formats[], char *names[], int n)
 Update data of an existing blob vector property. More...
 
void ISSnoopDevice (XMLEle *root)
 Function defined by Drivers that is called when another Driver it is snooping (by having previously called IDSnoopDevice()) sent any INDI message. More...
 

Macro Definition Documentation

◆ COOLER_UPDATE_THRESHOLD

#define COOLER_UPDATE_THRESHOLD   0.05

◆ MAX_CCD_TEMP

#define MAX_CCD_TEMP   45 /* Max CCD temperature */

◆ MAX_PIXELS

#define MAX_PIXELS   4096 /* Max number of pixels in one dimension */

◆ MAX_X_BIN

#define MAX_X_BIN   16 /* Max Horizontal binning */

◆ MAX_Y_BIN

#define MAX_Y_BIN   16 /* Max Vertical binning */

◆ MIN_CCD_TEMP

#define MIN_CCD_TEMP   -55 /* Min CCD temperature */

◆ NFLUSHES

#define NFLUSHES   1 /* Number of times a CCD array is flushed before an exposure */

◆ TEMP_THRESHOLD

#define TEMP_THRESHOLD   .25 /* Differential temperature threshold (C)*/

◆ TEMP_UPDATE_THRESHOLD

#define TEMP_UPDATE_THRESHOLD   0.05

Function Documentation

◆ apogeeCCD()

std::unique_ptr<ApogeeCCD> apogeeCCD ( new   ApogeeCCD())

◆ ISInit()

void ISInit ( void  )

Send client definitions of all properties.

◆ ISNewNumber()

void ISNewNumber ( const char *  dev,
const char *  name,
double  values[],
char *  names[],
int  num 
)

◆ ISPoll()

void ISPoll ( void *  )

Used to read periodically the data from the device.

Parameters
pthe AAGCloudWatcher object

◆ max()

double max ( void  )

◆ min()

double min ( void  )