cacao  Release 0.1.03-dev
Compute And Control For Adaptive Optics
AOloopControl_DM_config.c File Reference

DM control. More...

#include <stdint.h>
#include <unistd.h>
#include <malloc.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <math.h>
#include <sys/types.h>
#include <sys/file.h>
#include <sys/mman.h>
#include <err.h>
#include <fcntl.h>
#include <sched.h>
#include <ncurses.h>
#include <semaphore.h>
#include <fitsio.h>
#include "CommandLineInterface/CLIcore.h"
#include "00CORE/00CORE.h"
#include "COREMOD_memory/COREMOD_memory.h"
#include "COREMOD_iofits/COREMOD_iofits.h"
#include "COREMOD_arith/COREMOD_arith.h"
#include "COREMOD_tools/COREMOD_tools.h"
#include "fft/fft.h"
#include "info/info.h"
#include "statistic/statistic.h"
#include "image_filter/image_filter.h"
#include "image_gen/image_gen.h"
#include "AOloopControl_DM/AOloopControl_DM.h"
#include <time.h>
Include dependency graph for AOloopControl_DM_config.c:

Functions

errno_t AOloopControl_printDMconf ()
 
int AOloopControl_DM_dmdispcombstatus (long DMindex)
 
int AOloopControl_DM_chan_setgain (long DMindex, int ch, float gain)
 
int AOloopControl_DM_setvoltON (long DMindex)
 
int AOloopControl_DM_setvoltOFF (long DMindex)
 
int AOloopControl_DM_setMAXVOLT (long DMindex, float maxvolt)
 
int AOloopControl_DM_setDClevel (long DMindex, float DClevel)
 
int AOloopControl_DM_setAveMode (long DMindex, int AveMode)
 
int AOloopControl_DM_setTrigMode (long DMindex, int mode)
 
int AOloopControl_DM_setTrigChan (long DMindex, int chan)
 
int AOloopControl_DM_setTrigSem (long DMindex, int sem)
 

Variables

long NB_DMindex
 
AOLOOPCONTROL_DM_DISPCOMB_CONFdmdispcombconf
 
int dmdispcomb_loaded
 
int SMfd
 
AOLOOPCONTROL_DMTURBCONFdmturbconf
 
int dmturb_loaded
 
int SMturbfd
 

Detailed Description

DM control.

To be used for AOloopControl module

Function Documentation

◆ AOloopControl_DM_chan_setgain()

int AOloopControl_DM_chan_setgain ( long  DMindex,
int  ch,
float  gain 
)

◆ AOloopControl_DM_dmdispcombstatus()

int AOloopControl_DM_dmdispcombstatus ( long  DMindex)

◆ AOloopControl_DM_setAveMode()

int AOloopControl_DM_setAveMode ( long  DMindex,
int  AveMode 
)

◆ AOloopControl_DM_setDClevel()

int AOloopControl_DM_setDClevel ( long  DMindex,
float  DClevel 
)

◆ AOloopControl_DM_setMAXVOLT()

int AOloopControl_DM_setMAXVOLT ( long  DMindex,
float  maxvolt 
)

◆ AOloopControl_DM_setTrigChan()

int AOloopControl_DM_setTrigChan ( long  DMindex,
int  chan 
)

◆ AOloopControl_DM_setTrigMode()

int AOloopControl_DM_setTrigMode ( long  DMindex,
int  mode 
)

◆ AOloopControl_DM_setTrigSem()

int AOloopControl_DM_setTrigSem ( long  DMindex,
int  sem 
)

◆ AOloopControl_DM_setvoltOFF()

int AOloopControl_DM_setvoltOFF ( long  DMindex)

◆ AOloopControl_DM_setvoltON()

int AOloopControl_DM_setvoltON ( long  DMindex)

◆ AOloopControl_printDMconf()

errno_t AOloopControl_printDMconf ( )

Variable Documentation

◆ dmdispcomb_loaded

int dmdispcomb_loaded

◆ dmdispcombconf

◆ dmturb_loaded

int dmturb_loaded

◆ dmturbconf

◆ NB_DMindex

long NB_DMindex

◆ SMfd

int SMfd

◆ SMturbfd

int SMturbfd