Versions Compared

Key

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

Group

Model Interaction, Parameters

Description

Returns

Get the values for the specified list of scalar parameters.

Required Control

None

Usage

parameterNames = (parameterName1, parameterName2, ...)
parameterValues = RtlabApi.GetParametersByName ( parameterNames )
(parameterValue1, parameterValue2,...) = parameterValues

Input

  • parameterNames: Tuple of parameters’ name.

Output

  • parameterValues: List of parameters’ values.

Exception

  • EOK: Success.

  • ENOMEM: Memory allocation error.

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

  • EBADF: Model not specified by previous Connect or

SetCurrentModel
  • OpenProject.

Examples

See example Parameter1.

Related Items

SetParametersByName

Modules

import RtlabApi