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

« Previous Version 3 Next »

Group

Model Interaction, Control Signals
Description

Sets the current values of the control signals sent to the computation node subsystem.

These signals can be return by a call to OpalGetControlSignals.

The values are sent to the appropriate position at the output of the OpComm block, found in the subsystem with the specified logicalId, which receives its inputs from the model's console subsystem.

Required Control

Signal Control
Usage

values = (value1, value2, ...)

RtlabApi.SetControlSignals ( logicalId, values )

Input
  • logicalId: See Glossary.
  • values: Value of each signal.

Output

None

Exception
  • EOK: Success.
  • ENOMEM: Memory allocation error.
  • EINVAL: Invalid logicalId.
  • EPERM: Signal control had not been granted to this client.
  • EBADF: Model not specified by previous Connect orSet CurrentModel.
  • EIO: Error sending the request or receiving the reply.
  • EACCES: No console found in the model. Unable to send signals to subsystems.
  • ESRCH: Model has not been compiled yet.
ExamplesSee the example control_signal.
Related ItemsGetSignalControl, GetControlSignals
Modulesimport RtlabApi
  • No labels