Versions Compared

Key

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

Group

Model Interaction, Control Signals

Description

Returns

Return the current values of the control signals sent to the computation nodes. The control signals are the signals sent from the console to the computation nodes in the same order than specified at the input of the OpComm of the specified computation nodes. These signals can be set by a call to SetControlSignals.

Required Control

None

Usage

values = RtlabApi.GetControlSignals(logicalId)

Input

  • logicalId: Always 0.

Output

  • values: Tuple of signal values.

Exception

  • EOK: Success.

  • EBADF: Model not specified by previous Connect or

SetCurrentModel
  • OpenProject.

  • EINVAL: Model is not loaded, or invalid logicalId.

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

  • ENOMEM: Memory allocation error.

  • E2BIG: Specified storage not big enough to receive values.

Examples

See example control_signal.

Related Items

SetControlSignals

Modules

import RtlabApi