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

Version 1 Next »

Group

Model Preparation
Description

Defines 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.
  • 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.
ExamplesNone.
Related ItemsGetSystemControl
Modulesimport RtlabApi
  • No labels