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_MODEL_STATE

Description

Gives the state of the model.

Usage

typedef enum{

MODEL_NOT_CONNECTED,

MODEL_NOT_LOADABLE,

MODEL_COMPILING,

MODEL_LOADABLE,

MODEL_LOADING,

MODEL_RESETTING,

MODEL_LOADED,

MODEL_PAUSED,

MODEL_RUNNING,

MODEL_DISCONNECTED

} OP_MODEL_STATE;

Elements
  • MODEL_NOT_CONNECTED (0): No connected model.
  • MODEL_NOT_LOADABLE (1): Model has not been compiled.
  • MODEL_COMPILING(2): Model is compiling.
  • MODEL_LOADABLE (3): Model has been compiled and is ready to load.
  • MODEL_LOADING (4): Model is loading.
  • MODEL_RESETTING (5): Model is resetting.
  • MODEL_LOADED (6): Model loaded on target.
  • MODEL_PAUSED (7): Model is loaded and paused on target.
  • MODEL_RUNNING (8): Model is loaded and executed on target.
  • MODEL_DISCONNECTED (9): Model is disconnect.
ExamplesNone
Related ItemsOpalConnect, OpalConnectByName, OpalGetModelState
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