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.

SetSignalsByName

Group

Model Interaction, Signals

Description

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

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

  • EINVAL: Invalid parameters.

Examples

None

Related Items

GetControlSignalsDescription, GetSignalsByName

Modules

import RtlabApi

OPAL-RT TECHNOLOGIES, Inc. | 1751, rue Richardson, bureau 1060 | Montréal, Québec Canada H3K 1G6 | opal-rt.com | +1 514-935-2323