Versions Compared

Key

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

Group

Model Execution

Description

Sets

Set the value of the stop time. This value could be set whether the model is executed or not. If the model is executed and the stop time is set to a time that has been already reached, the model will stop immediately.

Required Control

System Control

Usage

RtlabApi.SetStopTime(time)

Input

  • time: Stop time in seconds.

Output

None

Exception

  • EOK: Success.

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

  • EINVAL: Invalid time.

  • EBADF: Model not specified by previous

OpalConnect
  • Connect or

OpalSetCurrentModel
  • OpenProject.

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

Examples

None

Related Items

GetStopTime.

Modules

import RtlabApi