Versions Compared

Key

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

Group

Model selection

Description

The specified handle must have been obtained from GetConnHandle or NewConnHandle

This specifies the connection to which subsequent RT-LAB API calls refer, until changed again by SetConnHandle or NewConnHandle. This lets a thread handle multiple connections, switching from one to the other without disconnecting.

Required Control

None

Usage

RtlabApi.SetConnHandle(handle)

Input

  • handle: handle of a connection.

Output

None

Exception

  • EOK: Success.

  • ENOMEM: Memory allocation error.

  • E2BIG: Too many open connections for this process.

Examples

See multi_models

Related Items

NewConnHandle, GetConnHandle, DeleteConnHandle.

Modules

import RtlabApi