Versions Compared

Key

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

Group

Utilities

Description

Returns

Return 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
  • RT-LAB.

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
  • Connect or

OpalSetCurrentModel
  • OpenProject.

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

Examples

None

Related Items

OP_TARGET_PLATFORM

Modules

import RtlabApi