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.

SetStopTime

Group

Model Execution

Description

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 Connect or OpenProject.

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

Examples

None

Related Items

GetStopTime.

Modules

import RtlabApi

 

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