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 4 Current »

Group

Utilities
Description

Releases the control of the specified function block. See OP_FUNCTIONAL_BLOCK for more information about the available function blocks.

Required Control

N/A.
Usage

RtlabApi.ReleaseFunctionControl(functionalBlock, fbElement )

Input
  • functionalBlock: Functional block which control is to be requested. See OP_FUNCTIONAL_BLOCK.
  • fbElement: Functional block element which control is to be requested. This input is used to specify the acquisition groups or the subsystem id when the functional block are OP_FB_ACQ_GROUP and OP_FB_SIGNAL respectively. Normally, this value is 0.

Output

None

Exception
  • EOK: Success.
  • EPERM: Control requested but already given to another client.
  • EBADF: Model not specified by previous Connect or SerCurrentModel.
  • EIO: Error sending the request or receiving the reply.
  • ENOMEM: Memory allocation error.
  • EINVAL: Invalid function block or priority.
  • ESRCH: Model instance id not found.
ExamplesNone
Related ItemsTakeFunctionControl, OP_FUNCTIONAL_BLOCK.
Modulesimport RtlabApi
  • No labels