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.

GetTargetNodeSystemInfo

Group

Utilities

Description

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 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 Connect or OpenProject.

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

Examples

None

Related Items

OP_TARGET_PLATFORM

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
Follow OPAL-RT: LinkedIn | Facebook | YouTube | X/Twitter