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.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

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.
ExamplesSee multi_models
Related ItemsNewConnHandle, GetConnHandle, DeleteConnHandle.
Modulesimport RtlabApi
  • No labels