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.

GetClockPeriodInfo Deprecated

Group

Utilities

Description

Return the ClockPeriod related information associated with the current model.

This function is only valid for QNX 6.x models (not supported anymore).

Required Control

None

Usage

(mode, (basetime_ms, basetime_us)) = RtlabApi.GetClockPeriodInfo ()

Input

None

Output

  • mode: The current ClockPeriod mode of the model.

  • basetime_ms: The part of the current base time that is in milliseconds.

  • basetime_us: The part of the current base time that is in microseconds.

Exception

  • EOK: Success.

  • EINVAL: Invalid parameter value.

  • EPERM: Not a QNX 6.x model.

Examples

None

Related Items

SetClockPeriodInfo

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