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 2 Next »

Group

Model Interaction, Control Signals
Description

Returns a set of basic information for each available signal in the model.

Required Control

None
Usage

signalInfos = RtlabApi.GetSignalsDescription()

(signalType, signalId, path, label, reserved, readonly, value) = signalInfo1

Input

None

Output
  • signalInfos: Tuple of tuple of information for each signals.
  • signalType: Signal type. See OP_SIGNAL_TYPE.
  • signalId: Id of the signal.
  • path: Path of the signal.
  • label: Label or name of the signal.
  • readonly: True when the signal is read-only.
  • value: Current value of the signal.
Exception
  • 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.
  • EINVAL: Invalid parameters.
ExamplesNone
Related ItemsGetSignalsByName.
Modulesimport RtlabApi
  • No labels