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

Group

Model Interaction, Signals
Description

Returns the values for the specified signal names.

Required Control

None
Usage

signalValues = RtlabApi.GetSignalsByName(signalNames)

or

signalValue = OpalApiPy.GetSignalsByName(signalName)

Input
  • signalNames: Tuple of string with the name of each signals or a single string with the name of one signal.
Output
  • signalValues: Tuple of double values of each signal or a single double value.
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 ItemsGetSignalsDescription
Modulesimport RtlabApi
  • No labels