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.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

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.
ExamplesNone.
Related ItemsOpalGetSignalsForGroup (internal)
Library and Header

WINDOWSLINUX
Static LibraryOpalApi.lib-
Dynamic LibraryOPalApi.dlllibOpalApi.so
Header FileOpalApi.hOpalApi.h
  • No labels