Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Group

Model Interaction, Signals

Description

Sets

Set 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
  • OpenProject.

  • EIO: Error sending the request or receiving the reply.

  • EINVAL: Invalid parameters.

Examples

None

Related Items

GetControlSignalsDescription, GetSignalsByName

Modules

import RtlabApi