TwiceAsNice  2019-02-18
Macros | Functions | Variables
asi_ccd.cpp File Reference
#include "asi_ccd.h"
#include "config.h"
#include <stream/streammanager.h>
#include <math.h>
#include <unistd.h>
Include dependency graph for asi_ccd.cpp:

Macros

#define MAX_EXP_RETRIES   3
 
#define VERBOSE_EXPOSURE   3
 
#define TEMP_TIMER_MS   1000 /* Temperature polling time (ms) */
 
#define TEMP_THRESHOLD   .25 /* Differential temperature threshold (C)*/
 
#define MAX_DEVICES   4 /* Max device cameraCount */
 
#define CONTROL_TAB   "Controls"
 

Functions

static void cleanup ()
 
void ASI_CCD_ISInit ()
 
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...
 

Variables

static int iConnectedCamerasCount
 
static ASI_CAMERA_INFOpASICameraInfo
 
static ASICCDcameras [MAX_DEVICES]
 

Macro Definition Documentation

◆ CONTROL_TAB

#define CONTROL_TAB   "Controls"

◆ MAX_DEVICES

#define MAX_DEVICES   4 /* Max device cameraCount */

◆ MAX_EXP_RETRIES

#define MAX_EXP_RETRIES   3

◆ TEMP_THRESHOLD

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

◆ TEMP_TIMER_MS

#define TEMP_TIMER_MS   1000 /* Temperature polling time (ms) */

◆ VERBOSE_EXPOSURE

#define VERBOSE_EXPOSURE   3

Function Documentation

◆ ASI_CCD_ISInit()

void ASI_CCD_ISInit ( )

◆ cleanup()

static void cleanup ( )
static

◆ ISNewNumber()

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

Variable Documentation

◆ cameras

ASICCD* cameras[MAX_DEVICES]
static

◆ iConnectedCamerasCount

int iConnectedCamerasCount
static

◆ pASICameraInfo

ASI_CAMERA_INFO* pASICameraInfo
static