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.

GetTimeInfo

Group

Model Configuration, System

Description

Return the value of the calculation step specified in the current model, and the time factor to apply to obtain the effective calculation step.

Required Control

None

Usage

(calculationStep, timeFactor) = RtlabApi.GetTimeInfo()

Input

None

Output

  • calculationStep: Calculation step size as specified in the model file.

  • timeFactor: Time factor of the simulation, which is multiplied by the calculation step size to obtain the effective calculation step size.

Exception

  • EOK: Success.

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

  • EBADF: Model not specified by previous Connect or OpenProject.

Examples

None

Related Items

SetTimeFactor

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