#include <stdio.h>#include <stdlib.h>#include <string.h>#include <fcntl.h>#include <signal.h>#include <errno.h>#include <unistd.h>#include <sys/types.h>#include <sys/socket.h>#include <sys/stat.h>#include <sys/shm.h>#include <sys/sem.h>#include <sys/ioctl.h>#include <sys/mman.h>#include <ngc/core/ngcbDrv.h>#include <ngc/core/ngcbSched.h>#include <ngc/core/ngcbSocket.h>#include <ngc/core/ngcppInt.h>Go to the source code of this file.
Classes | |
| struct | ngcpp_fs_angle_t |
| struct | ngcpp_fs_t |
| struct | ngcpp_dma_t |
| struct | ngcpp_param_t |
| struct | ngcpp_dcmd_t |
| struct | ngcpp_dmbuf_t |
| struct | ngcppFRAME |
| struct | ngcppDATA_XFER |
| struct | ngcppDATA_CON |
| struct | ngcpp_dit_t |
| struct | ngcpp_cmd_srv_api |
Typedefs | |
| typedef int(* | ngcpp_ci_t) (ngcpp_cmd_t, ngcpp_rep_t *, char *) |
| typedef int(* | ngcppPCHECK) (int *, int, int *) |
| typedef void(* | ngcppEXT_CMD) (const char *, char *) |
| typedef void(* | ngcppSIM) (ngcpp_t **buf, int size, int num, int *p) |
| typedef void(* | ngcppSIM64) (ngcpp_t **buf, size_t size, int num, int *p) |
| typedef int(* | ngcppCI_OPEN) (const char *name, int *port, char *erms) |
| typedef int(* | ngcppCI_CLOSE) (int handle) |
| typedef int(* | ngcppCI_CONNECT) (int handle, char *hostInfo, char *erms) |
| typedef int(* | ngcppCI_DISCONNECT) (int client) |
| typedef int(* | ngcppCI_CMD) (int client, ngcpp_cmd_t *command, char *erms) |
| typedef int(* | ngcppCI_REPLY) (int client, ngcpp_rep_t reply, char *erms) |
| typedef void *(* | ngcpp_ds_t) (void *arg) |
Functions | |
| int | ngcppUnsigned (void) |
| int | ngcppGetLocHostAddr (char *addr, char *erms) |
| void * | ngcppMalloc (size_t size) |
| void * | ngcppMalloc2 (void *ptr, size_t size) |
| void | ngcppFree (void *ptr) |
| int | ngcppReAlloc (size_t bufsize, int n, char *erms) |
| void * | ngcppBurstAlloc (size_t size) |
| void | ngcppBurstFree (void *buffer, size_t size) |
| void * | ngcppAttachBuf (void *buffer, off_t offset, size_t size, size_t *mapSize) |
| void | ngcppDetachBuf (void *buffer, size_t size) |
| int | ngcppStartup (int argc, char **argv, size_t defaultBufsize, char *erms) |
| void | ngcppCmdLineHelp (const char *paramStr, const char *helpStr, const char *defaultStr) |
| void | ngcppDivide (int num) |
| void | ngcppShutdown (int sigFlag) |
| void | ngcppExit (int stat) |
| void | ngcppSignalHandler (int sig) |
| int | ngcppSemWaitTmo (ngcb_sema_t *sem, int tmo) |
| void | ngcppChanMap (int *cm, int n) |
| int | ngcppOpen (ngcpp_dma_t *dev, char *erms) |
| int | ngcppClose (ngcpp_dma_t *dev, int term, char *erms) |
| int | ngcppInit (ngcpp_dma_t *dev, unsigned int *doneCount, char *erms) |
| int | ngcppTerm (ngcpp_dma_t *dev, char *erms) |
| char | ngcppOverrun (ngcpp_dma_t *dev) |
| void | ngcppInitFilter (int devIdx, int *chan, int n) |
| ngcpp_t * | ngcppFilter (int devIdx, ngcpp_t *data, int n) |
| void * | ngcppCapture (void *arg) |
| void | ngcppAppInit (void) |
| int | ngcppWaitStart (void) |
| int | ngcppStartCapture (void) |
| char | ngcppCheckStop (void) |
| int | ngcppWaitData (ngcpp_t **res) |
| void | ngcppAckData (void) |
| int | ngcppFlushInput (void) |
| void | ngcppTermProcessing (void) |
| void | ngcppIppCfg (int id, void *param, int n) |
| int | ngcppIppApply (int id, void *param, int n, char *erms) |
| int * | ngcppSetupDynParam (size_t numParam, const char **id, size_t numCmd, char *erms) |
| int | ngcppPSync (int alarmtTime, char *erms) |
| int | ngcppDynComHandle (ngcpp_dcmd_t *cmdSet) |
| int * | ngcppParamPtr (void) |
| void | ngcppParamDefault (void) |
| const char * | ngcppProperty (const char *name) |
| void | ngcppSigFailure (const char *erms) |
| void | ngcppErrStackAdd (int id, const char *erms) |
| void * | ngcppErrStack (void *argp) |
| void * | ngcppCommandProcess (void *argp) |
| void | ngcppCiInitErr (void) |
| int | ngcppCiParamInit (void) |
| int | ngcppCiParamSync (ngcpp_cmd_t command, ngcpp_rep_t *reply, char *erms) |
| int | ngcppCiParamSet (ngcpp_cmd_t command, ngcpp_rep_t *reply, char *erms) |
| int | ngcppCiParamStat (ngcpp_cmd_t command, ngcpp_rep_t *reply, char *erms) |
| int | ngcppCiParamConf (ngcpp_cmd_t command, ngcpp_rep_t *reply, char *erms) |
| int | ngcppCiChanSelect (ngcpp_cmd_t command, ngcpp_rep_t *reply, char *erms) |
| int | ngcppCiAbort (ngcpp_cmd_t command, ngcpp_rep_t *reply, char *erms) |
| int | ngcppCiStart (ngcpp_cmd_t command, ngcpp_rep_t *reply, char *erms) |
| int | ngcppCiStop (ngcpp_cmd_t command, ngcpp_rep_t *reply, char *erms) |
| int | ngcppCiPause (ngcpp_cmd_t command, ngcpp_rep_t *reply, char *erms) |
| int | ngcppCiGetStatus (ngcpp_cmd_t command, ngcpp_rep_t *reply, char *erms) |
| int | ngcppCiGetConfig (ngcpp_cmd_t command, ngcpp_rep_t *reply, char *erms) |
| int | ngcppCiGetRecvStat (ngcpp_cmd_t command, ngcpp_rep_t *reply, char *erms) |
| int | ngcppCiGetRev (ngcpp_cmd_t command, ngcpp_rep_t *reply, char *erms) |
| int | ngcppCiGetErrPort (ngcpp_cmd_t command, ngcpp_rep_t *reply, char *erms) |
| int | ngcppCiGetDataPort (ngcpp_cmd_t command, ngcpp_rep_t *reply, char *erms) |
| int | ngcppCiGetDataPath (ngcpp_cmd_t command, ngcpp_rep_t *reply, char *erms) |
| int | ngcppCiSetDataPath (ngcpp_cmd_t command, ngcpp_rep_t *reply, char *erms) |
| int | ngcppCiTime (ngcpp_cmd_t command, ngcpp_rep_t *reply, char *erms) |
| int | ngcppCiSimTime (ngcpp_cmd_t command, ngcpp_rep_t *reply, char *erms) |
| int | ngcppCiSimStartDelay (ngcpp_cmd_t command, ngcpp_rep_t *reply, char *erms) |
| int | ngcppCiVerbose (ngcpp_cmd_t command, ngcpp_rep_t *reply, char *erms) |
| int | ngcppCiDynCmd (ngcpp_cmd_t command, ngcpp_rep_t *reply, char *erms) |
| int | ngcppCiMemSet (ngcpp_cmd_t command, ngcpp_rep_t *reply, char *erms) |
| int | ngcppCiMemClose (ngcpp_cmd_t command, ngcpp_rep_t *reply, char *erms) |
| int | ngcppCiMemSync (ngcpp_cmd_t command, ngcpp_rep_t *reply, char *erms) |
| int | ngcppCiFlushOutput (ngcpp_cmd_t command, ngcpp_rep_t *reply, char *erms) |
| int | ngcppCiMemRecv (char *erms) |
| int | ngcppCiResetCnt (ngcpp_cmd_t command, ngcpp_rep_t *reply, char *erms) |
| int | ngcppCiEnd (ngcpp_cmd_t command, ngcpp_rep_t *reply, char *erms) |
| int | ngcppCiSetFilePubPath (ngcpp_cmd_t command, ngcpp_rep_t *reply, char *erms) |
| int | ngcppCiSetFilePubBase (ngcpp_cmd_t command, ngcpp_rep_t *reply, char *erms) |
| int | ngcppCiUsrCmd (ngcpp_cmd_t command, ngcpp_rep_t *reply, char *erms) |
| int | ngcppCiChipOffset (ngcpp_cmd_t command, ngcpp_rep_t *reply, char *erms) |
| int | ngcppStartDataServer (unsigned int n, char *erms) |
| int | ngcppCloseDataServer (void) |
| void | ngcppDataServerStatus (int flag, const char *erms) |
| void | ngcppDataTransferReset (int n) |
| void * | ngcppDataServerTcp (void *argp) |
| int | ngcppDataReq (int n, ngcpp_req_t request, int transferMode, ngcpp_frame_t *frame, int *noSort, int *noWin, int *attach, ngcb_sema_t **txSig) |
| void | ngcppDataResetReq (int n) |
| void | ngcppDataAck (int n) |
| void | ngcppDataAckPending (int n) |
| int | ngcppAddFrameType (int type, const char *name, const char *paraName, char *erms) |
| void | ngcppInitFrame (ngcppFRAME *frame, char **array, int n) |
| void | ngcppReInitFrame (ngcppFRAME *frame, char **array) |
| void | ngcppReInitFrameN (ngcppFRAME *frame, char **array, int n) |
| int | ngcppPublish (int syncMode, ngcppFRAME *frame) |
| void | ngcppSetTimeStamp (uint64_t ts) |
| void | ngcppResetTimeStamp () |
| void | ngcppAddFrame (int type) |
| void | ngcppRemoveFrame (int type) |
| int | ngcppExportRequest (int shmId, int semId, char *erms) |
| void | ngcppExport (void *buffer, int ftype, int bitPix, int nx, int ny) |
| int | ngcppFlushOutput (void) |
| void | ngcppSyncOutput (void) |
| void | ngcppSetQueue (void) |
| void | ngcppSetTransferringState (void) |
| void | ngcppResetTransferringState (void) |
| int | ngcppFilePublisherInit (const char *name, char *erms) |
| int | ngcppInitFileDump (char *erms) |
| int | ngcppFilePublish (ngcppFRAME *frame, int bufIdx, int sync, char *erms) |
| void | ngcppFileSync (void) |
| int | ngcppFilePublisherPath (int id, const char *path, char *erms) |
| void | ngcppFilePublisherBase (const char *base) |
| int | ngcppShDataAttach (int shared, int n, size_t size, char *erms) |
| int | ngcppShDataClose (void) |
| char * | ngcppShDataSetPtr (int id, int *len, char *erms) |
| int | ngcppShDataGetPtr (char **ptr, int id, int len, char *erms) |
| void | ngcppShDataSwap (int id) |
| int | ngcppShDataValid (int id) |
| int | ngcppShDataInvalid (int id) |
| int | ngcppShDataIsValid (int id) |
| int | ngcppGetShift (char *first, int *data, char *bpx, int nx, int tx, int ty, int txw, int tyw, int *sx, int *sy, int *posX, int *posY) |
| int | ngcppGetShiftFloat (char *first, float *data, char *bpx, int nx, int tx, int ty, int txw, int tyw, int *sx, int *sy, int *posX, int *posY) |
| int | ngcppGetShiftCen (char *first, int *data, char *bpx, int nx, int tx, int ty, int txw, int tyw, int *sx, int *sy, int *posX, int *posY) |
| int | ngcppGetShiftCenFloat (char *first, float *data, char *bpx, int nx, int tx, int ty, int txw, int tyw, int *sx, int *sy, int *posX, int *posY) |
| int | ngcppShiftAddInt (int *sum, int *data, int nx, int ny, int shx, int shy) |
| int | ngcppShiftAddFloat (float *sum, float *data, int nx, int ny, int shx, int shy) |
| int | ngcppShiftAddIntN (int *sum, int *data, int nx, int ny, int shx, int shy, int n, int np) |
| int | ngcppShiftAddFloatN (float *sum, float *data, int nx, int ny, int shx, int shy, int n, int np) |
| int | ngcppWinCpy (char *frm, int fx, int fy, char *win, int sx0, int sy0, int nx, int ny, int bytes, int assemble, int noSort) |
| void | ngcppApplyPixMap (char *in, char *out, size_t numPix, int bound) |
| void | ngcppDim (int nx, int ny) |
| int | ngcppSwapXY (void) |
| void | ngcppFrameScale16 (void *buffer, size_t size, int n) |
| void | ngcppFrameScaleReal16 (void *buffer, size_t size, int n) |
| void | ngcppFlipX (int *map, int nx, int ny) |
| void | ngcppFlipY (int *map, int nx, int ny) |
| void | ngcppR90 (int *map, int nx, int ny) |
| void | ngcppR270 (int *map, int nx, int ny) |
| void | ngcppApplyMapOp (int nx, int ny) |
| int | ngcppBgThreshold (float *data, float *bg, int nx, int ny, int nbg, double k1, int nLoop, double k2, double *thrMin, double *sigma, double badPixLevel) |
| int | ngcppCog (double *cx, double *cy, float *data, int nx, int ny, double thr) |
| int | ngcppCogX (double *cx, float *data, int nx, int ny, double thr) |
| int | ngcppCogY (double *cy, float *data, int nx, int ny, double thr) |
| int | ngcppCogLR (double *cx, double *cy, float *data, int nx, int ny, int slx1, int slx2, double thr, double sigma, int min) |
| int | ngcppCogSymXP (double *cx, double *cy, float *data, int nx, int ny, int slx1, int slx2, double thr, double sigma, int min) |
| int | ngcppCenCircle (double *cx, double *cy, float *data, int nx, int ny, int slx1, int slx2, double thr, double sigma, int min) |
| int | ngcppFsConnect (char *host, char *erms) |
| int | ngcppFsDisconnect (int fd) |
| int | ngcppFsSend (int fd, ngcpp_fs_t *correction, char *erms) |
| int | ngcppDitHandler (ngcppFRAME *ditFrame, ngcppFRAME *intFrame, ngcppFRAME *iintFrame, ngcppFRAME *sdvFrame, ngcppFRAME *hcyc1Frame, ngcppFRAME *hcyc2Frame, double *sumSquare, ngcpp_dit_t *param, char *doInit) |
| int | ngcppCntHandler (ngcppFRAME *hcyc, int setupId, int phases, int ndit, int cycSkip, int sdv, int *ditCnt, int *cycCnt, char *initFlag, char *sdvOn, char *first) |
| ngcb_thread_t | ngcppDPUB_THID (int idx) |
| ngcb_thread_t | ngcppDSRV_THID () |
| ngcb_thread_t | ngcppCI_THID () |
| ngcb_thread_t | ngcppERR_THID () |
| #define _REENTRANT |
| #define ngcppAddOutputFrame | ( | t | ) |
Backwards compatibility macro for frame registration
| #define ngcppCHOP_ZERO 1 |
Start position of chopper
| #define ngcppCMD_ABORT 2 |
abort all
| #define ngcppCMD_DATA 3 |
get data
| #define ngcppCMD_EXIT 1 |
exit command interpreter
| #define ngcppCMD_FAILURE -1 |
operation failed
| #define ngcppCMD_SUCCESS 0 |
operation successfull
| #define ngcppERR_STACK_SIZE 32 |
Size of error stack
| #define ngcppFS_DEFAULT_BOOK_ID 1 |
Field stabilisation default book-id (M2)
| #define ngcppFS_PORT 8067 |
Field stabilisation port (M2)
| #define ngcppIM_DEFAULT "normal" |
Default input mode
| #define ngcppInitClient | ( | ) |
Backwards compatibility macro for application initialization
| #define ngcppMAP_FLIPX 1 |
flip in x-direction
| #define ngcppMAP_FLIPY 2 |
flip in y-direction
| #define ngcppMAP_NOP 0 |
no operation
| #define ngcppMAP_ROT270 4 |
rotate by 270 degrees counter clockwise
| #define ngcppMAP_ROT90 3 |
rotate by 90 degrees counter clockwise
| #define ngcppMAX_RINGBUFELE 2048 |
Maximum number of ring buffer elements
| #define ngcppMIN_COR_TIME 20 |
Minimum correction time (in milliseconds)
| #define ngcppMIN_RINGBUFSIZE (1024 * 1024 * 2) |
Minimum ring-buffer size
| #define ngcppNUMBUF_AUTO 0 |
Automatic calculation of number of ring buffer elements
| #define ngcppNUMBUF_MAX -1 |
Maximize number of ring buffer elements
| #define ngcppPARAM_IDX | ( | a, | |
| b ) |
Get parameter index from structure
| #define ngcppPI 3.14159265358979323846 |
PI
| #define ngcppPRI_CAPTURE 19 |
capture process priority
| #define ngcppPRI_CI 20 |
command interpreter priority
| #define ngcppPRI_FILE 10 |
file publisher priority
| #define ngcppPRI_PROC 10 |
application process priority
| #define ngcppRemoveOutputFrame | ( | t | ) |
Backwards compatibility macro for frame un-registration
| #define ngcppReqOut | ( | a, | |
| b ) |
Backwards compatibility macro for data publisher
| #define ngcppREV 1 |
Pre-processor revision
| #define ngcppWRAP_CNT 0xffffffff |
Wrap counter for maximum 32-bit unsigned integer
| #define ngcppWRAP_DEC | ( | x | ) |
Decrement with 32-bit unsigned integer wrapping
| #define ngcppWRAP_DIFF | ( | x, | |
| a, | |||
| b ) |
Compute difference between two 32-bit unsigned integer values taking into account the 32-bit wrapping.
| #define ngcppWRAP_INC | ( | x | ) |
Increment with 32-bit unsigned integer wrapping
| typedef int(* ngcpp_ci_t) (ngcpp_cmd_t, ngcpp_rep_t *, char *) |
Command handler function type
| typedef void *(* ngcpp_ds_t) (void *arg) |
Data server type
| typedef int(* ngcppCI_CLOSE) (int handle) |
Close function type
| typedef int(* ngcppCI_CMD) (int client, ngcpp_cmd_t *command, char *erms) |
Command function type
| typedef int(* ngcppCI_CONNECT) (int handle, char *hostInfo, char *erms) |
Connect function type
| typedef int(* ngcppCI_DISCONNECT) (int client) |
Disconnect function type
| typedef int(* ngcppCI_OPEN) (const char *name, int *port, char *erms) |
Open function type
| typedef int(* ngcppCI_REPLY) (int client, ngcpp_rep_t reply, char *erms) |
Reply function type
| typedef void(* ngcppEXT_CMD) (const char *, char *) |
User command handler type
| typedef int(* ngcppPCHECK) (int *, int, int *) |
Parameter check type
| typedef void(* ngcppSIM) (ngcpp_t **buf, int size, int num, int *p) |
Simulator type
| typedef void(* ngcppSIM64) (ngcpp_t **buf, size_t size, int num, int *p) |
Simulator type (64-bit buffer size)
| void ngcppAckData | ( | void | ) |
Acknowledge that the current data buffer has been processed.
| void ngcppAddFrame | ( | int | type | ) |
Add a frame type to the publishing list.
| int ngcppAddFrameType | ( | int | type, |
| const char * | name, | ||
| const char * | paraName, | ||
| char * | erms ) |
Add a new frame type and a assign a name and a parameter to switch the frame generation on/off.
| void ngcppAppInit | ( | void | ) |
Function to be called by the application to signal that all initialization is done.
| void ngcppApplyMapOp | ( | int | nx, |
| int | ny ) |
Apply stored oparations on pixel sorting map
m1++ = ngcppPixMap[idx];
m1++ = ngcppPixMap64[idx];
| void ngcppApplyPixMap | ( | char * | in, |
| char * | out, | ||
| size_t | numPix, | ||
| int | bound ) |
Apply pixel sorting map.
| void * ngcppAttachBuf | ( | void * | buffer, |
| off_t | offset, | ||
| size_t | size, | ||
| size_t * | mapSize ) |
Attach to buffer.
| int ngcppBgThreshold | ( | float * | data, |
| float * | bg, | ||
| int | nx, | ||
| int | ny, | ||
| int | nbg, | ||
| double | k1, | ||
| int | nLoop, | ||
| double | k2, | ||
| double * | thrMin, | ||
| double * | sigma, | ||
| double | badPixLevel ) |
Background threshold estimation (sigma clipping above badPixLevel)
| void * ngcppBurstAlloc | ( | size_t | size | ) |
Return a pointer to the allocated buffer. In case of failure a NULL-pointer is returned.
| void ngcppBurstFree | ( | void * | buffer, |
| size_t | size ) |
Free the memory allocated with ngcppBurstAlloc().
| void * ngcppCapture | ( | void * | arg | ) |
Capture thread
| int ngcppCenCircle | ( | double * | cx, |
| double * | cy, | ||
| float * | data, | ||
| int | nx, | ||
| int | ny, | ||
| int | slx1, | ||
| int | slx2, | ||
| double | thr, | ||
| double | sigma, | ||
| int | min ) |
Circle-fit centroiding algorithm
| void ngcppChanMap | ( | int * | cm, |
| int | n ) |
Default channel mapping
| char ngcppCheckStop | ( | void | ) |
Check if the data capture has been stopped.
| ngcb_thread_t ngcppCI_THID | ( | ) |
command service thread id
| int ngcppCiAbort | ( | ngcpp_cmd_t | command, |
| ngcpp_rep_t * | reply, | ||
| char * | erms ) |
Handle ngcppCOM_ABORT command.
| int ngcppCiChanSelect | ( | ngcpp_cmd_t | command, |
| ngcpp_rep_t * | reply, | ||
| char * | erms ) |
Handle ngcppCOM_CHAN command.
| int ngcppCiChipOffset | ( | ngcpp_cmd_t | command, |
| ngcpp_rep_t * | reply, | ||
| char * | erms ) |
Handle ngcppCOM_CHIPOFFSET command.
| int ngcppCiDynCmd | ( | ngcpp_cmd_t | command, |
| ngcpp_rep_t * | reply, | ||
| char * | erms ) |
Handle ngcppCOM_DYNCMD command.
| int ngcppCiEnd | ( | ngcpp_cmd_t | command, |
| ngcpp_rep_t * | reply, | ||
| char * | erms ) |
Handle ngcppCOM_END command.
| int ngcppCiFlushOutput | ( | ngcpp_cmd_t | command, |
| ngcpp_rep_t * | reply, | ||
| char * | erms ) |
Handle ngcppCOM_FLUSHOUT command.
| int ngcppCiGetConfig | ( | ngcpp_cmd_t | command, |
| ngcpp_rep_t * | reply, | ||
| char * | erms ) |
Handle ngcppCOM_ICONF command.
| int ngcppCiGetDataPath | ( | ngcpp_cmd_t | command, |
| ngcpp_rep_t * | reply, | ||
| char * | erms ) |
Handle ngcppCOM_GETDPATH command.
| int ngcppCiGetDataPort | ( | ngcpp_cmd_t | command, |
| ngcpp_rep_t * | reply, | ||
| char * | erms ) |
Handle ngcppCOM_DATAPORT command.
| int ngcppCiGetErrPort | ( | ngcpp_cmd_t | command, |
| ngcpp_rep_t * | reply, | ||
| char * | erms ) |
Handle ngcppCOM_ERRPORT command.
| int ngcppCiGetRecvStat | ( | ngcpp_cmd_t | command, |
| ngcpp_rep_t * | reply, | ||
| char * | erms ) |
Handle ngcppCOM_RCVSTAT command.
| int ngcppCiGetRev | ( | ngcpp_cmd_t | command, |
| ngcpp_rep_t * | reply, | ||
| char * | erms ) |
Handle ngcppCOM_REV command.
| int ngcppCiGetStatus | ( | ngcpp_cmd_t | command, |
| ngcpp_rep_t * | reply, | ||
| char * | erms ) |
Handle ngcppCOM_STAT command.
| void ngcppCiInitErr | ( | void | ) |
Signal command interpreter initialization error.
| int ngcppCiMemClose | ( | ngcpp_cmd_t | command, |
| ngcpp_rep_t * | reply, | ||
| char * | erms ) |
Handle ngcppCOM_MCLOSE command.
| int ngcppCiMemRecv | ( | char * | erms | ) |
ngcppCOM_MSET buffer reveiver function
| int ngcppCiMemSet | ( | ngcpp_cmd_t | command, |
| ngcpp_rep_t * | reply, | ||
| char * | erms ) |
Handle ngcppCOM_MSET command.
| int ngcppCiMemSync | ( | ngcpp_cmd_t | command, |
| ngcpp_rep_t * | reply, | ||
| char * | erms ) |
Handle ngcppCOM_MSYNC command.
| int ngcppCiParamConf | ( | ngcpp_cmd_t | command, |
| ngcpp_rep_t * | reply, | ||
| char * | erms ) |
Handle ngcppCOM_PCONF command.
| int ngcppCiParamInit | ( | void | ) |
Synchronize command interpreter with parameter buffers.
| int ngcppCiParamSet | ( | ngcpp_cmd_t | command, |
| ngcpp_rep_t * | reply, | ||
| char * | erms ) |
Handle ngcppCOM_PSET command.
| int ngcppCiParamStat | ( | ngcpp_cmd_t | command, |
| ngcpp_rep_t * | reply, | ||
| char * | erms ) |
Handle ngcppCOM_PSTAT command.
| int ngcppCiParamSync | ( | ngcpp_cmd_t | command, |
| ngcpp_rep_t * | reply, | ||
| char * | erms ) |
Handle ngcppCOM_PSYNC command.
| int ngcppCiPause | ( | ngcpp_cmd_t | command, |
| ngcpp_rep_t * | reply, | ||
| char * | erms ) |
Handle ngcppCOM_PAUSE command.
| int ngcppCiResetCnt | ( | ngcpp_cmd_t | command, |
| ngcpp_rep_t * | reply, | ||
| char * | erms ) |
Handle ngcppCOM_RSTCNT command.
| int ngcppCiSetDataPath | ( | ngcpp_cmd_t | command, |
| ngcpp_rep_t * | reply, | ||
| char * | erms ) |
Handle ngcppCOM_SETDPATH command.
| int ngcppCiSetFilePubBase | ( | ngcpp_cmd_t | command, |
| ngcpp_rep_t * | reply, | ||
| char * | erms ) |
Handle ngcppCOM_FILEBASE command.
| int ngcppCiSetFilePubPath | ( | ngcpp_cmd_t | command, |
| ngcpp_rep_t * | reply, | ||
| char * | erms ) |
Handle ngcppCOM_FILEPATH command.
| int ngcppCiSimStartDelay | ( | ngcpp_cmd_t | command, |
| ngcpp_rep_t * | reply, | ||
| char * | erms ) |
Handle ngcppCOM_SIMDELAY command.
| int ngcppCiSimTime | ( | ngcpp_cmd_t | command, |
| ngcpp_rep_t * | reply, | ||
| char * | erms ) |
Handle ngcppCOM_SIMTIME command.
| int ngcppCiStart | ( | ngcpp_cmd_t | command, |
| ngcpp_rep_t * | reply, | ||
| char * | erms ) |
Handle ngcppCOM_START command.
| int ngcppCiStop | ( | ngcpp_cmd_t | command, |
| ngcpp_rep_t * | reply, | ||
| char * | erms ) |
Handle ngcppCOM_STOP command.
| int ngcppCiTime | ( | ngcpp_cmd_t | command, |
| ngcpp_rep_t * | reply, | ||
| char * | erms ) |
Handle ngcppCOM_TIME command.
| int ngcppCiUsrCmd | ( | ngcpp_cmd_t | command, |
| ngcpp_rep_t * | reply, | ||
| char * | erms ) |
Handle ngcppCOM_USRCMD command.
| int ngcppCiVerbose | ( | ngcpp_cmd_t | command, |
| ngcpp_rep_t * | reply, | ||
| char * | erms ) |
Handle ngcppCOM_VERBOSE command.
| int ngcppClose | ( | ngcpp_dma_t * | dev, |
| int | term, | ||
| char * | erms ) |
Close the DMA device. If term is 1, all outstanding DMA transfers are terminated.
| int ngcppCloseDataServer | ( | void | ) |
Shutdown data server.
| void ngcppCmdLineHelp | ( | const char * | paramStr, |
| const char * | helpStr, | ||
| const char * | defaultStr ) |
Add a help text for the -h command line option.
| int ngcppCntHandler | ( | ngcppFRAME * | hcyc, |
| int | setupId, | ||
| int | phases, | ||
| int | ndit, | ||
| int | cycSkip, | ||
| int | sdv, | ||
| int * | ditCnt, | ||
| int * | cycCnt, | ||
| char * | initFlag, | ||
| char * | sdvOn, | ||
| char * | first ) |
Counter processing handler
| int ngcppCog | ( | double * | cx, |
| double * | cy, | ||
| float * | data, | ||
| int | nx, | ||
| int | ny, | ||
| double | thr ) |
Center of gravity
| int ngcppCogLR | ( | double * | cx, |
| double * | cy, | ||
| float * | data, | ||
| int | nx, | ||
| int | ny, | ||
| int | slx1, | ||
| int | slx2, | ||
| double | thr, | ||
| double | sigma, | ||
| int | min ) |
Center of gravity left/right of slit
| int ngcppCogSymXP | ( | double * | cx, |
| double * | cy, | ||
| float * | data, | ||
| int | nx, | ||
| int | ny, | ||
| int | slx1, | ||
| int | slx2, | ||
| double | thr, | ||
| double | sigma, | ||
| int | min ) |
Center of gravity with symmetrical slit extrapolation
| int ngcppCogX | ( | double * | cx, |
| float * | data, | ||
| int | nx, | ||
| int | ny, | ||
| double | thr ) |
Center of gravity in x-direction
| int ngcppCogY | ( | double * | cy, |
| float * | data, | ||
| int | nx, | ||
| int | ny, | ||
| double | thr ) |
Center of gravity in y-direction
| void * ngcppCommandProcess | ( | void * | argp | ) |
Command interpreter thread
| void ngcppDataAck | ( | int | n | ) |
Acknowledge that the data transfer process has done the frame transfer.
| void ngcppDataAckPending | ( | int | n | ) |
Pending acknowledge that the data transfer process has done the frame transfer.
| int ngcppDataReq | ( | int | n, |
| ngcpp_req_t | request, | ||
| int | transferMode, | ||
| ngcpp_frame_t * | frame, | ||
| int * | noSort, | ||
| int * | noWin, | ||
| int * | attach, | ||
| ngcb_sema_t ** | txSig ) |
Request a frame. If request.blocking is set, the routine blocks, until frame is available or an error (or request abort) occurs. noSort/noWin return flags in order not to apply sorting or window parameters to the output frame.
| void ngcppDataResetReq | ( | int | n | ) |
Reset the data transfer request set by ngcppDataReq().
| void ngcppDataServerStatus | ( | int | flag, |
| const char * | erms ) |
Set the initialization status of the data server (1=success, 0=failure).
| void * ngcppDataServerTcp | ( | void * | argp | ) |
Built-in tcp/ip data transfer server
| void ngcppDataTransferReset | ( | int | n | ) |
Reset all synchronization for data transfer process.
| void ngcppDetachBuf | ( | void * | buffer, |
| size_t | size ) |
Detach from buffer.
| void ngcppDim | ( | int | nx, |
| int | ny ) |
Set pixel map dimension
| int ngcppDitHandler | ( | ngcppFRAME * | ditFrame, |
| ngcppFRAME * | intFrame, | ||
| ngcppFRAME * | iintFrame, | ||
| ngcppFRAME * | sdvFrame, | ||
| ngcppFRAME * | hcyc1Frame, | ||
| ngcppFRAME * | hcyc2Frame, | ||
| double * | sumSquare, | ||
| ngcpp_dit_t * | param, | ||
| char * | doInit ) |
DIT-frame handler
| void ngcppDivide | ( | int | num | ) |
Divide the DMA in sub-divisions (soft-interrupts).
| ngcb_thread_t ngcppDPUB_THID | ( | int | idx | ) |
data publisher thread id
| ngcb_thread_t ngcppDSRV_THID | ( | ) |
data service thread id
| int ngcppDynComHandle | ( | ngcpp_dcmd_t * | cmdSet | ) |
Search a command set for the dynamic command that is currently on top of stack.
| ngcb_thread_t ngcppERR_THID | ( | ) |
error stack thread id
| void * ngcppErrStack | ( | void * | argp | ) |
Error-stack thread.
| void ngcppErrStackAdd | ( | int | id, |
| const char * | erms ) |
Add an error message to the error stack. An additional errorId can be specified.
| void ngcppExit | ( | int | stat | ) |
Calls ngcppShutdwon() and exits.
| void ngcppExport | ( | void * | buffer, |
| int | ftype, | ||
| int | bitPix, | ||
| int | nx, | ||
| int | ny ) |
Export a buffer to an external service process and wait for the processing completion.
| int ngcppExportRequest | ( | int | shmId, |
| int | semId, | ||
| char * | erms ) |
Handle data export request
| int ngcppFilePublish | ( | ngcppFRAME * | frame, |
| int | bufIdx, | ||
| int | sync, | ||
| char * | erms ) |
Store the frame-buffer to a file. If sync is set to 1 then the routine blocks until a place in the file-output queue is free. bufIdx is the index of the frame within the circular output buffer of the frame.
| void ngcppFilePublisherBase | ( | const char * | base | ) |
Change the file publishing sequence base-name. The header information (frame-type, counter) is always appended to the basename.
| int ngcppFilePublisherInit | ( | const char * | name, |
| char * | erms ) |
Intialize a file publisher. The name may specify a path or a socket connection (host:port).
| int ngcppFilePublisherPath | ( | int | id, |
| const char * | path, | ||
| char * | erms ) |
Change the storaga path of a file publisher.
| void ngcppFileSync | ( | void | ) |
Waits until the file queues of all file publishers are empty.
| void ngcppFlipX | ( | int * | map, |
| int | nx, | ||
| int | ny ) |
Vertical flip of pixel sorting map
| void ngcppFlipY | ( | int * | map, |
| int | nx, | ||
| int | ny ) |
Horizontal flip of pixel sorting map
| int ngcppFlushInput | ( | void | ) |
Skip all buffers in the input-ring-buffer. It returns the number of buffers that have been skipped.
| int ngcppFlushOutput | ( | void | ) |
Flush the output queue
| void ngcppFrameScale16 | ( | void * | buffer, |
| size_t | size, | ||
| int | n ) |
Scale 32-bit integere frame down to 16-bit
| void ngcppFrameScaleReal16 | ( | void * | buffer, |
| size_t | size, | ||
| int | n ) |
Scale 32-bit floating point frame down to 16-bit
| void ngcppFree | ( | void * | ptr | ) |
Free memory.
| int ngcppFsConnect | ( | char * | host, |
| char * | erms ) |
Connect to field-stabilisation unit.
| int ngcppFsDisconnect | ( | int | fd | ) |
Disconnect from field-stabilisation unit.
| int ngcppFsSend | ( | int | fd, |
| ngcpp_fs_t * | correction, | ||
| char * | erms ) |
Send correction parameters to field stabilisation unit.
| int ngcppGetLocHostAddr | ( | char * | addr, |
| char * | erms ) |
Returns the ip-address of the local host.
| int ngcppGetShift | ( | char * | first, |
| int * | data, | ||
| char * | bpx, | ||
| int | nx, | ||
| int | tx, | ||
| int | ty, | ||
| int | txw, | ||
| int | tyw, | ||
| int * | sx, | ||
| int * | sy, | ||
| int * | posX, | ||
| int * | posY ) |
Get shift vector for on-chip tracking using highest intensity method.
| int ngcppGetShiftCen | ( | char * | first, |
| int * | data, | ||
| char * | bpx, | ||
| int | nx, | ||
| int | tx, | ||
| int | ty, | ||
| int | txw, | ||
| int | tyw, | ||
| int * | sx, | ||
| int * | sy, | ||
| int * | posX, | ||
| int * | posY ) |
Get shift vector for on-chip tracking using centroiding method.
| int ngcppGetShiftCenFloat | ( | char * | first, |
| float * | data, | ||
| char * | bpx, | ||
| int | nx, | ||
| int | tx, | ||
| int | ty, | ||
| int | txw, | ||
| int | tyw, | ||
| int * | sx, | ||
| int * | sy, | ||
| int * | posX, | ||
| int * | posY ) |
Get shift vector for on-chip tracking using centroiding method (floating point data).
| int ngcppGetShiftFloat | ( | char * | first, |
| float * | data, | ||
| char * | bpx, | ||
| int | nx, | ||
| int | tx, | ||
| int | ty, | ||
| int | txw, | ||
| int | tyw, | ||
| int * | sx, | ||
| int * | sy, | ||
| int * | posX, | ||
| int * | posY ) |
Get shift vector for on-chip tracking using highest intensity method (floating point data).
| int ngcppInit | ( | ngcpp_dma_t * | dev, |
| unsigned int * | doneCount, | ||
| char * | erms ) |
Initialize the DMA read and synchronize doneCount to the actual buffer count in the DMA driver.
| int ngcppInitFileDump | ( | char * | erms | ) |
Intialize file-dump mode.
| void ngcppInitFilter | ( | int | devIdx, |
| int * | chan, | ||
| int | n ) |
Initialize channel filter
| void ngcppInitFrame | ( | ngcppFRAME * | frame, |
| char ** | array, | ||
| int | n ) |
Initialize the configuration elements of the frame structure. The parameter n is the size of the ring-buffered frames. The array is an array of pointers to output frames of the same type.
| int ngcppIppApply | ( | int | id, |
| void * | param, | ||
| int | n, | ||
| char * | erms ) |
| void ngcppIppCfg | ( | int | id, |
| void * | param, | ||
| int | n ) |
| void * ngcppMalloc | ( | size_t | size | ) |
Allocate size bytes of memory.
| void * ngcppMalloc2 | ( | void * | ptr, |
| size_t | size ) |
Re(-allocate) size bytes of memory.
| int ngcppOpen | ( | ngcpp_dma_t * | dev, |
| char * | erms ) |
Open the DMA device.
| char ngcppOverrun | ( | ngcpp_dma_t * | dev | ) |
Checks if the ringbuffer did get full.
| void ngcppParamDefault | ( | void | ) |
Signal that the default parameter setting has been done.
| int * ngcppParamPtr | ( | void | ) |
Return a pointer to the current parameter structure.
| const char * ngcppProperty | ( | const char * | name | ) |
Return the property value assigned to name or a NULL-pointer if the property does not exist.
| int ngcppPSync | ( | int | alarmtTime, |
| char * | erms ) |
Synchronize parameter buffers.
| int ngcppPublish | ( | int | syncMode, |
| ngcppFRAME * | frame ) |
Request a queued output for the frame pointed to by frame. The sync parameter controls the behaviour in the case the output queue becomes full:
ngcppQUEUE_SKIP - skip the frame ngcppQUEUE_BLOCK - block ngcppQUEUE_SETERR - report an error (-> return -1)
When the function returns, the frame structure element frame->dptr
returns in any case the index of the ring buffer element, that can be processed next by the calling process.
| void ngcppR270 | ( | int * | map, |
| int | nx, | ||
| int | ny ) |
Rotate pixel sorting map by 270 degrees
| void ngcppR90 | ( | int * | map, |
| int | nx, | ||
| int | ny ) |
Rotate pixel sorting map by 90 degrees
| int ngcppReAlloc | ( | size_t | bufsize, |
| int | n, | ||
| char * | erms ) |
Reallocate n input ringbuffers of size bufsize. If n is zero the number ringbuffers is determined dynamically according to bufsize and ngcppMIN_RINGBUFSIZE.
| void ngcppReInitFrame | ( | ngcppFRAME * | frame, |
| char ** | array ) |
Reassign new array buffers.
| void ngcppReInitFrameN | ( | ngcppFRAME * | frame, |
| char ** | array, | ||
| int | n ) |
Reassign new array buffers to frame.
| void ngcppRemoveFrame | ( | int | type | ) |
Remove a frame type from the publishing list.
| void ngcppResetTimeStamp | ( | ) |
Reset timestamp in all frames.
| void ngcppResetTransferringState | ( | void | ) |
Reset transferring state
| int ngcppSemWaitTmo | ( | ngcb_sema_t * | sem, |
| int | tmo ) |
Waits with timeout for a semaphore.
| void ngcppSetQueue | ( | void | ) |
Switch to queue mode
| void ngcppSetTimeStamp | ( | uint64_t | ts | ) |
Set the timestamp in all frames, which have the time-stamp marked as not set.
| void ngcppSetTransferringState | ( | void | ) |
Set transferring state
| int * ngcppSetupDynParam | ( | size_t | numParam, |
| const char ** | id, | ||
| size_t | numCmd, | ||
| char * | erms ) |
Set the readout mode specific parameter names. numParam is the number of parameters being used, numCmd is the number of dynamic commands being used. If numCmd is zero, no dynamic commands are used. If numParam is zero, no dynamic parameters are used.
| int ngcppShDataAttach | ( | int | shared, |
| int | n, | ||
| size_t | size, | ||
| char * | erms ) |
Attach to a memory data structure. If the shared flag is set the memory area is placed in shared memory.
| int ngcppShDataClose | ( | void | ) |
Remove the attached shared memory data structure.
| int ngcppShDataGetPtr | ( | char ** | ptr, |
| int | id, | ||
| int | len, | ||
| char * | erms ) |
Return a pointer to the mirror of a shared memory data entry identified by id. The parameter len returns the maximum length of the dataset.
| int ngcppShDataInvalid | ( | int | id | ) |
Mark an entry as not containing valid data.
| int ngcppShDataIsValid | ( | int | id | ) |
Return 1 in case the data set contains valid data.
| char * ngcppShDataSetPtr | ( | int | id, |
| int * | len, | ||
| char * | erms ) |
Return in a pointer to the mirror of a shared memory data entry identified by id. The parameter len returns the maximum length of the dataset.
| void ngcppShDataSwap | ( | int | id | ) |
Swap all datasets matching id (id can be or'ed).
| int ngcppShDataValid | ( | int | id | ) |
Mark an entry as containing valid data.
| int ngcppShiftAddFloat | ( | float * | sum, |
| float * | data, | ||
| int | nx, | ||
| int | ny, | ||
| int | shx, | ||
| int | shy ) |
On-chip-tracking function (floating point data).
| int ngcppShiftAddFloatN | ( | float * | sum, |
| float * | data, | ||
| int | nx, | ||
| int | ny, | ||
| int | shx, | ||
| int | shy, | ||
| int | n, | ||
| int | np ) |
On-chip-tracking function (floating point data).
| int ngcppShiftAddInt | ( | int * | sum, |
| int * | data, | ||
| int | nx, | ||
| int | ny, | ||
| int | shx, | ||
| int | shy ) |
On-chip-tracking function
| int ngcppShiftAddIntN | ( | int * | sum, |
| int * | data, | ||
| int | nx, | ||
| int | ny, | ||
| int | shx, | ||
| int | shy, | ||
| int | n, | ||
| int | np ) |
On-chip-tracking function
| void ngcppShutdown | ( | int | sigFlag | ) |
Terminate all running DMA, close the DMA device and clean up all allocated resource. When called from within a signal handler the sigFlag should be set.
| void ngcppSigFailure | ( | const char * | erms | ) |
Add an error message to the error stack.
| void ngcppSignalHandler | ( | int | sig | ) |
Signal handler of the ngcpp framework.
| int ngcppStartCapture | ( | void | ) |
Start the data capture loop.
| int ngcppStartDataServer | ( | unsigned int | n, |
| char * | erms ) |
Start the data server for n publishers
| int ngcppStartup | ( | int | argc, |
| char ** | argv, | ||
| size_t | defaultBufsize, | ||
| char * | erms ) |
Perform complete startup of the scd dma interface. Depending on the argument line interactive and capture threads are started. All semaphores are initialized here. A default buffersize (in bytes) can be passed which might be overwritten by the command line argument.
| int ngcppSwapXY | ( | void | ) |
Pixel-map 90deg rotation
| void ngcppSyncOutput | ( | void | ) |
Wait until all output is done.
| int ngcppTerm | ( | ngcpp_dma_t * | dev, |
| char * | erms ) |
Terminate all DMA transfers
| void ngcppTermProcessing | ( | void | ) |
Acknowledges that processing loop has been stopped.
| int ngcppUnsigned | ( | void | ) |
Return 1 in case the raw data type is unsigned short integer. Otherwise zero is returned.
| int ngcppWaitData | ( | ngcpp_t ** | res | ) |
Waits for the next data semaphore and returns a pointer to the next data input buffer. The return value is the number of frame that has been skipped during a pause.
| int ngcppWaitStart | ( | void | ) |
Wait until data capture has been started.
| int ngcppWinCpy | ( | char * | frm, |
| int | fx, | ||
| int | fy, | ||
| char * | win, | ||
| int | sx0, | ||
| int | sy0, | ||
| int | nx, | ||
| int | ny, | ||
| int | bytes, | ||
| int | assemble, | ||
| int | noSort ) |
Copy window.
|
extern |
ADC-module packet size
|
extern |
Number of command line arguments
|
extern |
Pointer to command line arguments
|
extern |
Automatic frame timestamp
|
extern |
Base-name for file publisher
|
extern |
Chop zero phase
|
extern |
Command interpreter initialization flag
|
extern |
Command server interface API
|
extern |
Command server API for TCP/IP socket communication
|
extern |
Number of cmd clients
|
extern |
Command client host info
|
extern |
Command interpreter port number
|
extern |
Main-task CPU(s)
|
extern |
Output frame counters
|
extern |
Data client host info
|
extern |
Data server initialization flag
|
extern |
Data server port number
|
extern |
Output request counters
|
extern |
Data server plug-in
|
extern |
Data server exit hook sending an EXIT service request to data server
|
extern |
Data server device name
|
extern |
Setup-id
|
extern |
Global variables Acquisition devices
|
extern |
Disk memory extension flag
|
extern |
Disk memory index
|
extern |
disk memory path
|
extern |
DIT-handler DIT transfer
|
extern |
DMA channel selection
|
extern |
DMA interrupt latency diagnose on/off
|
extern |
DMA interrupt post processor mode
|
extern |
DMA interrupt queue monitoring flag
|
extern |
DMA channel packet size
|
extern |
DMA resync
|
extern |
Dynamic command code
|
extern |
Dynamic command code acknowledge
|
extern |
Parameter configuration
|
extern |
Pointer to parameter buffer
|
extern |
End of measurement flag
|
extern |
Command interpreter initialization error
|
extern |
Data server initialization error
|
extern |
Error-stack initialization flag
|
extern |
Error stack port number
|
extern |
Flag to enable/disable file-dump mode
|
extern |
File server id for file-dump
|
extern |
Output frame size
|
extern |
Frame types
|
extern |
Number of DMA interrupt post processor task parameters
|
extern |
DMA interrupt post processor task parameters
|
extern |
DMA interrupt post processor task-id
|
extern |
Multicast joinder delay (microseconds)
|
extern |
Shared memory key
|
extern |
Path to local data
|
extern |
Channel mapping file
|
extern |
Pixel map operation matrix
|
extern |
Maximum command buffer size
|
extern |
Maximum reply buffer size
|
extern |
Flag to disable the pixel sorting
|
extern |
Raw-frame output queue size (number of frames)
|
extern |
Requested number of ringbuffers (0 = automatic)
|
extern |
Number of actually connected data clients
|
extern |
Number of data files
|
extern |
Number of detector instances
|
extern |
Number of acquisition devices
|
extern |
Number of DMA sub-divisions
|
extern |
Number of dynamic command codes
|
extern |
Number of file publishers
|
extern |
Number of publishers
|
extern |
Number of defined frame types
|
extern |
Overscan in X
|
extern |
Overscan in Y
|
extern |
Parameter buffers
|
extern |
External parameter check
|
extern |
Pause flag
|
extern |
RTMS payload Size (bytes)
|
extern |
Acquisition process id
|
extern |
Pixel map
|
extern |
Pixel map (64-bit)
|
extern |
Print params flag
|
extern |
Process name
|
extern |
Publisher names
|
extern |
Queue buffer size (bytes)
|
extern |
Queue frame counter
|
extern |
Queue end-command
|
extern |
Reset queue counters flag
|
extern |
Reset queue counters flag (internal)
|
extern |
Queue size
|
extern |
Queue frame type
|
extern |
Queue window
|
extern |
Remote execution reply file descriptor
|
extern |
Pre-processor application revision
|
extern |
Reset counters flag
|
extern |
Reset counters flag (internal)
|
extern |
Run-time check flag
|
extern |
Capture running flag
|
extern |
32-bit simulation
|
extern |
Built-in simulator
|
extern |
Built-in simulator (64-bit buffer size)
|
extern |
DMA simulation flag
|
extern |
High-resolution simulation
|
extern |
Noise simulation
|
extern |
Real-time simulation flag
|
extern |
Simulation start delay
|
extern |
Simulation interval
|
extern |
Chip offset in x-direction
|
extern |
Chip offset in y-direction
|
extern |
Processing status
|
extern |
Synchronous input flag
|
extern |
Counter for tests
|
extern |
Calculation-time and frame-time information
|
extern |
Filters for time measurements
|
extern |
Last sample timestamp
|
extern |
Transferring flag
|
extern |
Valid frame types
|
extern |
RTMS data unit size (bytes)
|
extern |
External user command handler
|
extern |
Application startup synchronization semaphore
|
extern |
Ringbuffer access protection semaphore
|
extern |
Command interpreter synchronization semaphore
|
extern |
Dynamic command synchronization semaphore
|
extern |
Dynamic command acknowledge semaphore
|
extern |
Data server synchronization semaphore
|
extern |
Error-stack synchronization semaphore
|
extern |
Data set access protection semaphore
|
extern |
Parameter access protection semaphore
|
extern |
Parameter lock synchronization semaphore
|
extern |
Running flag access protection semaphore
|
extern |
Status access protection semaphore
|
extern |
Termination synchronization semaphore