Versions Compared

Key

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

Group

Model Configuration, Acquisition

Description

Get the current settings for the blocking / non-blocking, and associated last value flag, for signal acquisition. This information is used by the API acquisition functions, which have the option not to wait for data, needed by some console's lack of multiple thread support.

These settings apply to the current model. These settings only apply to the command station from which this call is made.

Required Control

None

Usage

(blockOnGroup, lastValues) = GetAcqBlockLastVal()

Input

None

Output

  • blockOnGroup: Acquisition group for which the API functions will wait for data (specify n for group n). If 0, API function will wait for data for all groups. If -1, API functions will not wait for any group's data.

  • lastValues: Boolean, 1 means API functions will output the last values received while a group's data is not available. If 0, the API function will output zeroes. This

paramater
  • parameter is ignored when blockOnGroup is not egal to -1.

Exception

  • EOK: success

  • ENOMEM: memory allocation error

  • EBADF: model not specified by previous OpalConnect or OpenProject

  • EIO: error sending the request or receiving the reply from Controller

Examples

None

Related Items

SetAcqBlockLastVal

Modules

import RtlabApi