Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Group

Model Preparation

Description

Sets

Set the simulation mode. The specified simulation mode will be applied the next time the model is loaded. Simulation mode cannot be set when the model is already loaded.

Required Control

System Control

Usage

RtlabApi.SetSimulationMode(simulationMode)

Input

  • simulationMode: See OP_REALTIME_MODE.

Output

None

Exception

  • EPERM: System control had not been granted to this client.

  • ENOENT: Could not write the simulation mode to the configuration file.

  • EBADF: Model not specified by previous Connect or

SetCurrentModel
  • OpenProject.

  • EIO: Error sending the request or receiving the reply.

Examples

None

Related Items

GetModelState

Modules

import RtlabApi