13 #define GDATALOGGER_MAXVARIABLES 150
16 char VariableName[100];
17 char VariableUnit[50];
32 #define QUEUE_MAXDESTINATIONS 4
33 #define QUEUE_DESTINATION_FILE QUEUE_READ_GATE_0
34 #define QUEUE_DESTINATION_IPC QUEUE_READ_GATE_1
35 #define QUEUE_DESTINATION_USER1 QUEUE_READ_GATE_2
36 #define QUEUE_DESTINATION_USER2 QUEUE_READ_GATE_3
38 #define GDATALOGGER_IPC_MAXQUEUESIZE 1000
39 #define GDATALOGGER_IPC_FLAGIDDLE 0
40 #define GDATALOGGER_IPC_FLAGREQUESTDATA 1
41 #define GDATALOGGER_IPC_FLAGDATAAVAILABLE 2
42 #define GDATALOGGER_IPC_FLAGNOTEXIST 3
43 #define GDATALOGGER_IPC_FLAGTIMEOUT 4
46 char VariableName[100];
47 char VariableUnit[50];
53 #if DATALOGGER_COMPILE_FOR_XENOMAI
54 #define GDATALOGGER_IPC_STATEFILE "gdataloggershm"
56 #define GDATALOGGER_IPC_STATEFILE "/gdatalogger.shm"
59 int gDataLogger_Init(PGDATALOGGER pgDataLogger,
char *filename,
char *dirname);
int gDataLogger_IPC_RetrieveVariable(char *varname, char *varunit, double *pbuffer, int *bufferlen)
#define GDATALOGGER_IPC_MAXQUEUESIZE
int gDataLogger_MatfileUpdate(PGDATALOGGER pgDataLogger)
GQUEUECONTROL CircularQueueControl
GMATLABDATAFILECONFIG GMatlabDataFileConfig
struct GDATALOGGER * PGDATALOGGER
long int GMatlabDataFileIndex
int gDataLogger_Init(PGDATALOGGER pgDataLogger, char *filename, char *dirname)
#define GDATALOGGER_MAXVARIABLES
int gDataLogger_Close(PGDATALOGGER pgDataLogger)
struct GDATALOGGERVARIABLE * PGDATALOGGERVARIABLE
int gDataLogger_InsertVariable(PGDATALOGGER pgDataLogger, char *varname, double *varvalue)
int gDataLogger_DeclareVariable(PGDATALOGGER pgDataLogger, char *varname, char *varunit, int nrows, int ncols, int queuesize)
int gDataLogger_IPCUpdate(PGDATALOGGER pgDataLogger)