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

Sets the values for the specified signal names

Required Control

Signals
Usage

signalNames = (signalName1, signalName2, ...)

signalValues = (value1, value2, ...)

RtlabApi.SetSignalsByName(signalNames, signalValues)

or

RtlabApi.SetSignalsByName(signalName1, signalValue1)

Input
  • signalNames: Tuple of string of the signals' names to get the values.
  • signalValues: Tuple of values to set in the specified signals.

Output

None

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 ItemsGetControlSignalsDescription, GetSignalsByName
Modulesimport RtlabApi
  • No labels