![]() |
cacao
Release 0.1.03-dev
Compute And Control For Adaptive Optics
|
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>
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_CONF * | dmdispcombconf |
int | dmdispcomb_loaded |
int | SMfd |
AOLOOPCONTROL_DMTURBCONF * | dmturbconf |
int | dmturb_loaded |
int | SMturbfd |
DM control.
To be used for AOloopControl module
int AOloopControl_DM_chan_setgain | ( | long | DMindex, |
int | ch, | ||
float | gain | ||
) |
int AOloopControl_DM_dmdispcombstatus | ( | long | DMindex | ) |
int AOloopControl_DM_setAveMode | ( | long | DMindex, |
int | AveMode | ||
) |
int AOloopControl_DM_setDClevel | ( | long | DMindex, |
float | DClevel | ||
) |
int AOloopControl_DM_setMAXVOLT | ( | long | DMindex, |
float | maxvolt | ||
) |
int AOloopControl_DM_setTrigChan | ( | long | DMindex, |
int | chan | ||
) |
int AOloopControl_DM_setTrigMode | ( | long | DMindex, |
int | mode | ||
) |
int AOloopControl_DM_setTrigSem | ( | long | DMindex, |
int | sem | ||
) |
int AOloopControl_DM_setvoltOFF | ( | long | DMindex | ) |
int AOloopControl_DM_setvoltON | ( | long | DMindex | ) |
errno_t AOloopControl_printDMconf | ( | ) |
int dmdispcomb_loaded |
AOLOOPCONTROL_DM_DISPCOMB_CONF* dmdispcombconf |
int dmturb_loaded |
AOLOOPCONTROL_DMTURBCONF* dmturbconf |
long NB_DMindex |
int SMfd |
int SMturbfd |