Versions Compared

Key

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

Group

Model Configuration, Acquisition

Description

Requests

Request or

releases

release 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

acquisition 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
  •  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
  • OpenProject.

  • EIO: Error sending the request or receiving the reply.

  • EINVAL: Invalid acquisition group.

Examples

See example dynamic_acq.

Related Items

None

Modules

import RtlabApi