Versions Compared

Key

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

Group

Model Preparation

Description

Defines

Define a mapping between a list of subsystems of the current model and a list of corresponding physical node names. The new mapping becomes valid as soon as the next Load command is completed.

Required Control

System Control

Usage

mapping = ( (subsysName1, physNodeName1), (subsysName2, physNodeName2), ... )

RtlabApi.SetNodeMapping (mapping)

Input

  • mapping: Tuple of tuple of subsystem information. Each tuple of information contains the subsystem’s name and the physical node name of the subsystem.

Output

None

Exception

  • EOK: Success.

  • EPERM: System control had not been granted to this client.

  • EBADF: Model not specified by previous Connect or

SetCurrentModel
  • OpenProject.

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

  • ENOENT: Invalid subsystem name found in subsysName list parameter.

  • EINVAL: Unable to change the node mapping because of the model state.

  • OP_API_EBAD_PHYS_NODE: Physical node not found.

Examples

None.

Related Items

GetSystemControl

Modules

import RtlabApi