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

Returns the current values of the control signals sent to the computation nodes. The control signals are the signals sent from the console to the computation nodes in the same order than specified at the input of the OpComm of the specified computation nodes. These signals can be set by a call to SetControlSignals.

Required Control

None
Usage

values = RtlabApi.GetControlSignals(logicalId)

Input
  • logicalId: Always 0.
Output
  • values: Tuple of signal values.
Exception
  • EOK: Success.
  • EBADF: Model not specified by previous Connect or SetCurrentModel.
  • EINVAL: Model is not loaded, or invalid logicalId.
  • EIO: Error sending the request or receiving the reply.
  • ENOMEM: Memory allocation error.
  • E2BIG: Specified storage not big enough to receive values.
ExamplesSee example control_signal.
Related ItemsSetControlSignals
Modulesimport RtlabApi
  • No labels