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.

GetPhysNodeList

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

 

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