![]() |
cacao
Release 0.1.03-dev
Compute And Control For Adaptive Optics
|
Assemble input data from telemetry stream. More...
#include <math.h>
#include <stdint.h>
#include <unistd.h>
#include <malloc.h>
#include <stdio.h>
#include <string.h>
#include <sys/stat.h>
#include <pthread.h>
#include <time.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 "AOloopControl/AOloopControl.h"
#include "AOloopControl_PredictiveControl/AOloopControl_PredictiveControl.h"
Macros | |
#define | _GNU_SOURCE |
Functions | |
imageID | AOloopControl_PredictiveControl_builPFloop_WatchInput (long loop, long PFblock, long PFblockStart, long PFblockEnd, long NBbuff) |
Assemble input data from telemetry stream.
#define _GNU_SOURCE |
imageID AOloopControl_PredictiveControl_builPFloop_WatchInput | ( | long | loop, |
long | PFblock, | ||
long | PFblockStart, | ||
long | PFblockEnd, | ||
long | NBbuff | ||
) |
Listens to real-time telemetry streams buffers aol<loop>_modeval_ol_logbuff0 and aol<loop>_modeval_ol_logbuff1
When new buffer is complete, extract the requested values from it and write to aol<loop>_modevalol_PFb<PFblock>
[in] | loop | LONG loop index |
[in] | PFblock | LONG Block number |
[in] | PFblockStart | LONG Block start index |
[in] | PFblockEnd | LONG Block end index |
#param[in] NBbuff LONG Number of input buffers to merge for each output