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.

GetConnHandle

Group

Model selection

Description

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

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