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 Next »

Group

Model Execution
Description

Stops and resets the current simulation.

Required Control

System control
Usage

RtlabApi.Reset()

Input

None

Output

None

Exception
  • EOK: Success.
  • EPERM: System control had not been granted to this client.
  • EBADF: Model not specified by previous Connect or SetCurrentModel.
  • EIO: Error sending the request or receiving the reply.
  • EEXIST: RT-LAB detected that the model did not reset correctly. Clean-up of processes left running was performed
  • OP_API_MODEL_IO_TIMEOUT: Timed out waiting for reply from model.
  • OP_API_MODEL_IO_ERROR: Model is missing some or all processes or subsystems.
ExamplesSee example basic_example2.
Related ItemsLoad, GetSystemControl.
Modulesimport RtlabApi
  • No labels