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

Version 1 Next »

Group

Utilities
Description

Returns information about a specified target.

Required Control

None
Usage

targetPlatform, version, arch, diskspace, cpucnt, cpuspeed, ip = RtlabApi.GetTargetNodeSystemInfo(targetName)

Input
  • targetName: Name of the target. The name is the one defined inside RTLAB.
Output
  • targetPlatform: Target platform. See OP_TARGET_PLATFORM.
  • version: Platform version.
  • arch: Additional information about the target.
  • diskspace: Available space disk on target in Mo.
  • cpucnt: Number of cpu.
  • cpuspeed: Cpu speed in Mhz.
  • ip: Target IP address.
Exception
  • EOK: Success.
  • EINVAL: Invalid target name
  • EBADF: Model not specified by previous OpalConnect or OpalSetCurrentModel.
  • EIO: Error sending the request or receiving the reply.
ExamplesNone
Related ItemsOP_TARGET_PLATFORM
Modulesimport RtlabApi
  • No labels