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.

SetNodeMapping

Group

Model Preparation

Description

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 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

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