Versions Compared

Key

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

Group

Utilities

Description

Returns

Return the ClockPeriod related information associated with the current model.

Note

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