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 Interaction, Control Signals
Description

Requests or releases the signal control of the currently connected model. Signal control allows the client API to change the values of the model's control signals. Only one client API at a time is granted signal control.

Required Control

None
Usage

RtlabApi.GetSignalControl(logicalId, signalControl)

Input
  • logicalId: See Glossary. 0 means taking control for all subsystems.
  • signalControl: True(1) to request control of the signals of the model or the node, False(0) to release control of all target subsystems.
Output

None

Exception
  • EOK: Success.
  • EPERM: Control requested, but already given to another client.
  • EBADF: Model not specified by previous Connect or SetCurrentModel.
  • EIO: Error sending the request or receiving the reply.
ExamplesSee example control_signal.
Related ItemsSetControlSignals, SetSignalsByName.
Modulesimport RtlabApi
  • No labels