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_SIGNAL_INFO

Description

Structure for Simulink signals.

Usage

typedef struct OP_SIGNAL_INFO{

OP_SIGNAL_ID signalId;

char *path;

char *label;

char *alias;

unsigned long width;

OP_SEARCH_RESULTS exist;

double *pValues;

struct OP_SIGNAL_INFO *newSignal;

char readonly;

OP_SIGNAL_TYPE type;

} OP_SIGNAL_INFO;

Elements
  • signalId: Signal’s ID.
  • path: Signal's path in the model.
  • label: Signal's label if any.
  • alias: Signals's alias if any.
  • width: Signal's width.
  • exist: See OP_SEARCH_RESULTS.
  • pValues: Pointer to the signal's values. Only valid with acquisition functions.
  • newSignal: Pointer to new estimated signal if doesn't exist.
  • readonly: Boolean: true means that the signal is readonly (cannot modify value).
  • type: Signal type. See OP_SIGNAL_TYPE.
ExamplesNone.
Related ItemsOpalGetSignalsDescription, OP_ACQGR_SIGNALS
Library and Header

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

OPAL-RT TECHNOLOGIES, Inc. | 1751, rue Richardson, bureau 1060 | Montréal, Québec Canada H3K 1G6 | opal-rt.com | +1 514-935-2323
Follow OPAL-RT: LinkedIn | Facebook | YouTube | X/Twitter