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.
TakeFunctionControl
Group | Utilities |
---|---|
Description | Take the control of the specified function block of the currently connected model. Only one client API at a time is granted a given function block control. See OP_FUNCTIONAL_BLOCK for more information about the available function blocks. Example: In order to be able to take a snapshot of the running model, control of the snapshot function block should be first requested using RtlabApi.TakeFunctionControl(OP_FB_SNAPSHOT, 0, 0). As soon as the control is granted, the user can call the OpalSnapshot(...) function. |
Required Control | None |
Usage | RtlabApi.TakeFunctionControl(functionalBlock, fbElement, priority) |
Input |
|
Output | None |
Exception |
|
Examples | None |
Related Items | ReleaseFunctionControl, OP_FUNCTIONAL_BLOCK, OP_CONTROL_PRIORITY. |
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
Follow OPAL-RT: LinkedIn | Facebook | YouTube | X/Twitter