Versions Compared

Key

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

Group

Model selection

Description

Returns

Return an opaque handle associated with the current connection. This handle can be passed back to a subsequent SetConnHandle. If there is no current connection, one is created.

Required Control

None

Usage

handle = RtlabApi.GetConnHandle()

Input

None

Output

  • handle: handle of the current connection.

Exception

  • EOK: Success.

  • ENOMEM: Memory allocation error

  • E2BIG: Too many open connections for this process.

Examples

See multi_models

Related Items

DeleteConnHandle, NewConnHandle, SetConnHandle

Modules

import RtlabApi