TwiceAsNice
2019-02-18
|
#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"
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< ApogeeCCD > | apogeeCCD (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... | |
#define COOLER_UPDATE_THRESHOLD 0.05 |
#define MAX_CCD_TEMP 45 /* Max CCD temperature */ |
#define MAX_PIXELS 4096 /* Max number of pixels in one dimension */ |
#define MAX_X_BIN 16 /* Max Horizontal binning */ |
#define MAX_Y_BIN 16 /* Max Vertical binning */ |
#define MIN_CCD_TEMP -55 /* Min CCD temperature */ |
#define NFLUSHES 1 /* Number of times a CCD array is flushed before an exposure */ |
#define TEMP_THRESHOLD .25 /* Differential temperature threshold (C)*/ |
#define TEMP_UPDATE_THRESHOLD 0.05 |
std::unique_ptr<ApogeeCCD> apogeeCCD | ( | new | ApogeeCCD() | ) |
void ISInit | ( | void | ) |
Send client definitions of all properties.
void ISPoll | ( | void * | ) |
Used to read periodically the data from the device.
p | the AAGCloudWatcher object |
double max | ( | void | ) |
double min | ( | void | ) |