C-API | OP_ACQGR_SIGNALS_IN

Documentation Home Page RT-LAB Home Page
Pour la documentation en FRANÇAIS, utilisez l'outil de traduction de votre navigateur Chrome, Edge ou Safari. Voir un exemple.

C-API | OP_ACQGR_SIGNALS_IN

Description

Defines the structure to fill and pass to signal acquisition functions. You may activate the synchronization algorithm to synchronize the simulation execution with the acquisition. The interpolation can be used, in this case, to obtain a better result during missed data intervals.

If the time difference between the host and the target exceeds the threshold (sec), the acquisition (console) is updated to overtake the difference. The acqTimestep offers you a way to change the console step size as in Simulink.

Usage

typedef struct{

unsigned short acqGroup;

char synchronize;

char interpolate;

double threshold;

double acqTimestep;

} OP_ACQGR_SIGNALS_IN;

Elements

  • acqGroup: Acquisition group number. Starts with 0.

  • synchronize: Enable synchronization.

  • interpolate: Enable interpolation.

  • threshold: Threshold time between command station and target.

  • acqTimestep: Console sample time.

Examples

None.

Related Items

OpalGetSignalsForGroup (internal)

Library and Header



WINDOWS

LINUX

Static Library

OpalApi.lib

-

Dynamic Library

OPalApi.dll

libOpalApi.so

Header File

OpalApi.h

OpalApi.h