Versions Compared

Key

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

Group

Model Preparation

Description

Returns

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

string
  • strings with the names of the physical nodes.

Exception

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

  • EBADF:

 Model
  •  Global project not

specified by previous lConnect or SetCurrentModel
  • 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