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 5 Current »

Group

Model Preparation

Description

Return the list of physical nodes in the current hardware configuration. The physical node names are as defined in the hardware.config file.

Required Control

None

Usage

physicalNodeList = RtlabApi.GetPhysNodeList()

Input

None

Output

  • physicalNodeList: Tuple of strings with the names of the physical nodes.

Exception

  • E2BIG: Specified storage not big enough to receive values.

  • EBADF: Global project not open by RT-LAB User Interface or OpenGlobalConfiguration.

  • OP_API_EBAD_CONFIG: Hardware configuration file doesn't exist, or no nodes are specified.

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

Examples

See example configuration.

Related Items

None

Modules

import RtlabApi

  • No labels