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

Model Configuration, Acquisition
Description

Requests or releases the acquisition control of the currently connected model. Acquisition control enables the client API to control the model's acquisition parameters for a specific aquisition group. Only one client API at a time is granted acquisition control for a specific acquisition group.

Required Control

None
Usage

RtlabApi.GetAcquisitionControl(acqControl, acqGroup)

Input
  • acqControl: True(1) to request acquisition control for the specified acquisition group, False(0) to release its control.
  • acqGroup: Group for which acquisition control is requested (numbering starts at 0).
Output

None

Exception
  • EPERM: Control requested but already given to another client.
  • EBADF: Model not specified by previous Connect or SetCurrentModel.
  • EIO: Error sending the request or receiving the reply.
  • EINVAL: Invalid acquisition group.
ExamplesSee example dynamic_acq.
Related ItemsNone
Modulesimport RtlabApi
  • No labels