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.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Group

Utilities
Description

Returns 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.
ExamplesNone
Related ItemsSetClockPeriodInfo
Modulesimport RtlabApi
  • No labels